[sisyphus] ffmpeg xvmc support
Alexander Markelov
=?iso-8859-1?q?ml_=CE=C1_13=2Enet=2Eru?=
Ср Июн 13 14:00:30 MSD 2007
Pavlov Konstantin пишет:
> On Wed, Jun 13, 2007 at 10:35:29AM +0400, Alexander Markelov wrote:
>> Pavlov Konstantin пишет:
>>> Не, не должен.
>>>
>>> 0.5.0-alt1.svn9262 ушел в incoming/Sisyphus, ждите на днях.
>>>
>> Может быть я что то не так делаю ?
>> [deep на server ~]$ rpm -q ffmpeg libavcodec
>> ffmpeg-0.5.0-alt1.svn9262
>> libavcodec-0.5.0-alt1.svn9262
>> [deep на server ~]$ mplayer -vo xvmc -vc ffmpeg12mc
>> /var/opt/disk1/torrent/deep/VIDEO_TS/VTS_01_0.VOB
>> MPlayer dev-SVN-r22535-4.1.1 (C) 2000-2007 MPlayer Team
>> CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz (Family: 15, Model: 2, Stepping: 9)
>> CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
>> Compiled with runtime CPU detection.
>> 113 audio & 235 video codecs
>> mplayer: unknown token "Syncing" in /home/deep/.lircrc:1889 ignored
>>
>> Playing /var/opt/disk1/torrent/deep/VIDEO_TS/VTS_01_0.VOB.
>> Cache fill: 6.64% (557056 bytes)
>> MPEG-PS file format detected.
>>
>> Too many video packets in the buffer: (4096 in 8255105 bytes).
>> Maybe you are playing a non-interleaved stream/file or the codec failed?
>> For AVI files, try to force non-interleaved mode with the -ni option.
>> MPEG: No audio stream found -> no sound.
>> VIDEO: MPEG2 720x576 (aspect 2) 25.000 fps 8000.0 kbps (1000.0 kbyte/s)
>> xscreensaver_disable: Could not find XScreenSaver window.
>> vo_xvmc: X-Video extension 2.2
>> vo_xvmc: X-Video MotionCompensation Extension version 1.1
>> ==========================================================================
>> Forced video codec: ffmpeg12mc
>> Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
>> Cannot find codec 'mpegvideo_xvmc' in libavcodec...
>> VDecoder init failed :(
>> Cannot find codec matching selected -vo and video format 0x10000002.
>> Read DOCS/HTML/en/codecs.html!
>> ==========================================================================
>
> Я не пользуюсь mplayer, но вроде бы там можно задать какой кодек искать в
> данном случае? попробуйте не mpegvideo_xvmc, а mpeg_xvmc_decoder.
>
> У меня к сожалению нет машин, где xvmc бы работал.
>
И что то не прослеживается линковка на libXvMCW
[root на server ffmpeg-0.5.0]# ldd /usr/lib/libavcodec.so.51
linux-gate.so.1 => (0xffffe000)
libavutil.so.49 => /usr/lib/libavutil.so.49 (0xb79e8000)
libm.so.6 => /lib/libm.so.6 (0xb79c2000)
libz.so.1 => /lib/libz.so.1 (0xb79ae000)
liba52.so.0 => /usr/lib/liba52.so.0 (0xb79a3000)
libgsm.so.1 => /usr/lib/libgsm.so.1 (0xb7993000)
libmp3lame.so.0 => /usr/lib/libmp3lame.so.0 (0xb7924000)
libtheora.so.0 => /usr/lib/libtheora.so.0 (0xb78ec000)
libdirac_encoder.so.0 => /usr/lib/libdirac_encoder.so.0
(0xb7865000)
libdirac_decoder.so.0 => /usr/lib/libdirac_decoder.so.0
(0xb77fb000)
libx264.so.55 => /usr/lib/libx264.so.55 (0xb774e000)
libfaac.so.0 => /usr/lib/libfaac.so.0 (0xb773c000)
libfaad.so.0 => /usr/lib/libfaad.so.0 (0xb76f5000)
libpthread.so.0 => /lib/libpthread.so.0 (0xb76df000)
libc.so.6 => /lib/libc.so.6 (0xb75b9000)
/lib/ld-linux.so.2 (0x80000000)
libogg.so.0 => /usr/lib/libogg.so.0 (0xb75b4000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb74cd000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb74c2000)
libX11.so.6 => /usr/lib/libX11.so.6 (0xb73d4000)
libXau.so.6 => /usr/lib/libXau.so.6 (0xb73d1000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb73cc000)
libdl.so.2 => /lib/libdl.so.2 (0xb73c7000)
[root на server ffmpeg-0.5.0]# ldd /usr/bin/ffmpeg
linux-gate.so.1 => (0xffffe000)
libavformat.so.51 => /usr/lib/libavformat.so.51 (0xb7e92000)
libavcodec.so.51 => /usr/lib/libavcodec.so.51 (0xb798d000)
libavutil.so.49 => /usr/lib/libavutil.so.49 (0xb7983000)
libm.so.6 => /lib/libm.so.6 (0xb795d000)
libpthread.so.0 => /lib/libpthread.so.0 (0xb7946000)
libc.so.6 => /lib/libc.so.6 (0xb7820000)
libz.so.1 => /lib/libz.so.1 (0xb780c000)
libogg.so.0 => /usr/lib/libogg.so.0 (0xb7807000)
libdc1394_control.so.12 => /usr/lib/libdc1394_control.so.12
(0xb77f6000)
liba52.so.0 => /usr/lib/liba52.so.0 (0xb77eb000)
libgsm.so.1 => /usr/lib/libgsm.so.1 (0xb77db000)
libmp3lame.so.0 => /usr/lib/libmp3lame.so.0 (0xb776c000)
libtheora.so.0 => /usr/lib/libtheora.so.0 (0xb7734000)
libdirac_encoder.so.0 => /usr/lib/libdirac_encoder.so.0
(0xb76ad000)
libdirac_decoder.so.0 => /usr/lib/libdirac_decoder.so.0
(0xb7643000)
libx264.so.55 => /usr/lib/libx264.so.55 (0xb7596000)
libfaac.so.0 => /usr/lib/libfaac.so.0 (0xb7584000)
libfaad.so.0 => /usr/lib/libfaad.so.0 (0xb753d000)
/lib/ld-linux.so.2 (0x80000000)
libraw1394.so.8 => /usr/lib/libraw1394.so.8 (0xb7537000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7451000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7446000)
libX11.so.6 => /usr/lib/libX11.so.6 (0xb7357000)
libXau.so.6 => /usr/lib/libXau.so.6 (0xb7354000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb734f000)
libdl.so.2 => /lib/libdl.so.2 (0xb734b000)
Может конечно и не должно :/
Подробная информация о списке рассылки Sisyphus