Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
|
|
Thread Tools | Search this Thread | Display Modes |
7th December 2005, 06:57 | #41 | Link | ||||||||||
Errant Knight
Join Date: Oct 2004
Location: St Louis, M0 US
Posts: 364
|
Quote:
Quote:
Code:
if(spliceType == 1) sprintf(spliceChar,"+"); if(spliceType == 2) sprintf(spliceChar,"++"); Then later in the process: while(t < i) { sprintf(bb,"%st%02i",spliceChar,t); lstrcat(aa,bb); t++; } ofile << aa; Should I use: sprintf(spliceChar,"%c%c",43,43); Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
for spending the time with FilmCutter Ebobtron |
||||||||||
7th December 2005, 09:29 | #42 | Link |
AviSynth plugger
Join Date: Nov 2003
Location: Russia
Posts: 2,183
|
I am still do not understand, does Ebotron or somebody else has this problem with "++" for two trims?
__________________
My Avisynth plugins are now at http://avisynth.org.ru and mirror at http://avisynth.nl/users/fizick I usually do not provide a technical support in private messages. Last edited by Fizick; 7th December 2005 at 20:11. |
7th December 2005, 21:20 | #43 | Link | ||
Errant Knight
Join Date: Oct 2004
Location: St Louis, M0 US
Posts: 364
|
Hi Fizick,
Sorry for my poor attemp at an answer above. Quote:
I checked the project output script in a hex editor and all was ok. This is what it should look like. Code:
t 0 1 + t 0 2 + + t 0 3 74 30 31 20 2b 20 74 30 32 20 2b 2b 20 74 30 33 Quote:
Sorry for my poor answer. Ebobtron |
||
8th December 2005, 02:41 | #44 | Link |
Errant Knight
Join Date: Oct 2004
Location: St Louis, M0 US
Posts: 364
|
Hi all,
Fizick truly found a bug, easy to fix. + = 1; ++ = 2; whatever happens to be in 4 bytes of memory = 0; When FilmCutter first runs it has to create filmcutter.ini which it fills with blank data. If you never access the write script dialog you will never write over the zeros in filmcutter.ini "write script" field. To access this dialog box right click the scene list window in the video editor. This problem is very old. Let me just remind everyone to right click everything you see, there could be or will be a popup or menu that could be adjustable Great catch Fizick Ebobtron |
8th December 2005, 06:28 | #45 | Link | |
AviSynth plugger
Join Date: Nov 2003
Location: Russia
Posts: 2,183
|
O.K.
About next: Quote:
you can consider two other possibility, when it resides in Filmcutter (or TEMP) directory: 2. OR you may try to add "SetWorkingDir (original path)" to beginning of project avs. 3. ELSE you may set working dir for filmcutter.exe (by some Windows API command).
__________________
My Avisynth plugins are now at http://avisynth.org.ru and mirror at http://avisynth.nl/users/fizick I usually do not provide a technical support in private messages. |
|
8th December 2005, 21:05 | #46 | Link | ||||
Errant Knight
Join Date: Oct 2004
Location: St Louis, M0 US
Posts: 364
|
Quote:
Quote:
Quote:
Quote:
This could be revisited later. I did look though the API functions could not find the one I need like below. Code:
Class GodLike { bool readUsersMind(void); }; Code:
if(!lstrcmp(fName,"Untitled") { readUsersMind(); } Ebobtron p.s. Next |
||||
8th December 2005, 21:45 | #47 | Link |
AviSynth plugger
Join Date: Nov 2003
Location: Russia
Posts: 2,183
|
Good news about fixing a bug.
(do not forget always set default case to any conditional block! ) I will like filmcutter.exe soon But I dislike, if in every directory we will have fctemp.avs. Or you will delete it on exit? Way "2" with Setworkingdir("xxx") temporary line is better in my opinion. best regards |
9th December 2005, 17:00 | #48 | Link |
Errant Knight
Join Date: Oct 2004
Location: St Louis, M0 US
Posts: 364
|
@Fizick
Good news about fixing a bug. (do not forget always set default case to any conditional block! ) Yes of course. I will like filmcutter.exe soon Start liking FilmCutter sooner, please. But I dislike, if in every directory we will have fctemp.avs. Or you will delete it on exit? fctemp.avs is gone. windat.avs returns to FilmCutter directory. Way "2" with Setworkingdir("xxx") temporary line is better in my opinion. Yup, that is what I have done. Code:
When source = untitled && load*() is used if(createPreviewAvs()) Warn user that script may have to be saved to resolve search path for file componets No easy fix for file descriptions that contains no drive\directory information. Next was window controls: != 1.3b 1.3b will have new preview window options
Happy happy, TTFN Ebobtron |
26th December 2005, 05:41 | #49 | Link |
Errant Knight
Join Date: Oct 2004
Location: St Louis, M0 US
Posts: 364
|
Hello everyone and Merry, HO HO.
Made some small progress on 0.0.1.3b., but lots still to do. If you'd like a preview of the new preview? http://members.aol.com/avsfilmcutter/fc13alpha.zip The script preview functions now have two modes the first or standard has a frame counter with frame advance and reverse buttons. Also a jump to frame window. The second or w/script editor has the script editor text window displayed in the lower portion of FilmCutter's window and an update button for loading the edited script data into the viewer. Preview w/editor uses the same editor, it has the same menu and all functions of the editor are available for use. Entering preview can be done by menu or the F5 key. F6 will jump to the preview and begin play from wherever the preview window last was, and then control play/stop in the preview window. You can jump to any frame directly by entering the frame number into the jump window and pressing enter. You can change the preview mode while in preview by using the video window menu preview mode selector. This and future versions will draw a more defined line between the script preview feature and the video viewer. I have included the current changelog with the alpha. Oh yea, ever sense the idea of an imported filter/function list was thrust upon me by Fizick, the gray stuff between my ears has been churning the stock edit control functions and I have proven to myself that I could write some code that would draw a colored overlay for the keywords. I am not overly please with the results. You can see it by clicking the syntax highlighting item under script options in the script editor popup menu. If your new to avsFilmCutter the main page is here: http://members.aol.com/avsfilmcutter Last edited by Ebobtron; 26th December 2005 at 07:07. |
26th December 2005, 15:52 | #51 | Link | |
Errant Knight
Join Date: Oct 2004
Location: St Louis, M0 US
Posts: 364
|
@ medp7060
Sorry, the user interface is a bit tricky. The buttons on the right side of the initial window are user programmable and are blank until you set them up, click one, or right click one. Quote:
Again, sorry you're having trouble. Please try again. |
|
27th December 2005, 02:25 | #52 | Link |
Registered User
Join Date: Jan 2005
Posts: 158
|
I see. Please add something above the buttons saying "user defined".
I did use the menu item PreView Script. no video at all although the same script can be played well using other tools. It actually hang and I could not return to the editor by F5. |
27th December 2005, 02:56 | #53 | Link | |
Errant Knight
Join Date: Oct 2004
Location: St Louis, M0 US
Posts: 364
|
@ medp7060
Could you please show me the script and also which tools does the script work in, VirtualDub, MplayerClassic, please? What version of AviSynth? Do you recieve any warning messages from FilmCutter? Also after starting FilmCutter without changing the text in the editor press F5, you should get an error message from avisynth. Switch to Video Viewer and right clicking the video window open a script there it should load there also. With your script loaded in the editor press F8 that should show a short list the output properties for your script. Quote:
Last edited by Ebobtron; 27th December 2005 at 03:33. |
|
29th December 2005, 12:00 | #54 | Link |
Registered User
Join Date: Jan 2005
Posts: 158
|
Code:
LoadPlugin("C:\PROGRA~1\GORDIA~1\DGMPGDec\DGDecode.dll") DirectShowSource("E:\ccc.avi",30) ConvertToYV12() I loaded the script and F8 worked. Then "Preview script" failed and I got no warning messages from FilmCutter. It hang. |
3rd January 2006, 22:42 | #55 | Link |
Errant Knight
Join Date: Oct 2004
Location: St Louis, M0 US
Posts: 364
|
Hello all,
Hope everyone had a nice holiday. New alpha2 is at http://members.aol.com/avsfilmcutter/fc13alpha.zip alpha 1 had broken parts everywhere:
Don't you just love things that come along and stop you dead in your tracks? Why AviSynth's output is different when using DSS as compared to any other input filter is beyond me. Maybe the overall environment is different, but as things relate to FilmCutter's viewer, something is different.@ medp7060 You wrote, "It hang." It sure do. If you right click on the task bar button for FilmCutter twice the program will un-hang, or it does for me. |
11th January 2006, 20:19 | #56 | Link |
Errant Knight
Join Date: Oct 2004
Location: St Louis, M0 US
Posts: 364
|
avsFilmCutter 0.0.1.3b
http://members.aol.com/avsfilmcutter or http://rapidshare.de/files/10860233/...3beta.zip.html Please check the changelog and the user's doc in the zip file. |
1st February 2006, 20:44 | #58 | Link |
Errant Knight
Join Date: Oct 2004
Location: St Louis, M0 US
Posts: 364
|
avsFilmCutter 0.0.1.4b
Version 0.0.1.4beta is on the website. Most of the important changes are internal. Added an optional "Info" window to the Script Preview feature, this information is gathered directly from AviSynth and should be more complete. As an example ColorSpace will be reported as RGB instead of DIB. "Script Preview" has its own menu to better accommodate future additions to this feature. The Video Editor Source/Project check box has been replaced by two radio buttons Source and Project. http://members.aol.com/avsfilmcutter or http://rapidshare.de/files/12329053/...4beta.zip.html |
3rd February 2006, 16:36 | #59 | Link |
Paldo-GNU/LinuxMaintainer
Join Date: Oct 2003
Location: Germany
Posts: 1,580
|
@Ebobtron: I took a look on your programm. Nice app.
I've two questions for you: I'm coding in Delphi and use avisynth_c-port for open AVS-files in my newest build of AutoQ2. I coded also an sample app with a preview option. avisynth_c displays only files in RGB. I tried also your app with YUY2, YUV12 and got a black screen. In my apps I got a white one. Only RGB shows the frames. So my first question is: Does AVISYNTH only displays RGB frames? My second question: In what language do you code? |
3rd February 2006, 19:23 | #60 | Link |
Errant Knight
Join Date: Oct 2004
Location: St Louis, M0 US
Posts: 364
|
Hi Amnon82,
Thanks for the “Nice App”, I think it is a good idea that needs work. I will answer the last question first. C++ using “Microsoft Visual C++ Toolkit 2003” with “Microsoft Platform SDK February 2003” both free from Microsoft http://msdn.microsoft.com/visualc/vctoolkit2003/. As for the second, “Does AVISYNTH only displays RGB frames?”. The answer is no. AviSynth outputs YV12, YUY2 and RGB and I believe a couple more are planned. Concerning the white screen, FilmCutter will show a white screen if no file is loaded into the viewer. Otherwise it should show the first frame of video, if it is black, then it shall be black. FilmCutter should view any file you can load into VirtualDub. It is a little hard to tell by your question, is FilmCutter only showing black frames with YV12 and YUY2. Does your script file work in VirtualDub, does it contain DSS as an input source? Your problem is I think easier to define. If you will let me assume that you are getting the frame data and drawing it to the screen then only the RGB will work without some conversion in between. May I recommend that you look at the source code for two AviSynth plug-ins, avsMonitor and tritical’s TMonitor. I can not really read it very well, but it is clear that colorspace testing and converting is going on. Thanks again for looking in and for the nice comments. And please if you could calm my fears about the black frames. |
Thread Tools | Search this Thread |
Display Modes | |
|
|