[MEncoder-users] MPEG-2 quality
Eduardo Gargiulo
egargiulo at users.sf.net
Tue Jul 18 20:54:02 CEST 2006
Hi all,
I'm having problems to play in my standalone player a mpeg2 file made with
mencoder from an AVI file. The AVI is a capture from miniDV camcorder, and
has the following format
Playing /opt/dv1/dv-2006.07.01_20-43-43.avi.
AVI file format detected.
VIDEO: [dvsd] 720x480 24bpp 29.970 fps 28771.2 kbps (3512.1 kbyte/s)
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 32000 Hz, 2 ch, s16le, 1024.0 kbit/100.00% (ratio: 128000->128000)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==========================================================================
==========================================================================
Requested video codec family [qdv] (vfm=dshow) not available.
Enable it at compilation.
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffdv] vfm: ffmpeg (FFmpeg DV decoder)
==========================================================================
I'm feeding mencoder with this AVI file and want to produce as output an
MPEG-2 file for playing in standalone DVD player. This are the command I'm
using to make the mpeg2
$ mencoder -of mpeg -mpegopts format=dvd -srate 48000 -ofps 30000/1001 \
-ovc lavc -oac lavc \
-lavcopts vcodec=mpeg2video:vrc_buf_size=1835:\
keyint=18:vrc_maxrate=9800:\
vbitrate=4900:aspect=4/3:acodec=ac3:abitrate=192 \
/opt/dv1/dv-2006.07.01_20-43-43.avi -o whatever.mpg
the output file plays ok in mplayer, but not in the standalone player
where the video slows down on some intervals. Which parameters should I
tune to correct this problems? Should I down the vbitrate? I want high
quality video and don't matter file size.
I have some DVD which runs ok in the player, how can I read the vbitrate
of these movies to try these values on mencoder? mplayer -identify dvd://1
only show maxrates but not the average rate of the movie.
thanks in advance and sorry for my english,
--ejg @sf.net
More information about the MEncoder-users
mailing list