Bug#660978: ffmpeg-0.8 expects wrong preset file extension (.ffpreset instead of .avpreset)

Laurento laurento.frittella at gmail.com
Thu Feb 23 10:12:49 UTC 2012


Package: ffmpeg
Version: 4:0.8-1
Severity: normal

I'm using ffmpeg 4:0.8-1 and libav-tools 4:0.8-1+b1 from
squeeze-backports (the package maintainer, on the debian-backports
mailinglist, asks me to file a bug here too)

# strace -e trace=open,close /usr/bin/ffmpeg -i 'test-orig.mp4'
-vcodec 'libx264' -vpre 'libx264-fast' -s '640x480' -acodec
'libvo_aacenc' -ac '2'  test-final.mp4

[...]
open("/root/.avconv/libx264-fast.ffpreset", O_RDONLY) = -1 ENOENT (No
such file or directory)
open("/root/.avconv/libx264-libx264-fast.ffpreset", O_RDONLY) = -1
ENOENT (No such file or directory)
open("/usr/share/avconv/libx264-fast.ffpreset", O_RDONLY) = -1 ENOENT
(No such file or directory)
open("/usr/share/avconv/libx264-libx264-fast.ffpreset", O_RDONLY) = -1
ENOENT (No such file or directory)
File for preset 'libx264-fast' not found

As you can see in the strace output ffmpeg searches for a .ffpreset
file instead of .avpreset that is the presets file extension used in
libav-tools (all the preset files under /usr/share/avconv/ are
.avpreset)

Just as a temporary workaround simply adding a symlink (Eg: ln -s
/usr/share/avconv/libx264-fast.avpreset
/usr/share/avconv/libx264-fast.ffpreset) do the trick.

Cheers,
Laurento

-- System Information:
Debian Release: 6.0.4
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-openvz-feoktistov.1 (SMP w/4 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages ffmpeg depends on:
ii  libav-tools                   4:0.8-1+b1 Multimedia player, server, encoder

ffmpeg recommends no packages.

ffmpeg suggests no packages.

-- no debconf information





More information about the pkg-multimedia-maintainers mailing list