[Openchrome-users] patching mplayer with xvmc patch
Matteo Brusa
matteo.brusa
Wed Jul 25 06:49:15 PDT 2007
Timothy Lee wrote:
> Dear Matteo,
>
> I've updated the patch for the latest SVN version of mplayer, and have
> sent it to Ivor for review, but haven't received any reply. I'm posting
> it now for others to try it out.
>
> One of the addition to the patch is the ability to support other XvMC
> drivers in addition to openchrome.
>
> Regards,
> Timothy
Hi Timothy,
Thanks for the effort, I successfully patched against the SVN version. Then, i configured with
"--enable-xvmc --with-xvmclib=XvMCW", compiled and installed. So far, so good.
Now, when i try to play an mpeg1/mpeg2 video with hardware acceleration, mplayer complains about the
video_out device:
# /usr/local/bin/mplayer -vo xvmc -vc ffmpeg12mc, ~/video/t_mpeg2video_1024x768.avi
MPlayer dev-SVN-r23855-4.1.2 (C) 2000-2007 MPlayer Team
CPU: VIA Esther processor 1200MHz (Family: 6, Model: 10, Stepping: 9)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
--- cut ---
Playing /root/video/t_nfscarbon_h264.mov_mpeg2video_1024x768.avi.
AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
VIDEO: [mpg1] 1024x768 24bpp 30.000 fps 8652.9 kbps (1056.3 kbyte/s)
Clip info:
Software: Lavf50.6.0
Error opening/initializing the selected video_out (-vo) device.
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
A: 8.7 (08.7) of 5999.5 ( 1:39:59.4) 2.3%
MPlayer interrupted by signal 2 in module: play_audio
I tried also with an mpg2 file, same problem. I have already installed all the needed codecs in
/usr/local/lib/codecs/.
Not sure what i'm missing, any hint that could point me in the right direction?
Thanks in advance,
Matteo
>
> Matteo Brusa wrote:
>> Hi,
>> I'm trying to patch MPlayer-1.0rc1 with the 'mplayer_xvmc.diff' patch
>> from the file gallery.
>> When I execute "patch -p1 <mplayer_xvmc.diff" i get this error:
>>
>> patching file codec-cfg.c
>> Reversed (or previously applied) patch detected! Assume -R? [n]
>>
>> And so on.
>> Am i doing something wrong? Maybe the patch command is wrong?
>>
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: not available
Url : http://wiki.openchrome.org/pipermail/openchrome-users/attachments/20070725/f252b833/signature.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://wiki.openchrome.org/pipermail/openchrome-users/attachments/20070725/f252b833/signature-0001.bin
More information about the Openchrome-users
mailing list