[FFmpeg-devel] [PATCH] doc/muxers: fix typo of the hls var_stream_map example

Gyan ffmpeg at gyani.pro
Sun Jun 2 16:29:52 EEST 2019



On 02-06-2019 06:44 PM, Steven Liu wrote:
> Signed-off-by: Steven Liu <lq at chinaffmpeg.org>
> ---
>   doc/muxers.texi | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/doc/muxers.texi b/doc/muxers.texi
> index 7f3758b117..46580091ba 100644
> --- a/doc/muxers.texi
> +++ b/doc/muxers.texi
> @@ -995,7 +995,7 @@ By default, a single hls variant containing all the encoded streams is created.
>   @example
>   ffmpeg -re -i in.ts -b:a:0 32k -b:a:1 64k -b:v:0 1000k \
>     -map 0:a -map 0:a -map 0:v -f hls \
> -  -var_stream_map "a:0,agroup:aud_low,default:yes,language=ENG a:1,agroup:aud_low,language:CHN v:0,agroup:aud_low" \
> +  -var_stream_map "a:0,agroup:aud_low,default:yes,language:ENG a:1,agroup:aud_low,language:CHN v:0,agroup:aud_low" \
>     -master_pl_name master.m3u8 \
>     http://example.com/live/out_%v.m3u8
>   @end example

LGTM.

Also, you can correct the comment on line 1833 of hlsenc.c

defalut --> default

Gyan


More information about the ffmpeg-devel mailing list