[FFmpeg-user] Question about creating .m3u8 HLS files

Muhamad Ali muhamad.ali at kompas.com
Tue Sep 6 12:39:14 EEST 2016


Hi Anand,

I think you already in aright way but what you have done is the only one resolution there.
I suggest you to add a specific bitrate and ratio of your result file save it with a specific name too.
Do it for all ratio size do you want.

In the end you have also create one file with .m3u8 ext that contain a list of ulrs you have made before, like this 

#EXTM3U
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=2937000,RESOLUTION=568x320
http://foo.bar/path/name-320p.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=3878000,RESOLUTION=768x432
http://foo.bar/path/name-432p.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=6490000,RESOLUTION=1136x640
http://foo.bar/path/name-640p.m3u8

Regards,
Ali


More information about the ffmpeg-user mailing list