[FFmpeg-user] How to escape a URL passed to the underlying dash muxer via tee

Moritz Barsnick barsnick at gmx.net
Mon Nov 11 14:14:39 EET 2019


On Mon, Nov 11, 2019 at 11:46:16 +0300, Dennis Mungai wrote:
> How should one escape a URL passed to the underlying DASH muxer via tee?
>
> Here's the string I use from within a BASH script setting the muxer options:
>
> DASHOPTS='use_fifo=1:fifo_options=attempt_recovery=1:f=dash:seg_duration=6:window_size=6:utc_timing_url="https://time.akamai.com/?iso"'
>
> Doing so results in this:
>
> [tee @ 0x55746a001640] No option found near "//time.akamai.com/?iso"

This indicates that the ':' in the URL was recognized as an option
delimiter.

You could try adding a backslash before that colon. Or possibly this
will work:
DASHOPTS="use_fifo=1:fifo_options=attempt_recovery=1:f=dash:seg_duration=6:window_size=6:utc_timing_url='https://time.akamai.com/?iso'"
(i.e. using single quotes within the option string that ffmpeg actually
receives).

Cheers,
Moritz


More information about the ffmpeg-user mailing list