[vlc] Re: Mainconcept encode play error

Måns Rullgård mru at inprovide.com
Fri Mar 3 01:49:12 CET 2006


Vaclav Koldus <vaclav.koldus at avpark.cz> writes:

>>>Hi Pete!
>>>
>>>The problem with main concept H.264 encoded videos is indeed that
>>>these are mpeg files. Vlc can't recognize if the .mpeg file contains
>>>mpeg2 or h.264 stream. It just assumes it is a mpeg2 stream. Only
>>>solution I came with is to give up playing mpeg2 and consider all
>>>mpegs to be h264s. I don't know whether this stream can be decoded
>>>with ffmpeg.
>>
>>The H.264 video is decoded correctly by ffmpeg.  The problem is
>>identifying it as being H.264 in the first place.  Normally a Program
>>Stream Map is included in MPEG-PS streams with non-MPEG2 video for
>>precisely this purpose.
>>
> Well, then there's only one thing to do. To patch ps/ts demuxer
> modules to corretly identify h264 streams. When you look
> into the source files ts.c and ps.c, you'll find out that this is
> implemented well. It seems that MC signs the stream incorrectly
> (or with their own id.) I'll have a look at it, it shouldn't be a big
> prob.

The PS demuxer parses the PSM to determine the codecs for each stream.
If there is no PSM it defaults to MPEG video and audio.  As I said,
the file from Pete has no PSM.

I haven't seen a sample from you, so I can't say what might be the
problem there.

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

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



More information about the vlc mailing list