Log in

View Full Version : Command Line Compressor - AVS2AVI


Pages : 1 2 3 4 5 6 [7] 8

bilu
30th May 2003, 23:47
Version 1.29 shows instant fps instead of average fps, and size is allways 0.00MB :rolleyes: but works flawlessly.

Bilu

TaZ4hvn
3rd June 2003, 16:55
but works flawlessly.

Not exactly, I does in avi mode but when I use -o l mode I often have problems: encoding will just stop at some point and program stops :(
I will try to redo to post some stats about it.

bilu
4th June 2003, 11:08
@TaZ4hvn

Any news? What kind of error do you get?


Bilu

TaZ4hvn
5th June 2003, 21:59
Well I reproduced one type of failing:
first pass stops at frame 90069 with a decompress failed message, while movie is 137747 frames long.
end of log. is:
0 11350
0 11466
0 1
(looks like it didn't finish writing last frame)
Of course a checked avs file, it's ok. Furthermore with the same avs encoding goes well in "-o a" mode and in vdubmod.
This is really a log mode problem ...
I don't know what to look for, so if you want some info, just ask.

DaveEL
5th June 2003, 23:48
Does it always stop on the same frame?

DaveEL

DaveEL
6th June 2003, 18:03
Just something someone might want to play with ive built a version of avs2avi with matroska support its quite useless as you need something else to mux video in anyway but if you want to try it its @
http://daveel.leffe.dnsalias.com/broken/b0rked/shonked/

DaveEL
EDIT
To output matroska add "-o m" to the command line

TaZ4hvn
7th June 2003, 22:39
Well I didn't answer very fast since I wanted to test seriously to post really helpfull info.
I did 7 test in log mode and found the first 5 ended perfectlt, so that I was beginning to wonder if I wasn't dreaming the first time :)
but unfortunatly the 2 last weren't good: program still end during compression at any time (not always the same frame) with no error messages at all. It doesn't crash, simply end.
So that seems a very nasty bug since starting from the exactly same files (vobs and d2v) it will or will not work, and even if it finishes too soon this is not necessary on the same frame :(
Also I realize I may be the only one aware of this at this time since I had to do lots of encodes to have it appear again (2 out of 7 since my last post, at total 3 out of 12).
Really sorry I can't describe problem better:(

DaveEL
10th June 2003, 21:02
Ive updated the matroska support and released it as 1.30 im sure you can guess where to get it.

DaveEL

bond
17th June 2003, 22:29
Hi guys!

I have some questions about avs2avi i hope someone can answer because i couldnt really fully answer them by using the search function

1) is avs2avi really stable for encoding or are there still some open issues? can it be that after 24 hours+ the final encode doesnt work? wouldnt be nice cause i have a p3 who needs really a long time for encoding, which leads directly to the next question :D

2) is avs2avi really faster than virtualdubmod (together with avisynth2.5)? it is said that avs2avi should be faster although i also read already some user's opinions that it encodes with the same speed? and if yes how much can i approximatly expect on a p3?

3) which nice guis are out there? i found jonny's enc, bilu's R4R_ENC and TaZ4hvn's TaZit. did i miss one? i really just need a small and simple one...

thanks a lot for your answers!

DaveEL
17th June 2003, 22:43
Originally posted by bond
1) is avs2avi really stable for encoding or are there still some open issues? can it be that after 24 hours+ the final encode doesnt work? wouldnt be nice cause i have a p3 who needs really a long time for encoding, which leads directly to the next question :D

Currently the only outstanding issue i know of is TaZ4hvn's problem of the last few posts but as i can't reproduce it i can't fix it and im wondering if its possibly hardware/windows install related as noone else has reported it yet. The last few versions have had some problems but 1.30 should work fine (the .mkv output is new so its probably the most buggy part but avi should be fine). If ive missed/forgotten anything please tell me.

Ive been having a think and i should be able to get pause and resume support back in soon which might help you out with slow encoding. :)

2) is avs2avi really faster than virtualdubmod (together with avisynth2.5)? it is said that avs2avi should be faster although i also read already some user's opinions that it encodes with the same speed? and if yes how much can i approximatly expect on a p3?

A VERY little faster last time i checked i have some additional speedups i want to add (reducing memcpys,mallocs and frees and using a optimsed memcpy) but nothing major.

3) which nice guis are out there? i found jonny's enc, bilu's R4R_ENC and TaZ4hvn's TaZit. did i miss one? i really just need a small and simple one...
[/B]

Should be a simple gui in this thread as an attatchment somewhere, i never use one so i havn't tried any of these besides enc yet.

DaveEL

DaveEL
18th June 2003, 16:04
http://daveel.leffe.dnsalias.com/avs2avi-131.zip

Divx multi pass encoding added -P <number of passes>
(not -p)

