[MPlayer-users] mencoder x264 won't play in vlc

Guillaume POIRIER poirierg at gmail.com
Thu Feb 16 07:39:47 CET 2006


Hi,

On 2/16/06, David Liontooth <liontooth at cogweb.net> wrote:
> I'm using this dual-pass script to convert files to x264:
>
> mencoder $1 -o /dev/null -oac copy -ovc x264  \
>   -x264encopts pass=1:bitrate=$2:bframes=3:subq=2:threads=2
>
> mencoder $1 -o $STEM-h264.avi -oac mp3lame -lameopts cbr:br=64 -ovc x264  \
>   -x264encopts
> pass=2:bitrate=$2:bframes=3:subq=6:threads=2:frameref=4:8x8dct
>
> The result plays fine in mplayer, but not in vlc -- the vlc image is
> blocky to the point of haziness.
>
> In contrast, this script produces files that play equally well in vlc
> and mplayer:
>
> ffmpeg -i $1 -f avi -vcodec h264 -b $2 -s 640x480 -acodec mp3 $OUTFILE
>
> Suggestions? I need to stream the files with vlc.

Your version of VLC is likely to have an outdated version of
libavcodec, which would explain why it chokes on the video produced by
x264 with mencoder.

You may either disable some of the encoding options that are on by
default, or upgrade your build of vlc to latest release or SVN
version.

Guillaume
--
Just because code is syntactically "valid" GNU C doesn't mean gcc can
always compile it.
  Steven Bosscher - 2005-01-01
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11203#c14
---
MPlayer's doc isn't up-to-date. Visit my updated mirror here:
http://tuxrip.free.fr//MPlayer-DOCS-HTML/en/
http://tuxrip.free.fr//MPlayer-DOCS-HTML/fr/




More information about the MPlayer-users mailing list