Сделал так как написано тут: _http://ubuntuforums.org/showthread.php?t=786095&highlight=libx264
при Вашем скрипте пишет так:
tayfun@tayfun-desktop:~/Рабочий стол/Inukami!_TV$ ffmpeg -i Inukami.mkv -f mp4 -vcodec libx264 -level 13 -s 320x240 -b 768k -bt 768k -bufsize 2000k -maxrate 768k -g 250 -coder 0 -threads auto -acodec libfaac -ac 2 -ab 128k Inukami.mp4
bash: /usr/bin/ffmpeg: No such file or directory
tayfun@tayfun-desktop:~/Рабочий стол/Inukami!_TV$
При том, который дан тамже:
tayfun@tayfun-desktop:~/Рабочий стол/Inukami!_TV$ ./encode.sh Inukami.mkv Inukami.mp4
FFmpeg version SVN-r14537, Copyright (c) 2000-2008 Fabrice Bellard, et al.
configuration: --enable-gpl --enable-postproc --enable-libvorbis --enable-libtheora --disable-debug --enable-libmp3lame --enable-libfaad --enable-libfaac --enable-pthreads --enable-libx264
libavutil version: 49.7.0
libavcodec version: 51.62.0
libavformat version: 52.18.0
libavdevice version: 52.0.0
built on Aug 4 2008 17:03:20, gcc: 4.2.3 (Ubuntu 4.2.3-2ubuntu7)
[matroska @ 0x876a2d0]Ignoring seekhead entry for ID=0x1549a966
[matroska @ 0x876a2d0]Ignoring seekhead entry for ID=0x1654ae6b
[matroska @ 0x876a2d0]Ignoring seekhead entry for ID=0x114d9b74
[matroska @ 0x876a2d0]Ignoring seekhead entry for ID=0x1043a770
[matroska @ 0x876a2d0]Ignoring seekhead entry for ID=0x1941a469
[matroska @ 0x876a2d0]Unknown track header entry 0x55ee - ignoring
[matroska @ 0x876a2d0]Unknown track header entry 0x55ee - ignoring
[matroska @ 0x876a2d0]Unknown track header entry 0x55ee - ignoring
[matroska @ 0x876a2d0]Unknown track header entry 0x55ee - ignoring
[matroska @ 0x876a2d0]Ignoring unknown Chapter atom ID 0x4598
[matroska @ 0x876a2d0]Ignoring unknown Chapter display ID 0x437c
[matroska @ 0x876a2d0]Ignoring unknown Chapter atom ID 0x4598
[matroska @ 0x876a2d0]Ignoring unknown Chapter display ID 0x437c
[matroska @ 0x876a2d0]Ignoring unknown Chapter atom ID 0x4598
[matroska @ 0x876a2d0]Ignoring unknown Chapter display ID 0x437c
[matroska @ 0x876a2d0]Ignoring unknown Chapter atom ID 0x4598
[matroska @ 0x876a2d0]Ignoring unknown Chapter display ID 0x437c
[matroska @ 0x876a2d0]Ignoring unknown Chapter atom ID 0x4598
[matroska @ 0x876a2d0]Ignoring unknown Chapter display ID 0x437c
[matroska @ 0x876a2d0]Ignoring unknown Chapter atom ID 0x4598
[matroska @ 0x876a2d0]Ignoring unknown Chapter display ID 0x437c
Input #0, matroska, from 'Inukami.mkv':
Duration: 00:23:25.40, start: 0.000000, bitrate: N/A
Stream #0.0: Attachment: 0x0000
Stream #0.1: Attachment: 0x0000
Stream #0.2: Attachment: 0x0000
Stream #0.3: Attachment: 0x0000
Stream #0.4: Attachment: 0x0000
Stream #0.5: Attachment: 0x0000
Stream #0.6: Attachment: 0x0000
Stream #0.7: Attachment: 0x0000
Stream #0.8: Attachment: 0x0000
Stream #0.9: Video: h264, yuv420p, 640x480 [PAR 1:1 DAR 4:3], 23.98 tb(r)
Stream #0.10(rus): Audio: libfaad, 88200 Hz, stereo, s16
Stream #0.11(jpn): Audio: libfaad, 48000 Hz, stereo, s16
Stream #0.12(rus): Subtitle: 0x0000
Output #0, mp4, to '/dev/null':
Stream #0.0: Video: libx264, yuv420p, 320x240 [PAR 1:1 DAR 4:3], q=10-51, pass 1, 384 kb/s, 29.97 tb(c)
Stream mapping:
Stream #0.9 -> #0.0
[libx264 @ 0x88e2c60]no ratecontrol method specified
Error while opening codec for output stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height
FFmpeg version SVN-r14537, Copyright (c) 2000-2008 Fabrice Bellard, et al.
configuration: --enable-gpl --enable-postproc --enable-libvorbis --enable-libtheora --disable-debug --enable-libmp3lame --enable-libfaad --enable-libfaac --enable-pthreads --enable-libx264
libavutil version: 49.7.0
libavcodec version: 51.62.0
libavformat version: 52.18.0
libavdevice version: 52.0.0
built on Aug 4 2008 17:03:20, gcc: 4.2.3 (Ubuntu 4.2.3-2ubuntu7)
[matroska @ 0x876a2d0]Ignoring seekhead entry for ID=0x1549a966
[matroska @ 0x876a2d0]Ignoring seekhead entry for ID=0x1654ae6b
[matroska @ 0x876a2d0]Ignoring seekhead entry for ID=0x114d9b74
[matroska @ 0x876a2d0]Ignoring seekhead entry for ID=0x1043a770
[matroska @ 0x876a2d0]Ignoring seekhead entry for ID=0x1941a469
[matroska @ 0x876a2d0]Unknown track header entry 0x55ee - ignoring
[matroska @ 0x876a2d0]Unknown track header entry 0x55ee - ignoring
[matroska @ 0x876a2d0]Unknown track header entry 0x55ee - ignoring
[matroska @ 0x876a2d0]Unknown track header entry 0x55ee - ignoring
[matroska @ 0x876a2d0]Ignoring unknown Chapter atom ID 0x4598
[matroska @ 0x876a2d0]Ignoring unknown Chapter display ID 0x437c
[matroska @ 0x876a2d0]Ignoring unknown Chapter atom ID 0x4598
[matroska @ 0x876a2d0]Ignoring unknown Chapter display ID 0x437c
[matroska @ 0x876a2d0]Ignoring unknown Chapter atom ID 0x4598
[matroska @ 0x876a2d0]Ignoring unknown Chapter display ID 0x437c
[matroska @ 0x876a2d0]Ignoring unknown Chapter atom ID 0x4598
[matroska @ 0x876a2d0]Ignoring unknown Chapter display ID 0x437c
[matroska @ 0x876a2d0]Ignoring unknown Chapter atom ID 0x4598
[matroska @ 0x876a2d0]Ignoring unknown Chapter display ID 0x437c
[matroska @ 0x876a2d0]Ignoring unknown Chapter atom ID 0x4598
[matroska @ 0x876a2d0]Ignoring unknown Chapter display ID 0x437c
Input #0, matroska, from 'Inukami.mkv':
Duration: 00:23:25.40, start: 0.000000, bitrate: N/A
Stream #0.0: Attachment: 0x0000
Stream #0.1: Attachment: 0x0000
Stream #0.2: Attachment: 0x0000
Stream #0.3: Attachment: 0x0000
Stream #0.4: Attachment: 0x0000
Stream #0.5: Attachment: 0x0000
Stream #0.6: Attachment: 0x0000
Stream #0.7: Attachment: 0x0000
Stream #0.8: Attachment: 0x0000
Stream #0.9: Video: h264, yuv420p, 640x480 [PAR 1:1 DAR 4:3], 23.98 tb(r)
Stream #0.10(rus): Audio: libfaad, 88200 Hz, stereo, s16
Stream #0.11(jpn): Audio: libfaad, 48000 Hz, stereo, s16
Stream #0.12(rus): Subtitle: 0x0000
Output #0, mp4, to 'Inukami.mp4':
Stream #0.0: Video: libx264, yuv420p, 320x240 [PAR 1:1 DAR 4:3], q=10-51, pass 2, 384 kb/s, 29.97 tb(c)
Stream #0.1(rus): Audio: libfaac, 48000 Hz, mono, s16, 96 kb/s
Stream mapping:
Stream #0.9 -> #0.0
Stream #0.10 -> #0.1
[libx264 @ 0x88e2c60]no ratecontrol method specified
Error while opening codec for output stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height
Может есть проги, которые можно загрузить через Wine и они будут работать ?