[FFmpeg-user] Live HLS content for multiresolution using FFMPEG, with Bandwidth as a parameter

jayu_magadum jayu_magadum at yahoo.com
Wed Jul 16 07:51:46 CEST 2014


Hi
I have currently able to create Live HLS content using the following
command:
ffmpeg -re -i input.mp4 -map 0 -codec:v libx264 -codec:a libvo_aacenc -f
ssegment -segment_list playlist.m3u8 -segment_list_flags +live -segment_time
10 -segment_list_size 4 out%02d.ts

I want to know whether FFMPEG can create .m3u8 with BANDWIDTH parameter as
below?

I found variantplaylistcreator  in IOS,which creates .plist and .m3u8 and
then creates .m3u8 with this bandwidth params,for ex:
#EXTM3U
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=3868161
480p/prog_index.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=7781193
720p/prog_index.m3u8

where as 480p/prog_index.m3u8 will have :
#EXTM3U
#EXT-X-TARGETDURATION:10
#EXT-X-MEDIA-SEQUENCE:0
#EXTINF:10,	
fileSequence0.ts
#EXTINF:10,	
fileSequence1.ts
#EXTINF:10,	
fileSequence2.ts

Is is possible to create such .m3u8 using FFMPEG,which should also have a
BANDWIDTH parameter? Let me know.




--
View this message in context: http://ffmpeg-users.933282.n4.nabble.com/Live-HLS-content-for-multiresolution-using-FFMPEG-with-Bandwidth-as-a-parameter-tp4666363.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.


More information about the ffmpeg-user mailing list