Сабж. есть сериальчик, который необходимо записать на диски по 3 серии. Они чуток больше диска, в хорошем качестве, поэтому было принято решение понизить качество звука с 192кбит до 128кбит, чтобы не кодировать видео (думаю так быстрее получится).
Информация о файле:
$ mediainfo vvek25.avi
General
Complete name : vvek25.avi
Format : AVI
Format/Info : Audio Video Interleave
File size : 1.46 GiB
Duration : 2h 1mn
Overall bit rate : 1 722 Kbps
Writing application : VirtualDubMod 1.5.10.3 | www.virtualdub-fr.org || (build 2550/release)
Writing library : VirtualDub build 32842/release
Video
ID : 0
Format : MPEG-4 Visual
Format profile : Advanced Simple@L5
Format settings, BVOP : 2
Format settings, QPel : No
Format settings, GMC : No warppoints
Format settings, Matrix : Default (H.263)
Codec ID : XVID
Codec ID/Hint : XviD
Duration : 2h 1mn
Bit rate : 1 520 Kbps
Width : 720 pixels
Height : 400 pixels
Display aspect ratio : 16:9
Frame rate : 25.000 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.211
Stream size : 1.29 GiB (88%)
Writing library : XviD 1.2.1 (UTC 2008-12-04)
Audio
ID : 1
Format : MPEG Audio
Format version : Version 1
Format profile : Layer 3
Codec ID : 55
Codec ID/Hint : MP3
Duration : 2h 1mn
Bit rate mode : Constant
Bit rate : 192 Kbps
Channel(s) : 2 channels
Sampling rate : 44.1 KHz
Compression mode : Lossy
Stream size : 167 MiB (11%)
Alignment : Split accross interleaves
Interleave, duration : 40 ms (1.00 video frame)
Interleave, preload duration : 500 ms
$ mencoder vvek25.avi -o vvek25.avi -ovc xvid -oac mp3lame -lameopts vbr=3:q=4
MPlayer SVN-r37232 (C) 2000-2013 MPlayer Team
success: format: 0 data: 0x0 - 0x5d780906
libavformat version 55.44.100 (internal)
AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
VIDEO: [XVID] 720x400 12bpp 25.000 fps 1519.8 kbps (185.5 kbyte/s)
[V] filefmt:3 fourcc:0x44495658 size:720x400 fps:25.000 ftime:=0.0400
==========================================================================
Opening audio decoder: [mpg123] MPEG 1.0/2.0/2.5 layers I, II, III
AUDIO: 44100 Hz, 2 ch, s16le, 192.0 kbit/13.61% (ratio: 24000->176400)
Selected audio codec: [mpg123] afm: mpg123 (MPEG 1.0/2.0/2.5 layers I, II, III)
==========================================================================
xvid: using library version 1.3.3 (build xvid-1.3.3)
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 55.68.100 (internal)
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
MP3 audio selected.
Movie-Aspect is 1.80:1 - prescaling to correct movie aspect.
videocodec: XviD (720x400 fourcc=44495658 [XVID])
xvid: par=0/0 (vga11), displayed=720x400, sampled=720x400
xvid: you must specify one or a valid combination of 'bitrate', 'pass', 'fixed_quant' settings
FATAL: Cannot initialize video driver.
Exiting...
ЧЯДНТ?