VideoHelp Forum




+ Reply to Thread
Results 1 to 4 of 4
  1. Member
    Join Date
    Oct 2008
    Location
    Russian Federation
    Search Comp PM
    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:
    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
    After this, a/v sync is bad... I see it GOM Player (select .IFO file).

    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.
    Quote Quote  
  2. Member
    Join Date
    Dec 2004
    Location
    Triptonia
    Search Comp PM
    Originally Posted by menket
    Use command line:
    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
    and the output of that command??..

    Originally Posted by menket
    P.S. I read other topics about NTSC->PAL conversion, about sync a/v, but I have use only mencoder.
    but why you have use only mencoder?

    other routes provide more flexibility.

    Originally Posted by menket
    After this, a/v sync is bad...
    indeed.
    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
    tripp
    "I'll give you five dollars if you let me throw a rock at you"
    Quote Quote  
  3. Member
    Join Date
    Oct 2008
    Location
    Russian Federation
    Search Comp PM
    but why you have use only mencoder?
    mencoder is fast. Other tools converts movies 2-3 times long, than mencoder.

    it's 29.97 progressive?
    I don't know. How to know?

    Code:
    kill -noskip
    Great! Work! Thanks

    And one small question. If input fps is 23,97, opt -noskip must be removed?
    Quote Quote  
  4. Member
    Join Date
    Dec 2004
    Location
    Triptonia
    Search Comp PM
    Originally Posted by menket
    I don't know. How to know?
    manually go through it frame by frame, to check.

    Originally Posted by menket
    And one small question. If input fps is 23,97, opt -noskip must be removed?
    if it's 23.976 then use film2pal.
    leaving -noskip in should do no harm.


    tripp
    "I'll give you five dollars if you let me throw a rock at you"
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!