[FFmpeg-user] multiple HLS outputs with different stream maps
andrei ka
andrei.k.gml at gmail.com
Fri Jul 19 18:30:28 EEST 2019
i tried for live, it took *only the first* var_stream_map...
ffmpeg -v verbose -y -vstats_file stats.txt -re -i 'http://URL.m3u8'
-map 0:v:1 -c:v copy -copyts -start_at_zero -metadata:s:0 language=eng
-map 0:v:2 -c:v copy -copyts -start_at_zero -metadata:s:0 language=eng
-map 0:v:3 -c:v copy -copyts -start_at_zero -metadata:s:0 language=eng
-map a:0 -c:a copy -copyts -start_at_zero -metadata:s:1 language=eng
-map a:0 -c:a copy -copyts -start_at_zero -metadata:s:1 language=eng
-map a:0 -c:a copy -copyts -start_at_zero -metadata:s:1 language=eng
-f hls -hls_time 4 -hls_list_size 8 -hls_flags
delete_segments+append_list+omit_endlist+discont_start+split_by_time
-hls_allow_cache 0 -start_number 1 -master_pl_name master.m3u8
-var_stream_map 'v:0,a:0 v:1,a:1 v:2,a:2' stream_%v.m3u8
-map 0:v:1 -c:v copy -copyts -start_at_zero -metadata:s:0 language=eng
-map 0:v:2 -c:v copy -copyts -start_at_zero -metadata:s:0 language=eng
-map 0:v:3 -c:v copy -copyts -start_at_zero -metadata:s:0 language=eng
-map a:0 -c:a copy -copyts -start_at_zero -metadata:s:1 language=eng
-map a:0 -c:a copy -copyts -start_at_zero -metadata:s:1 language=eng
-map a:0 -c:a copy -copyts -start_at_zero -metadata:s:1 language=eng
-f hls -hls_time 4 -hls_list_size 8 -hls_flags
delete_segments+append_list+omit_endlist+discont_start+split_by_time
-hls_allow_cache 0 -start_number 1 -master_pl_name master2.m3u8
-var_stream_map 'v:0,a:0 v:1,a:1 v:2,a:2' str_%v.m3u8
On Fri, Jul 19, 2019 at 5:12 PM Viorel Dehelean <synologic at gmail.com> wrote:
> Hi to everybody,
>
> Is it possible to have multiple HLS outputs specified with
> different var_stream_map structures ?
>
> Thanks,
> Viorel
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
More information about the ffmpeg-user
mailing list