[libav-bugs] [Bug 694] New: avconv does not print output formats (prints only encoding libraries)

bugzilla at libav.org bugzilla at libav.org
Fri May 30 08:57:22 CEST 2014


https://bugzilla.libav.org/show_bug.cgi?id=694

           Summary: avconv does not print output formats (prints only
                    encoding libraries)
           Product: Libav
           Version: git HEAD
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: general
        AssignedTo: bugzilla at libav.org
        ReportedBy: nikoli at gmx.us


When encoding avconv prints encoder libraries names, but does not print to
which formats these libraries are encoding.
Example: libvpx supports encoding to both vp8 and vp9, but avconv does not
indicate in user friendly form which format it is using. Video output format is
not known until user runs avprobe or reads 'avconv -codecs|grep -i libvpx' and
finds that for vp9 format libvpx-vp9 encoder name is used in libav.

Please print both output formats and used encoders.

Also current outputs of avconv and avprobe are inconsistent:
avconv prints 'Stream #number: type: encoder,'
avprobe prints 'Stream #number: type: format,'

I think it is more correct to use avprobe style in avconv too.


Original CLIs outputs:

$ avconv -i sample.mkv t.webm
avconv version 10.1, Copyright (c) 2000-2014 the Libav developers
  built on May 29 2014 20:56:53 with gcc 4.7.3 (Gentoo Hardened 4.7.3-r1 p1.4,
pie-0.5.5)
Input #0, matroska,webm, from 'sample.mkv':
  Duration: 00:04:29.56, start: 0.000000, bitrate: N/A
    Stream #0.0: Video: h264 (High), yuv420p, 688x576, PAR 172:121 DAR
1849:1089, 25 fps, 1k tbn, 50 tbc (default)
    Stream #0.1(eng): Audio: aac, 48000 Hz, 5.1, fltp
[libvpx @ 0x44b22d1100] v1.3.0
Output #0, webm, to 't.webm':
  Metadata:
    encoder         : Lavf55.12.0
    Stream #0.0: Video: libvpx, yuv420p, 688x576 [PAR 172:121 DAR 1849:1089],
q=-1--1, 200 kb/s, 1k tbn, 1k tbc (default)
    Stream #0.1(eng): Audio: libvorbis, 48000 Hz, 5.1, fltp
Stream mapping:
  Stream #0:0 -> #0:0 (h264 -> libvpx)
  Stream #0:1 -> #0:1 (aac -> libvorbis)
Press ctrl-c to stop encoding
frame= 6739 fps= 21 q=0.0 Lsize=   14649kB time=269.52 bitrate= 445.2kbits/s    
video:0kB audio:0kB global headers:7kB muxing overhead 203874.859375%

$ avprobe t.webm 
avprobe version 10.1, Copyright (c) 2007-2014 the Libav developers
  built on May 29 2014 20:56:53 with gcc 4.7.3 (Gentoo Hardened 4.7.3-r1 p1.4,
pie-0.5.5)
Input #0, matroska,webm, from 't.webm':
  Duration: 00:04:29.56, start: 0.000000, bitrate: N/A
    Stream #0.0: Video: vp8, yuv420p, 688x576, PAR 71:50 DAR 3053:1800, 1k fps,
1k tbn (default)
    Stream #0.1(eng): Audio: vorbis, 48000 Hz, 5.1, fltp
# avprobe output


I suggest to change avconv output to this:
...
Output #0, webm, to 't.webm':
  Metadata:
    encoder         : Lavf55.12.0
    Stream #0.0: Video: vp8, yuv420p, 688x576 [PAR 172:121 DAR 1849:1089],
q=-1--1, 200 kb/s, 1k tbn, 1k tbc (default)
    Stream #0.1(eng): Audio: vorbis, 48000 Hz, 5.1, fltp
Stream mapping:
  Stream #0:0 -> #0:0 (h264 -> vp8:libvpx)
  Stream #0:1 -> #0:1 (aac -> vorbis:libvorbis)

-- 
Configure bugmail: https://bugzilla.libav.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the libav-bugs mailing list