On Sat, 25 Jan 2014 20:45:31 -0800 (PST) Jay Mann
<[email protected]> wrote:
> Hi all,
> 
> I'm trying to give Cedrus a go.  I'm running linaro 12.04 precise.

Great, 

> I've installed mplayer2 and built the cedrus module
> (libvdpau_sunxi.so.1) and copied it to /usr/lib/vdpau

And you should be aware that this is experimental. Not ready for end
users.

> I've installed mplayer 2 from the precise repos (mplayer didn't have
> the vdpau support).
> 
> When i try to run mplayer with the command: 
> 
> linaro@linaro-alip:~$ mplayer -vo vdpau -vc
> ffmpeg12vdpau,ffh264vdpau, /Serenity
> \ -\ HD\ DVD\ Trailer.mp4
> MPlayer2 UNKNOWN (C) 2000-2011 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 /Serenity - HD DVD Trailer.mp4.
> Detected file format: QuickTime/MPEG-4/Motion JPEG 2000 format
> (libavformat) [lavf] stream 0: video (h264), -vid 0
> [lavf] stream 1: audio (aac), -aid 0, -alang und
> VIDEO:  [H264]  1280x720  24bpp  23.976 fps  4674.1 kbps (570.6
> kbyte/s) Clip info:
>  major_brand: isom
>  minor_version: 1
>  compatible_brands: isomavc1
>  creation_time: 2007-05-30 05:20:31
>  genre: Trailer
>  artist: Universal Pictures
>  title: Serenity - HD DVD Trailer
>  date: 2005
> Load subtitles in /
> [VDPAU SUNXI] VE version 0x1623 opened.
> ==========================================================================
> Forced video codec: ffmpeg12vdpau
> Forced video codec: ffh264vdpau
> Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
> Selected video codec: [ffh264vdpau] vfm: ffmpeg (FFmpeg H.264 (VDPAU))
> ==========================================================================
> ==========================================================================
> Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
> AUDIO: 48000 Hz, 2 ch, s16le, 127.5 kbit/8.30% (ratio: 15942->192000)
> Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4
> Audio))
> ==========================================================================
> [AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file
> or director y
> AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
> Starting playback...
> Movie-Aspect is undefined - no prescaling applied.
> VO: [vdpau] 1280x720 => 1280x720 H.264 VDPAU acceleration
> [vdpau] Got display refresh rate 50.000 Hz.
> [vdpau] If that value looks wrong give the -vo vdpau:fps=X suboption 
> manually.
> [VDPAU SUNXI] Presentation time not supported  0 ??% ??% ??,?% 0 0
> A:  18.5 V:  18.6 A-V:  0.000 ct:  0.000   0/  0 18%  0%  1.8% 0 0
> 
> The video plays, but there definitly is no video acceleration.  I
> even deleted /usr/lib/vdpau folder and it plays the same.  
> CedarX is loaded and permissions (666) are set on /dev/cedar_dev and 
> /dev/disp

And /dev/g2d? Does it say g2d enabled in the X log?
Can't find anything wrong, but i have zero experience with it in A10/A20

> 
> root@linaro-alip:/usr/lib/vdpau2# lsmod
> Module                  Size  Used by
> sunxi_cedar_mod         9912  0
> 8192cu                453579  0
> 
> VDPAU_DRIVER=sunxi is also set.
> 
> Any ideas?

Join irc #linux-sunxi, there you should have more help, just have
patience to wait enough time for someone that can answer your questions
to show up.

This every thing looks ok but the video play slow, is a know problem
that appears to affect some people. And as this is done in a very
hackish way, because of the current state of the display + X11 + cedar
kernel driver. I don't think better is possible.

So instead is better to move on and do the right thing, that is to fix
the parts related to display, get a /dev/cedrus, and then we can do
vdpau/gstreamer/ffmpeg and whatever in the right way.


-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to