Should be a little faster on the non-final pass too, but not by much.

DaveEL

DaveEL
18th June 2003, 17:01
Sorry about that last one try
http://daveel.leffe.dnsalias.com/avs2avi-131a.zip

DaveEL

mezzanine
19th June 2003, 10:52
Originally posted by bond
Hi guys!

I have some questions about avs2avi i hope someone can answer because i couldnt really fully answer them by using the search function

1) is avs2avi really stable for encoding or are there still some open issues? can it be that after 24 hours+ the final encode doesnt work? wouldnt be nice cause i have a p3 who needs really a long time for encoding, which leads directly to the next question :D

2) is avs2avi really faster than virtualdubmod (together with avisynth2.5)? it is said that avs2avi should be faster although i also read already some user's opinions that it encodes with the same speed? and if yes how much can i approximatly expect on a p3?

3) which nice guis are out there? i found jonny's enc, bilu's R4R_ENC and TaZ4hvn's TaZit. did i miss one? i really just need a small and simple one...

thanks a lot for your answers!

Well i made this gui for personal use, check it..
(you must first install .net framework and AVISynth2.5

http://www25.brinkster.com/chelhydra/

bond
19th June 2003, 11:54
Originally posted by DaveEL
Ive been having a think and i should be able to get pause and resume support back in soon which might help you out with slow encoding.sounds great :)

A VERY little faster last time i checked i have some additional speedups i want to add (reducing memcpys,mallocs and frees and using a optimsed memcpy) but nothing major.fast is beautiful ;)

Should be a simple gui in this thread as an attatchment somewhere, i never use one so i havn't tried any of these besides enc yet.i guess you mean mfulder's gui? i already found it but he always attached the gui to his threads but it seems that the attachments have been deleted because i cant find one :(
any direct link available?

Originally posted by mezzanine
Well i made this gui for personal use, check it..
http://www25.brinkster.com/chelhydra/thanks i will try that too!

Wilbert
19th June 2003, 12:24
You can find it here:

http://www.geocities.com/wilbertdijkhof/avs2avigui.zip

bond
19th June 2003, 12:42
thanks a lot!
is mfluder still working on the gui?

@mezzanine
opening the .zip file doesnt work! winzip wants me to "insert disk 1 into drive c: (is my harddisk)
of course all files are in the same folder (c:/)

winzip log:
Extracting to "C:\WINDOWS\TEMP\"
Use Path: yes Overlay Files: yes
Error in file #1: bad Zip file offset (Error local header signature not found): disk #1 offset: 4

bond
19th June 2003, 14:49
Wow, holy sh*t that was fast :D

i encoded a clip with avs2avi, which i always use for testing (~5minutes/7000frames) and i had a speed gain from about 2fps compared to virtualdubmod (!)
i encoded the clip with xvid in the first pass with 6,34fps, 2nd pass with 6fps on my p3 866mhz. i hope the encoding time shown by avs2avi is right because this would mean a speed increase from about 50% (sounds to good to be true)

i also found out that avs2avi doesnt show the average fps and the avi size! only 0 is shown in both cases

DaveEL
19th June 2003, 15:30
The statistics are rather b0rked currently, i will try to check which ones are right and possibly even try to fix the others. You should look at the total encode time the fps may be totally wrong :).

DaveEL
PS 50% is FAR too good to be true. your talking about 5% max in my experience and most of the time less then that.

bond
19th June 2003, 16:43
Originally posted by DaveEL
50% is FAR too good to be true. your talking about 5% max in my experience and most of the time less then that.yup i compared the encoding times of two encodes with different codec settings :(

both encodes with qpel:
1) avs2avi (~4,46fps) is a little bit faster than virtualdubmod (4,41fps)
2) it seems that avs2avi and vdmod doesnt produce exactly the same files with the same settings!?

without qpel:
avs2avi with ~6,54fps (thats why i talked about a ~50% speed increase :rolleyes: )

The statistics are rather b0rked currently, i will try to check which ones are right and possibly even try to fix the others. You should look at the total encode time the fps may be totally wrongthe encoding statstics always shows 0 (average) fps and 0mb final filesize...

mezzanine
19th June 2003, 18:00
Bond. Try downloading it now... i hope it works this time..

http://geocities.com/mezzaninefusion/Fusion0996.zip

You must install .net framework, avisynth2.5 and xvid first

ChristianHJW
20th June 2003, 23:24
Originally posted by DaveEL Ive updated the matroska support and released it as 1.30 im sure you can guess where to get it. DaveEL

Thanks Dave !! Looking forward to avs2matroska now, to create spec compliant MPEg4 MKV files :) !!

(the .mkv output is new so its probably the most buggy part but avi should be fine).

