[FFmpeg-trac] #5880(ffprobe:new): ffprobe outputs into STDERR; should be to STDOUT

FFmpeg trac at avcodec.org
Sat Oct 8 12:28:09 EEST 2016


#5880: ffprobe outputs into STDERR; should be to STDOUT
-------------------------------------+-------------------------------------
             Reporter:  Technologov  |                     Type:  defect
               Status:  new          |                 Priority:  minor
            Component:  ffprobe      |                  Version:  git-
             Keywords:               |  master
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------
 Summary of the bug:
 ffprobe must use standard UNIX syntax of STDOUT when creating a file
 report, so that standard redirection works.
 using STDERR is wrong. STDOUT must be used for all informative data.

 Bug happens with ffmpeg-git N-81947-gc45ba26-1 as well as v3.1.2 on Linux
 x64

 How to reproduce:
 {{{
 % fffprobe /media/sf_F_DRIVE/Test-video-coding/Harmonic_Rally/Harmonic\
 Rally\ HD720p.mp4 > /tmp/abc.txt
 ffprobe version N-81947-gc45ba26-1 Copyright (c) 2007-2016 the FFmpeg
 developers
   built with gcc 6.1.1 (Debian 6.1.1-11) 20160802
   configuration: --extra-version=1 --toolchain=hardened
 --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu
 --cc=cc --cxx=g++ --enable-gpl --enable-shared --disable-stripping
 --disable-decoder=libopenjpeg --disable-decoder=libschroedinger --enable-
 avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-
 libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-
 libcdio --enable-libebur128 --enable-libflite --enable-libfontconfig
 --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm
 --enable-libmodplug --enable-libmp3lame --enable-libopus --enable-libpulse
 --enable-librubberband --enable-librtmp --enable-libschroedinger --enable-
 libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-
 libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-
 libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-
 libxvid --enable-libzvbi --enable-openal --enable-opengl --enable-x11grab
 --enable-libdc1394 --enable-libiec61883 --enable-libzmq --enable-frei0r
 --enable-chromaprint --enable-libopencv --enable-libx264
   libavutil      55. 32.100 / 55. 32.100
   libavcodec     57. 61.100 / 57. 61.100
   libavformat    57. 51.103 / 57. 51.103
   libavdevice    57.  0.102 / 57.  0.102
   libavfilter     6. 63.100 /  6. 63.100
   libavresample   3.  0.  0 /  3.  0.  0
   libswscale      4.  1.100 /  4.  1.100
   libswresample   2.  2.100 /  2.  2.100
   libpostproc    54.  0.100 / 54.  0.100
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/media/sf_F_DRIVE/Test-video-
 coding/Harmonic_Rally/Harmonic Rally HD720p.mp4':
   Metadata:
     major_brand     : mp42
     minor_version   : 0
     compatible_brands: isommp42
     creation_time   : 2016-08-22T08:06:36.000000Z
   Duration: 00:00:59.40, start: 0.000000, bitrate: 2333 kb/s
     Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv,
 bt709), 1280x720 [SAR 1:1 DAR 16:9], 2204 kb/s, 29.91 fps, 29.92 tbr, 90k
 tbn, 59.82 tbc (default)
     Metadata:
       creation_time   : 2016-08-22T08:06:36.000000Z
       handler_name    : ISO Media file produced by Google Inc.
     Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz,
 stereo, fltp, 125 kb/s (default)
     Metadata:
       creation_time   : 2016-08-22T08:06:36.000000Z
       handler_name    : ISO Media file produced by Google Inc.
 }}}

 Patches should be submitted to the ffmpeg-devel mailing list and not this
 bug tracker.

 -Technologov, 08.10.2016.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/5880>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list