View Full Version : AVS2AVI -- new version
Moitah
24th February 2004, 04:55
I have updated AVS2AVI. Changes are as follows: Stats is now 'instant' over the last 1-2 minutes instead of 300ms (will be much smoother now)... overall average is still displayed at the end
Fractions of a second aren't shown for elapsed time while encoding (clutters up display)
Size of encoded video is now displayed properly (was always 0 before)... now it will only show 0 when not in the last pass of a multi-pass encode (this is intended)
Note on the above: the size while encoding is just the size of the video data, at the end of the encoding it will be the total size of the file (including overhead)
Frame count/FPS at the end of encode is now displayed properly
Path of destination is now relative to the source (i.e. if the source is "c:\stuff\main.avs" and the dest is given as "new.avi", the full dest path will be "c:\stuff\new.avi"), same for the state file
If no destination is given, it will be the same as the source but with the proper extension (i.e. in the above example, the dest would be "c:\stuff\main.avi")
If the destination has the wrong extension (or no extension), it will be corrected (i.e. if the dest is given as "c:\test.avi" but '-o m' is set, the dest will be changed to "c:\test.avi.mkv")
Checks to make sure the source file exists before starting (this way you won't have to wait until after you select the compressor to find out the filename is wrong)
Checks to make sure you're not trying to overwrite the destination file (if you want to, use the '-w' switch)
Rewrote the command line parsing (to support some new features and fix bugs)
Fixed not completely exiting if an error occurred
Fixed crash if no compressor was selected (i.e. "No Recompression")... it still won't let you output but it exits instead of crashes :)
Displays the name of the format you're outputting to if it's not AVI
Added option for null output ('-o n'), can be used for speed testing or whatever
Fixed ReadFrame/EncodeFrame using StopRead instead of Stop
Misc other display and code cleanups
Notes: This was compiled with the latest libMatroska and libEBML. This may have broken something, use Matroska output at your own risk (a small test clip plays fine for me, but I can't open it in the latest VirtualDubMod (same with mkv files made by v1.31a, though))!
Compiler optimization is disabled (that's the way it was when I downloaded it... if it wasn't disabled for a reason, a new compile should be made with it enabled)
Runtime library was set to single-threaded in the original project, I changed it to multi-threaded just to be safe (what should this be?)
The XviD status window is completely locked up for me, anyone know how to fix this?
I didn't include the full source code, only the file that I changed (avs2avi.cpp). After you add this to the project, you will need to add "shlwapi.lib" as a dependency.
--------------------------------------------------
This link will be kept up to date with the latest version: AVS2AVI v1.39 (http://www.avs2avi.org/avs2avi-139.zip)
If for some reason you want the original version linked to in this post (v1.32), you can get it here (http://www.avs2avi.org/avs2avi-132.zip).
KpeX
24th February 2004, 05:27
Nice work!
Regarding the xvid status window, Koepi posted about this issue (http://forum.doom9.org/showthread.php?s=&postid=442623#post442623) a while back - hopefully that gives you some idea :).
When using matroska output, the result opens fine with VLC, but not with MPC or VdubMod 1.5.4.1 on my box.
For future versions - how about an additional logfile mode to write a log containing stats such as fps, filesize, etc. while encoding to avi/mkv. Welcome to the forums, and thanks for your work, cheers,
dimzon
24th February 2004, 11:52
May be some avs2avi_drop in addition to command-line :)
DaveEL
24th February 2004, 13:22
Matroska code is probably b0rked it was the starting point for a new project and so i would probably remove it now as its only does video it can always be remuxed from avi anyway.
DaveEL
PS i have been meaning to put my cvs tree for avs2avi on corecodec for a while ill try to get round to doing it sometime this week and will commit your changes too.
DaveEL
24th February 2004, 14:20
Originally posted by Moitah
Fixed ReadFrame/EncodeFrame using StopRead instead of Stop [/B]
I sure StopRead was useful for something... was to do with threads or b-frames i think. That or it was part of the resume feature in which case its no longer needed. EDIT :- Yep now i have time to think it was about resuming thats why it nolonger works this may even be in my cvs tree already
If you don't mind once i test this myself ill stick it on my webspace as the new official version?
DaveEL
(PS i think i worked out what went wrong with the avilib output which is much simpler if you want to try it out send me a message)
DaveEL
24th February 2004, 14:23
Originally posted by dimzon
May be some avs2avi_drop in addition to command-line :)
I did have an avs2avi dll somewhere ill see if i can dig it up.
DaveEL
Moitah
24th February 2004, 19:50
Originally posted by DaveEL
If you don't mind once i test this myself ill stick it on my webspace as the new official version?Sounds good to me :)
Originally posted by DaveEL
(PS i think i worked out what went wrong with the avilib output which is much simpler if you want to try it out send me a message) I don't know how much more work (if any) I will be doing... but if you want to tell me what's wrong, maybe I'll get around to it. What advantages would it have over the current AVI writing method?
Moitah
24th February 2004, 19:56
Originally posted by KpeX
Regarding the xvid status window, Koepi posted about this issue (http://forum.doom9.org/showthread.php?s=&postid=442623#post442623) a while back - hopefully that gives you some idea :)Yeah, thanks... I'll see if I can figure out how to fix it.
Moitah
25th February 2004, 07:08
I have fixed the problem with the XviD status window. After I clean up the code I will release a new version :).
Moitah
25th February 2004, 17:52
AVS2AVI v1.33 Changes: Handles window messages in the encode thread (fixes XviD status window)
Removed Matroska support
I made a new project for it because I wanted to be sure there weren't any weird settings I wasn't aware of. The only options I changed in the new project were adding the proper dependencies, setting runtime library to multi-threaded, and optimize for Pentium Pro/PII/PIII.
Download here (http://members.cox.net/moitah/avs2avi-133.zip).
DarkNite
26th February 2004, 11:28
Nice work. Mmmm, streamlining is a beautiful thing. ;)
Moitah
26th February 2004, 23:26
Originally posted by dimzon
May be some avs2avi_drop in addition to command-line :) I don't know how to do any GUI stuff in C++, but I have an idea about how to make it work with VB. It would involve having AVS2AVI create an invisible window (while researching the XviD problem I spent a few hours learning how to use CreateWindow, though it turned out I didn't need it :p) and keeping status information in the titlebar. Then the VB program could use CreateProcess to run AVS2AVI without showing a console window, and pull information from the invisible window's titlebar. Sounds like fun, I may try it tonight :D.
EDIT: I know this probably isn't the best way, but it seems like the easiest to me.
Moitah
27th February 2004, 06:27
Take a look:
http://members.cox.net/moitah/avs2avidrop.png
It works :D. It needs better error handling (if AVS2AVI quits with an error, all you will see in the GUI is "Error" with no description of the problem) and more features (Stop button, a progress bar, the rest of the switches). It makes a .avi file with the same name as your .avs (but with the .avi extension, of course). Make sure to check "Overwrite destination" if you plan on testing with the same source file more than once. It only works with the special version of AVS2AVI included in the zip.
If you want to try it: AVS2AVIDrop v0.1.0 (http://members.cox.net/moitah/avs2avidrop-0_1_0.zip)
Have fun ;)
EDIT: I'm not releasing the source code until I clean it up unless someone really wants to see it...
dimzon
27th February 2004, 10:46
@Moitah
please get me Your source code now. I'm planing to create AVS2XVID_Drop based on AVS2AVI on this weekend. I think i can change XviD encoding params throught -l key + a little binary codec parameters file patching :)
Moitah
27th February 2004, 20:33
Originally posted by dimzon
please get me Your source code now.I made some improvements with the error handling (it still won't tell you the exact message avs2avi quit with, though, but I'll try to do that eventually) and added a progress bar (it's just a Shape control for now, I didn't want the exe to require the common controls OCX).
Here it is, along with source: AVS2AVIDrop v0.2.0 (http://members.cox.net/moitah/avs2avidrop-0_2_0.zip)
Moitah
29th February 2004, 21:18
From the other thread:
Originally posted by RathO
I tried AVS2AVI ...
... my hard disk seems to be working harder than when im using Vdubmod.I found out how to fix this, disable_os_caching() needs to be called so the VirtualDub AVI writer will use its own caching. This will be in the next release.
ChristianHJW
1st March 2004, 11:12
Originally posted by Moitah
Removed Matroska support
I fully agree with this policy. As avs2avi cant handle audio, there is a remuxing step with either mkvmerge or VdubMod necessary in any case to add the audio, and then the source video can as well be AVI.
Things were different once anybody would care about avs2matroska, to create native MPEG4 MKV files ... my long dreamed wish, and we were so close already ....
ChristianHJW
1st March 2004, 11:20
Originally posted by DaveEL
DaveEL
PS i have been meaning to put my cvs tree for avs2avi on corecodec for a while ill try to get round to doing it sometime this week and will commit your changes too.
DaveEL,
may i recommend to create a new project like
avs2video
on corecodec.org, and then to make two different CVS trees,
avs2avi
and
avs2matroska
????
Actually, as there seem to be more than one guy working on this project now, may i suggest you guys all get accounts on corecodec.org, and get familiar with using CVS ? http://tortoisecvs.sf.net works perfect for most of us on Windows, and its quite convenient as it is a n extension to Windows Explorer ( even i can use it :D ).
I will see if i can motivate jcsston or spyder482 to look over the avs2matroska sources, maybe there is a way find the bug, or to completely remove DaveEL's old matroska writing code and replace it with jcsston's new matroska output module ? maybe even spyder's MILK could be used for it :O ??
This program, once it was out, could completely replace VdubMod in the matroska DVD encoding tool ( DVDtoMKV, release this week ), and even create native files that way !
perko
3rd March 2004, 00:50
Hi.
Sorry to be such a noob, but this is killing me.
I have a bunch of MPEG files that I need to convert to AVIs (using DIVX).
I understand AVS2AVI will provide a command line alternative to using the Dr. Divx GUI. I really need a command-line driven tool in order to automate this process.
Since all the MPEG source files are basically the same (in terms of resolution, etc.) What is the easiest way to generate the script for this? Do i really need to split the video and audio first and then fire up GKnot? That seems cumbersome to generate a script.
I have been looking around for example AVS scripts to no avail.
Any help is greatly appreciated.
DarkDudae
3rd March 2004, 02:58
@Moitah
Great work! We will update the avs2avi version we use in ARCalculator development with this one if you are agree :)
We also are working in a integrated Job Control for ARCalculator with full support for avs2avi :)
Thanks
Moitah
3rd March 2004, 03:07
Originally posted by DarkDudae
Great work!Thanks :)
Originally posted by DarkDudae
We will update the avs2avi version we use in ARCalculator development with this one if you are agree :) Sure, but don't use the 'info window' (that's what AVS2AVIDrop uses to get the progress information) because I am planning on removing it and doing it properly (I figured out how to read stdout from VB).
timecop
3rd March 2004, 03:41
i got a novel idea.
in the time you spend figuring out how to read console in vb, you can figure out how to make simple GUI's using win32 api.
you can start at http://winprog.org/tutorial/
DarkDudae
3rd March 2004, 03:55
Originally posted by Moitah
(I figured out how to read stdout from VB).
Take a look at: http://www.freevbcode.com/ShowCode.Asp?ID=3957
This is also interesting: http://www.freevbcode.com/ShowCode.Asp?ID=1282
I think this can help you :)
Greetings
bill_baroud
4th March 2004, 14:17
@perko
I have been looking around for example AVS scripts to no avail.
you didn't search wery well :rolleyes:
there is almost a script by post in the Avisynth Usage forum :rolleyes:
avs2avi compress only video, so you have to do something about audio separatly for your mpeg conversion.
Moitah
5th March 2004, 06:33
AVS2AVI v1.34: Now uses internal buffering for the AVI output (it's set it to 512 KB, this should reduce disk activity)
Added "-f" switch for frontend display mode (makes it easier for people writing frontends to parse the info from stdout... documentation will come soon :))
AVS2AVIDrop v0.3.0: Gets information from stdout now
Stop button
Displays all error messages properly
Smaller, cooler GUI :D
avs2avi.exe must be in the same directory (need to make this so the path can be loaded from a config file or set in options...)
Here's a screenshot of the new AVS2AVIDrop:
http://members.cox.net/moitah/avs2avidrop-0_3_0.png
Download link (both AVS2AVI and AVS2AVIDrop, including source): AVS2AVI v1.34 (http://members.cox.net/moitah/avs2avi-134.zip)
Moitah
5th March 2004, 06:39
timecop/DarkDudae: Thanks for the links :cool:
Moitah
6th March 2004, 00:56
Here's the documentation for the '-f' switch (it should look familiar if you know the IRC protocol):
Each message is on its own line (a line appears to end with CR/LF... in AVS2AVI the printf uses \n, so I guess this gets translated when going to stdout). A message consists of a type, followed by optional parameters. The type and parameters are separated by a single space. If a parameter begins with a colon, the colon should be ignored and the rest of the line is to be treated as a single parameter (this is called a trailing parameter). If a message is not recognized, it should be ignored. Example:
message_type first_param second_param :this is all the third param
Here are the messages currently used:
VERSION <major> <minor> <avs2aviversion>
This is sent immediately after AVS2AVI starts. <major>/<minor> refer to the version number of the message protocol itself, not AVS2AVI. <major> will be incremented when a backwards-incompatible change (such as changing the parameters for any of the messages) is made to the message protocol. <minor> will be incremented for backwards-compatable changes (such as adding new messages which can safely be ignored). <avs2aviversion> is a trailing parameter and is the version of AVS2AVI.
INIT <hiddenwindowhandle>
This is sent immediately after AVS2AVI starts, after the VERSION message. <hiddenwindowhandle> is the handle to a hidden window which AVS2AVI creates. The only purpose of this window is to watch for a WM_CLOSE message to signal that encoding should be aborted.
ERROR <message>
This may be sent at any time. <message> is a trailing parameter and contains a description of the problem. AVS2AVI will exit after sending this message.
ENC_START <numpasses> <numframes>
This is sent when the encoding starts.
PASS_START
This is sent when starting an encoding pass (this will be sent before the first pass too, and even if its only a 1-pass encode).
PROGRESS <curframe> <datasize> <fps> <eta>
This shows the progress of the current pass. Curently it is sent every 300ms during encoding. <datasize> is in bytes, <fps> will contain a decimal point (I believe it pays attention to the locale settings), <eta> is in milliseconds. If <fps> and <eta> are unable to be calculated (i.e. no frames have been encoded yet), they will be 0 and -1, respectively.
PASS_END <elapsedtime> <datasize>
This is sent when a pass is finished. <elapsedtime> is in milliseconds, <datasize> is in bytes.
ENC_END <filesize> <keyframes>
This is sent when the whole encode is finished. <filesize> is the size of the resulting file (this will be slightly larger than <datasize> for the last pass, as it includes stream overhead), in bytes.
Example of an encoding session (most of the PROGRESS messages were cut out to save space, obviously):
VERSION 1 1 :1.34
INIT 4525658
ENC_START 2 712
PASS_START
PROGRESS 261 0 44.369807 10164
PROGRESS 279 0 44.491525 9732
PROGRESS 293 0 44.491525 9417
PASS_END 16272 0
PASS_START
PROGRESS 546 4581672 22.782130 7286
PROGRESS 554 4647944 22.747990 6945
PROGRESS 561 4737880 22.747583 6638
PASS_END 31855 6075066
ENC_END 6098944 3
Here's an example where an error occurred:
VERSION 1 1 :1.34
INIT 2887324
ERROR :Destination file already exists (or unable to overwrite).
iradic
8th March 2004, 23:33
i get this error msg... using winme...
the avs2avi.exe is linked to missing export kernel32.dll:getfilesizeex
Moitah
9th March 2004, 00:22
Originally posted by iradic
i get this error msg... using winme...
the avs2avi.exe is linked to missing export kernel32.dll:getfilesizeex I didn't realize this was only a 2000/XP function, I'll fix this soon.
Moitah
9th March 2004, 03:07
AVS2AVI v1.35 (http://members.cox.net/moitah/avs2avi-135.zip): Uses GetFileSize instead of GetFileSizeEx (should work under Win9x now)Please let me know if it works or not.
iradic
9th March 2004, 05:56
yes, works now... tested only cmd line "avs2avi" to get help...
thanks...
Moitah
9th March 2004, 05:58
Originally posted by iradic
yes, works now...Thanks
Emp3r0r
12th March 2004, 05:44
Great job Moitah, used it the other day and it worked great!
Rainy
21st March 2004, 13:18
I wrote sort of a gui, which uses a dll interface instead of cli. It's in early stages, thus don't wonder if some functions are disabled. The program doesn't even have a name.
If someone wants to test it:
http://www.home.no/rainy/pr/avs2avid-pre-alpha.zip
Tested only under Windows XP with SP1.
Screenshot:
http://www.home.no/rainy/pr/avs2avid-scs.jpg
DarkDudae
21st March 2004, 13:45
Good Work Rainy, I have tested with XviD and 2 passes. Everything worked ok.
(Windows XP Sp1 / 256RAM DDR /ATHLON XP)
lamer_de
22nd March 2004, 15:12
My windows 2000 is complaining about a missing dll, uxtheme.dll
Simply by the name of the dll I would guess it is used to create the fancy (or butt-ugly imho) window captions. Could you please look into this, judging from the screenshot your program looks rather nice and I would like to test it.
CU,
lamer_de
Rainy
23rd March 2004, 14:16
fixed, plus:
* added support for saving compressor settings as a preset
* unlimited pass count (whoever needs it)
see above for download link
jjseth
24th March 2004, 13:53
@Rainy
Tested with WinXP SP-1 and XviD: great work.
In Win2000 AVS2avid don't work...
@lamer_de
Uxtheme.dll is a .dll for the management of WinXP visual styles.
Sorry my poor english.
Rainy
24th March 2004, 15:11
Thanks, but can you explain what exactly doesn't work? Do you get any error messages or something? The problem with uxtheme.dll should be fixed by now. I removed every reference to visual styles api.
jjseth
25th March 2004, 13:23
I canīt reproduced the bug again but this was a message of error in the load of avs2avi.dll when i ran avs2avid.exe first time....
Now it seems to work ok in Win2000, only a "cosmetic" bug->avs2avid.jpg (http://perso.wanadoo.es/sethftp/avs2avid.jpg)
Works OK in WinXP:D
Sorry my poor english.
Rainy
25th March 2004, 13:49
I've uploaded a new version, hopefully it works now :)
DarkDudae
25th March 2004, 16:30
@Rainy
Can you give me info about your avs2avi.dll?
I would like to include it in ARCalculator for a status window like you have, if you are agree, of course.
I have almost finish a function like Moitah implemented in Visual Basic to read stdout using -f command in avs2avi.exe. I am progamming in delphi but I donīt know why, sometimes the code I use freezes avs2avi and doesnīt read stdout correctly. It is really strange because sometimes, it reads it correctly, so it is misterious :D
I will post the function when I can (I haven't it here right now)
Thanks in advance.
Rainy
25th March 2004, 17:33
avs2avi.dll exports a class with virtual methods which are being called while encoding for status info, pass begin - end, error and so on. Available sources were a little disordered and not reusable at all, thus I had to rewrite it completly.
I'm not sure if delphi can import C++ classes, but I can upload the sources :)
dimzon
25th March 2004, 19:11
Originally posted by Rainy
avs2avi.dll exports a class with virtual methods
maybe better is move from class to interface (IAvs2AviProcessor) :)
Rainy
25th March 2004, 20:06
You mean to export a COM-Interface? If there are enough people who are interessted, I will provide it.
dimzon
26th March 2004, 11:04
Originally posted by Rainy
You mean to export a COM-Interface?
Yes, i did exatly that :)
jjseth
30th March 2004, 13:32
I've uploaded a new version, hopefully it works now
Great work Rainy, now works ok!!!
esby
6th April 2004, 05:19
May i ask for three 'small' features requests?
--Range:XXX-YYY
--RangeDrop=true/false
with multiple ranges possible
eg --Range:0-150 --Range:200-250
to encode only from frame 0 to 150, and after 200 to 250
RangeDrop selecting between:
-true : the non selected frames are dropped (zeroSized)
-false: the non selected frames are not encoded, resulting a clip of 200 frames in the example.
I think RangeDrop==true might be easier to implement.
--NoCompress:
Do not compress, use directstream copy...
esby
theuser86
8th April 2004, 02:49
@Moitah
I just have a random question. Are you the original developer of avs2avi? Reason being is that DivX Digest < http://www.divx-digest.com/software/avs2avi.html > states the newest version is 1.31a and also that the official download site is < http://daveel.leffe.dnsalias.com/ >.
In addition, a guide from AviSynth.org < http://www.avisynth.org/index.php?page=Drazen > links the official download site as < http://daveel.leffe.dnsalias.com/ >.
Also, a 3rd site < http://jonny.leffe.dnsalias.com/ > links the official download site as the one previously stated twice.
The "official download site" only has up to version 1.31a on it too.
And in this thread @ doom9 v1.35 is out, how come all these sites plus the official download site does not have v1.35 online? Just a random question because avs2avi is a great program and I don't want to keep on missing updates. Thanks :)
DaveEL
8th April 2004, 14:15
Ok original developer was [Toff] and int21h and myself added some extra stuff to it (oh and i b0rked it many times) eventually i took over and hence its hosted on my site.
http://forum.doom9.org/showthread.php?s=&threadid=36768
Been meaning to look over the new version and once ive checked it out ill put it up on my site too as my last versions were not exactly polished releases.
EDIT:- Have not tested the version yet but have looked through the code and people here seem to be happy with it so it will be available from daveel.dnsalias.com shortly 1.35 is now the official latest version according to me :) ill let divx-digest know soon too.
DaveEL
malkion
8th April 2004, 20:17
wasnt going to say anything...but...
I'm using 1.31a and will never upgrade beyond that. I encode and recently use slow scripts which achieve 0-1fps on VDub(Mod). avs2avi was supposed to be faster. so that was the main reason i started using it.
I'm doing my first encode with it, but from 1.32-1.35 even the debug seems to be fixed, the speed seems relative to Vdug (both are priority idle for comparasion). With 1.31a it's claming to finish a 48hr job in 1.35 and 1.32 in 16 hrs.
You can tell I dont care if the "non-quiet" mode is borked.
I'll be testing all the versions soon to see which is fastest :D
Moitah
8th April 2004, 21:34
Originally posted by esby
May i ask for three 'small' features requests?
--Range:XXX-YYY
--RangeDrop=true/false
with multiple ranges possible
eg --Range:0-150 --Range:200-250
to encode only from frame 0 to 150, and after 200 to 250
RangeDrop selecting between:
-true : the non selected frames are dropped (zeroSized)
-false: the non selected frames are not encoded, resulting a clip of 200 frames in the example.
I think RangeDrop==true might be easier to implement.
--NoCompress:
Do not compress, use directstream copy...
esby
I have the no recompression option working. For RangeDrop=false, why not just use Trim() in your AviSynth script :)? Could you explain where RangeDrop=true would be useful?
Moitah
8th April 2004, 22:02
Originally posted by malkion
With 1.31a it's claming to finish a 48hr job in 1.35 and 1.32 in 16 hrs.
There really shouldn't be that much of a speed difference between the versions. A while back I did some testing, and v1.34 was actually slightly faster than v1.31a because of the internal AVI output buffering (comparing CPU usage graphs of the two, I noticed that v1.34 stayed at 100%, while v1.31a fluctuated around maybe 95%-100%). The remaining time estimation of v1.31a jumps around VERY much, and newer versions, while better, will still not be perfect because it's based on the speed of the last 1-2 minutes of encoding, which can vary based on the contents of the video. You should compare the encoding time that AVS2AVI tells you after it is done encoding. Also, for some reason using High priority slows down AVS2AVI a lot for me, so I would recommend not to use High priority.
esby
9th April 2004, 00:02
Could you explain where RangeDrop=true would be useful?
Well in a splice content,
supposing you need to reencode parts of a video...
eg:
With a video containing 2500 frames...
supposing you encoded it once. (rc1.avi - 2500 frames)
now you want for various reasons to reencode
from frame 200 to frame 250 then from frame 1800 to frame 2000
There are two possibilities:
* you use trim and encode only what you want... (that would be dropFrame=false)
* you encode what you need, and drop frames outside the range,
instead of skipping. this way you keep the original 'alignement'
In the first case, you have to calculate exactly how you are going to splice the video....
still with the same example:
splice1.avi containing 50+200 = 250 frames.
Supposing you are using avs in direct stream mode:
to reassemble the spliced (or patched) rc you need to do:
src = avisource("rc1.avi")
splice = avisource("splice.avi") # splice has 250 frames
part1 = src.trim(0,200)
part2 = splice.trim(0,50)
part3 = src.trim(250,1800)
part4 = splice.trim(50,250)
part5 = src.trim(2000,-1)
return part1+part2+part3+part4+part5
In the second case, the calculation are way easier.
src = avisource("rc1.avi")
splice = avisource("splice.avi") # splice has 2500 frames but only 250 are really encoded, the rest were dropped
part1 = src.trim(0,200)
part2 = splice.trim(200,250)
part3 = src.trim(250,1800)
part4 = splice.trim(1800,2000)
part5 = src.trim(2000,-1)
return part1+part2+part3+part4+part5
Of course for the splice to work correctly, you need to have a keyframe at frame 250 & 2000 in rc1.avi, but that's not really a problem.
(and of course there must be a kf too at 0 & 50//250 in splice.avi)
esby
Moitah
9th April 2004, 00:45
esby: Interesting...
There's a few potential problems. Is it possible to get AviSynth in 'direct stream copy' mode? I thought AviSource decompresses the video to YV12, YUY2, or RGB. Also, I played around with putting dropped frames in the output AVI, but they appear to be lagged when using B-frames (I put dropped frames in an XviD encode (max B-frames set to 2) from frames 120-220, and when I looked at the result in VirtualDub the dropped frames showed up from 118-218). I don't think theres a way to have AVS2AVI automatically put keyframes where the ranges start, so I guess you would have to use the zone options in XviD.
esby
9th April 2004, 01:01
Is it possible to get AviSynth in 'direct stream copy' mode?
have a look here...
http://forum.doom9.org/showthread.php?s=&threadid=71482
It's not official, and i'm not forcing anyone to implement it in the current avisynth, but i needed(and need) it personnaly.
esby
On another note, i have not thought really about bframes & splicing.
Without bframes, splicing limitation are:
you need a keyframe when you want to switch origin:
fileA + fileB + _restOfFileA
to perform that, you must have:
a kf at start of fileB.
a kf at start of _restOfFileA
with Beta frames,
since there are two problems:
first they are calculated using the previous and next kf,
secondly there is a 'lag' as you said, the beta frame being putted in a different order, but since i'm no expert in this field, i don't dare to answer that exactly.
So all i can guess actually is:
no splicing with bframe,
if splicing, must start and End on an existing KF(additional restriction)
esby
malkion
9th April 2004, 01:54
Moitah, you're absolutely right. It's now approximately 14 hrs ito the encode, and avs2avi's completed approximately 50k of 160k frames.
Thanks for continuing to upgrade this program. I'll run more tests with it.
Moitah
9th April 2004, 01:55
Originally posted by esby
have a look here...
http://forum.doom9.org/showthread.php?s=&threadid=71482
Nice :). I cleaned up the code for no recompression, and hopefully I'll be able to do the range stuff tonight.
theuser86
9th April 2004, 18:33
Originally posted by DaveEL
Ok original developer was [Toff] and int21h and myself added some extra stuff to it (oh and i b0rked it many times) eventually i took over and hence its hosted on my site.
http://forum.doom9.org/showthread.php?s=&threadid=36768
Been meaning to look over the new version and once ive checked it out ill put it up on my site too as my last versions were not exactly polished releases.
EDIT:- Have not tested the version yet but have looked through the code and people here seem to be happy with it so it will be available from daveel.dnsalias.com shortly 1.35 is now the official latest version according to me :) ill let divx-digest know soon too.
DaveEL
@DaveEL
Thanks a lot of the quick reply. I've tested version 1.35 and I have not experience any problems yet. I guess I will use version 1.35 instead of v1.31a. Thanks :)
superdump
12th April 2004, 13:00
Moitah: Nice work indeed. The previous version avs2avi used to make my hard drive churn like crazy all the while it was encoding so I switched back to virtualdubmod but 1.35 works fine.
Rainy: Nice GUI. The 1st/2nd pass settings saving as presets is a cool feature, speeds up doing stuff that little bit more. There are a couple of things I'd like to mention. I downloaded the latest version about 20 minutes ago from the link in this thread. Two things have come to light:
1. The time remaining displays up to 99 minutes in 1 hour. :) 0-59 would be more useful I think.
2. You can't minimise the GUI. It would be nice if the GUI was minimisable and if it displayed the current progress in the taskbar entry title. Such as: "85% P:1/2 F:2/4" where the percentage is the progress of the current pass of encoding P:a/b a=current pass, b=number of passes for this file, and F:a/b a=current file, b=total number of files to be encoded.
The ability to change the priority on-the-fly is handy too. Thanks.
EDIT: Regarding point 1. above, I think it may be that the hour display is correct so it's doing some calculation like [please note I'm no programmer]
time_remaining_seconds = total_frames_remaining/average_frames_per_second
remaining_time_hours = integer_part_of(time_remaining_seconds/3600)
remaining_time_minutes = (integer_part_of(time_remaining_seconds/60)) modulo 60
remaining_time_seconds = (time_remaining_seconds) modulo 60
What I think it's currently doing is forgetting to modulo 60 the integer_part_of(time_remaining_seconds/60) so it's displaying the total number of minutes remaining up to a maximum of 99 (because there are two digits available). I'm not quite sure what it would do if there were more than 99 minutes remaining or sure if I'm right. But I think it's something like that. It's also doing the same for the time elapsed.
EDIT 2: If it goes beyond 99 minutes it displays 100 and so on... :)
Rainy
12th April 2004, 18:28
Thanks for the bug report. An updated and fixed version uploaded :)
http://www.home.no/rainy/pr/avs2avid-1.0a.zip
superdump
12th April 2004, 22:07
You work quick! Thanks Rainy. :)
superdump
13th April 2004, 17:19
Rainy: I have a minor request. The tray minimising is very nice, could the icon be made to show the current progress in some sort of pie-chart fashion? :) Just for fun really, not at all important. So the clock could have one hand that started at the top and swept out the % as it encoded.
Rainy
13th April 2004, 19:53
Sure, no problem. However I'll need a set of ten icons (tenner step should be enough), since I can't modify the existing one. Any graphic designers around? :)
DvdKhl
14th April 2004, 00:27
Is there any way of creating or changing the codec parameter file automaticly,
because I want to change the Bitrate or the destination file size in the XviD codec.
But I have no idea how to *decode* it so I could change it.
When I knew I could write a little program that calculates the needed finalsize,
with it I could convert my series from DVD to XviD with just one time setting the needed avs scripts etc. up and then encode them all in a row without any userinteraction.
In virtual dub I could change the registry for my needs but in AVS2AVI you have to load the file for the codec settings.
So is there a decoder or something like that?
esby
14th April 2004, 00:30
I think there is a 'use xvid option' ?
no?
esby
DvdKhl
14th April 2004, 00:37
Originally posted by esby
I think there is a 'use xvid option' ?
no?
esby
mhh but every series has another length therefore they all need different finalsizes.
But in AVS2AVI I can only tell it the parameters when he needs it.
So I would have to stay all the way near my computer,
because he asks for the parameters for the next encode when the previous is done.
DaveEL
14th April 2004, 10:39
Originally posted by DvdKhl
Is there any way of creating or changing the codec parameter file automaticly,
because I want to change the Bitrate or the destination file size in the XviD codec.
But I have no idea how to *decode* it so I could change it.
When I knew I could write a little program that calculates the needed finalsize,
with it I could convert my series from DVD to XviD with just one time setting the needed avs scripts etc. up and then encode them all in a row without any userinteraction.
In virtual dub I could change the registry for my needs but in AVS2AVI you have to load the file for the codec settings.
So is there a decoder or something like that?
The codec settings file is different for each codec and version but you can use the registry if you use the fourcc option (-f xvid i think but im not sure). If you want to change the codec param file you need to be able to read a bit of c code if you look at the the xvid source code for the raw codec data and check the load/savecodecparameter code in avs2avi for the other parts of the file format.
More info can be found try searching for SetCompData in the development forum that should get you info on writing virtualdub job files setcompdata is the same raw codec data as in the avs2avi codec state files but in avs2avi you don't base64 encode it.
DaveEL
(ps sorry its early(ish) here and im still half asleep ill try to rewrite this later today)
DvdKhl
14th April 2004, 11:23
Thanks DavEL
I should have seen that option with selecting the codec by fourCC.
I'm going to use that since I have no knowledge about c code
but with VB I can change the reg so this is just what I needed.
Lets not hope it is as complicated as DivX. :D
Emp3r0r
15th April 2004, 03:43
Originally posted by Rainy
Sure, no problem. However I'll need a set of ten icons (tenner step should be enough), since I can't modify the existing one. Any graphic designers around? :)
How bout this?
http://jvance.com/images/pie.gif
or this?
http://jvance.com/images/piered2.gif
or blue?
http://jvance.com/images/pieblue.gif
superdump
15th April 2004, 20:45
Emp3r0r: Nice. :)
Rainy and DaveEL: I actually discovered that the avs2avi 1.35 executable still made my hard drive churn a lot but Rainy's dll didn't. Have you changed anything to make the dll Rainy?
Also, Rainy, I installed Windows XP SP2 RC1 yesterday and avs2avidemo no longer runs... it just doesn't open. :\
Thanks for your time.
Rainy
16th April 2004, 19:49
the dll is completly based on latest avs2avi, that means I didn't make any changes that could affect that behaviour ;) Since I don't have SP2 RC1 I can't test, sorry :(
@Emp3r0r
nice, I'll take the red one :)
Moitah
17th April 2004, 04:16
Rainy: Just curious, what language is avs2avidemo written in? And do you plan to release the source to the dll?
Rainy
17th April 2004, 10:11
It's written in C++ and the source of the latest avs2avi dll is available at: http://www.home.no/rainy/pr/avs2avi_dll-src.zip :)
Rainy
17th April 2004, 17:29
New version uploaded: http://www.home.no/rainy/pr/avs2avid-1.0a.zip
Emp3r0r
19th April 2004, 05:48
Whats new rainy?
Rainy
19th April 2004, 11:40
right, forgot to mention: just a few fixes in the dll, minor changes in the gui and added an animated tray icon.
I combined your icon set with the previous icon, since it had to be modified anyway. ;)
The Link
19th April 2004, 16:34
I really like your program! :)
I don't know if it would bloat the program too much but nevertheless I have some suggestions:
It would be great to have a preview window with slider and framecounter. This would help me to configure the zones in xvid.
A simple avs editor (just a primitive text window would do it for me)with a save option to edit the loaded scripts.
Thanks for reading!
Regards,
The Link
Rainy
21st April 2004, 15:34
Thanks for suggestion. Actually, I've been already working on these two features for a couple of days before you posted. So, stay tuned. I'll post an updated version in the next days. :)
The Link
21st April 2004, 19:59
:)
seewen
24th April 2004, 04:56
@Rainy
Your "little" GUI is really nice.
But it miss a little something: A way to change jobs order (up/down arrows for example).
A+
P.S.
Nice tray icon ! ;)
aketon
26th April 2004, 10:42
Hello,
very nice program, but I found a big BUG! Avs2avi gui encodes the first frame for 3 more times, and that thing gives you 120ms delay in audio! There is no problem with the command line avs2avi 1.35! Could you please find why this thing happens! I am always encoding in XviD with the default settings!!!
Moitah
26th April 2004, 16:51
I have figured out a way to allow the XviD status window to remain open after encoding is complete. This will be in the next version (as an optional switch).
Also the "No Recompression" option will be enabled in the next version.
Rainy
26th April 2004, 17:49
new version uploaded: http://www.home.no/rainy/pr/avs2avid-1.1.zip
What's new:
* added a script window for quick editing
* added a preview window
* job order is now configurable simply per drag & drop
* added a preferences dialog for global options, font- and working directory settings
* miscellaneous fixes
@aketon
at the moment I can't reproduce that bug, but I will take a closer look.
The Link
26th April 2004, 19:55
Simply perfect now (at least for me)!
Thank you! :)
The Link
Rainy
26th April 2004, 20:21
Quick update: http://www.home.no/rainy/pr/avs2avid-1.1a.zip
Just a small bug in saving options and added a toolbar to the preview window, since I find it more comfortable. :)
Moitah
27th April 2004, 20:51
AVS2AVI v1.36: Added option to wait until the XviD status window is closed, use "-x a" to enable for all passes, or "-x l" to enable for the last pass only.
Enabled the "No Recompression" option.
AVS2AVIDrop v0.4.0: Rearranged the interface while encoding.
Wrote custom progress bar code, looks better now :).
Always uses the "-x l" switch (this will have no effect if you aren't using XviD).
New screenshot of AVS2AVIDrop:
http://members.cox.net/moitah/avs2avidrop-0_4_0.png
Download link (both AVS2AVI and AVS2AVIDrop, including source): AVS2AVI v1.36 (http://members.cox.net/moitah/avs2avi-136.zip)
Moitah
28th April 2004, 02:59
Rainy: Thanks for the source of the DLL. The GUI is looking really good, I like the preview :). Unfortunately I haven't been able to encode anything, it always says:
An error has occured while loading the source file
Continue anyway?
Am I doing something stupid? Any ideas? (This happed in all previous versions I've tried as well)
Rainy
28th April 2004, 15:54
Thanks Moitah :) That error appeared mostly if you cancel an encode and restart it, because I simply forgot to release the AVIFILE interfaces, shame on me :o.
Here's the fixed version: http://www.home.no/rainy/pr/avs2avid-1.1b.zip
Moitah
28th April 2004, 16:28
Rainy: It still doesn't work on my computer :( (rebooting didn't help). I tested it on another computer and it works fine.
Rainy
28th April 2004, 16:39
Do you still get that error message? What os is installed on your computer?
Moitah
28th April 2004, 16:41
Yes, same error message. Both mine and the other computer I tested on are running Windows 2000 w/ SP4.
Rainy
28th April 2004, 16:54
That's pretty strange. Do the both computers have the same configuration e.g. AviSynth? I'm actually at a loss.
Moitah
28th April 2004, 16:59
Yeah, same version of AviSynth. I guess it's time to reinstall Windows on this box? ;) Well, if I'm the only one with this problem, don't worry about it.
EDIT: Of course, I will still help troubleshoot if you want to fix it anyway.
Rainy
28th April 2004, 19:49
New version: http://www.home.no/rainy/pr/avs2avid-1.2.zip
Fixed the problem Moitah reported, thanks him for testing and debugging :)
DarkDudae
29th April 2004, 00:14
Both of you (Moitah and Rainy) are doing a great work...
Thanks for it :)
DarkDudae
29th April 2004, 11:15
@Moitah
I have changed avs2avi.cpp to allow save/load settings without encoding using the -n in the commandline. It also will save the codec parameters if you use the FOURCC encoding directly:
avs2avi.exe <source> <destin.> -n -s <settings_filename>
This one should open the list of codecs and allow you to configure and save the settings without the encoding process.
avs2avi.exe <source> <destin.> -n -c XVID -s <settings_filename>
This one will save XVID settings directly.
Maybe the source has some bugs. Since I canīt open .vcproj files with VS 6.0 I canīt compile by myself or test :mad:
So I only changed avs2avi.cpp. The modifications I have done are indicated in the source.
I hope it can help :)
You can find the file HERE (http://enigmax.eresmas.com/avs2avi.cpp.zip)
Greetings
dp_sun
29th April 2004, 11:18
I have added a code to the program avs2avi-131a and have laid out all this on page http://sun.tepkom.ru/avs2avi/
Here direct references to executed files http://sun.tepkom.ru/avs2avi/avs2avi.zip and an initial code http://sun.tepkom.ru/avs2avi/avs2avi.src.zip
Look please!
There can be my ideas will like and will be used in new versions of the remarkable program avs2avi.
I apologize for bad English. I use the on-line translator.
ChangeLog (build 131022)
These are the major changes from the original version:
- VirtualDub-like version numbering scheme. Version is written in the output avi file.
- Removed buggy matroska and log file output (sorry, guys).
- Hotkeys and switching during transformation process.
- Registry entries for DIVX and XVID parameters. The program is now tuned to work with these two.
- Parameters specific to the codec and avi file (Max Keyframe Interval, etc.), are now figured out automaigcally.
- Individual parameters may be specified for each pass (both for 3d and 4th).
- Data entry forms made fool-proof.
- Ctrl-C now processed cleanly.
- Lots of cosmetical fixed. LAME-like statistics.
- Accurate elapsed and total work time counts.
- Current avi size output (estimated).
- Screen output of the codec parameters being written into the register.
esby
29th April 2004, 13:09
mmm @dp_sun
I'll just comment some of the changes in the version you have created.
since i'm merely an user here, and not one of the developper.
- VirtualDub-like version numbering scheme. Version is written in the output avi file.
That's not a version numbering scheme, that s build numbering one.
And more exactly that's the date of when you compiled this source,
and does not tell anyone which version was used.
So so far, I think it is just useless, and more confusing,
since you'll still need the version number to make a difference.
Version != Build number
but Version written in the output avi might be still ok.
that's auth info after all.
- Removed buggy matroska and log file output (sorry, guys).
Well I can only agree for mastroka, but:
Removing it was not a priority.
People might still be using it, despite what you think.
For logs, I don't know, I never used this option.
But the same remark applies here.
- Registry entries for DIVX and XVID parameters. The program is now tuned to work with these two.
Well using registry with DIVX is not a bad idea,
some people might like it.
Now, I have looked on the code a bit, and pondered the meaning of 'tuned to work' with these two.
If means added extra support for these two codec, I answer ok, why not...
But if it means only XVID & DIVX codec can be used to avs2avi now, I said a definitely NO!
Some people might use avs2avi with other codecs like ffvfw, huff, rvble, and what god know what they could need.
Using such or such codec is their choice, not yours to limit it to a selection of what you use.
- Parameters specific to the codec and avi file (Max Keyframe Interval, etc.)...
are you talking of the members of the COMPVAR structure...?
are you talking of specifying them via commandline or any other way?
Is this really useful, since you can generate dumpcodecfile already?
and since the codecs are different, some of these parameters
might have no meaning out of your context of use.
I have nothing to say for the rest of your change,
as long they are properly done,
but in that case I cannot really talk , it's more up to Moitah or Rainy.
Although I can add a bit of sarcastic comment here too...
directly from your code:
//#ifndef ABOVE_NORMAL_PRIORITY_CLASS
//#define ABOVE_NORMAL_PRIORITY_CLASS 0x00008000; // Yes you should update your platform SDK.
//#endif
Commenting out this because it is not needed with your platform
is not the proper way to code...
So far, if you did not comment out, forget my remark,
but if you did, think that the developper platform might not be always the same, and stuff like that can cause havoc to others to have it compile or work normally once compiled.
And especially here since it's a #ifndef ...
And to conclude the FILE_ID.DIZ being in the zip file...
I don't care about it,
but if you put such file, AT LEAST put the GPL licence too...
And don't forget that WAREZ has nothing to do here.
So far, my conclusion
(which is personnal and might or might not reflect other people opinion here):
Some of your changes might be needed or ok.
Some are useless, too specific.
Some could have been done directly as bugfix by moitah or rainly...
Since there is no cvs structure for avs2avi,
and that there are at least two different approach actually(not counting yours), with the normal way and rainy client,
avoid to do a huge list of change, unless you want to disturb the actual developper, or present it directly, and in an exploitable way.
Of course, you can modify it, since it's GPL, but don't forget that people are working on it, and don't do twice the job they could do...
on another note,
how about a sourceforge page for avs2avi?
or is it already done?
esby
DaveEL
29th April 2004, 13:24
avs2avi projects on www.corecodec.org im currently trying to get my old cvs tree imported into it and then ill get it opened to everyone else here :)
DaveEL
dp_sun
29th April 2004, 17:51
> That's not a version numbering scheme, that s build numbering one.
Yup, you're right, I'll think about it.
> Well I can only agree for mastroka, but:
> Removing it was not a priority.
> People might still be using it, despite what you think.
Well, it was so buggy I thought it's better to remove it.
> - Registry entries for DIVX and XVID parameters. The program is now tuned to work with these two.
> But if it means only XVID & DIVX codec can be used to avs2avi now, I said a definitely NO!
No, the support for other codecs is still there. "Tuned" in this case means that two additional divx/xvid-specific command line options were added, and the registry writing ability is now limited to these two. Of course, using that principle one can add other codecs to that feature -- I've been only interested in these.
> Is this really useful, since you can generate dumpcodecfile already?
> and since the codecs are different, some of these parameters
> might have no meaning out of your context of use.
Well, the parameters in question are those that avs2avi specifies in register, thus only for these two codecs now supported for this feature, divx and xvid.
>//#ifndef ABOVE_NORMAL_PRIORITY_CLASS
>//#define ABOVE_NORMAL_PRIORITY_CLASS 0x00008000; // Yes you should update your platform SDK.
>//#endif
>Commenting out this because it is not needed with your platform is not the proper way to code...
Ok, thanks, I've uncommented that and added BELOW_NORMAL_PRIORITY_CLASS macro. Just in case :)
> And to conclude the FILE_ID.DIZ being in the zip file...
> And don't forget that WAREZ has nothing to do here.
This is a standart "file description" file in russian FIDONet (which I still use :)), and has nothing to do with warez. Anyway, I removed it so that it wouldn't raise any questions in future.
> I don't care about it,
> but if you put such file, AT LEAST put the GPL licence too...
I'm not sure if it was GPL initally, since I haven't seen any license mentions neither in code nor in distribution. Perhaps, the author himself will clarify the point.
> Some of your changes might be needed or ok.
> Some are useless, too specific.
> Some could have been done directly as bugfix by moitah or rainly...
Hm. This version of avs2avi was made mainly to share my ideas about the program, and to implement features I lacked in previous version. I distribute it in hope it would be useful for someone else. If moitah would integrate some of my patches, fine then :)
Rainy
29th April 2004, 20:36
One last update: http://www.home.no/rainy/pr/avs2avid-1.3.zip
* fixed a nasty bug concerning presets editing
* added a possibility to save the joblist as a single project
* some gui adaptations
esby
29th April 2004, 23:19
@dp_sun,
Sorry if I was a bit rude :)
But I personnaly think that having one version is better than three differents one ^^
about the the GPL licence,
even if it is not written explicitely,
there is code coming from VirtualDub ;) thus GPL if I'm not wrong ^^
esby
@DaveEL
If you need any help i can provide, I ll gladly help.
seewen
29th April 2004, 23:57
"avs2avidemo" is near perfect. nice!
(I don't comment avs2avi beccause it's already perfect since a long time for my need ;) ).
@Rainy
1) When you click on "add" the "video codec" windows popup. Here the codecs are not alphabetically ordered (it is in VirtualDubMod).
I don't know if it's due to avs2avi or the GUI.
And it's the first time I see this issue beccause it's the first time I'm looking for something else than XviD ;)
2)Is it possible (in a next version) that the GUI automatically write the output name/path (same path/name as the *.avs) when you open the *.avs ?
Maybe an option in the preferences to choose this.
It's not really important. Maybe as much as 0.5 sec won ;)
bye
Rainy
30th April 2004, 00:19
the video codec dialog is managed by the operating system, that means I don't have any influence on it. There's no problem making a custom dialog like vdub has, but just because of sorting matter, it doesn't make any sense.
Your second suggestion will be included in the next version. :)
Moitah
30th April 2004, 07:02
DarkDudae: I have added the feature you suggested, but I called it something different because I don't want it to be confused with the null output option ("-o n"). I will try to release it tomorrow.
Originally posted by esby
about the the GPL licence,
even if it is not written explicitely,
there is code coming from VirtualDub ;) thus GPL if I'm not wrong ^^I was wondering about this. I also assume that it should be GPL because of the VirtualDub code. I will add the GPL header in the code, but I would like to ask the original developers first ([Toff]/DaveEL: any comments?).
dp_sun: I haven't had a chance to look at your changes yet, I will tomorrow.
Just out of curiosity, does anyone use AVS2AVIDrop :)? I haven't heard any comments on it (which is understandable since Rainy's GUI is so nice).
DaveEL
1st May 2004, 01:56
Yes i got permission to gpl from all the previous authors a while ago so i could use stuff like avilib and vdub code but ive been lazy about putting it in the code.
DaveEL
Moitah
2nd May 2004, 03:19
AVS2AVI v1.37: Added "-e" switch to exit after compressor selection. This is useful if you want to save compressor settings ("-s") without actually encoding.
"No Recompression" can now be selected by using "-c null".
"No Recompression" mode uses less memory.
Lots of code restructuring and clean-up, and small display fixes.
The code is now properly labeled as GPL.
The source .avs is now kept open the whole time, instead of being closed and reopened between passes. If you think this will cause problems, let me know and I will change it to the old behavior.
Last night I had the urge to register avs2avi.org (http://www.avs2avi.org/), I don't know why but I did :D. I will keep it updated with the latest version.
Download link: AVS2AVI v1.37 (http://www.avs2avi.org/avs2avi-137.zip)
also a new version of avs2avid: www.home.no/rainy/pr/avs2avid-1.4.zip
avs2avi dll source: www.home.no/rainy/pr/avs2avi_dll-src.zip
What's new?
* synched with the latest avs2avi
* a couple additions to the gui
@aketon
could please test again and see if you still get the delay?
Moitah
2nd May 2004, 17:54
Rainy: What happened :confused:? I am getting the error message again when I try to encode, 1.2 and 1.3 worked fine.
uups, fixed :). An OleInitialize call has somehow slipped into my code :D
Moitah
2nd May 2004, 18:46
Yeah, works now. I see you have added support for encoding all frames when B-frames are used :).
And XviD status window, kind of. When doing a 2-pass encode, the status window for the first pass stays open, but when the second pass ends both windows are closed. I don't know how useful it is like this, I would think most people care more about the result of the final pass. You probably wouldn't want this enabled by default, because depending on how you did it, you would either: a) halt the encoding between jobs until the window was closed, or b) leave a bunch of status windows open which may be confusing. Just something to think about, I'm not pressuring you to change it.
EDIT: Doh, okay, maybe not. Looks like the older versions behave the same, I assumed you had changed something because of the GetThreadWindowCount code in the DLL. Is it being used currently?
it is, if you check the button in the Encode dialog, the status windows will stay open, didn't you see it?
Moitah
2nd May 2004, 20:02
Originally posted by Rainy
it is, if you check the button in the Encode dialog, the status windows will stay open, didn't you see it?
Apparently not :p. I was looking in preferences for a checkbox or something :). I see it now, it works good.
aketon
3rd May 2004, 13:15
I've just tested the latest version of avs2avid-1.4 and I still have the same problem! I noticed it with virtualdub!
When I open the avs file with virtualdub and then the avi file, I see e.g. that the frame 300 in the avs file isn't the same with the 300 frame in the avi file, but it is the same with the 302 in the avi file!
There is no problem with the latest avs2avi-1.37 command line version!
Sorry for my bad english! I hope that you will understand what I wrote!
@Aketon problem:
Sounds like a bframe delay problem.
Probably a bug to be corrected...
esby
aketon
3rd May 2004, 15:57
Yes, it is a bframe problem! When I disable them, there is no problem!
Moitah
3rd May 2004, 16:30
Rainy: I think i have spotted a bug in your B-frame detection code. This code:
lSize == 1 && **p == '\x7f'
Should be:
lSize == 1 && *pData == '\x7f'
Also, having an array for 'p' isn't necessary, in AVS2AVI this is done to allow multi-threading. If you are planning on leaving the reading/writing in the same thread, you may want to have just a single 'p' to simplify the code.
Updated binary: www.home.no/rainy/pr/avs2avid-1.4.zip
dll source: www.home.no/pr/rainy/pr/avs2avi_dll-src.zip
aketon
7th May 2004, 13:04
Thanks for correcting the b-frames bug issue! The new version is nearly perfect! I am saying nearly because the autoshutdown option seems to be broken (at least in my PC)!:rolleyes:
Bye!!!
Rainy
10th May 2004, 16:42
New dll version uploaded:
http://www.home.no/rainy/pr/avs2avi_dll-src.zip
the new version contains plain functions for the avs2avi interface which should be accessible for people who code in C or delphi (might be interesting for DarkDudae, who asked about it ;)).
Originally posted by aketon
I am saying nearly because the autoshutdown option seems to be broken (at least in my PC)!:rolleyes:
I'll take a look, thanks.
DarkDudae
10th May 2004, 17:46
Originally posted by Rainy
the new version contains plain functions for the avs2avi interface which should be accessible for people who code in C or delphi (might be interesting for DarkDudae, who asked about it ;)).
Thanks Rainy. I managed to read stdout from Avs2avi.exe 1.37 version, and it seems it works perfectly. However, these plain functions will be really helpful for the future, allowing to read data directly :)
This is a screenshot. I have used a similar "look" with Virtualdub Job Control (it is easy and users will be familiarized) As you can see, it is in spanish, but it will be released in some other languages (english included) with future ARCalculator 1.0.
http://Dudae.en.eresmas.com/PreviewARC10.JPG
Greetings!
Rainy
10th May 2004, 18:16
Nice, I like it :)
iradic
19th May 2004, 18:04
hi
it would be nice if you could add framerate in the cmd line version info window (under SOURCE)...
thanks...
Moitah
21st May 2004, 07:26
iradic: Done. I will release a new version in a day or two.
Moitah
24th May 2004, 01:55
AVS2AVI v1.38: Source information: Added frame rate, and removed bit depth for formats other than RGB
Fixed "No Recompression" not copying all AVISTREAMINFO values (i.e. FourCC)
Removed high priority
Download link: AVS2AVI v1.38 (http://www.avs2avi.org/avs2avi-138.zip)
aketon
26th May 2004, 19:11
Hi there!
There seems to be a problem with avs2avi 1.38 and the x264 - H264/AVC codec! Every time I am trying to encode with it, avs2avi gives me the following message:
ICSeqCompressFrameStart failed : The operation completed successfully.
When I am trying to encode using ffdshow's x264 there is no problem!
Does anybody know about this problem???
I thought that x264 accepts YV12!
Thanks!
BYE!!!
davidf
26th May 2004, 20:14
Rainy,
I have had no luck getting your dll and gui to work, I think it maybe something to do with XP service pack 2. I'm not familiar with C source so I gave up trying to work out what the problem is.
It may have something to do with debugging if you have debugging options compiled into the dll. Anyway below is a simple delphi proc that should load the dll but the process crashes. can't debug it becuase under XP-SP2 I have to switch the debugger off.
procedure loadavs;
var
avs2aviDLL: THANDLE;
Testme : integer;
begin
avs2aviDLL := loadlibrary('avs2avi.dll');
if avs2aviDLL <> 0 then begin
label1.Caption := 'Lib Loaded';
end;
freelibrary(avs2aviDLL);
end;
Any thoughts ?
Rainy
26th May 2004, 21:21
The dll provided in the package doesn't contain any debug informations, it's a release version. But there are indeed some problems with Windows XP SP2 RC1, superdump already reported. At the moment I can't do anything about it, sorry. You should wait untill the final SP2 is released.
davidf
27th May 2004, 05:51
Originally posted by Rainy
The dll provided in the package doesn't contain any debug informations, it's a release version. But there are indeed some problems with Windows XP SP2 RC1, superdump already reported. At the moment I can't do anything about it, sorry. You should wait untill the final SP2 is released.
I don't think that the final will make a difference as the SP2 preview release is basically it :(
The command line avs2avi works fine so there must be something in the way the dll is attempting to load. I know with XP-SP2 there is little room for error when it comes to memory management. Its at times like these I wish I had dabbled a little more in C++.
Fox Mulder
27th May 2004, 09:35
Originally posted by Rainy
Updated binary: www.home.no/pr/rainy/avs2avid-1.4.zip
dll source: www.home.no/pr/rainy/avs2avi_dll-src.zip
Those download links are incorrect, but it took me a while to figure it out.:rolleyes:
The correct ones are:
http://www.home.no/rainy/pr/avs2avi-1.4.zip
http://www.home.no/rainy/pr/avs2avi_dll-src.zip
I was trying to get avs2avidemo 1.4 from the wrong link, and I got frustrated, since this is a nice app that I started using due to the lack of proper support of XviD 1.0 with more than 1 b-frame in VirtualDub.
Thank you so much to the devels for AVS2AVI and Rainy for the nice GUI.:D
twist3d
27th May 2004, 16:06
The requested URL /rainy/pr/avs2avi-1.4.zip was not found on this server :D
well actually now working link is: http://www.home.no/rainy/pr/avs2avid-1.4.zip
bill_baroud
1st June 2004, 18:31
Anybody with a mirror somewhere ? those links don't work for me, and i can't find anything related in google :/
thanks :)
Emp3r0r
3rd June 2004, 01:10
i'm looking for a download link that works too ;)
Anyway, i'm using build 1,0,0,1 of rainy gui and I can save a project file but I can't open it back up. Anyone else with this experience?
Moitah
3rd June 2004, 02:59
Here's a mirror of the latest version of Rainy's avs2avid: avs2avid-1.4.zip (http://members.cox.net/avs2avi/avs2avid-1.4.zip)
kilg0r3
3rd June 2004, 10:04
Hi,
just a short one: Does avs2avi drop Delay Frames as Vdub and VdubMod do? I am asking this because it is necessary in order to create spec compliant streams, which then can be muxed into an MP4 container.
Thanks
bill_baroud
3rd June 2004, 12:58
thanks Moitah for the mirror :)
Moitah
3rd June 2004, 16:48
Originally posted by kilg0r3
Does avs2avi drop Delay Frames as Vdub and VdubMod do?
Yes it does.
Rainy
4th June 2004, 04:39
@Moitah
Thanks for providing a mirror :) The server seems to be down already a week :(
@Emp3r0r
Fixed, a new version will be released in a couple of days.
DaveEL
5th June 2004, 21:58
Originally posted by kilg0r3
Hi,
just a short one: Does avs2avi drop Delay Frames as Vdub and VdubMod do? I am asking this because it is necessary in order to create spec compliant streams, which then can be muxed into an MP4 container.
Thanks
Support for that was my first contribution to avs2avi so unless anyone has changed it since is should be ok.
DaveEL
hm talking about mp4, did anyone already ask whether it could be possible for outputting mpeg-4 streams directly to .mp4?
that way it could be maybe also possible to create varaible framerate files directly, as smart codecs like xvid and 3ivx can already create n-vops if two frames are the same/similar, which could be dropped on the mp4 side and therefore create a vfr stream, as the gpac mp4 muxer is already able to do
opensource mp4 libraries are available already from mpeg4ip (http://sourceforge.net/projects/mpeg4ip/) and gpac (http://sourceforge.net/projects/gpac)
bill_baroud
6th June 2004, 22:56
hmm, i remember that DaveEL was working on a avs2avi that output native mpeg4-matroska, but he get drunk and fucked everything (well, no, that's not it :D). I think he was stuck on an unsolvable problem and get discouraged... but yes, it's should be possible, if someone code it ;)
DaveEL
7th June 2004, 11:45
Originally posted by bill_baroud
hmm, i remember that DaveEL was working on a avs2avi that output native mpeg4-matroska, but he get drunk and fucked everything (well, no, that's not it :D).
Hmm that does basically covers it im not sure what b0rked a i pulled old revisions out of my cvs tree and they still didn't work.
I think he was stuck on an unsolvable problem and get discouraged... but yes, it's should be possible, if someone code it ;)
Was also rather hard to debug as i was outputting files that nothing had yet been written to read so working out if my files were correct was hard and simultaniously writing code to b0rk all the timings back to directshow compatible was not what you would exactly call fun.
Its much easier to do if you interface with the codec directly rather then using vfw so i was connected directly to xvidcore the code was put up on the corecodec cvs but i believe that is currently down if anyone wants a copy of the cvs tree send me a message im not sure how useful it will be however.
DaveEL
CruNcher
9th June 2004, 07:25
WINSH*T problem as allways
Rainy
9th June 2004, 20:48
I can't see any difference - on second screenshot there is just a slight mosquito noise visible on the edges. So what exactly is shifted?
Moitah
9th June 2004, 21:06
It is shifted to the right slightly. We talked on IRC and determined that the AutoCrop filter is behaving differently in VirtualDub and AVS2AVI. When the cropping is set manually, everything is fine.
CruNcher
10th June 2004, 05:16
I found the problem it was the Windows Prefetch file for Avs2avi that coused this not a Vdubmod nor autocrop nor avs2avi bug just a plain odd WIND0ZE bug again sorry :(
Fox Mulder
25th June 2004, 09:45
Originally posted by Rainy
@Moitah
Thanks for providing a mirror :) The server seems to be down already a week :(
@Emp3r0r
Fixed, a new version will be released in a couple of days.
Any news on that new version of your nice GUI, Rainy? :)
bond
28th June 2004, 10:15
i think there is a bug with handling packed bitstream in avs2avi!
as virtualdub(mod) shows the same problem first of all my question: does avs2avi use the same code from vd for handling all these b-frames in avi hacks/workarounds?
read more about the problem in this thread (http://forum.doom9.org/showthread.php?s=&postid=516937#post516937)
Rainy
3rd July 2004, 10:36
Originally posted by Fox Mulder
Any news on that new version of your nice GUI, Rainy? :)
Sorry, I've been busy lately :( but I promise to release the new version on monday :)
Rainy
5th July 2004, 20:23
http://www.avs2avi.org/rainy/avs2avid-1.5.zip
http://www.avs2avi.org/rainy/avs2avi_dll-src.zip
What's new:
* Fixed project loading bug
* Preset names can be now edited directly in the program (Edit > Presets)
* dll interface has been changed a bit, the callbacks accept an additional parameter, which can be used to store user data
* small fixes and adaptions
Enjoy :)
Moitah
6th July 2004, 22:27
AVS2AVI v1.39: Destination file is now closed immediately after encoding, the XviD status window can be left open without keeping the file unfinished/locked
Changed the way the last frames are flushed when using b-frames, the last frame may be better quality if it is a b-frame
XviD status window is now closed when encoding is stopped by Ctrl+C
Fixed deadlock when stopping with Ctrl+C
AVS2AVIDrop v0.4.1: Runs at above-normal priority (the actual avs2avi process is still run at normal priority)
Small fixes (unnoticable progress bar bug, and maximize button was enabled)
Download links: AVS2AVI v1.39 (http://www.avs2avi.org/avs2avi-139.zip), AVS2AVIDrop v0.4.1 (http://www.avs2avi.org/AVS2AVIDrop-0_4_1.zip)
BITS
12th July 2004, 06:34
i feel partly retarded..im clueless on how this avs2avi works. where do i get the first and second pass setting to use with the -s/-L switchs?
im running...
avs2avi.exe -s c:\1pass.txt
avs2avi.exe -s c:\2pass.txt
but its not creating those files
in theory, if i figure that part out...its just
avs2avi myavsfile.avs c:\myXviD.avi -P 2 -l c:\1pass.txt -c XVID
correct? sorry for the no brainer it would seem to most, but im seriously confused on what to do here. the simplest of things sometimes rock my world :-).
EDIT HERE:
hold up...is this doing right now waht i want it to do
%1==source.avs
START /W avs2avi.exe %1 -P 2 -s %1.txt -c xvid
START /W avs2avi.exe %1 -P 2 -l %1.txt -c xvid
notice the difference in -s and -l...should the -P switch be -P 1 on first pass and -P on second pass?? like the below?
START /W avs2avi.exe %1 -P 1 -s %1.txt -c xvid
START /W avs2avi.exe %1 -P 2 -l %1.txt -c xvid
man im confused here :-(. im really confused the most on how i set the guesstimated file size for the 2nd pass to target.
since im here, how does everybody using this deal with the audio compression via cl using .avs?
DarkNite
12th July 2004, 07:37
AVS2WAV and/or BeSweet
Moitah
12th July 2004, 15:06
@BITS: What are you trying to do? For a normal 2-pass encode, you would only need:
avs2avi myavsfile.avs c:\myXviD.avi -P 2
Emp3r0r
12th July 2004, 17:34
Thanks for the updates. I appreciate all the effort.
Moitah
12th July 2004, 19:24
Originally posted by Emp3r0r
Thanks for the updates. I appreciate all the effort. No problem :)
BITS
13th July 2004, 01:17
how do i set the target filesize though? or do i just do that through windows,vdub, etc... is there no way to pass in the target filesize? guess i could do it on the fly with a bunch of regedit.exe /s xvid.reg keys, but i thought you could do it with that.
anyways, since im on the subject...the below is the correct key for _ALL_settings in xvid correct...like the "desired_size"...
HKEY_CURRENT_USER\Software\GNU\XviD
btw: You can use BeSweet from the CL also on avs2avi? i thought i read that avs2avi didnt support any audio? or do you use a vdub script to save a wav?
Moitah
13th July 2004, 01:45
Originally posted by BITS
how do i set the target filesize though?When AVS2AVI starts it will bring up the compressor selection dialog where you can select a codec and configure it. Or is that not what you want?
BITS
13th July 2004, 05:34
no, like most i dont need that. i already know what files are going to what aproximate filesize before i configure the xvid gui...so that gui is a speed bump more than anything to me.
btw i did start the compression routine with one of the above lines i posted before and the xvid gui didnt pop-up...i must of messed something up.
but you can probably guess by now, i was hoping it was something like...
avs2avi myavsfile.avs c:\myXviD.avi -P 2 -T 700
-T 700 being the target size.
in the morning i will try the registry key i posted above. atleast that way i could have my cheap.bat create the key, then register it with regedit /s, then start your nice app and then ....... bliss :-).
its a longer way, but i think it just might work...hopefully.
Malow
19th July 2004, 10:41
i dont find other way, so a make a batch to do almost all. convert audio and after, video. based on the size of the audio, it calcule final filesize for the video, convert to hexadecimal and put on registry.
is the only way i found to do "almost automatic" xvid conf.
buzzqw
19th July 2004, 13:11
@Malow
Could you post your batch file ?
Thanks
BHH
BITS
19th July 2004, 22:54
Malow: i understand what you are saying, but i do not understand this part... "it calcule final filesize for the video" ?. Do you give the arguement yourself like XviDit.bat %targetSize ? if so i need something like that. im using regedit.exe /s Pass1.reg and Pass2.reg right now. Then avs2avi right for the general encode. i dont have the target size in my foo.bat though.
I did not notice the target size was kept in hexidecimal...i completely over looked that... i will have to add that.
Only thing i dont really know how to do in a .bat file you mentioned...is generate a .ogg stream from the aduio from a bat... well not withot using .vcf in vdubmod (and i dont want to use a gui at all, so that's out). i still have yet to figure out the audio encoding from a .bat.
i forgot, what are you using to convert decimal to hex with your .bat ?
i found this hexdec.zip to do the job...found at the below
http://www.eunet.bg/simtel.net/msdos/calculte-pre.html
Malow
19th July 2004, 23:05
@ECHO OFF
:: Keep variables local
SETLOCAL
:: Check if command line parameter is a valid number
SET /A X = %1 >NUL 2>&1
IF ERRORLEVEL 1 GOTO Syntax
:: Use PING to split the number int 4 2-digit hexadecimal numbers
:: that are displayed again as 4 decimal numbers from 0 to 255
FOR /F "tokens=2 delims= " %%A IN ('PING %1 -n 1 -w 1 2^>NUL ^| FIND "Pinging"') DO FOR /F "tokens=1-4 delims=." %%a IN ('ECHO.%%A') DO (
CALL :D2H TmpA %%a
CALL :D2H TmpB %%b
CALL :D2H TmpC %%c
CALL :D2H TmpD %%d
)
:: Display the end result
ECHO %TmpA%%TmpB%%TmpC%%TmpD% >HEXVALUE
:: Done
ENDLOCAL
GOTO:EOF
:D2H
:: Split the number into 2 single "digits"
SET /A Tmp2 = %2 / 16
SET /A Tmp1 = %2 - 16 * %Tmp2%
:: Numbers 0..9 are the same in decimal or hexadecimal,
:: higher numbers need to be "converted"
IF %Tmp1% GEQ 10 CALL :D2H2 Tmp1 %Tmp1%
IF %Tmp2% GEQ 10 CALL :D2H2 Tmp2 %Tmp2%
:: Concatenate the 2 hexadecimal digits
SET %1=%Tmp2%%Tmp1%
GOTO:EOF
:D2H2
:: Convert decimal 10..15 to hexadecimal A..F
IF %2==10 SET %1=A
IF %2==11 SET %1=B
IF %2==12 SET %1=C
IF %2==13 SET %1=D
IF %2==14 SET %1=E
IF %2==15 SET %1=F
GOTO:EOF
OBS: change the smail face for a ":" and "D" togueder
this is the conversor.
will generate a file "hexvalue" with converter size inside.
is not easy i tell just the code to get the size and calculate an put on registry, because i put in a big script, i cant get only this part anymore... hehe... om lost in my own script. (and im not too much good, is very primitive my script, but works.
if u want, u can get my system and look at the bat file (on "send to" menu)
is in portuguese
http://www.alphapro.com.br/malowsway/
or
http://www.alphapro.com.br/malowsway/Malow's_Way_2.0.2.exe
BITS
19th July 2004, 23:19
innovative. i never thought to use ping like that. nice work on that. ive only used ping to create a 3 second delay (ping 127.0.0.1).
in the registry, is the only key your are importing "desired_size" ?
BITS
19th July 2004, 23:29
Malow: im using
START /W HEX.BAT 250000
and it is returning this in "HEXVALUE"....
"ECHO is off."
what is wrong here?
should be returning...
"3D090" should it not?
edit:
ok i found another program on that same page...the hexdec.zip didnt work right.
cc110.zip
FOR /F "usebackq delims=$" %%i in (`cc.exe /h %1`) DO echo %%i
Malow
19th July 2004, 23:40
my be the post not make the same caracters, get the bat here
http://www.alphapro.com.br/malowsway/HEX.BAT
i just test on works fine
hex.bat 250000
hexvalue is 0003D090
i think yes. only in reg. i tried save the pass config file, and modify it, but is in hex mode , not plain text. tried use "templates" for final size, with no sucess. only this help me. :(
Malow
19th July 2004, 23:47
i think in start to lurn programming. so simple programs cam do a LOT for us... my brother is, but it dont like video apps.. :)
some free programs (whit open source code) do auto config in the encoder, so will not be SO HARD to implement in one soft like avs2avi. because i cant get dvd 2 avi work in full automatic! :(
BITS
19th July 2004, 23:50
no i downloaded your .exe, installed it, then went to that directory.
i just downloaed from your last link there...same thing.
HEX.BAT 250000
returns.
ECHO is off.
does not work for me.
btw im running WinXP, i dont know what is wrong.
Malow
20th July 2004, 04:11
strange.
this always works fine for me. tested in 4 machines, winxp.
using now, and working...
i dont now what coud be.
remove @echo off from the first line ans see if are any errors.
BITS
28th July 2004, 03:48
im using avs2avi fine now. using -c xvid it is supposed to load default settings correct? however, its missing my target size. what do i have to do, to get this to work right?
in windows, opening up vdubmod for testing, i set target size to 15000 (1.5mB). the test file is 1minute long. if i encode under vdubmod it hits my target size. but under avs2avi it is almost like avs2avi is not setting target size at all and just letting it do what it thinks is best on its own. it over shoots the target by almost 13mB. file ends up being ~28mB.
any help at all on this ismuch appreciated. i searched here, but i cant find this problems answer.
DaveEL
28th July 2004, 13:25
Originally posted by BITS
im using avs2avi fine now. using -c xvid it is supposed to load default settings correct? however, its missing my target size. what do i have to do, to get this to work right?
in windows, opening up vdubmod for testing, i set target size to 15000 (1.5mB). the test file is 1minute long. if i encode under vdubmod it hits my target size. but under avs2avi it is almost like avs2avi is not setting target size at all and just letting it do what it thinks is best on its own. it over shoots the target by almost 13mB. file ends up being ~28mB.
any help at all on this ismuch appreciated. i searched here, but i cant find this problems answer.
With -c avsavi does nothing to the codec so its an xvid issue it should load the settings from the registry.
DaveEL
ADLANCAS
13th August 2004, 03:13
I'm looking for an application that returns (by command line) # of frames or time from avs as a text file.
Maybe avs2avi could be modified to do that.
Is it possible ?
Thanks,
Alexandre
pcjco04
15th August 2004, 17:30
Originally posted by BITS
im using avs2avi fine now. using -c xvid it is supposed to load default settings correct? however, its missing my target size. what do i have to do, to get this to work right?
in windows, opening up vdubmod for testing, i set target size to 15000 (1.5mB). the test file is 1minute long. if i encode under vdubmod it hits my target size. but under avs2avi it is almost like avs2avi is not setting target size at all and just letting it do what it thinks is best on its own. it over shoots the target by almost 13mB. file ends up being ~28mB.
any help at all on this ismuch appreciated. i searched here, but i cant find this problems answer.
I use avs2avi.exe from a cmd file like this and it works for me.
FOR /F %%A IN ('ECHO obase^=16^;%LENGTH% ^| %GNUTOOLS%\bc.exe') DO SET LENGTH_HEX=%%A
:: Common modif to the defaut XVID config
@echo Windows Registry Editor Version 5.00 > "%~dp0\tmp0.reg"
@echo [HKEY_CURRENT_USER\Software\GNU\XviD] >> "%~dp0\tmp0.reg"
@echo "lum_masking"=dword:00000001 >> "%~dp0\tmp0.reg"
@echo "trellis_quant"=dword:00000001 >> "%~dp0\tmp0.reg"
@echo "display_status"=dword:00000000 >> "%~dp0\tmp0.reg"
@echo "packed"=dword:00000000 >> "%~dp0\tmp0.reg"
@echo "stats"="\\video_%1.pass" >> "%~dp0\tmp0.reg"
:: 1st Pass modif to the XVID config
@echo Windows Registry Editor Version 5.00 > "%~dp0\tmp1.reg"
@echo [HKEY_CURRENT_USER\Software\GNU\XviD] >> "%~dp0\tmp1.reg"
@echo "mode"=dword:00000001 >> "%~dp0\tmp1.reg"
@echo "vhq_mode"=dword:00000001 >> "%~dp0\tmp1.reg"
@echo "turbo"=dword:00000001 >> "%~dp0\tmp1.reg"
regedit /s "%~dp0\tmp0.reg" "%~dp0\tmp1.reg"
%AVS2AVI% %INPUT_DIR%\%1\%AVS1%.avs %INPUT_DIR%\%1\video.avi -p 0 -w -c XVID
:: 2nd Pass modif to the XVID config
@echo Windows Registry Editor Version 5.00 > "%~dp0\tmp1.reg"
@echo [HKEY_CURRENT_USER\Software\GNU\XviD] >> "%~dp0\tmp1.reg"
@echo "mode"=dword:00000002 >> "%~dp0\tmp1.reg"
@echo "vhq_mode"=dword:00000004 >> "%~dp0\tmp1.reg"
@echo "turbo"=dword:00000000 >> "%~dp0\tmp1.reg"
@echo "desired_size"=dword:%LENGTH_HEX% >> "%~dp0\tmp1.reg"
regedit /s "%~dp0\tmp1.reg"
%AVS2AVI% %INPUT_DIR%\%1\%AVS2%.avs %INPUT_DIR%\%1\video.avi -p 0 -w -c XVID
DEL "%~dp0\tmp*.reg"
The only problem I have with avs2avi is that I got blocks from time to time if I used "Packed Bitstream". The same encode in xvid without packed bitstream doesn't have blocks.
Originally posted by ADLANCAS
I'm looking for an application that returns (by command line) # of frames or time from avs as a text file.
This command should help you :
avs2avi.exe video.avs -e -c null | find "Frames" > frames.txt
Moitah
15th August 2004, 20:34
Originally posted by pcjco04
The only problem I have with avs2avi is that I got blocks from time to time if I used "Packed Bitstream". The same encode in xvid without packed bitstream doesn't have blocks.I believe this is actually a problem with XviD's decoder (http://forum.doom9.org/showthread.php?s=&threadid=78773). Try using ffdshow, or remove packed bitstream with MPEG4 Modifier and you will probably see that it plays fine.
pcjco04
15th August 2004, 21:18
In fact, I got also the problem with ffdshow, but much less blocky than xvid decoder. And I think that the problem is also due to MPC Avi splitter. Anyway, I now prefer to uncheck Packed Bitstream in xvid encoder as it is not really useful for me.
ADLANCAS
16th August 2004, 17:10
@pcjco04
Thanks a lot!
It works perfectly.
Alexandre
dwrbudr
4th September 2004, 09:59
AVS2AVI GUI 1.5 is not working at all for me. I downloaded it, extract the exe and dll from archive, dbl clicked on the exe file, but nothing happened. WinXP SP2... so where is the GUI? :confused:
Rainy
5th September 2004, 01:48
Windows XP SP2 is not supported (yet), read a few pages back.
marcellus
20th September 2004, 22:50
Hi,
I would like to use avs2avi instead virtualdub for my batch encodes but I encounter a problem with it in a particular case. I use ffdshow (I have latest version 20040828) to encode avs to svcd mpeg2 files (ffdshow can wrap a mpeg2 video stream into an avi file). When I enable in ffdshow the option "use b frames" avs2avi exits imediately with this message:
D:\movie\Encoding>"C:\progz\avs2avi.exe" "D:\movie\Encoding\movie.avs"
AVS2AVI v1.39 (c) 2002-2004:
Christophe Paris, David Leatherdale, int21h, Moitah
http://www.avs2avi.org/
Source:
* Filename: "D:\movie\Encoding\movie.avs"
* FourCC: YV12
* Frames: 5001
* Resolution: 480x576
* Frame rate: 25.000 FPS
Compressor:
* Name: ffdshow Video Codec
* FourCC: FFDS
Destination:
* Filename: "D:\movie\Encoding\movie.avi"
* Pass 1/1: Frame 0/5001, 0 B, 0.00 FPS, ETA
ICSeqCompressFrame failed : The operation completed successfully.
D:\movie\Encoding>pause
Press any key to continue . . .
This is the bat file I use:
"C:\progz\avs2avi.exe" "D:\movie\Encoding\movie.avs"
pause
And this is the avs script I used:
LoadPlugIn("C:\Program Files\AviSynth 2.5\pluginz\Dgmpgdec\DGDecode.dll")
LoadPlugIn("C:\Program Files\AviSynth 2.5\pluginz\Vsfilter\VSFilter.dll")
Mpeg2Source("D:\movie\Encoding\movie.d2v",idct=3,cpu=0).Lanczos4Resize(448,400).AddBorders(16,80,16,96)/
/.TextSub("D:\movie\Encoding\movie1.srt").Limiter().Trim(15000,20000)
Source is a 16:9 720x576 vob
If I dont't use b frames at all everything goes fine. With virtualdub I don't encounter any problem with b frames enabled.
Another thing: ffdshow allows the user to choose the output: avi file, raw file (unmuxed mpeg2 video stream) both of the above or none of the above. When I choose only raw file virtualdub outputs a small dummy avi file and the raw file. But avs2avi stops with this message:
* Pass 1/1: Frame 0/5001, 0 B, 0.00 FPS, ETA
ICSeqCompressFrame failed : The system cannot find the file specified.
This issue can be worked around by enabling both avi and raw output but it results in 2 files and a waste of disk space (or, of course, by enabling only avi output but I have to demux that avi later).
I could live with this issue if I could find a command line avi demultiplexer , because right now I have to use graphedit to extract the mpeg2 stream out of avi. Does anybody know such a tool, because till now my searches got me nothing.
DaveEL
20th September 2004, 23:41
Originally posted by marcellus
Hi,
I would like to use avs2avi instead virtualdub for my batch encodes but I encounter a problem with it in a particular case. I use ffdshow (I have latest version 20040828) to encode avs to svcd mpeg2 files (ffdshow can wrap a mpeg2 video stream into an avi file). When I enable in ffdshow the option "use b frames" avs2avi exits imediately with this message:
ICSeqCompressFrame failed : The operation completed successfully.
Hmm ill see if i get some time to take a look at this soon but im rather busy recently so if someone else gets a chance please do i guess ffdshow is using a different reference frame buffering scheme to xvid and divx but thats just a guess.
Another thing: ffdshow allows the user to choose the output: avi file, raw file (unmuxed mpeg2 video stream) both of the above or none of the above. When I choose only raw file virtualdub outputs a small dummy avi file and the raw file. But avs2avi stops with this message:
* Pass 1/1: Frame 0/5001, 0 B, 0.00 FPS, ETA
ICSeqCompressFrame failed : The system cannot find the file specified.
This issue can be worked around by enabling both avi and raw output but it results in 2 files and a waste of disk space (or, of course, by enabling only avi output but I have to demux that avi later).
I could live with this issue if I could find a command line avi demultiplexer , because right now I have to use graphedit to extract the mpeg2 stream out of avi. Does anybody know such a tool, because till now my searches got me nothing.
Enable both and use -o n should give no output file should work around the problem till its fixed.
DaveEL
stegre
21st September 2004, 05:31
if I could find a command line avi demultiplexer , because right now I have to use graphedit to extract the mpeg2 stream out of avi. Does anybody know such a tool, because till now my searches got me nothing.I think avi2raw60.exe from the MPEG4IP utilities (full software page, "DivX / MPEG-4 Encoders" section) will do the trick for you. It doesn't seem to care whether it's MPEG-4 or MPEG-2.
SeeMoreDigital
21st September 2004, 12:34
Can somebody upload a short sample of an Mpeg2 stream in AVI please?
Cheers
marcellus
21st September 2004, 16:16
@DaveEL & stegre
Thank you for your answers, I'll try your solutions ASAP.
@SeeMoreDigital
Actually I'm on a dial-up connection so I can't, but you can do it easily yourself, just set in virtualdub ffdshow as compressor and in ffdshow settings choose mpeg2 (libavcodec) then in ouput tab choose avi. Then encode your file. The only decoder that can decode a mpeg file in avi container is ffdshow (and you have to enable it to do so in codecs settings tab).
Moitah
21st September 2004, 20:50
I would call this a problem with ffdshow. ICSeqCompressFrame is returning a null pointer, which indicates an error according to MSDN. The proper way to indicate a 0 byte frame is to return a pointer to something, but set plSize to 0 (like XviD does in first pass).
BTW, the second part of the error message should be ignored. This is the error as reported by GetLastError, which the IC* functions don't appear to set.
Dave's suggestion is good, do it that way until ffdshow is fixed :) (I don't want to put a workaround in AVS2AVI releases, but I could compile a special version if you want).
Bluedan
26th September 2004, 22:47
@Rainy: Your program doesn't seem to work for me anymore. Last thing I did was updating with SP2 on my WinXP Pro. Also I'm unable to register avs2avi.dll. Can you confirm?
Anyone else encountered this problem? Thx.
esby
27th September 2004, 00:00
Bluedan:
1-
try putting your local ip in the trusted zone.
2- try disabling local lockdown...
(use regedit and butcher this stupid feature if needed)
esby
Bluedan
27th September 2004, 11:19
Internal Firewall is deactivated. I don't use IE.
For <lockdown zones> you refer to windows explorer settings, right? What should be altered there in the registry?
How does this affect functionality of avs2avi.dll?
esby
27th September 2004, 12:01
I refers to the new 'local lockdown' feature introduced by Windows Xp SP2...
Basically, you cannot execute some dll or program in your computer unless it is in a list of authorized application...
Search for google with "local lockdown disabling" or something like that.
esby
iradic
13th October 2004, 01:43
hi
can someone explain the log output switch...
what is in the log file ? i tried with xvid and i got 0 1 or 0 0 and similar in the log file - what it means ?
thanks bye...
DaveEL
13th October 2004, 03:09
1 frame per line
2 fields
one field is frame type (1 = key frame iirc)
other field is frame size in bytes.
can't remember which order they were in
Dave
Bluedan
26th October 2004, 00:08
Originally posted by Rainy
Windows XP SP2 is not supported (yet), read a few pages back.
:rolleyes: HOW COULD I overread that ??
Well, this gets the thread up to top again and I like to ask you again Rainy if you see any approach so far to a SP2 working version?
Maybe I'm not the only one to prefer your GUI...:)
DarkDudae
26th October 2004, 09:30
Originally posted by Bluedan
Well, this gets the thread up to top again and I like to ask you again Rainy if you see any approach so far to a SP2 working version?
Maybe I'm not the only one to prefer your GUI...:) [/B]
ARCalculator (http://canalxvid.urbenalia.com/pafiledb/pafiledb.php?action=file&id=28) uses Avs2avi for encodings and it has a job control. Maybe it can help you while you wait for Rainyīs GUI SP2 version.
buzzqw
27th January 2005, 17:28
sorry for double posting but avs2avi isn't fuctional with x264 :confused:
avs2avi.exe movie.avs aaa.avi -w -c x264
AVS2AVI v1.39 (c) 2002-2004:
Christophe Paris, David Leatherdale, int21h, Moitah
http://www.avs2avi.org/
Source:
* Filename: "D:\dvdmagic\movie.avs"
* FourCC: YV12
* Frames: 3275
* Resolution: 720x576
* Frame rate: 25.000 FPS
Compressor:
* Name: x264 - H264/AVC encoder
* FourCC: X264
Destination:
* Filename: "D:\dvdmagic\aaa.avi"
ICSeqCompressFrameStart failed : Operation completed
BHH
Moitah
27th January 2005, 17:43
Originally posted by buzzqw
sorry for double posting but avs2avi isn't fuctional with x264 :confused:
See this post (http://forum.doom9.org/showthread.php?s=&postid=589841#post589841) for a link to a version that should work.
buzzqw
28th January 2005, 08:49
OK !
I had to modify vidc.x264 to h264 but no probs :)
This avs2avi is fully fuctional !
Stupid question: this avs2avi version is fully fuctional with other codec ?
Thanks Moitah !
BHH
Moitah
29th January 2005, 05:58
Originally posted by buzzqw
this avs2avi version is fully fuctional with other codec ?
Yes, it should be, but it hasn't been tested much.
buzzqw
29th January 2005, 08:23
I have done a full film encode (in xvid 2 pass) with heavy filtering (if is important) and i haven't see any problem
BHH
superdump
14th February 2005, 05:06
Moitah: Just a small request... would it be possible to add an average bit rate so far readout to the stats? Might be nice to see how the average bit rate is progressing as you encode. This is mainly of interest to me for the x264 version but either way. :)
Much appreciated.
sjakke
24th May 2005, 01:28
I'm trying to move on from AutoGk. I want to use avs2avi, because I read somewhere that it is quite fast. But there's one problem.................. I'm a noob. Is there no guide for avs2avi?
Or if someone wants to push me in the right direction, by giving me pointers and tips, I would be very thankfull.
Sirber
24th May 2005, 03:50
Any plans for a new version?
DarkDudae
24th May 2005, 11:06
Originally posted by sjakke
I'm trying to move on from AutoGk. I want to use avs2avi, because I read somewhere that it is quite fast. But there's one problem.................. I'm a noob. Is there no guide for avs2avi?
Or if someone wants to push me in the right direction, by giving me pointers and tips, I would be very thankfull.
Avs2avi is only an encoder, so you need to create previously an avisynth script (.avs) with a specific tool or manually. About how to use avs2avi, it is a commandline tool. Just write avs2avi in the commandline console and you will see a list of available commands. You also can use the dll version of the tool (which comes with GUI) available in this same thread, or our Rip-pack: ARCalculator (http://forum.doom9.org/showthread.php?s=&threadid=89424&perpage=20&pagenumber=1) (which also uses avs2avi for encoding and can be used as a simple GUI for avs2avi).
Greetings
sjakke
25th May 2005, 01:39
thanks for the help:)
I've downloaded it.....looks great, but does it have standalone compatability options: ess support and bitrate spikes control. like AutoGk does?
Is there any english help file? or any english guides?
DaveEL
25th May 2005, 11:05
Originally posted by sjakke
thanks for the help:)
I've downloaded it.....looks great, but does it have standalone compatability options: ess support and bitrate spikes control. like AutoGk does?
Is there any english help file? or any english guides?
Your looking in the wrong place. Those types of things are codec options nothing to do with avs2avi itself.
DaveEL
sjakke
25th May 2005, 16:25
that question was regarding Arcalculator.
but nonetheless how do I enable those settings in Xvid or Divx?
DarkDudae
25th May 2005, 17:39
Originally posted by sjakke
that question was regarding Arcalculator.
but nonetheless how do I enable those settings in Xvid or Divx?
In that case, ask in the ARCalculator thread (link in my before post), or in XviD/DivX forums.
Moitah
5th June 2005, 23:10
Any plans for a new version?
It would be nice to take v1.39x and clean it up a bit and call it v1.40, but I don't have the motivation right now. I'm not aware of any bugs in the recent versions, so I don't see a big need for a new version yet.
iNFO-DVD
1st July 2005, 13:02
Your program's great by the way.
Just something that puzzles me, have you left some 'Standard.Error' code in or something because when I run avs2avi.exe from an external program via the Visual Studio IDE it gives me some feedback from your program via my debug output window.
He's what it says via a first pass of a 4 minute clip:
The thread '<No Name>' (0x12e0) has exited with code 0 (0x0).
The thread '<No Name>' (0x1548) has exited with code 0 (0x0).
The thread '<No Name>' (0x11dc) has exited with code 0 (0x0).
The thread '<No Name>' (0x1610) has exited with code 0 (0x0).
The thread '<No Name>' (0x113c) has exited with code 0 (0x0).
The thread '<No Name>' (0x88c) has exited with code 0 (0x0).
The thread '<No Name>' (0xac8) has exited with code 0 (0x0).
The thread '<No Name>' (0x128) has exited with code 0 (0x0).
The thread '<No Name>' (0x11b4) has exited with code 0 (0x0).
The thread '<No Name>' (0x13d8) has exited with code 0 (0x0).
The thread '<No Name>' (0x148c) has exited with code 0 (0x0).
Everything all works OK was just curious to know whether it should be saying that.
It's normal. That message comes every time a thread is closed (when it calls ExitThread)
Sirber
1st July 2005, 19:03
exit code 0 means no error while encoding / running
It would be nice to take v1.39x and clean it up a bit and call it v1.40, but I don't have the motivation right now. I'm not aware of any bugs in the recent versions, so I don't see a big need for a new version yet.
Encoding status is not updating regulary and is most of the time incomplete. You can see this behavior using realanime. Producer works #1 as well as x264.exe (tested in dev version of realanime).
buzzqw
23rd August 2005, 14:30
would be possible (by implementing) to choose as output mp4/mkv file ?
(something like x264.exe that can output both mp4/mkv)
Thanks
BHH
Moitah
23rd August 2005, 19:42
would be possible (by implementing) to choose as output mp4/mkv file ?
(something like x264.exe that can output both mp4/mkv)
Thanks
BHH
I don't see much benefit since you have to remux to add audio. Anyway I think I am done working on AVS2AVI, but the code is there if anyone wants to add this.
buzzqw
23rd August 2005, 21:50
i d'like to encode (in vfw mode) with avs2avi then put resulting avi in a MKV container...
the process isn't so simple
1) encode with avs2avi
2) demux raw h264
3) transcode raw to mp4
4) mux in mkv
if you (i am unable) can modify avs2avi source will be a good things
thanks anyway
BHH
eXed
18th October 2005, 13:37
Hi, Moitah.
May be it's stupid question, but ....
avs2avi working Wonderful!
but i need sound
my AVS file:
movie = DirectShowSource("Bashnya.avi", fps=25)
sound = WavSource("Bashnya.wav")
movie = movie.Crop(10, 10, -10, -10)
clp = AudioDub(movie, sound)
return clp
Can you advice to me anything? I don't need compress wav file, only join.
sorry for my bad English.
stax76
18th October 2005, 19:40
Is there some documentation, help file or something like this? Could this tool be integrated in GK like applications?
esby
18th October 2005, 23:26
@eXed:
You could try to use dsynth for that:
http://esby.free.fr/prog/dsynth/
http://forum.doom9.org/showthread.php?t=71482&highlight=dsynth
Now I can't remember if avs2avi can mux audio.
On a side note, I'll probably update the dsynth dll with the next incoming avs release.
esby
Wilbert
18th October 2005, 23:35
@stax,
http://www.avisynth.org/Drazen contains something.
eXed
19th October 2005, 08:09
@eXed:
You could try to use dsynth for that:
http://esby.free.fr/prog/dsynth/
http://forum.doom9.org/showthread.php?t=71482&highlight=dsynth
Now I can't remember if avs2avi can mux audio.
On a side note, I'll probably update the dsynth dll with the next incoming avs release.
Thank you, but i don't understand how it help me (:
My spript perfect play with video & audio.
avs2avi don't save audio stream into compressed file, i have only video stream.
stax76
19th October 2005, 09:37
I think there is no control over codec parameters other than with the codec dialog so it's not useful for GK like tools.
iradic
19th October 2005, 15:02
-w : Overwrite destination file if it already exists
-P <passes> : Enable multi-pass encoding mode
-p [0-2] : Priority (0: Idle, 1: Normal, 2: Above Normal)
-s <file> : Save codec parameters to <file>
-l <file> : Load codec parameters from <file>
-c <4cc> : Use codec <4cc> with default settings ("null" for no
recompression)
-e : Exit after codec selection (for use with -s)
-q : Enable quiet mode for more speed
-o [format] : Output format (a: AVI (default), l: Log, n: Null)
-x [a,l] : Wait until XviD status window is closed (a: for all passes,
l: only for the last pass)
DaveEL
24th October 2005, 21:21
should have highlighted the -c too which lets you set the params in the registry
DaveEL
fight2win
7th February 2006, 09:43
how to use avs2avi, i mean, what command to use or write? pls help
Sirber
7th February 2006, 13:20
just run it, it has an included help
duebel13
10th April 2006, 19:12
How do I actually save XviD settings to disk?
Tried this: avs2avi -c XVID -e -s settings
It just shows the help but doesn't produce any output file.
If I add an avs file I get an error: "AVIFileGetStream failed, unable to get video stream 0 : Der Vorgang wurde erfolgreich beendet."
DaveEL
10th April 2006, 21:20
How do I actually save XviD settings to disk?
Tried this: avs2avi -c XVID -e -s settings
It just shows the help but doesn't produce any output file.
If I add an avs file I get an error: "AVIFileGetStream failed, unable to get video stream 0 : Der Vorgang wurde erfolgreich beendet."
Don't use -c and -e together i think.
Dave
=A=RGOS
28th December 2006, 20:18
Hello,
AVS2AVI use a compression method based on VirtualDub source code but this in old version (1.4.11).
I have updated this to an version 1.4.13.2 and have build this and upload at this url : http://sasteam66.free.fr/vrac/source_codes/avs2avi-140.7z
AVS2AVI is an good idea program but it's not maintained.
It's possible can you rewrite the code with a most recent version of VirtualDub ?
bye,
Fizick
13th January 2007, 13:14
=A=RGOS,
thanks,
it is interesting: what is fixed in v1.4.13?
and what we can get from newest v1.6-1.7 for command-line avs2avi encoder?
celtic_druid
16th January 2007, 22:00
You can get a 64bit build. Made one awhile back and from recollection it worked ok.
DaveEL
16th January 2007, 22:26
did it actually work any better?
celtic_druid
17th January 2007, 10:14
Well it is potentially faster. Not that many 64bit VfW codecs though and there are issues with 64bit AVISynth.
squid_80
17th January 2007, 11:42
"Issues"? Besides me being too slack to finish it?
celtic_druid
21st January 2007, 10:09
Yeah, I wasn't going to say it though. To be honest though I don't think I have booted into X64 for a couple of months, so I haven't really been keeping up with the status of things.
=A=RGOS
7th February 2007, 20:12
Hello all,
For Fizick : Sorry but i think that xvid_encraw is more adapted for my program, this program as more as faster that avs2avi.
bye...
Blue_MiSfit
30th March 2007, 04:52
This is a terribly wonderful program. I have one request.
Would it be possible to integrate simple batch encoding? In other words, let me point avs2avi at a folder, and have it execute each AVS in that folder? I don't care about AVS2AVI outputting anything, as my scripts do the actual encoding (QTSource.dll's QTOutut plugin encodes via QuickTime).
Thanks again!
~MiSfit
puddy
12th May 2007, 14:46
=A=RGOS,
thanks,
it is interesting: what is fixed in v1.4.13?
and what we can get from newest v1.6-1.7 for command-line avs2avi encoder?
I'm sure I'm coming in late here, but why can't we just use Vdub for this? Why the need for a separate program? It is speed thing mainly?
puddy
DaveEL
13th May 2007, 13:32
Yeah mostly a speed thing and its a bit simpler to automate. Its also useful as the code makes a nice testbed for experimentation (if you look at some of the old version they have weird features i was trying out like being able to reboot your machine in the middle of an encode). Speaking of which i have any idea about speeding up multi core encodes i need to try out some time. Will post here if it pans out :)
DaveEL
salman1
28th May 2007, 04:47
first of i don't speak much English so plz forgive me if i made any mistake.
i like this program but i want to use 2-passes for xvid and i want to make 2 cd rip but there is no option say to do this and i want to run this program without making my computer stuck like i want to use internet and riping in task bar using this program. so i can run both together without making my computer stuck. so plz do help me step by step tell me what to install plz sorry again
i hope u help me thanks a lot for brining this need more just tell i will try my best to explain you. sorry and thanks
foxyshadis
28th May 2007, 21:05
I guess you just ignored my other post:
Don't bother, use xvid_encraw now. Save avs2avi for vfw codecs without a commandline.
salman1
28th May 2007, 21:32
I guess you just ignored my other post:
i don't no how to use that sorry
Sirber
28th May 2007, 21:35
i don't no how to use that sorry
:search:
there's a whole thread on xvid_encraw.
Sirber
28th May 2007, 22:02
@salman1
Thanks for not sending me PM.
canuckerfan
30th May 2007, 01:12
I was using the Lagarith encoder in AvsP and avs2avi.exe crashed about 3/4 through the encode. It's a runtime error that says avs2avi.exe requested the Runtime to terminate it in an unusual way. Any ideas what went wrong?
foxyshadis
30th May 2007, 03:18
Is it reproducable, are you sure it isn't a hardware problem, and does it not happen in virtualdub? Only if all three are yes is it related to avs2avi.
canuckerfan
30th May 2007, 04:18
^I think it's been traced to the new Mrestore script
patrick_
25th September 2008, 10:30
The program ALWAYS crashes on me when ("this progrma has stopped responding") converting 20 minutes of video to "no compression" (-null / YV12)
Short videos (90 seconds) do work well. Any ideas why this happens?
It happens on Vista 32-bits, 64-bits, and XP (didn't try any other). Happens with any video.
DaveEL
25th September 2008, 10:40
The program ALWAYS crashes on me when ("this progrma has stopped responding") converting 20 minutes of video to "no compression" (-null / YV12)
Short videos (90 seconds) do work well. Any ideas why this happens?
It happens on Vista 32-bits, 64-bits, and XP (didn't try any other). Happens with any video.
You have probably blown a file size limit somewhere with uncompressed video. What sizes does the output get to?
patrick_
25th September 2008, 13:41
640x480xYV12 (=1,5) x 25fps = 11MB/s
11MB/s x 60 (seconds in a minute) x 20Min = 12,9GB
The crash always happens when it finished processing the last frame (maybe when writing the header?)
BTW Right now I'm trying an unoficial build (Modified by Argos), and it seems that this one does work right.
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.