LINUX.ORG.RU

mplayer и x264


0

0

скатал с http://cyberfight.ru/offline/movie/ мувик. 
Пытаюсь смотреть мплеером:

MPlayer 1.0pre7try2-3.4.5 (C) 2000-2005 MPlayer Team
CPU: Intel Pentium 4/Xeon Willamette (Family: 8, Stepping: 3)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2



85 audio & 196 video codecs
Playing Speed Trial.mp4.
Cache fill:  3.91% (327680 bytes)    QuickTime/MOV file format detected.
--------------
MOV track #0: 1027 chunks, 15396 samples
MOV: AVC decoder configuration record atom (49)!
MOV: Found unknown movie atom btrt (20)!
Image size: 848 x 480 (24 bpp)
Display size: 848 x 480
Fourcc: avc1  Codec: ''
--------------
MOV track #1: 1046 chunks, 24056 samples
Audio bits: 16  chans: 2  rate: 48000
MOV: Found MPEG4 audio Elementary Stream Descriptor atom (39)!
Fourcc: mp4a
--------------
MOV: longest streams: A: #1 (24056 samples)  V: #0 (15396 samples)
VIDEO:  [avc1]  848x480  24bpp  30.000 fps    0.0 kbps ( 0.0 kbyte/s)
==========================================================================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 15996->192000)
Selected audio codec: [faad] afm:faad (FAAD AAC (MPEG2/MPEG4 Audio) decoder)
==========================================================================
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm:ffmpeg (FFmpeg H.264)
==========================================================================
Checking audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
AF_pre: 48000Hz/2ch/s16le
alsa-init: 1 soundcard found, using: ossmix
alsa: 44100 Hz/2 channels/4 bpf/16384 bytes buffer/Signed 16 bit Little Endian
AO: [alsa] 44100Hz 2ch s16le (2 bps)
Building audio filter chain for 48000Hz/2ch/s16le -> 44100Hz/2ch/s16le...
Starting playback...
[h264 @ 0x85cfe70]QP -13 out of range
Error while decoding frame!
mplayer: h264.c:2306: mc_dir_part: Assertion `pic->data[0]' failed.97%


MPlayer interrupted by signal 6 in module: decode_video

или
% mplayer -vc vssh264 Speed\ Trial.mp4                                                                                 
MPlayer 1.0pre7try2-3.4.5 (C) 2000-2005 MPlayer Team
CPU: Intel Pentium 4/Xeon Willamette (Family: 8, Stepping: 3)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2



85 audio & 196 video codecs
Playing Speed Trial.mp4.
QuickTime/MOV file format detected.
--------------
MOV track #0: 1027 chunks, 15396 samples
MOV: AVC decoder configuration record atom (49)!
MOV: Found unknown movie atom btrt (20)!
Image size: 848 x 480 (24 bpp)
Display size: 848 x 480
Fourcc: avc1  Codec: ''
--------------
MOV track #1: 1046 chunks, 24056 samples
Audio bits: 16  chans: 2  rate: 48000
MOV: Found MPEG4 audio Elementary Stream Descriptor atom (39)!
Fourcc: mp4a
--------------
MOV: longest streams: A: #1 (24056 samples)  V: #0 (15396 samples)
VIDEO:  [avc1]  848x480  24bpp  30.000 fps    0.0 kbps ( 0.0 kbyte/s)
==========================================================================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 15996->192000)
Selected audio codec: [faad] afm:faad (FAAD AAC (MPEG2/MPEG4 Audio) decoder)
==========================================================================
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display)
==========================================================================
Forced video codec: vssh264
Cannot find codec matching selected -vo and video format 0x31637661.
Read DOCS/HTML/en/codecs.html!
==========================================================================
Checking audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
AF_pre: 48000Hz/2ch/s16le
alsa-init: 1 soundcard found, using: ossmix
alsa: 44100 Hz/2 channels/4 bpf/16384 bytes buffer/Signed 16 bit Little Endian
AO: [alsa] 44100Hz 2ch s16le (2 bps)
Building audio filter chain for 48000Hz/2ch/s16le -> 44100Hz/2ch/s16le...
Video: no video
Starting playback..

смотрю кафеином или oxine - в середине попадает звук. 

file говорит, что 

Speed Trial.mp4: ISO Media, MPEG v4 system, version 1

Ответ на: Re: mplayer и x264 от anonymous

Re: mplayer и x264

muromec@offline.net ~ % mplayer -vc help | wc -l
207
muromec@offline.net ~ % mplayer -vc help | grep 264

ffh264 ffmpeg working FFmpeg H.264 [h264]
vssh264 vfw working VSS H.264 [vssh264.dll]

[ebuild R ] media-video/mplayer-1.0_pre7-r1 -3dfx -3dnow -3dnowext +X +aac -aalib +alsa (-altivec) +arts -bidi -bindist -bl -cdparanoia -cpudetection -custom-cflags -debug -dga -directfb -doc -dts -dv -dvb +dvd +dvdread -edl +encode -esd +fbcon -ggi +gif +gtk +i8x0 -ipv6 -jack -joystick +jpeg -libcaca -lirc -live -livecd -lzo +mad +matroska -matrox +mmx +mmxext -mythtv -nas +nls +nvidia +opengl +oss +png -real -rtc -samba +sdl +sse +sse2 -svga -tga -theora +truetype -v4l -v4l2 +vorbis +win32codecs -xanim +xinerama -xmms +xv +xvid -xvmc 0 kB
[ebuild R ] media-video/ffmpeg-0.4.9_p20051216 +a52 +aac (-altivec) -debug -doc -dts +encode -ieee1394 +imlib +mmx -network +ogg +oss +sdl -test -theora -threads +truetype -v4l +vorbis +xvid +zlib 0 kB
[ebuild R ] media-libs/xine-lib-1.1.1-r4 +X +a52 +aac -aalib +alsa (-altivec) +arts +asf -cle266 -debug -directfb -dts +dvd -dxr3 -esd +fbcon +ffmpeg -flac -gnome +i8x0 +imagemagick -ipv6 -libcaca +mad +mng -modplug +nls +nvidia +opengl +oss -samba +sdl +speex -theora -v4l -vcd +vidix +vorbis +win32codecs +xinerama +xv -xvmc 0 kB

Muromec ☆☆ ()
Ответ на: Re: mplayer и x264 от ero-sennin

Re: mplayer и x264

>лечится сборкой свежей версии из CVS.

западло ебилд писать (-;

лана, а с xine чего?

Muromec ☆☆ ()

Re: mplayer и x264

размаскируй mplayer-1.0.20060102
[ebuild   R   ] media-video/mplayer-1.0.20060102  USE="3dnow 3dnowext X aac aalib alsa bidi bl cdparanoia directfb encode esd fbcon gif gtk ipv6 jack jpeg libcaca live lzo mad matroska mmx mmxext nls nvidia opengl oss png real rtc samba sdl sse svga tga theora truetype vorbis win32codecs xanim xmms xv xvid -3dfx -arts -bindist -cpudetection -custom-cflags -debug -dga -doc -dts -dv -dvb -dvd -dvdread -edl -ggi -i8x0 -joystick -lirc -livecd -matrox -nas -sse2 -v4l -v4l2 -xinerama -xvmc" 0 kB

[ebuild   R   ] media-video/ffmpeg-0.4.9_p20051216  USE="aac encode imlib mmx ogg oss sdl theora threads truetype vorbis xvid zlib -a52 -debug -doc -dts -ieee1394 -network -test -v4l" 1,679 kB
Speed Trial.mp4 - ироблем нет

kostian ★★★★☆ ()
Ответ на: Re: mplayer и x264 от kostian

Re: mplayer и x264

поставил - теперь показывает, но дико тормозит с начала собственно мувика. спасает только -lavdopts skiploopfilter=all и то в некоторых местах затыки

Muromec ☆☆ ()
Ответ на: Re: mplayer и x264 от Muromec

Re: mplayer и x264

у меня оно отжирает ~30% cpu(barton 2500+) но никаких тормозов нет

kostian ★★★★☆ ()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.