:eek: :eek: ... buggy code, from you ?? I dont believe that, in the end you had native matroska file output in almost record time, only Gabest was faster :D ....

KpeX
21st June 2003, 05:34
@ DaveEL

Thanks for the new version :)


@ Christian

So what would be the advantages of a spec compliant mkv? which IIRC means that VfW would not be used in creating the file.

ChristianHJW
21st June 2003, 14:54
Originally posted by KpeX @ Christian
So what would be the advantages of a spec compliant mkv? which IIRC means that VfW would not be used in creating the file.

1. Native MPEG4 MKv files have the very same frame order as MP4 files ( = coding order ), so it should be very very easy to transmux one into the other and back ( MP4 --> MKV --> MP4 ) in a lossless process, for editing the files in VdubMod ( works already in latest CVS version, Cyrius is a wizzard :D ! )


2. Native files can handle multiple b-frames in a very clean way, without having to use dummy frames and the like ( should have an impact on overhead )

3. native matroska files are complying much better with matroska's x-platform approach than VfW compatibility mode files. To give you an example, Ronald 'BBB' Bultje from the Gstreamer development simply refuses to handle VfW compat files in his Gstreamer matroska plugin, he will only make and read native files he says .... ( not sure this is the last word spoken on this, as most MKV files right now are VfW compat files, and Redhat needs a plugin that can read stuff from Windows users also ;) .. ) ...

vass-iliskus
24th June 2003, 14:27
Hello guys,

Avs2Avi is a really nice replacement for the Dub (which eats almost 100 megs on my computer), thanks to all involved for their great effort !

Has anyone noticed that encoding in Avs2Avi can't be aborted (ctrl-c) ?
Without a crash, I mean.

Looking into the code, it looks like ReadFrame and EncodeFrame threads use StopRead variable to check abort condition, while they'd better use Stop (just like DisplayStats), since StopRead is never TRUE'ed.

bilu
24th June 2003, 14:42
@vass-iliskus

That was the coolest first post I've seen.

Welcome ;)


Bilu

vass-iliskus
24th June 2003, 15:08
Originally posted by bilu
Welcome ;)

Thanks, pal :)

DaveEL
24th June 2003, 17:33
Originally posted by vass-iliskus
Hello guys,

Avs2Avi is a really nice replacement for the Dub (which eats almost 100 megs on my computer), thanks to all involved for their great effort !

Has anyone noticed that encoding in Avs2Avi can't be aborted (ctrl-c) ?
Without a crash, I mean.

Looking into the code, it looks like ReadFrame and EncodeFrame threads use StopRead variable to check abort condition, while they'd better use Stop (just like DisplayStats), since StopRead is never TRUE'ed.

Doh, thanx ... Next version.

DaveEL

RathO
8th July 2003, 00:30
I tried AVS2AVI, nice program! :D

i like it when its simple (non-graphical programs). But im just wondering about something: my hard disk seems to be working harder than when im using Vdubmod.

Is this normal? :confused:

Regards

DaveEL
8th July 2003, 08:01
Originally posted by RathO
I tried AVS2AVI, nice program! :D

i like it when its simple (non-graphical programs). But im just wondering about something: my hard disk seems to be working harder than when im using Vdubmod.

Is this normal? :confused:

Regards


Ill take a look i should probably cache some stuff.

DaveEL

bilu
11th July 2003, 15:21
@daveEL

Just a question:

Would a null switch in AVS2AVI give more performance than a XVID NULL encode? I sometimes need it in my tool just for AVS debugging (CALL commands, Telecide(debug=true), etc.) and would want the best performance possible :)


Best regards,
Bilu

DaveEL
11th July 2003, 17:57
Its already got a null output internally its used for the first pass(well the not last pass) i can't remember if i hooked it up to the command line try -o n if not drop a message here and it will be done.

DaveEL

bilu
12th July 2003, 21:26
I was using 1.29 and upgraded to 1.31a, both say Unrecognized format.

Bilu

Satirik
21st July 2003, 21:37
hum do you know than avs2avi often freeze at the last frame of the second pass ... (not just on my pc but a lot of my friends have this problems) ... very weird problem because it freeze sometimes and sometimes it doesn't freeze with the same file

gino25
12th August 2003, 14:09
The link to download is broken. Where i can download the last version?

DaveEL
12th August 2003, 17:54
Originally posted by gino25
The link to download is broken. Where i can download the last version?

Fixed link.

DaveEL

gino25
13th August 2003, 16:52
Thanks :)

jonny
10th September 2003, 17:40
hum do you know than avs2avi often freeze at the last frame of the second pass ... (not just on my pc but a lot of my friends have this problems) ... very weird problem because it freeze sometimes and sometimes it doesn't freeze with the same file

From VDub 1.5.4:

