Hi,
I have a few questions about HLS VOD streaming.
-
Regarding target duration:
-
This is the .smil file:
<smil> <head> </head> <body> <switch> <video src="mp4:00800_1000.mp4" system-bitrate="980992"/> <video src="mp4:00800_1400.mp4" system-bitrate="1413120"/> </switch> </body> </smil>
And this is my URI: http://lab001.dyndns.org:1935/vod/smil:00800.smil/playlist.m3u8
-
This is the main playlist:
#EXTM3U #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=980992 http://lab001.dyndns.org:1935/vod/_definst_/mp4:00800_1000.mp4/playlist.m3u8?wowzasessionid=750677490 #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=1413120 http://lab001.dyndns.org:1935/vod/_definst_/mp4:00800_1400.mp4/playlist.m3u8?wowzasessionid=750677490
Opening one of the links would give me something like this:
#EXTM3U #EXT-X-TARGETDURATION:12 #EXT-X-MEDIA-SEQUENCE:1 #EXTINF:12, media_1.ts?wowzasessionid=2146856501 #EXTINF:11, media_2.ts?wowzasessionid=2146856501 #EXTINF:11, media_3.ts?wowzasessionid=2146856501 #EXTINF:11, media_4.ts?wowzasessionid=2146856501 #EXTINF:10, media_5.ts?wowzasessionid=2146856501
My first questions is: Why is the duration of each chunk different? Shouldn’t all of them be equal to 12 in this example?
-
Regarding streaming behavior:
-
I wanted to see the streaming behavior using WireShark, and this is what I got when the streaming started:
-
What I expected to see, is something like this:
My second question is: Since I’m using HLS, why am I seeing “macromedia-fcs” instead of HTTP GET commads of the .ts files?
-
Regarding KeyFrame Interval settings:
My final question is: What’s the recommended value when encoding at multiple bitrates? And how’s it related to the value of #EXT-X-TARGETDURATION?
I’d really appreciate any explanation to the above.
Thanks in advance,
Wiaam.