[FFmpeg-trac] #1013(undetermined:new): ffmpeg-0.8 expects wrong preset file extension (.ffpreset instead of .avpreset)

FFmpeg trac at avcodec.org
Wed Feb 22 16:51:20 CET 2012


#1013: ffmpeg-0.8 expects wrong preset file extension (.ffpreset instead of
.avpreset)
--------------------------------------+----------------------------------
             Reporter:  mrfree        |                     Type:  defect
               Status:  new           |                 Priority:  normal
            Component:  undetermined  |                  Version:  0.8.9
             Keywords:                |               Blocked By:
             Blocking:                |  Reproduced by developer:  0
Analyzed by developer:  0             |
--------------------------------------+----------------------------------
 I'm using ffmpeg 4:0.8-1 and libav-tools 4:0.8-1+b1 from debian 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.

 Cheers,
 Laurento

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1013>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list