Hello,
I'm use mencoder to produce MPEG2-file for DVD Lab Pro. Input file is NTSC with 29,97 fps video track, MP3 cbr 128 kb/s audio track.
Data from MediaInfo:
Code:General Complete name : INPUT.avi Format : AVI Format/Info : Audio Video Interleave File size : 700 MiB Duration : 1h 29mn Overall bit rate : 1 098 Kbps Writing application : VirtualDubMod 1.5.4.1 (build 2178/release) Writing library : VirtualDubMod build 2178/release Video Format : MPEG-4 Visual Format profile : Streaming Video@L1 Format settings, BVOP : Yes Format settings, QPel : No Format settings, GMC : No warppoints Format settings, Matrix : Custom Codec ID : XVID Codec ID/Hint : XviD Duration : 1h 29mn Bit rate : 961 Kbps Width : 512 pixels Height : 384 pixels Display aspect ratio : 4/3 Frame rate : 29.970 fps Resolution : 24 bits Colorimetry : 4:2:0 Scan type : Progressive Bits/(Pixel*Frame) : 0.163 Stream size : 613 MiB (88%) Writing library : XviD 1.2.0.dev47 (UTC 2006-11-01) Audio Format : MPEG Audio Format version : Version 1 Format profile : Layer 3 Codec ID : 55 Codec ID/Hint : MP3 Duration : 1h 29mn Bit rate mode : Constant Bit rate : 128 Kbps Minimum bit rate : 128 Kbps Channel(s) : 2 channels Sampling rate : 48.0 KHz Resolution : 16 bits Stream size : 81.6 MiB (12%) Alignment : Aligned on interleaves Interleave, duration : 67 ms (2.00 video frames) Interleave, preload duration : 504 ms Writing library : LAME3.97 Encoding settings : CBR
I want convert this file for create DVD PAL. Ok.
Use command line:
After this, a/v sync is bad... I see it GOM Player (select .IFO file).Code:mencoder.exe -of mpeg -ofps 25 -fps 30000/1001 -mpegopts format=dvd:film2pal:tsaf -srate 48000 -ovc lavc -oac lavc -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:keyint=15:vrc_maxrate=9800:aspect=4/3:vbitrate=5000:vstrict=0:acodec=ac3:abitrate=128 -mc 0 -noskip -vf scale=720:544,expand=720:576,harddup -ssf ls=100 -o OUTPUT.mpeg INPUT.avi
Question: how to convert my video file to MPEG2 format without desync a/v? Use only mencoder, if possible.
P.S. I read other topics about NTSC->PAL conversion, about sync a/v, but I have use only mencoder.
Thanks.
+ Reply to Thread
Results 1 to 4 of 4
-
-
Originally Posted by menket
Originally Posted by menket
other routes provide more flexibility.
Originally Posted by menket
first.
it's 29.97 progressive? what was the original source? why aren't you working with that?
then,
film2pal is the wrong filter to place in your process.
kill it.
and then major offender.
kill -noskip.
skipping frames is essential to your process.
Code:mencoder -of mpeg -mpegopts format=dvd:tsaf -ofps 25 -srate 48000 -ovc lavc -oac lavc -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:keyint=15:vrc_maxrate=9800: aspect=4/3:vbitrate=5000:vstrict=0:acodec=ac3: abitrate=128 -vf scale=720:544,expand=720:576,harddup -ssf ls=100 -o OUTPUT.mpeg INPUT.avi
"I'll give you five dollars if you let me throw a rock at you" -
but why you have use only mencoder?
it's 29.97 progressive?
Code:kill -noskip
And one small question. If input fps is 23,97, opt -noskip must be removed? -
Originally Posted by menket
Originally Posted by menket
leaving -noskip in should do no harm.
tripp"I'll give you five dollars if you let me throw a rock at you"
Similar Threads
-
Changing AVI Properties (Resolution, FPS etc) NTSC>PAL
By skywalka in forum Video ConversionReplies: 4Last Post: 7th Mar 2011, 20:45 -
Tweaking mencoder options
By acid_burn in forum DVD RippingReplies: 3Last Post: 27th May 2008, 08:59 -
NTSC-PAL-NTSC (25-23.976+pulldown) and audio sync problem - related?
By ecc in forum Video ConversionReplies: 14Last Post: 14th Nov 2007, 11:34 -
FPS NTSC & PAL Film/Digital
By flamingo in forum Newbie / General discussionsReplies: 5Last Post: 13th Nov 2007, 13:21 -
FPS..NTSC & PAL Standard Cinema Film/Digital
By flamingo in forum TestReplies: 0Last Post: 9th Nov 2007, 08:30