[vlc-devel] Re: files encoded to x264 with mencoder fail to stream with vlc

Måns Rullgård mru at inprovide.com
Sun Mar 26 14:24:27 CEST 2006


David Liontooth <liontooth at cogweb.net> writes:

> A couple of weeks ago I reported to this list that files encoded to
> h264 by mencoder failed to display properly when played back on amd64
> vlc on Linux.
> People pointed out VLC supports h264 through the x264 project, and I
> rebuilt VLC and x264 from source. This in fact solved the problem; on
> this version, files encoded to h264 using mencoder display correctly
> on amd64 vlc.

This must have been a coincidence.  x264 is only an encoder.  VLC uses
ffmpeg's libavcodec for decoding H.264.

> However, when these same files (mencoder-encoded h264 files) are
> streamed, they don't display properly on any platform. A streaming
> sample is available if someone is open to looking at it. The picture
> is incredibly blocky, freezes, and so on. I've tested reception on
> Linux amd64, i386, and Winxp i386 and there's no difference.
>
> In contrast, files encoded to h264 by ffmpeg stream perfectly.

Both ffmpeg and mencoder use x264 to encode H.264.  Run "strings" on
files encoded with both.  One of the first few lines should show all
the settings used and the version of x264.  If you post those lines
here maybe someone can tell why only one of them works.

-- 
Måns Rullgård
mru at inprovide.com

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list