[Live-devel] Http Live Streaming

Jeff Shanab jshanab at smartwire.com
Sun Dec 18 08:01:06 PST 2011


I am trying to stream to mac, iphone and ipad using http streaming from my application that uses the live555 libs.

Data is flowing but I do not get video. When I extract out one of the segment files it will play in VLC. On further investigation, I see that the ts file when run in quicktime(apple's toolkit for video) it does not even see there is h264 content. The same h264 stream restreamed by some off the shelf software into HTTP live streaming is fine.

I found a tool to analyze the headers in the transport stream and was wondering if someone can look at the two sets of analysis and tell me what I am forgetting.

Working:
Adaptation fields
   Adaptation_field_length: 7
   discontinuity_indicator: False
   random_access_indicator: False
   ES_priority_indicator: False
   PCR_flag: True
   OPCR_flag: False
   splicing_point_flag: False
   transport_private_data_flag: False
   adaptation_field_extension_flag: False
   PCR: 269280000

PES header
   stream_id: E0 (video stream 224)
   PES_packet_length: 0 (undefined)
   PES_scrambling: 0
   PES_priority: False
   data_alignment: True
   copyright: False
   original_or_copy: False
   PTS_flag: True
   DTS_flag: True
   ESCR_flag: False
   ES_rate_flag: False
   DSM_trick_mode_flag: False
   additional_copy_info_flag: False
   PES_CRC_flag: False
   PES_extension_flag: False
   PES_header_data_length: 10
   PTS: 900000
   DTS: 900000

Video sequence
Sequence header code not found in this packet
AFD not found in this packet



Not working:
==========================================================
Adaptation fields
   Adaptation_field_length: 7
   discontinuity_indicator: False
   random_access_indicator: False
   ES_priority_indicator: False
   PCR_flag: True
   OPCR_flag: False
   splicing_point_flag: False
   transport_private_data_flag: False
   adaptation_field_extension_flag: False
   PCR: 6922408255

PES header
   stream_id: E0 (video stream 224)
   PES_packet_length: 13861
   PES_scrambling: 0
   PES_priority: False
   data_alignment: False
   copyright: False
   original_or_copy: False
   PTS_flag: True
   DTS_flag: False
   ESCR_flag: False
   ES_rate_flag: False
   DSM_trick_mode_flag: False
   additional_copy_info_flag: False
   PES_CRC_flag: False
   PES_extension_flag: False
   PES_header_data_length: 5
   PTS: 23074694

Video sequence
Sequence header code not found in this packet
AFD not found in this packet
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20111218/fb9c6ed9/attachment-0001.html>


More information about the live-devel mailing list