[FFmpeg-user] NV12 devices/players compatibility
Hi All, I know this is not strictly related to FFMPEG but please don’t insult me I normally transcode using ffmpeg with h264_nvenc, that produces a NV12 output, then I convert it in pix_fmt yuv420p before chunking in HLS/DASH But this conversion, when I do “all in hardware” transcoding in multiple profiles forces me to create quite complex filters. So I’d like to simplify the filters and just use NV12 end to end. Does anybody know realisticly how many devices/players out there can actually play a NV12 stream? Thanks in advance, Cheers Alex ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] SCTE-35 implementation already (bounty)
> Looking for SCTE-35 pass through implementation: > Bounty of $2,500.00 USD (up to Oct 2020) > ___ I believe my company can add something of the top of the existing bounty for this feature Alex ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] harware encoding
> what i sthe best and most powerful / fast command to reencode a file like > this if I have intel I7 9700 processor and NVidia RTX 2060 16GB Ram Use a ffmpeg compiled with NVENC support and use -vcodec h264_nvenc ? Cheers Alex ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] (no subject)
> I am running this command [snip] Is there any way to limit this speed to a > standard 1x? Adding -re in the input stage of the command. ffmpeg -re -vaapi_device and so on. Cheers Alex ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Audio out of sync after many Non-monotonous DTS in output stream warning
> when I transcoding some live stream that comes from DVB, I got many warnings > bellow and after a few hours, the audio out of sync. Is it possible for you try with adding fifo_size ad the end on the input url like: -i udp://xxx.xxx.xxx.xxx:x?fifo_size=100 and add a filter to reframe/resample video and audio like: -filter_complex "[0:v]fps=25[vout];[0:a]aresample=48000[aout]" It usually work to me Alex ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] DELETE segments not working for HLS Push
> Can someone please confirm if this a bug, so that I can report it.. Are you sure the server is configure to support the DELETE method? Not at the moment, but recently I tested a similar scenario and everything worked as expected. But I definitely had to explicitly enable the DELETE method in the directory I was pushing the files. Alex ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] How to have a secure UDP BroadCast
I would go for SRT as well. It doesn't have a proper username/password method, but the passphrase mechanism implement should suffice. In addition to this it can also compensate a lot of network issues between transmitter and receiver that couldn't be compensated by UDP, and doesn't add a lot of latency like other authenticated protocols like RTMP or HLS. Alex -Original Message- From: ffmpeg-user On Behalf Of Dennis Mungai Sent: 19 August 2020 10:05 To: FFmpeg user questions Subject: Re: [FFmpeg-user] How to have a secure UDP BroadCast On Wed, 19 Aug 2020, 11:53 Alessandro Molon, wrote: > You simply cannot. UDP delivery is not meant to do that. > > There are other protocols that support authentication > If you provide a little bit more about what are your needs I can > suggest some. > > Alex > > -Original Message- > From: ffmpeg-user On Behalf Of hassan > shatnawi > Sent: 02 October 2017 09:12 > To: ffmpeg-user@ffmpeg.org > Subject: [FFmpeg-user] How to have a secure UDP BroadCast > > Dears, > > How to have a secure connection with username and password while > broadcasting "UPD" > > I've use this command > > ffmpeg -f dshow -video_size 1280x720 -rtbufsize 702000K -framerate 30 > -i video="Video (00-0 Pro Capture Quad HDMI)" -r 30 -threads 4 -vcodec > libx264 -crf 0 -preset ultrafast -f mpegts "udp:// > username:password@192.168.1.12:" > > but it didn't work can you advice me plz. > > Thanks in advance. > > *Hassan Shatnawi* > Software Developer > > *Software Development Department* > > > > *Haupshy Establishment for Electronics* > > Al Madina Al Monawara St. bld 31 | P.O.Box 6875 Amman 8, Jordan. > > *T: *+962 6 5820 927* | F: *+962 6 5820 926* | M: *+962 78 5792 096 > > *E*: has...@haupshy.com *|* www.haupshy.com > ___ > The closest there is to your requirements, ie: (a). A container format with support for timestamps such as mpegts (b). Capabilities similar to UDP Would be Haivision's SRT, which FFmpeg supports if enabled on build time via --enable-libsrt. SRT allows for optional encryption, whose details can be viewed via ffmpeg -h protocol=srt. Note that depending on your application requirements, you'll need to ensure that your receiver can handle SRT input, OR use FFmpeg to handle SRT TX and Rx in the network segment where such content security is desired. Hope that helps. > ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] How to have a secure UDP BroadCast
You simply cannot. UDP delivery is not meant to do that. There are other protocols that support authentication If you provide a little bit more about what are your needs I can suggest some. Alex -Original Message- From: ffmpeg-user On Behalf Of hassan shatnawi Sent: 02 October 2017 09:12 To: ffmpeg-user@ffmpeg.org Subject: [FFmpeg-user] How to have a secure UDP BroadCast Dears, How to have a secure connection with username and password while broadcasting "UPD" I've use this command ffmpeg -f dshow -video_size 1280x720 -rtbufsize 702000K -framerate 30 -i video="Video (00-0 Pro Capture Quad HDMI)" -r 30 -threads 4 -vcodec libx264 -crf 0 -preset ultrafast -f mpegts "udp://username:password@192.168.1.12:" but it didn't work can you advice me plz. Thanks in advance. *Hassan Shatnawi* Software Developer *Software Development Department* *Haupshy Establishment for Electronics* Al Madina Al Monawara St. bld 31 | P.O.Box 6875 Amman 8, Jordan. *T: *+962 6 5820 927* | F: *+962 6 5820 926* | M: *+962 78 5792 096 *E*: has...@haupshy.com *|* www.haupshy.com ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] FFMPEG endlessly increases memory usage over time with HLS packaging.
Actually I have several machines in production (dual Xeon 5620 - 32GB - Nvidia P2000) that are running 14 ffmpeg process each, all decoding Full HD mpegts and transcoding them in 4 different profiles each (HD/SD/SDh/SDq) and to be honest they work like a sharm and are also very stable. Based on this experience I actually expected, just to repacketize pre-encoded content in HLS, to run at least 40/45 (even more) process per machine Let me go ahead with my experiments, I'll be more than happy to produce the results. Alex -Original Message- From: ffmpeg-user On Behalf Of Carl Eugen Hoyos Sent: 25 June 2020 22:19 To: FFmpeg user questions Subject: Re: [FFmpeg-user] FFMPEG endlessly increases memory usage over time with HLS packaging. Am Do., 25. Juni 2020 um 20:39 Uhr schrieb Alessandro Molon : > Let's see what happens if I run 20 processes for few days... On most hardware, you cannot run 20 (real-life) FFmpeg processes for a few days but if there is constantly increasing memory footprint or a memory leak, one process should be sufficient to show it. Please find out what top-posting means and avoid it here, Carl Eugen ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] FFMPEG endlessly increases memory usage over time with HLS packaging.
Apparently you think that the constantly increasing amount of "Used" memory in my case falls in the case described as: Memory that is: used, but can be made available You’d call it: Free (or Available) Linux calls it: Used (and Available) Let's see what happens if I run 20 processes for few days... Cheers, Alex -Original Message- From: ffmpeg-user On Behalf Of Carl Eugen Hoyos Sent: 25 June 2020 07:28 To: FFmpeg user questions Subject: Re: [FFmpeg-user] FFMPEG endlessly increases memory usage over time with HLS packaging. > Am 25.06.2020 um 02:38 schrieb Alessandro Molon : > > I would like to use ffmpeg as live HLS ABR packager and use /dev/shm to store > playlist and chunks in RAMDISK. > But unfortunately I’ve noticed that ffmpeg constantly increase the memory > used until it saturates it. No. At least both your „free“ and „valgrind“ output indicate the opposite (as does the word „saturate“ above). Please read up about the columns „free“, „used“ and „available“ of free console output. https://www.linuxatemyram.com/ Carl Eugen ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
[FFmpeg-user] FFMPEG endlessly increases memory usage over time with HLS packaging.
Hi All, I would like to use ffmpeg as live HLS ABR packager and use /dev/shm to store playlist and chunks in RAMDISK. But unfortunately I’ve noticed that ffmpeg constantly increase the memory used until it saturates it. the script does basically this steps: mkdir -p /dev/shm/live/test cd /dev/shm/live/test /usr/bin/ffmpeg -i udp://239.239.239.109:4000?fifo_size=100 -i udp:// 239.239.239.109:3000?fifo_size=100 -i udp:// 239.239.239.109:2000?fifo_size=100 -i udp:// 239.239.239.109:5000?fifo_size=100 -i udp:// 239.239.239.109:6000?fifo_size=100 -c copy -b:v:0 1400k -b:v:1 700k -b:v:2 300k -b:a:0 128k -b:a:1 64k -b:a:2 64k -b:v:3 2500k -b:v:4 3200k -b:a:3 128k -b:a:4 128k -map 0:v -map 0:a -map 1:v -map 1:a -map 2:v -map 2:a -map 3:v -map 3:a -map 4:v -map 4:a -f hls -master_pl_name index.m3u8 -var_stream_map v:0,a:0,name:SD v:1,a:1,name:SDh v:2,a:2,name:SDq v:3,a:3,name:HD v:4,a:4,name:FHD -hls_time 10 -hls_list_size 6 -hls_flags delete_segments -hls_segment_filename test-%v/chunk-%08d.ts test-%v/playlist.m3u8 Then, this is the result of the free command as soon I launch the script: totalusedfree shared buff/cache available Mem: 32924468 670052299912683788 226314831781984 Swap: 8388604 0 8388604 This is the same result after 4 minutes: totalusedfree shared buff/cache available Mem: 32924468 108980429504504 70348 233016031295808 Swap: 8388604 0 8388604 This is after 7 minutes: totalusedfree shared buff/cache available Mem: 32924468 122409629360344 78540 234002831153156 Swap: 8388604 0 8388604 This is after 10 minutes: totalusedfree shared buff/cache available Mem: 32924468 13384922925 64832 232708831052356 Swap: 8388604 0 8388604 Here after 14: totalusedfree shared buff/cache available Mem: 32924468 138988029211896 60160 232269231005696 Swap: 8388604 0 8388604 Here after 30: totalusedfree shared buff/cache available Mem: 32924468 151603628879424 111332 252900830825508 Swap: 8388604 0 8388604 Please bear in mind that as a matter of test, I’ve also tried to store the files in a SSD but the outcome was basically the same. As you can see the memory usage constantly increases, and it ends up exhausting all the memory. The only way to release the memory in use is to kill the script and run it again. Any suggestion on how to limit the memory usage? For now I’m killing each ffmpeg process when it reaches a specific amount of memory used, but obviously this interrupts the stream. The executable is the one distributed with Ubuntu 20.04LTS, here its manifest: ffmpeg version 4.2.2-1ubuntu1 Copyright (c) 2000-2019 the FFmpeg developers built with gcc 9 (Ubuntu 9.3.0-3ubuntu1) configuration: --prefix=/usr --extra-version=1ubuntu1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-nvenc --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared And, finally, I’ve tried to run the same command line for 600 seconds with valgrind and it doesn’t seem to leak so much…. These are the results: valgrind --leak-check=yes /usr/bin/ffmpeg -v quiet -i udp://239.5.208.109:4000?fifo_size=100 -i udp://239.5.208.109:3000?fifo_size=100 -i udp://239.5.208.109:2000?fifo_size=100 -i udp://239.5.208.109:5000?fifo_size=100 -i udp://239.5.208.109:6000?fifo_size=100 -c copy -b:v:0 1400k -b:v:1 700k -b:v:2 300k -b:a:0 128k -b:a:1 64k -b:a:2 64k -b:v:3 2500k -b:v:4 3200k -b:a:3 128k -b:a:4 128k
Re: [FFmpeg-user] SCTE-35 passthrough in transcoding process
HI All, Devin I would be really interested in your patches, SCTE-35 is a topic that I'm really interested to . Thanks Alex -Original Message- From: ffmpeg-user On Behalf Of Devin Heitmueller Sent: 21 January 2020 14:21 To: FFmpeg user questions Subject: Re: [FFmpeg-user] SCTE-35 passthrough in transcoding process > That’s what we were seeing from our searching as well. I do know that there > are vendors that output cable channels after decryption with a cable card, > with SCTE-35 that are using FFMPEG in the backend code. Silicon Dust with the > now discontinued PRIME units for an example. Does anyone know how this is > being facilitated? With some custom code it isn't hard to pass through SCTE-35 triggers, largely dependent on whether you are reusing the stream timing from the original incoming stream. If your output stream as the same timestamps as the incoming stream (i.e. using -copy_ts), then you can essentially just copy the packet to the output unmodified without having to parse the SCTE-35 payload. However if you're retiming the stream then you need to parse the packet, adjust the pts_offset field, and then create a new packet. And of course you need to modify the MPEG TS mux to adjust the PMT and create the table sections, since SCTE-35 is done through tables as opposed to through an elementary stream containing PES packets. I've got patches which do this but they aren't upstream. Devin -- Devin J. Heitmueller - Kernel Labs http://www.kernellabs.com ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] HLS setting NAME in EXT-X-MEDIA
Thanks Ted, It's exactly what I'm doing. I'm rewriting the master playlist on the fly with NGINX. The strange thing is that audio_1 and so on are arbitrary names set by ffmpeg by itself so I really don't understand if this is a expected behaviour or some flaw in the muxer design or a bug. It would be nice if this feature was properly implemented in ffmpeg Alex -Original Message- From: ffmpeg-user On Behalf Of Ted Park Sent: 21 January 2020 13:15 To: FFmpeg user questions Subject: Re: [FFmpeg-user] HLS setting NAME in EXT-X-MEDIA > Yes, both JWPlayer and VideJS show the content of the NAME value. > And obviously I would prefer to decide what is shown, rather than audio_1, > audio_2 and so on. > > Alex I think either because you are using the audio group id to map the variants or because you provide name attribute for the video streams too the name is not being handled properly (name isn’t defined for ext-stream-inf). As you say name is supposed to be a human readable description but it is used as a suffix index by hls muxer, you should edit the master playlist after it is written with another tool if you want to add it. ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] HLS setting NAME in EXT-X-MEDIA
Hi Moritz, JWPlayer honors the NAME information, and totally ignores the MPEGTS metadata. So I believe being able to set the NAME field would be quite important. Alex -Original Message- From: ffmpeg-user On Behalf Of Moritz Barsnick Sent: 21 January 2020 10:58 To: FFmpeg user discussions Subject: Re: [FFmpeg-user] HLS setting NAME in EXT-X-MEDIA On Tue, Jan 21, 2020 at 09:35:57 +, Alessandro Molon wrote: > Does anybody know If there is a way to set a specific value of NAME in > EXT-X-MEDIA with the HLS muxer? From looking at the source code, I can tell you that those NAMEs are basically hardcoded, i.e. determined by ffmpeg. > I would like to be able to set the value with something else, eg. the > language (NAME="English" or NAME="French") but I didn't find any > information about that. Are there players which show these names? And which don't show you language information at the same time? Cheers, Moritz ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] HLS setting NAME in EXT-X-MEDIA
Yes, both JWPlayer and VideJS show the content of the NAME value. And obviously I would prefer to decide what is shown, rather than audio_1, audio_2 and so on. Alex -Original Message- From: ffmpeg-user On Behalf Of Moritz Barsnick Sent: 21 January 2020 10:58 To: FFmpeg user discussions Subject: Re: [FFmpeg-user] HLS setting NAME in EXT-X-MEDIA On Tue, Jan 21, 2020 at 09:35:57 +, Alessandro Molon wrote: > Does anybody know If there is a way to set a specific value of NAME in > EXT-X-MEDIA with the HLS muxer? From looking at the source code, I can tell you that those NAMEs are basically hardcoded, i.e. determined by ffmpeg. > I would like to be able to set the value with something else, eg. the > language (NAME="English" or NAME="French") but I didn't find any > information about that. Are there players which show these names? And which don't show you language information at the same time? Cheers, Moritz ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
[FFmpeg-user] HLS setting NAME in EXT-X-MEDIA
Hi Guys, Does anybody know If there is a way to set a specific value of NAME in EXT-X-MEDIA with the HLS muxer? My command line is: /usr/src/ffmpeg-4.2.2/ffmpeg -hwaccel cuvid -c:v h264_cuvid -i INPUT.ts \ -filter_complex "[0]split=5[inter-SD][inter-SDh][inter-FHD][inter-HD][inter-SDq];[inter-SD]hwupload,scale_npp=640:480:format=yuv420p,hwdownload[vout-SD];[inter-SDh]hwupload,scale_npp=480:320:format=yuv420p,hwdownload[vout-SDh];[inter-FHD]hwupload,scale_npp=1920:1080:format=yuv420p,hwdownload[vout-FHD];[inter-HD]hwupload,scale_npp=1280:720:format=yuv420p,hwdownload[vout-HD];[inter-SDq]hwupload,scale_npp=320:240:format=yuv420p,hwdownload[vout-SDq]" \ -c:v h264_nvenc -preset:v fast -g:v 50 -flags +cgop -c:a aac \ -map [vout-SD] -map [vout-SDh] -map [vout-FHD] -map [vout-HD] -map [vout-SDq] \ -b:v:0 800k \ -b:v:1 500k \ -b:v:2 2000k -profile:v:2 high -level:v:2 4.1 \ -b:v:3 1200k -profile:v:3 high -level:v:3 4.1 \ -b:v:4 300k \ -map 0:a:0 -map 0:a:0 -map 0:a:1 -map 0:a:1 \ -b:a:0 128k -b:a:1 64k -b:a:2 128k -b:a:3 64k \ -metadata:s:a:0 language=eng -metadata:s:a:1 language=eng \ -metadata:s:a:2 language=fre -metadata:s:a:3 language=fre \ -var_stream_map "a:0,agroup:HIGH_BR,language:ENG,name:audio_en_hi a:2,agroup:HIGH_BR,language:FRE,name:audio_fr_hi a:1,agroup:LOW_BR,language:ENG,name:audio_en_lo a:3,agroup:LOW_BR,language:FRE,name:audio_fr_lo v:0,agroup:LOW_BR,name:Video_SD v:1,agroup:LOW_BR,name:Video_SDh v:2,agroup:HIGH_BR,name:Video_FHD v:3,agroup:HIGH_BR,name:Video_HD v:4,agroup:LOW_BR,name:Video_SDq" \ -f hls -hls_playlist_type vod -hls_time 10 -hls_list_size 0 -hls_allow_cache 1 -master_pl_name master.m3u8 \ -hls_segment_filename alextest1/%v/chunk-%08d.ts alextest1/%v/playlist.m3u8 The comman more or less does what I need, but the NAME value is always set as "audio_1, audio_2" and so on. #EXTM3U #EXT-X-VERSION:3 #EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="group_HIGH_BR",NAME="audio_0",DEFAULT=YES,LANGUAGE="ENG",URI="AEN128/playlist.m3u8" #EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="group_HIGH_BR",NAME="audio_1",DEFAULT=NO,LANGUAGE="FRE",URI="AFR128/playlist.m3u8" #EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="group_LOW_BR",NAME="audio_2",DEFAULT=NO,LANGUAGE="ENG",URI="AEN64/playlist.m3u8" #EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="group_LOW_BR",NAME="audio_3",DEFAULT=NO,LANGUAGE="FRE",URI="AFR64/playlist.m3u8" #EXT-X-STREAM-INF:BANDWIDTH=950400,RESOLUTION=640x480,CODECS="avc1.4d401e,mp4a.40.2",AUDIO="group_LOW_BR" Video_SD/playlist.m3u8 #EXT-X-STREAM-INF:BANDWIDTH=620400,RESOLUTION=480x320,CODECS="avc1.4d4015,mp4a.40.2",AUDIO="group_LOW_BR" Video_SDh/playlist.m3u8 #EXT-X-STREAM-INF:BANDWIDTH=2340800,RESOLUTION=1920x1080,CODECS="avc1.640029,mp4a.40.2",AUDIO="group_HIGH_BR" Video_FHD/playlist.m3u8 #EXT-X-STREAM-INF:BANDWIDTH=1460800,RESOLUTION=1280x720,CODECS="avc1.640029,mp4a.40.2",AUDIO="group_HIGH_BR" Video_HD/playlist.m3u8 #EXT-X-STREAM-INF:BANDWIDTH=400400,RESOLUTION=320x240,CODECS="avc1.4d400d,mp4a.40.2",AUDIO="group_LOW_BR" Video_SDq/playlist.m3u8 I would like to be able to set the value with something else, eg. the language (NAME="English" or NAME="French") but I didn't find any information about that. Thanks in advance Alex Molon ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".