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

David Liontooth liontooth at cogweb.net
Fri Feb 17 00:16:03 CET 2006


Guillaume POIRIER wrote:

>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.
>  
>
This is actually already the latest release of vlc -- the nightly amd64
svn build from 12 February. Still, I should get back to vlc about it --
mencoder's files play fine in ffplay too.

I'd like to have mencoder work, as I want to encode tv directly to h264
and have the option of streaming it.  A friend is getting a dual-core
AMD chip that should be able to do this.

Dave

>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/
>
>_______________________________________________
>MPlayer-users mailing list
>MPlayer-users at mplayerhq.hu
>http://mplayerhq.hu/mailman/listinfo/mplayer-users
>  
>




More information about the MPlayer-users mailing list