[sisyphus] ffmpeg xvmc support

Alexander Markelov =?iso-8859-1?q?ml_=CE=C1_13=2Enet=2Eru?=
Сб Июн 9 10:01:43 MSD 2007


Led пишет:
> 2007/6/6, Alexander Markelov <ml на 13.net.ru>:
>> Доброго времени суток!
>> Судя по changelog'у к ffmpeg xvmc поддержка имеется. Но по факту:
>> [root на server mplayer]# rpm -q ffmpeg libavcodec
>> ffmpeg-0.5.0-alt1.svn9221
>> libavcodec-0.5.0-alt1.svn9221
>>
>> [root на server mplayer]# ffmpeg -formats 2>&1 | grep xvmc
>> Пусто.
>> А должно быть:
>> mpegvideo_xvmc
> 
> AFAIR ffmpeg -formats и не покажет его.
> ffmpeg из Sisyphus действительно собран без xvmc.
> Сегодня в /i/Daedalus ушёл ffmpeg-0.5.0-alt1.svn9255.1.src.rpm, в
> котором xvmc включён.
> 
[root на server 9233]# rpm -q ffmpeg
ffmpeg-0.5.0-alt1.svn9233.1

[root на server 9233]# 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.

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!
==========================================================================


Exiting... (End of file)

[root на server 9233]# cat /etc/mplayer/codecs.conf
--skip--
videocodec ffmpeg12mc
   info "FFmpeg MPEG-1/2 (XvMC)"
   status buggy
   format 0x10000001  ; MPEG-1
   format 0x10000002  ; MPEG-2
   fourcc mpg1,mpg2,MPG2
   fourcc "DVR "
   fourcc hdv2
   fourcc PIM1        ; Pinnacle hardware-MPEG-1
   fourcc VCR2
   fourcc MPEG
   fourcc hdv3        ; HDV 1080i50
   fourcc mx5p        ; MPEG IMX 625/50 (50 Mb/s)
   driver ffmpeg
   dll "mpegvideo_xvmc"
   out IDCT_MPEG2
   out MOCO_MPEG2
--skip--
Только из данных соображений я считаю что ffmpeg -formats должен 
показать mpegvideo_xvmc, может я и ошибаюсь.



Подробная информация о списке рассылки Sisyphus