[Libav-user] Fwd: MPEG-TS - Using FFmeg demuxer

Guillaume Ferry guiluge at gmail.com
Mon May 9 08:32:31 CEST 2011


Hi everyone,

I'm currently working on a small RTSP client, based on live555' liveMedia
framework, which works great at receiving any kind of RTSP streams.
The only problem I'm dealing with is the MPEG2 Transport Streams (TS) case.

For example, I'd like to play a TS, which contains, say 1 video track, and 8
audio tracks.
My RTSP client doesn't seem to identify those tracks, and refers only to a
single video track, somehow flagged with an MP2T suffix (which means it is
clearly identified as a TS track)
Since liveMedia doesn't provide any parsing / demuxer factory, I have to
rely on this goold ol' FFmpeg :)

So, I'd like to use / create a TS demuxer to parse my incoming packets, and
obtain the track listing.
I see FFmpeg has internal sources (mpeg2ts.c), but I'm not sure this is the
right way to choose.

Has anyone already dealt with this case ?
It seems VLC works great too with this kind of streams, but maybe it already
uses FFmpeg code ?

Thanks in advance,

Best regards to all,
Guillaume.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20110509/018f37d2/attachment.html>


More information about the Libav-user mailing list