[FFmpeg-user] Question for using blackdetect video filter

Wu-bin Zhen vvubin at gmail.com
Fri Jan 25 22:10:11 CET 2013


Thanks for the quick reply. I am using live http streaming, so it won't
stop transferring data as long as the connection is alive. I was trying to
compare logs from your http source and mine, and found that one of
differences is the duration and bitrate. Just for your information, the
silencedetect filter works fine with both static file and (live) http
streaming.

----------- My sample ------------
Input #0, flv, from 'http://<local_streaming_server>/blackvideo.flv':
  Duration: 00:00:00.00, start: 0.000000, bitrate: N/A     <--   no
duration because there is no end for the live streaming
    Stream #0:0: Video: h264 (Main), yuvj420p, 1280x720 [SAR 1:1 DAR 16:9],
2000 kb/s, 30 tbr, 1k tbn, 30 tbc
    Stream #0:1: Audio: pcm_s16le, 44100 Hz, mono, s16, 705 kb/s

----------- Your sample -----------
  Duration: 00:00:43.58, start: 0.000000, bitrate: 580 kb/s
    Stream #0:0(eng): Video: svq3 (SVQ3 / 0x33515653), yuvj420p, 320x240,
391 kb/s, 30.02 fps, 30 tbr, 600 tbn, 600 tbc
    Stream #0:1(eng): Audio: adpcm_ima_qt (ima4 / 0x34616D69), 44100 Hz,
mono, s16p, 176 kb/s

Thanks.

On Fri, Jan 25, 2013 at 3:14 PM, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:

> Wu-bin Zhen <vvubin <at> gmail.com> writes:
>
> > Actually my input source is a http stream, not a static file.
> > After few more tests I found that blackdetect works fine
> > with a static file but not with a http stream.
>
> The following produces identical output here
> for the http stream and a local file:
> § ffmpeg -loglevel info -i
> http://samples.ffmpeg.org/V-codecs/SVQ3/Vertical400kbit.sorenson3.mov -vf
> blackdetect=d=0.1 -f null -
>
> Carl Eugen
>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>


More information about the ffmpeg-user mailing list