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

Patrick Kirchner patrickkirchner at yahoo.com
Thu Nov 14 02:34:17 EET 2019


 

    On Tuesday, November 12, 2019, 8:31:09 PM CST, 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.

Try this:
'https\\://time.akamai.com\\?iso'



_______________________________________________ffmpeg-user mailing list
ffmpeg-user at ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".  


More information about the ffmpeg-user mailing list