Re: [FFmpeg-user] Capturing the output of volumedetect as JSON

2018-10-03 Thread redneb8888
On Wed, Oct 3, 2018 at 8:36 PM Paul B Mahol wrote: > > On 10/3/18, redneb wrote: > > Hi *, > > > > ffprobe can nowadays produce JSON output, which is quite convenient > > sometimes. I am trying to use that feature in order to get the output > > of volumed

[FFmpeg-user] Capturing the output of volumedetect as JSON

2018-10-03 Thread redneb8888
Hi *, ffprobe can nowadays produce JSON output, which is quite convenient sometimes. I am trying to use that feature in order to get the output of volumedetect as JSON. I tried the following: ffprobe -loglevel error -of json=c=1 -show_entries root -f lavfi -i

[FFmpeg-user] How to find the time base of stream

2015-12-03 Thread redneb8888
Hi, I am looking for a way to find the time base of a stream (video or audio), i.e. the unit of time that is used to express values such as the start_pts parameter of the (a)trim filter. I would like to accomplish that using the ffmpeg command-line tool (i.e. no C api). Is there a way to do that?