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

Dennis Mungai dmngaie at gmail.com
Wed Nov 13 04:23:16 EET 2019


On Mon, 11 Nov 2019 at 15:14, Moritz Barsnick <barsnick at gmx.net> wrote:
>
> 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

Hmm, no dice. Both options result in the same error as before.


More information about the ffmpeg-user mailing list