* Added workaround for infinite B-frame delay interaction with DivX 5.0.5 Pro.

It seems DivX 5.0.5 output delay-frames at the end of a multipass (or second pass?) encode and this can generate an infinite loop.
This could be the problem. (?)

Satirik
10th September 2003, 19:37
Originally posted by jonny
hum do you know than avs2avi often freeze at the last frame of the second pass ... (not just on my pc but a lot of my friends have this problems) ... very weird problem because it freeze sometimes and sometimes it doesn't freeze with the same file

From VDub 1.5.4:

* Added workaround for infinite B-frame delay interaction with DivX 5.0.5 Pro.

It seems DivX 5.0.5 output delay-frames at the end of a multipass (or second pass?) encode and this can generate an infinite loop.
This could be the problem. (?)

yes i think because i heard a guy who said it hadn't this problem with the divx 5.0.5 non Pro so ... but DaveEL can you upgrade the avs2avi to remove this error ?

jonny
10th September 2003, 22:17
Found more on Dub.cpp (1.5.4 sources):

DivX 5.0.5 seems to have a bug where in the second pass of a multipass operation it outputs an endless number of delay frames at the end! This causes us to loop infinitely trying to flush a codec delay that never ends. Unfortunately, there is one case where such a string of delay frames is valid: when the length of video being compressed is shorter than the B-frame delay. We attempt to detect when this situation occurs and avert the loop.

Gaia
11th September 2003, 12:42
Originally posted by Satirik
hum do you know than avs2avi often freeze at the last frame of the second pass ... (not just on my pc but a lot of my friends have this problems) ... very weird problem because it freeze sometimes and sometimes it doesn't freeze with the same file

I had same problem with Xvid too but it was sometime ago. I haven't tried latest av2avi.

ssjkakaroto
15th September 2003, 18:03
i dont know if anyone else is getting this problem but when i try to encode something with avs2avi 1.31a the memory usage starts increasing indefinitely, for a one minute video it ended up with over 120mb of virtual memory + 90mb of RAM, it doesnt matter if i choose matroska or avi formats. is anyone getting this too?
btw i'm using avisynth 2.5.2 with mpeg2dec3

tia

Moitah
24th February 2004, 04:38
I originally posted it here, but I decided to make a new thread since this one is so huge. Here's the new thread: I have released a new version of AVS2AVI (http://forum.doom9.org/showthread.php?s=&threadid=71493)

perko
3rd March 2004, 00:49
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.

celtic_druid
3rd March 2004, 06:18
@perko, your question belongs in the AVISynth usage forum, however I see you have already posted it twice.

Basically there are two ways to frameserve an mpg (assuming MPEG1). directshowsource or Nic's MPEGDecoder (video), mpasource (audio).

LigH
14th September 2004, 11:45
-P <passes> : Enable multi-pass encoding mode
How do I exactly have to use this option? I guess I shall save (-s) a preset prior to using multi-pass encoding, and load this preset for it (-l ... -P #).

It probably supports DivX 5 (which I don't use); I wonder if it supports XviD 2-pass as well, but I'm not sure because I don't know which kind of preses I shall save and load, or how I ever shall set up the codec differently for both passes (e.g. VHQ 1 for 1st and VHQ 4 for 2nd).

lark
14th September 2004, 14:07
have you tried it?
i think it just presents the codec selection dialog twice and 1st time you enter the settings for 1st pass and 2nd time for the 2nd pass...

regards
t :)

Mentalmummy
25th January 2005, 12:08
I have used avs2avi, both the newest version and older ones with Xvid and DivX encoding and it always freezes when it has completed. I have to ctrl+c twice to quit it and then the avi is reported by virtualdub as having bad index.

Is this a bug? I have XP SP2, 256 Mb RAM, AMD 1.8 Ghz and any avi always freezes right upon completion (with 0:0 time left to encode) whichever codec I use of the two :(

Dave

DaveEL
25th January 2005, 18:08
sounds like a problem with the b-frame handling with newer codec but just a guess have you tried the versions from this thread http://forum.doom9.org/showthread.php?s=&threadid=71493&highlight=avs2avi they are more up to date?

DaveEL

Mentalmummy
25th January 2005, 22:20
Thanks for the reply :)

That was the first version I tried, then I tried others but all do it and I can`t seem to find any other command line video encoders which I could feed an avs file to.

It encodes but at very end just freezes up. I ctrl+c but then the finished avi is unusable. Is there any way to switch off B Frames to see if that is the problem?

Thanks again for the help!

Dave

DaveEL
26th January 2005, 10:40
If you switch off b-frames in your codec the b-frame handling code shouldn't kick in. I know a lot of versions have at times had threading issues but i thought the current versions were fine but thats the next most likely thing to be wrong.

DaveEL