[Live-devel] Streaming H264 using Transport Stream

Johannes Ebersold johannes.ebersold at dfki.de
Mon Jul 25 07:46:37 PDT 2011


Hi,

I am trying to generate a transport stream, streaming H.264. I've read a 
lot of postings in the mailing list and studied the examples 
(testH264VideoToTransportStream and testMPEG2TransportStreamer), but as 
a matter of fact my software won't work.
First, i implemented a stream via rtp using a rtsp server and feeding 
single, raw H264 NAL units to it, this works fine, when streaming to VLC 
on another PC. But i tested this stream and it did not work with iOS and 
Android. So i used the streaming functionality of VLC to test which 
stream is okay for iOS and Android and decided to use a transport stream.
And at this point I'm stuck ... My application provides a stream, i can 
connect to that stream with VLC, VLC fills it buffer but do not display 
anything, also no errors or warning.

I got a source, which provides discrete NALunits, without the startcode, 
but i can eassily change this. And I use the following setup of live555:

MySource -> H264VideoStreamDiscreteFramer -> 
MPEG2TransportStreamFromESSource -> MPEG2TransportStreamFramer -> 
SimpleRTPSink

I configured the SimpleRTPSink and the Server as shown in the example 
(testMPEG2TransportStreamer).

I think, that i missed something or missunderstood something in the 
usage of the Transport Stream. However, i would be thankful for any 
hints or help about this issue.

Johannes


More information about the live-devel mailing list