[FFmpeg-devel] [PATCH] avformat/hlsenc: creation of hls variant streams with master playlist in a single hlsenc instance
Dixit, Vishwanath
vdixit at akamai.com
Wed Nov 8 08:02:19 EET 2017
> There have no master playlist after use patchset:
>
> test command line at bellow:
>
>
> liuqideMBP:xxx liuqi$ ./ffmpeg -f lavfi -i color=red -f lavfi -i
> anullsrc -g 25 -r 25 -b:v:0 1000k -b:v:1 256k -b:a:1 64k -b:a:1 32k
> -map 0:v -map 1:a -map 0:v -map 1:a -f hls -var_stream_map "v:0,a:0
> v:1,a:1" -t 10 -hls_time 2 output_sl.m3u8
Master playlist is creation is optional. It is created only when -master_pl_name parameter is set. Please use the command as below
./ffmpeg -f lavfi -i color=red -f lavfi –I anullsrc -g 25 -r 25 -b:v:0 1000k -b:v:1 256k -b:a:1 64k -b:a:1 32k -map 0:v -map 1:a -map 0:v -map 1:a -f hls -var_stream_map "v:0,a:0 v:1,a:1" -master_pl_name master.m3u8 -t 10 -hls_time 2 output_sl.m3u8
Regards,
Vishwanath
More information about the ffmpeg-devel
mailing list