Bug#810224: /usr/bin/avconv: ogg format: unable to use pass and quality? options together

wim wim.bertels at khleuven.be
Thu Jan 7 13:10:59 UTC 2016


Package: libav-tools
Version: 6:11.4-1~deb8u1
Severity: normal
File: /usr/bin/avconv

Hallo,

First:
i'm not a regular user of avconv,
but didn't find any clear answers;
so ignore this report if u know better

Analog to
https://gist.github.com/zipizap/05dbfbb93b3486186287
i tried to compress video files the free open format ogv (theora + vorbis)

First when trying to convert in two steps:
"
avconv    -i "$INPUT_FILE" -threads auto -c:v libtheora -pass 1 -an -f ogg -y "$OUTPUT"
avconv    -i "$INPUT_FILE" -threads auto -c:v libtheora -pass 2 -c:a libvorbis -y "$OUTPUT"
"
this does not accept the -q:v 1 and -q:a 1 options (or -b:a -b:v options)

But:
"
avconv    -i "$INPUT_FILE" -threads auto -c:v libtheora -q:v 1 -c:a libvorbis -q:a 1 -y "$OUTPUT"
"
does
 
Further: looking at the process output cmdline:
"
Output #0, ogg, to 'out.ogv':
  Metadata:
    encoder         : Lavf56.1.0
    Stream #0.0: Video: libtheora, yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 10.67 fps, 10.67 tbn, 10.67 tbc
"
does not show the asked quality (2-31 is shown instead)

Examining with exiftool:
the files with different q options differ in size and metadata,
as is to be expected

Conclusion:
the man page and doc files are not easy to use in this case or the implementation is missing some features

I also noticed that this seems to be singletreaded (in contrast to the analog code in gist, 
which i also ran, and is multitreaded)

hth,
Wim

-- System Information:
Debian Release: 8.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=nl_BE.utf8, LC_CTYPE=nl_BE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libav-tools depends on:
ii  dpkg             1.17.26
ii  libavcodec56     6:11.4-1~deb8u1
ii  libavdevice55    6:11.4-1~deb8u1
ii  libavfilter5     6:11.4-1~deb8u1
ii  libavformat56    6:11.4-1~deb8u1
ii  libavresample2   6:11.4-1~deb8u1
ii  libavutil54      6:11.4-1~deb8u1
ii  libc6            2.19-18+deb8u1
ii  libsdl1.2debian  1.2.15-10+b1
ii  libswscale3      6:11.4-1~deb8u1
ii  libvdpau1        0.8-3+deb8u2
ii  libx11-6         2:1.6.2-3

libav-tools recommends no packages.

Versions of packages libav-tools suggests:
ii  frei0r-plugins  1.4-3

-- no debconf information



More information about the pkg-multimedia-maintainers mailing list