[FFmpeg-user] FW: ffmpeg report option - syntax error

Lukácsy Gergely Gergely.Lukacsy at streamnet.hu
Thu Jun 19 16:04:29 CEST 2014


Dear ffmpeg-users!

Recently, I'm trying to track down a bug, so I started to fiddle a little bit with the '-report' option, but I'm having problems with it. Perhabs it's just a dumb syntax error in my ffmpeg command, but I can't figure out what's wrong.
So the '-report' option alone works great, but it seems it doesn't really handle the arguments passed, as it's described on the ffmpeg manual page.
Inserting the following:

-report level="fatal":file="a.txt"

.will result the following error report:

"[NULL @ 0000000002bfed40] Unable to find a suitable output format for 'level=fatal:file=a.txt'
level=fatal:file=a.txt: Invalid argument"

Note, that the same syntax worked with configuring dshow devices (option -i), setting filters, etc.
Does the manual become outdated, or there's a bug with the '-report' option?

Here's a complete console output:

C:\>C:\ffmpeg-20140617-git-61df081-win64-static\bin\ffmpeg.exe -i C:\a.mp4 -report level="fatal":file="a.txt" -c:v wmv2 -b:v 2000k -c:a wmav2 -f asf a.asf
ffmpeg started on 2014-06-19 at 15:22:13
Report written to "ffmpeg-20140619-152213.log"
ffmpeg version N-64012-g61df081 Copyright (c) 2000-2014 the FFmpeg developers
  built on Jun 16 2014 22:09:25 with gcc 4.8.3 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-decklink --enable-zlib
  libavutil      52. 89.100 / 52. 89.100
  libavcodec     55. 67.100 / 55. 67.100
  libavformat    55. 43.100 / 55. 43.100
  libavdevice    55. 13.101 / 55. 13.101
  libavfilter     4.  8.100 /  4.  8.100
  libswscale      2.  6.100 /  2.  6.100
  libswresample   0. 19.100 /  0. 19.100
  libpostproc    52.  3.100 / 52.  3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\a.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf55.18.104
  Duration: 00:00:05.02, start: 0.023021, bitrate: 842 kb/s
    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 854x480, 742 kb/s, 25 fps, 25 tbr, 12800 tbn, 50
tbc (default)
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(und): Audio: mp3 (mp4a / 0x6134706D), 48000 Hz, stereo, s16p, 96 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
[NULL @ 0000000002bfed40] Unable to find a suitable output format for 'level=fatal:file=a.txt'
level=fatal:file=a.txt: Invalid argument

Thanks in advance!
Regards, Gergely L.



More information about the ffmpeg-user mailing list