Opened 12 years ago
Closed 12 years ago
#1013 closed defect (invalid)
ffmpeg-0.8 expects wrong preset file extension (.ffpreset instead of .avpreset)
Reported by: | Laurento Frittella | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | undetermined |
Version: | 0.8.9 | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
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
Note:
See TracTickets
for help on using tickets.
You are using ffmpeg, it expects presets file with the ffpreset extension, that is normal.
If you want to complain about your distribution shipping a fork, see with your distribution issue tracker.