We are excited to announce that the IIS.NET Forums are moving to the new Microsoft Q&A experience. Learn more >

Problem displaying HLS streams [Answered]RSS

1 reply

Last post Jul 27, 2012 07:55 AM by lprete

  • Problem displaying HLS streams

    Jul 25, 2012 01:33 PM|tristan7302|LINK

    Hi every one, I'm new to HTTP streaming. I'm trying to display a "HTTP Live Streaming" stream generated by IIS Media service. Here is my setup: Server Hardware (HP Proliant G6): - Windows server 2008 R2 enterprise, 2xQuadcore processor, 12Gb RAM - Ospry capture card (to capture a live video source) - Expression encoder 4 Pro (to encode the captured video): H.264, main or baseline profiles (tried both), 480p and 720p (tried both), preset : H264 IIS smooth streaming - 480p CBR (or 720p CBR) - Publishing point (using IIS media service) in push mode (receives stream from Expression encoder). The Apple HLS protocol is also activated in this publishing point. (i followed this link for the configuration http://learn.iis.net/page.aspx/854/appl ... -services/) Workstation (HP Z400): - Windows XP + silverlight installed - k-lite codec pack installed - VLC 2.0.3 when everything is started, the streaming starts, and i'm able to display the stream on a client = silverLight on windows XP workstation. When i try VLC with the following URL: "http://server_ip/publishingPoint.isml/Manifest(format=m3u8-aapl).m3u8", VLC does not display anything. It seems that it receives the HTTP packets, but not able to display the stream. I opened a console, and copied its content: ------------------------------------------------------------------------------------------------------------------ [01fc2ff8] logger interface: VLC media player - 2.0.3 Twoflower [01fc2ff8] logger interface: Copyright c 1996-2012 VLC authors and VideoLAN [01fc2ff8] logger interface: Warning: if you cannot access the GUI anymore, open a command-line window, go to the directory where you installed VLC and run "vlc -I qt" [01fc2ff8] logger interface: using logger. [04411cf0] stream_filter_httplive stream: Reloading HLS live meta playlist [04411cf0] stream_filter_httplive stream: Live Playlist HLS protocol version: 1 [04411cf0] stream_filter_httplive stream: updating hls stream (program-id=1, ban dwidth=1446646) has 9 segments [04411cf0] stream_filter_httplive stream: - segment 8 appended [04411cf0] stream_filter_httplive stream: downloaded segment 8 from stream 0 [04411cf0] stream_filter_httplive stream: playing segment 6 from stream 0 [04411cf0] stream_filter_httplive stream: Reloading HLS live meta playlist [04411cf0] stream_filter_httplive stream: Live Playlist HLS protocol version: 1 [04411cf0] stream_filter_httplive stream: updating hls stream (program-id=1, ban dwidth=1446646) has 9 segments [04411da0] stream_filter_httplive stream: HTTP Live Streaming (10.90.202.10/test .isml/Manifest(format=m3u8-aapl).m3u8) [04411da0] stream_filter_httplive stream: Meta playlist [04411da0] stream_filter_httplive stream: bandwidth adaptation detected (program -id=1, bandwidth=1446646). [04411da0] stream_filter_httplive stream: Live Playlist HLS protocol version: 1 [04411da0] stream_filter_httplive stream: Choose segment 10/13 (sequence=10) [04411da0] stream_filter_httplive stream: downloaded segment 10 from stream 0 [04411da0] stream_filter_httplive stream: downloaded segment 11 from stream 0 [04411da0] stream_filter_httplive stream: playing segment 10 from stream 0 libdvbpsi error (PSI decoder): TS discontinuity (received 10, expected 0) for PI D 0 libdvbpsi error (PSI decoder): TS discontinuity (received 10, expected 0) for PI D 256 [0435e778] ts demux error: MPEG-4 descriptor not found [04411da0] stream_filter_httplive stream: downloaded segment 12 from stream 0 [054ad7c0] packetizer_mpeg4audio packetizer: AAC channels: 2 samplerate: 44100 [04411da0] stream_filter_httplive stream: playing segment 11 from stream 0 [04411da0] stream_filter_httplive stream: Reloading HLS live meta playlist [04411da0] stream_filter_httplive stream: Live Playlist HLS protocol version: 1 [04411da0] stream_filter_httplive stream: updating hls stream (program-id=1, ban dwidth=1446646) has 14 segments [04411da0] stream_filter_httplive stream: - segment 13 appended [04411da0] stream_filter_httplive stream: downloaded segment 13 from stream 0 [04411da0] stream_filter_httplive stream: Reloading HLS live meta playlist [04411da0] stream_filter_httplive stream: Live Playlist HLS protocol version: 1 [04411da0] stream_filter_httplive stream: updating hls stream (program-id=1, ban dwidth=1446646) has 15 segments [04411da0] stream_filter_httplive stream: - segment 14 appended [04411da0] stream_filter_httplive stream: downloaded segment 14 from stream 0 [04411da0] stream_filter_httplive stream: playing segment 12 from stream 0 [04411da0] stream_filter_httplive stream: Reloading HLS live meta playlist [04411da0] stream_filter_httplive stream: Live Playlist HLS protocol version: 1 [04411da0] stream_filter_httplive stream: updating hls stream (program-id=1, ban dwidth=1446646) has 15 segments [04411da0] stream_filter_httplive stream: Reloading HLS live meta playlist [04411da0] stream_filter_httplive stream: Live Playlist HLS protocol version: 1 [04411da0] stream_filter_httplive stream: updating hls stream (program-id=1, ban dwidth=1446646) has 16 segments [04411da0] stream_filter_httplive stream: - segment 15 appended [04411da0] stream_filter_httplive stream: downloaded segment 15 from stream 0 [04411da0] stream_filter_httplive stream: playing segment 13 from stream 0 [04411da0] stream_filter_httplive stream: Reloading HLS live meta playlist [04411da0] stream_filter_httplive stream: Live Playlist HLS protocol version: 1 [04411da0] stream_filter_httplive stream: updating hls stream (program-id=1, ban dwidth=1446646) has 16 segments ... --------------------------------------------------------------------------------------------------- then it continue to display the sane kind of messages. Can anyone help me resolve this issue? Thanks in advance Tristan
  • Re: Problem displaying HLS streams

    Jul 27, 2012 07:55 AM|lprete|LINK

    This is because Smooth Streaming format can only be used with Smooth Streaming player.

    You cannot use VLC, WMP or any other player Smooth Stream. For use with VLC or WMP you’ll have to encode the stream in VC-1 format.

    Or MP4 format in your case if you’re using H.264 codecs specifically.

    Lou Prete [MSFT]

    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.