[Live-devel] Streaming video with metadata
Ross Finlayson
finlayson at live555.com
Mon Aug 8 22:21:59 PDT 2011
On Aug 8, 2011, at 7:45 PM, Pardridge, Robert wrote:
> I want to stream video via RTSP, where the container has 2 streams, one is video and the other is data. I can stream just fine with live555 a video with just video, but if there is a data stream I get the message “Saw unexpected code” which I traced back to MPEG1or2VideoStreamFramer.cpp
>
> I was wondering how I could modify the live555 library to send the data stream as well as the video stream.
There are a couple of issues here:
1/ How is the metadata stored within the MPEG Program Stream file? If it's stored in PES packets - with a well-defined stream_id for 'metadata' - then it could probably be extracted in the same way that audio and video is extracted, by modifying the "MPEG1or2Demux" code. If, however, the metadata is stored within the video stream (which is suggested by the "Saw unexpected code" error), then extracting it would be harder.
2/ (The big issue) What RTP payload format would you use to stream this metadata? There probably isn't one defined, which means that you'd need to define your own. But then you'd have the problem of no standard receiver being able to understand the metadata stream.
In any case, it would be useful to see an example file that contains 'metadata'. Please put an example on a web server, and send a link to it, so we can download and test it for ourselves.
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20110808/24a0f2a9/attachment.html>
More information about the live-devel
mailing list