Hi Salvadore,
Thank you for your reply.
I do need to add “CODEC” in both single streams and multi bitrate streams.
Single stream:
<?xml version="1.0"?>
<smil>
<head/>
<body>
<switch>
<video src="sample.mp4" system-bitrate="1500000"/>
</switch>
</body>
</smil>
Multiple bitrates stream:
<?xml version="1.0"?>
<smil>
<head/>
<body>
<switch>
<video src="sample1.mp4" system-bitrate="100000"/>
<video src="sample2.mp4" system-bitrate="200000"/>
<video src="sample3.mp4" system-bitrate="400000"/>
<video src="sample4.mp4" system-bitrate="500000"/>
<video src="sample5.mp4" system-bitrate="800000"/>
<video src="sample6.mp4" system-bitrate="1000000"/>
<video src="sample7.mp4" system-bitrate="1200000"/>
<video src="sample8.mp4" system-bitrate="1500000"/>
<video src="sample1.mp4" system-bitrate="24000">
<param name="audioOnly" value="TRUE" valuetype="data"/>
</video>
</switch>
</body>
</smil>
I’ve change the config so I can get “CODEC” by CURL direct mp4 stream :
$ curl 'http://[HOSTNAME]/vod/mp4:sample.mp4/playlist.m3u8'
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:BANDWIDTH=868638,CODECS="avc1.66.21,mp4a.40.2",RESOLUTION=512x288
chunklist_w1275854034.m3u8
But if I CURL the SMIL stream, I can’t get that information. Like I curl the single bitrate SMIL I listed before :
$ curl 'http://[HOSTNAME]/vod/smil:sample.smil/playlist.m3u8'
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:BANDWIDTH=1500000
chunklist_w2025619132_b1500000.m3u8
So is there a way for wowza engine to get ‘CODEC’ showed without changing SMIL file?
Thanks,
Monica