i am solving the convertion of 24000/1001 fps AVI with AC3 audio -> 30000/1001 MPEG2 (as input for dvdauthor) while preserving the audio track as is. my command is following: #!/bin/bash mencoder galaxy.avi \ -oac copy \ -mc 0 \ -of mpeg \ -mpegopts format=dvd:telecine \ -ovc lavc \ -lavcopts vcodec=mpeg2video:aspect=4/3:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:keyint=15: \ -ofps 30000/1001 \ -vf scale=720:-10,expand=720:576 \ -o galaxy.mpg but then the result MPEG2 is desync (audio is earlier than video). to tell the truth, i expected this result, but is there any way how to produce such mpeg2 stream which is ok? thanks
On Wednesday 16 November 2005 11:26, Tomáš Bažant wrote:
mencoder galaxy.avi \ -oac copy \ -mc 0 \ -mpegopts format=dvd:telecine \ -ofps 30000/1001 \
I'm not sure if softtelecine is a good idea after 30000/1001 output fps
-vf scale=720:-10,expand=720:576 \
you want to add harddup here.
Jan Knutar wrote:
On Wednesday 16 November 2005 11:26, Tomáš Bažant wrote:
mencoder galaxy.avi \ -oac copy \ -mc 0 \ -mpegopts format=dvd:telecine \ -ofps 30000/1001 \
I'm not sure if softtelecine is a good idea after 30000/1001 output fps
i test my dvd's on hardware player yamada dvx6600 and DVD created this way is perfect without any jerkiness....but he audio is too quick
-vf scale=720:-10,expand=720:576 \
you want to add harddup here.
should I put it after the expand? Or is expand needed at all?
_______________________________________________ MEncoder-users mailing list MEncoder-users@mplayerhq.hu http://mplayerhq.hu/mailman/listinfo/mencoder-users
On Wed, 16 Nov 2005 10:41:32 +0100 Tomáš Bažant <tomas.bazant@rozhlas.cz> wrote:
I'm not sure if softtelecine is a good idea after 30000/1001 output fps
i test my dvd's on hardware player yamada dvx6600 and DVD created this way is perfect without any jerkiness....but he audio is too quick
That could be WHY "audio is too quick". (Then again, the incorrect dimentions could also be the problem) In any case, to use the telecine option, you need '-ofps 24000/1001' for it to work. Using '-ofps 30000/1001' is just disabling the telecine option, and certainly making the framerate uneven (whether you notice it or not).
Tomáš Bažant wrote:
i am solving the convertion of 24000/1001 fps AVI with AC3 audio -> 30000/1001 MPEG2 (as input for dvdauthor) while preserving the audio track as is. my command is following:
#!/bin/bash mencoder galaxy.avi \ -oac copy \ -mc 0 \
in my experience -mc 0 may lead to desync. Mplayer's sync code, funny as it may be, _does_ work
-of mpeg \ -mpegopts format=dvd:telecine \ -ovc lavc \ -lavcopts vcodec=mpeg2video:aspect=4/3:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:keyint=15: \ -ofps 30000/1001 \ -vf scale=720:-10,expand=720:576 \ -o galaxy.mpg
but then the result MPEG2 is desync (audio is earlier than video). to tell the truth, i expected this result, but is there any way how to produce such mpeg2 stream which is ok?
thanks
-- Email.it, the professional e-mail, gratis per te: http://www.email.it/f Sponsor: Jamba: Personalizza il tuo cellulare con Sweety! * La prima suoneria č GRATIS! Scaricala ORA! Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=3602&d=16-11
On Wed, Nov 16, 2005 at 10:26:14AM +0100, Tomá? Ba?ant wrote:
i am solving the convertion of 24000/1001 fps AVI with AC3 audio -> 30000/1001 MPEG2 (as input for dvdauthor) while preserving the audio track as is. my command is following:
#!/bin/bash mencoder galaxy.avi \ -oac copy \ -mc 0 \ -of mpeg \ -mpegopts format=dvd:telecine \ -ovc lavc \ -lavcopts vcodec=mpeg2video:aspect=4/3:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:keyint=15: \ -ofps 30000/1001 \
You want -ofps 24000/1001. Isn't this in the documentation for the telecine option?
-vf scale=720:-10,expand=720:576 \
At the very least you ALWAYS need harddup at the end of your filter chain when encoding to mpeg. Rich
Rich Felker wrote:
On Wed, Nov 16, 2005 at 10:26:14AM +0100, Tomá? Ba?ant wrote:
i am solving the convertion of 24000/1001 fps AVI with AC3 audio -> 30000/1001 MPEG2 (as input for dvdauthor) while preserving the audio track as is. my command is following:
#!/bin/bash mencoder galaxy.avi \ -oac copy \ -mc 0 \ -of mpeg \ -mpegopts format=dvd:telecine \ -ovc lavc \ -lavcopts vcodec=mpeg2video:aspect=4/3:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:keyint=15: \ -ofps 30000/1001 \
You want -ofps 24000/1001. Isn't this in the documentation for the telecine option?
it is, but -ofps 24000/1001 is not valid for DVD standard and my YAMADA player will hang after a few minutes...
-vf scale=720:-10,expand=720:576 \
At the very least you ALWAYS need harddup at the end of your filter chain when encoding to mpeg.
Rich
_______________________________________________ MEncoder-users mailing list MEncoder-users@mplayerhq.hu http://mplayerhq.hu/mailman/listinfo/mencoder-users
On Mon, 21 Nov 2005 10:23:45 +0100 Tomá Baant <tomas.bazant@rozhlas.cz> wrote:
You want -ofps 24000/1001. Isn't this in the documentation for the telecine option?
it is, but -ofps 24000/1001 is not valid for DVD standard and my YAMADA player will hang after a few minutes...
~23.976 fps isn't valid on it's own, but it *is* valid if it has soft-telecine flags (allowing it to be converted to 59.94 fields/sec on the fly), hence the telecine option.
On Mon, Nov 21, 2005 at 10:23:45AM +0100, Tomá? Ba?ant wrote:
Rich Felker wrote:
On Wed, Nov 16, 2005 at 10:26:14AM +0100, Tomá? Ba?ant wrote:
i am solving the convertion of 24000/1001 fps AVI with AC3 audio -> 30000/1001 MPEG2 (as input for dvdauthor) while preserving the audio track as is. my command is following:
#!/bin/bash mencoder galaxy.avi \ -oac copy \ -mc 0 \ -of mpeg \ -mpegopts format=dvd:telecine \ -ovc lavc \ -lavcopts vcodec=mpeg2video:aspect=4/3:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:keyint=15: \ -ofps 30000/1001 \
You want -ofps 24000/1001. Isn't this in the documentation for the telecine option?
it is, but -ofps 24000/1001 is not valid for DVD standard and my YAMADA player will hang after a few minutes...
The final output file is NOT 24000/1001 fps but 30000/1001 "fps". However, the _encoding_ needs to be done at 24000/1001 and then the muxer modifies it with telecine flags to 30000/1001. Rich
On Wed, Nov 16, 2005 at 10:26:14AM +0100, Tomá? Ba?ant wrote:
i am solving the convertion of 24000/1001 fps AVI with AC3 audio -> 30000/1001 MPEG2 (as input for dvdauthor) while preserving the audio track as is. my command is following:
#!/bin/bash mencoder galaxy.avi \ -oac copy \ -mc 0 \ -of mpeg \ -mpegopts format=dvd:telecine \ -ovc lavc \ -lavcopts vcodec=mpeg2video:aspect=4/3:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:keyint=15: \ -ofps 30000/1001 \ -vf scale=720:-10,expand=720:576 \
Also 720x576 is not a valid size for NTSC video! The size is 720x480! And you need to get the aspect right; I have a feeling it will be wrong with your options. Do a little simple math and work it out. Rich
On Wed, 16 Nov 2005 11:07:34 -0500 Rich Felker <dalias@aerifal.cx> wrote:
And you need to get the aspect right; I have a feeling it will be wrong with your options.
The "scale=720:-10" should take care of that, no matter what the original aspect...
participants (5)
-
Jan Knutar -
Nico Sabbi -
RC -
Rich Felker -
Tomáš Bažant