Re: ffmpeg-0.8 expects wrong preset file extension (.ffpreset instead of .avpreset)
On Wed, Feb 22, 2012 at 1:26 PM, Laurento <laurento.frittella@gmail.com> wrote:
> I'm using ffmpeg 4:0.8-1 and libav-tools 4:0.8-1+b1 from squeeze-backports
>
> # 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.
Can you please file a bug about this? Thanks.
--
regards,
Reinhard
Reply to: