Re: [FFmpeg-devel] [PATCH] Changed metadata print option to accept general urls

2016-07-09 Thread Michael Niedermayer
On Sat, Jul 09, 2016 at 10:16:20PM +0200, Paul B Mahol wrote: > On 7/8/16, sami.h...@gmail.com wrote: > > From: Sami Hult > > > > 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 int

Re: [FFmpeg-devel] [PATCH] Changed metadata print option to accept general urls

2016-07-09 Thread Paul B Mahol
On 7/8/16, sami.h...@gmail.com wrote: > From: Sami Hult > > 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

[FFmpeg-devel] [PATCH] Changed metadata print option to accept general urls

2016-07-08 Thread sami . hult
From: Sami Hult 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,

Re: [FFmpeg-devel] [PATCH] Changed metadata print option to accept general urls

2016-07-08 Thread Paul B Mahol
On 7/8/16, sami.h...@gmail.com wrote: > From: Sami Hult > > This is an updated patch, that removes a debug-purposed printf that I > accidentally left. > > Changes metadata filter to accept general urls as file argument without > breaking former behaviour. As a byproduct, it also allows for writin

[FFmpeg-devel] [PATCH] Changed metadata print option to accept general urls

2016-07-08 Thread sami . hult
From: Sami Hult This is an updated patch, that removes a debug-purposed printf that I accidentally left. 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-devel] [PATCH] Changed metadata print option to accept general urls

2016-06-29 Thread sami . hult
From: Sami Hult NOTE This is a new patch against the latest master branch. It fixes an error in code where "file:-" was directed to file descriptor 2 instead of 1. I changed mode=print file handling of metadata filter to accept any ffmpeg url. This way multiple streams can for example be silenc

[FFmpeg-devel] [PATCH] Changed metadata print option to accept general urls

2016-06-27 Thread sami . hult
From: Sami Hult --- Changelog| 1 + doc/filters.texi | 23 +-- libavfilter/f_metadata.c | 48 3 files changed, 46 insertions(+), 26 deletions(-) diff --git a/Changelog b/Changelog index 4a85925..854109

Re: [FFmpeg-devel] [PATCH] Changed metadata print option to accept general urls

2016-06-25 Thread Michael Niedermayer
On Thu, Jun 23, 2016 at 12:14:47AM +, sami.h...@gmail.com wrote: > From: Sami Hult > > I changed output=print file handling of metadata filter to accept any ffmpeg > url. This way multiple streams can for example be silencedetected and the > result directed to different outputs. > > Exampl

[FFmpeg-devel] [PATCH] Changed metadata print option to accept general urls

2016-06-22 Thread sami . hult
From: Sami Hult I changed output=print file handling of metadata filter to accept any ffmpeg url. This way multiple streams can for example be silencedetected and the result directed to different outputs. Example: ffmpeg -i test.wav -filter_complex "silencedetect=n=-40dB:d=0.1,ametadata=mode