diff options
author | Sami Hult <sami.hult@gmail.com> | 2016-07-08 12:53:15 +0000 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2016-07-10 00:36:49 +0200 |
commit | d4c8e931903a2b13cf0ccf454a705f688d3d467b (patch) | |
tree | 25afb58e8c02374ffd722b5b5462d665608ccb8a /ffmpeg_opt.c | |
parent | e98ab799be9c5f0ab001729dc0ce2737cc2ae7da (diff) | |
download | ffmpeg-d4c8e931903a2b13cf0ccf454a705f688d3d467b.tar.gz |
Changed metadata print option to accept general urls
This is an - once again - updated patch, that uses avio_write instead
of avio_puts to stream clean text output without null characters. Works
now for me as intended.
Changes metadata filter to accept general urls as file argument without
breaking former behaviour. As a byproduct, it also allows for writing to
file "-" if specified as "file:-".
Example:
ffmpeg -i test.wav -filter_complex "silencedetect=n=-40dB:d=0.1,ametadata=mode=print:file='pipe\:4'" -f null
Signed-off-by: Sami Hult <sami.hult@gmail.com>
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'ffmpeg_opt.c')
0 files changed, 0 insertions, 0 deletions