А что там сложного, установил метки А и В и записал файл заново как avi.
Если я что-то делаю не так, то почему с другими файлами это проходит. У них звук в норме.
Пользователь решил продолжить мысль 27 Марта 2010, 12:51:38:
Вот вывод файла до и после обрезки, с которым все ОК.
Исходный файл:
home@home-laptop:~$ mplayer file:///home/home/first.avi
MPlayer SVN-r29237-4.4.1 (C) 2000-2009 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Playing file:///home/home/first.avi.
AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
[aviheader] Audio stream found, -aid 2
AVI: ODML: Building ODML index (3 superindexchunks).
VIDEO: [XVID] 720x304 12bpp 23.976 fps 1665.4 kbps (203.3 kbyte/s)
Clip info:
Software: VirtualDubMod 1.5.10.2 (build 2540/release)
Name: Twilight (2008)
Artist: @lolkin@
open: No such file or directory
[MGA] Couldn't open: /dev/mga_vid
open: No such file or directory
[MGA] Couldn't open: /dev/mga_vid
[VO_TDFXFB] Can't open /dev/fb0: Permission denied.
[VO_3DFX] Unable to open /dev/3dfx.
[VO_XV] Could not grab port 66.
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, s16le, 448.0 kbit/29.17% (ratio: 56000->192000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
==========================================================================
[pulse] working around probably broken pause functionality,
see
http://www.pulseaudio.org/ticket/440AO: [pulse] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 720 x 304 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 2.37:1 - prescaling to correct movie aspect.
VO: [xv] 720x304 => 720x304 Planar YV12
A: 5.7 V: 5.7 A-V: 0.000 ct: 0.000 138/138 22% 3% 2.1% 1 0
Exiting... (Quit)
Урезанный кусок:
home@home-laptop:~$ mplayer file:///home/home/2.avi
MPlayer SVN-r29237-4.4.1 (C) 2000-2009 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Playing file:///home/home/2.avi.
AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
VIDEO: [XVID] 720x304 12bpp 23.976 fps 1854.5 kbps (226.4 kbyte/s)
open: No such file or directory
[MGA] Couldn't open: /dev/mga_vid
open: No such file or directory
[MGA] Couldn't open: /dev/mga_vid
[VO_TDFXFB] Can't open /dev/fb0: Permission denied.
[VO_3DFX] Unable to open /dev/3dfx.
[VO_XV] Could not grab port 66.
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, s16le, 448.0 kbit/29.17% (ratio: 56000->192000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
==========================================================================
[pulse] working around probably broken pause functionality,
see
http://www.pulseaudio.org/ticket/440AO: [pulse] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 720 x 304 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 2.37:1 - prescaling to correct movie aspect.
VO: [xv] 720x304 => 720x304 Planar YV12
A: 7.2 V: 7.2 A-V: 0.000 ct: 0.000 173/173 21% 1% 1.2% 0 0
Exiting... (Quit)
В чем разница, и что делать?