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

Dennis Mungai dmngaie at gmail.com
Wed Nov 13 14:24:25 EET 2019


On Wed, 13 Nov 2019 at 05:26, Dennis Mungai <dmngaie at gmail.com> wrote:
>
> On Wed, 13 Nov 2019 at 05:23, Dennis Mungai <dmngaie at gmail.com> wrote:
> >
> > 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.
>
> I'll try using triple backslashes to escape, like this:
> https://stackoverflow.com/a/45495184/4675388
> And report back.

Well, I'll be damned. Triple escaping works.


More information about the ffmpeg-user mailing list