View Full Version : xvid_encraw - patched: fixed width/height & framerate taken from source
M4ST3R
29th December 2009, 22:00
Well, I'm a new MeGUI/xvid_encraw user who was confused/annoyed by two small things. I modified xvid_encraw to correct that.
I have very little knowledge in the windows API and in xvid so use this build at your risk. Don't worry too much though, it looks to work correctly.
Based on xvid latest snapshot 2009-12-28 (xvidcore xvid-1.3.0-dev, xvid_encraw 1.38)
Changes:
- swapped width/height data in the header fixed
- unless you manually specify -framerate, the video is encoded at the same framerate than the source
Download (http://www.mydatanest.com/files/M4ST3R/42792_wntyt/xvid_encraw_M4ST3R.rar)
Lugia25000
30th December 2009, 08:04
wow thank you :)
jethro
2nd January 2010, 19:34
Thanks, M4ST3R. Is your xvidcore build by any chance done by intel compiler?
M4ST3R
3rd January 2010, 15:22
Thanks, M4ST3R. Is your xvidcore build by any chance done by intel compiler?
Yes. Don't expect much though, most critical parts are written is asm
juGGaKNot
3rd January 2010, 15:26
Do you have to input the number of cores your cpu has ?
If so an autodetect would be nice.
M4ST3R
3rd January 2010, 20:16
It has autodetect.
Loadus
18th April 2010, 04:00
Allo allo.
I'm using this version of xvid_encraw with Virtualdub's new 'external encoder' feature. I just can't figure out what's the correct syntax when feeding the encoder video through pipe? I've tried almost every possible combination of input variables but it doesn't like anything. :D
With ffmpeg it was
-i -
Halp?
Gromozeka
30th May 2010, 09:56
the old version xvid_encraw work:
ffmpeg -i 1.avs -f yuv4mpegpipe - | xvid_encraw -i stdin -single -bitrate 2000 -vbvmax 4000 -max_bframes 1 -qtype 0 -noclosed_gop -lumimasking -threads 2 -w 640 -h 480 -framerate 25.000 -o 1.avi
The your new version not work, its very bad :(
ffmpeg -i 1.avs -f yuv4mpegpipe - | xvid_encraw -i stdin -single -bitrate 2000 -vbvmax 4000 -max_bframes 1 -type 0 -noclosed_gop -masking 2 -threads 2 -avi 1.avi
henryho_hk
6th June 2010, 12:20
1) would there be a win64 compile?
2) does it write a >2GB AVI correctly?
Gromozeka
6th June 2010, 13:02
http://sourceforge.net/projects/mplayer-win32/files/
this mencoder have xvid 1.2.2 VAQ and work fine
1-st pass
mencoder 1avi -o out.avi -ffourcc DX50 -of avi -idx -nosound -ovc xvid -xvidencopts pass=1:threads=2
2-st pass
mencoder 1.avs -o out.avi -ffourcc DX50 -of avi -idx -aid 1 -srate 32000 -oac mp3lame -lameopts vbr=1:q=5:aq=3 -sws 2 -mc 0\
-ovc xvid -xvidencopts pass=2:bitrate=1500:me_quality=6:noqpel:nogmc:trellis:nocartoon:chroma_me:chroma_opt:hq_ac:vhq=4\
:lumi_mask:nogreyscale:nointerlacing:min_iquant=2:max_iquant=2:min_pquant=2:max_pquant=5:min_bquant=3:max_bquant=8\
:quant_type=h263:max_bframes=1:bquant_ratio=100:bquant_offset=100:profile=asp5:overflow_control_strength=10\
:max_overflow_improvement=60:max_overflow_degradation=60:par=vga11:bvhq=1:threads=2
henryho_hk
6th June 2010, 13:32
yup, thanks. too bad that it's not win64.
PiPPoNe92
6th June 2010, 17:29
Does mencoder support .avs input script? If yes, how?
Gromozeka
7th June 2010, 08:42
Does mencoder support .avs input script? If yes, how?
mencoder always input avs script
PiPPoNe92
7th June 2010, 14:03
I modified my avs script, and now work. Thanks.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.