#10360 closed defect (fixed)

Can't use colon in format_opts

Reported by: Aaron Owned by:
Priority: normal Component: avfilter
Version: 5.1.3 Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Can't escape colon when using format_opts in ffprobe.

% ffprobe -hide_banner -loglevel error -f lavfi amovie='http\\://example.com/123.mp4':format_opts=referer='http\\://a.com' -print_format json=c=1

Getting next error:

[(a)movie @ 0x7f73eff3aec0] Error setting option format_opts to value referer=http://a.com.
[Parsed_amovie_0 @ 0x7f73eff3fec0] Error applying options to the filter.
[lavfi @ 0x7f73f1625680] Error initializing filter 'amovie' with args 'http\://example.com/123.mp4:format_opts=referer=http\://a.com'
amovie=http\\://example.com/123.mp4:format_opts=referer=http\\://a.com: Invalid argument

Change History (2)

comment:1 by Aaron, 21 months ago

Ok, right code solution

ffprobe -hide_banner -loglevel error -f lavfi amovie='http\\://example.com/123.mp4':format_opts=referer='http\\\\\\://a.com' -print_format json=c=1

comment:2 by Aaron, 21 months ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.