Unable to play 720p video in Ubuntu

524 views
Skip to first unread message

Puneet B

unread,
Feb 3, 2014, 12:36:21 AM2/3/14
to linux...@googlegroups.com
HI ,

I ported ubuntu in my A20 board.

i used kernel and script from this link

http://docs.cubieboard.org/tutorials/ct1/development/compiling_latest_kernel_for_cubietruck_cubieboard3

I used some previous rootfs which is used for my A10 board.

Now UBUNTU is booting fine.

But Once i play 720p video , the video is not playing smoothly(playing like slow motion).

i tried with installing mali.ko and ump.ko.

But not yet worked.

kindly suggest me what will be issue.

Regards
Punith

Patrick Wood

unread,
Feb 3, 2014, 10:07:52 AM2/3/14
to linux...@googlegroups.com

Puneet B

unread,
Feb 4, 2014, 5:35:26 AM2/4/14
to linux...@googlegroups.com

 Hi Patrick,

i just fallow this procedure in link.

http://linux-sunxi.org/Cedrus

every thing done correctly.

but once i play the video , only audio is coming ,there is no video output.

Here is log.

mplayer -vo vdpau -vc ffmpeg12vdpau,ffh264vdpau, /media/2CA3-91FB/aa.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 /media/2CA3-91FB/aa.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  29.970 fps  2922.4 kbps (356.7 kbyte/s)
Clip info:
 major_brand: mp42
 minor_version: 0
 compatible_brands: isommp42
 creation_time: 2012-12-09 02:04:04
Load subtitles in /media/2CA3-91FB/
vo: couldn't open the X11 display ()!
Error opening/initializing the selected video_out (-vo) device.
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 44100 Hz, 2 ch, s16le, 192.0 kbit/13.61% (ratio: 24000->176400)
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 directory
AO: [alsa] 44100Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
A:   1.0 (01.0) of 307.9 (05:07.9)  1.7% $<3>

Exiting... (End of file)
root@localhost:/libvdpau-sunxi#


Kindly suggest what will be issue.

Regards
Punith

Olliver Schinagl

unread,
Feb 4, 2014, 9:30:30 AM2/4/14
to linux...@googlegroups.com
On 04-02-14 11:35, Puneet B wrote:
> vo: couldn't open the X11 display ()!
> Error opening/initializing the selected video_out (-vo) device.
You probably forgot a step or two.

Puneet B

unread,
Feb 4, 2014, 9:36:29 AM2/4/14
to linux...@googlegroups.com
Hi Oliver,

I did same procedure.


Regards
punith





--
You received this message because you are subscribed to a topic in the Google Groups "linux-sunxi" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/linux-sunxi/PGlgXgaEh24/unsubscribe.
To unsubscribe from this group and all of its topics, send an email to linux-sunxi+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Olliver Schinagl

unread,
Feb 4, 2014, 9:37:09 AM2/4/14
to linux...@googlegroups.com
On 04-02-14 15:36, Puneet B wrote:
> Hi Oliver,
>
> I did same procedure.
what video player are you using?

Only mplayer2 and mpv work; mplayer 1 will NOT work.
>
>
> Regards
> punith
>
>
>
> On Tue, Feb 4, 2014 at 8:00 PM, Olliver Schinagl
> <olive...@schinagl.nl <mailto:olive...@schinagl.nl>> wrote:
>
> On 04-02-14 11:35, Puneet B wrote:
>
> vo: couldn't open the X11 display ()!
> Error opening/initializing the selected video_out (-vo) device.
>
> You probably forgot a step or two.
>
>
> --
> You received this message because you are subscribed to a topic in
> the Google Groups "linux-sunxi" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/__topic/linux-sunxi/PGlgXgaEh24/__unsubscribe
> <https://groups.google.com/d/topic/linux-sunxi/PGlgXgaEh24/unsubscribe>.
> To unsubscribe from this group and all of its topics, send an email
> to linux-sunxi+unsubscribe@__googlegroups.com
> <mailto:linux-sunxi%2Bunsu...@googlegroups.com>.
> For more options, visit https://groups.google.com/__groups/opt_out
> <https://groups.google.com/groups/opt_out>.
>
>
> --
> 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 linux-sunxi...@googlegroups.com.

jons...@gmail.com

unread,
Feb 4, 2014, 9:42:10 AM2/4/14
to linux...@googlegroups.com
On Tue, Feb 4, 2014 at 9:37 AM, Olliver Schinagl
<olive...@schinagl.nl> wrote:
> On 04-02-14 15:36, Puneet B wrote:
>>
>> Hi Oliver,
>>
>> I did same procedure.
>
> what video player are you using?
>
> Only mplayer2 and mpv work; mplayer 1 will NOT work.

How does mplayer2 find the Cedar library? Don't you need a special build of it?
--
Jon Smirl
jons...@gmail.com

Olliver Schinagl

unread,
Feb 4, 2014, 10:02:07 AM2/4/14
to linux...@googlegroups.com
On 04-02-14 15:42, jons...@gmail.com wrote:
> On Tue, Feb 4, 2014 at 9:37 AM, Olliver Schinagl
> <olive...@schinagl.nl> wrote:
>> On 04-02-14 15:36, Puneet B wrote:
>>>
>>> Hi Oliver,
>>>
>>> I did same procedure.
>>
>> what video player are you using?
>>
>> Only mplayer2 and mpv work; mplayer 1 will NOT work.
>
> How does mplayer2 find the Cedar library? Don't you need a special build of it?
mplayer2 is built with vdpau support; the cedrus howto talks about
enabling and using vdpau

the problem is with mplayer(1), which is built without vdpau support

Roman Mamedov

unread,
Feb 4, 2014, 11:28:37 AM2/4/14
to linux...@googlegroups.com, puni...@gmail.com
On Tue, 4 Feb 2014 02:35:26 -0800 (PST)
Puneet B <puni...@gmail.com> wrote:

> Exiting... (End of file)
> root@localhost:/libvdpau-sunxi#

You are running the media player as 'root', but are you logged into Xorg also
as 'root' (which would be uncommon and not recommended)?

If not, then 'root' will not have access to a local display by default, since
it is a different user.

So ensure the media player runs from the same user as Xorg.

--
With respect,
Roman
signature.asc

Patrick Wood

unread,
Feb 4, 2014, 5:25:18 PM2/4/14
to linux...@googlegroups.com, puni...@gmail.com, r...@romanrm.net
And if you're not running this in an xterm, you need to set DISPLAY=:0 in your environment (or somesuch -- whatever name the Xorg driver used to set up the X display).

Puneet B

unread,
Feb 5, 2014, 12:11:34 AM2/5/14
to linux...@googlegroups.com, puni...@gmail.com, r...@romanrm.net
Hi Patrick,

If i run in an xterm, video playing but not smoothly.

if i run in an minicom console video is not playing.

Xterm
video is playing with vdpau ,x11 but not smooothly.
video is not playing with directfb .

in minicom terminal
video is not playing with vdpau ,x11
video is  playing with directfb . but not smooothly.


Regards
Punith

Puneet B

unread,
Feb 5, 2014, 2:10:27 AM2/5/14
to linux...@googlegroups.com, olive...@schinagl.nl
Hi Oliver,

I just installed mplayer through repositary.

apt-get install mplayer.

How can i know mplayer1 or mplayer2.

Regards
Punith

Puneet B

unread,
Feb 6, 2014, 4:15:30 AM2/6/14
to linux...@googlegroups.com, olive...@schinagl.nl
Hi ,

Once i fallow this procedure.

http://linux-sunxi.org/VLC

i am able to play hd videos in my A20 board.

Now i want to add cedarx to mplyer.

SO i can play hd video from gui.

How can i do it.

Regards
Punith


Olliver Schinagl

unread,
Feb 6, 2014, 5:36:50 AM2/6/14
to linux...@googlegroups.com
On 05-02-14 06:11, Puneet B wrote:
> Hi Patrick,
>
> If i run in an xterm, video playing but not smoothly.
Probably means you did something wrong and it's using software decoding,
hence not smooth.
>
> if i run in an minicom console video is not playing.
Of course not. You need to add the suggested DISPLAY variable at the
very least, and hope the server will accept the input.

>
> Xterm
> video is playing with vdpau ,x11 but not smooothly.
probably only x11 and NOT vdpau.

> video is not playing with directfb .
of course not, vdpau-sunxi requires x11, hard dependancy.
>
> in minicom terminal
> video is not playing with vdpau ,x11
> video is playing with directfb . but not smooothly.
No difference if you use local console or minicom if you redirect the
display properly.

>
>
> Regards
> Punith

Olliver Schinagl

unread,
Feb 6, 2014, 5:38:59 AM2/6/14
to Puneet B, linux...@googlegroups.com
On 05-02-14 08:10, Puneet B wrote:
> Hi Oliver,
>
> I just installed mplayer through repositary.
>
> apt-get install mplayer.
>
> How can i know mplayer1 or mplayer2.
apt-get install mplayer2

mplayer1 does not support vdpau ...................
>
> Regards
> Punith

Puneet B

unread,
Feb 6, 2014, 6:12:30 AM2/6/14
to linux...@googlegroups.com, Puneet B, olive...@schinagl.nl
Hi Oliver,

i opened gnome-terminal.

i login as user1.

i installed mplayer2.

once i did export
export VDPAU_DRIVER=sunxi


I can able to play hd videos from mplayer which are not playing with vlc(from http://linux-sunxi.org/VLC) .

But video is not smoothly.

i fallowed the same procedure (http://linux-sunxi.org/Cedrus).

Here fb0_scaler_mode_enable=0.

Is it needed to enable for vdpau.

Regards
Punith


nils...@gmail.com

unread,
Feb 7, 2014, 1:31:26 PM2/7/14
to linux...@googlegroups.com, olive...@schinagl.nl
четверг, 6 февраля 2014 г., 14:36:50 UTC+4 пользователь Olliver Schinagl написал:
i am followed this tutorial :
http://linux-sunxi.org/Cedrus
, and get working MPV player with VDPAU on Gentoo(X11+XFCE) .
works perfect ,tried mkv,mp4,wmv - all plays good , also video from my digital cameras(Fujitsu,Samsung) plays without problems

nils...@gmail.com

unread,
Feb 7, 2014, 1:50:56 PM2/7/14
to linux...@googlegroups.com
понедельник, 3 февраля 2014 г., 9:36:21 UTC+4 пользователь Puneet B написал:
please read last line in http://linux-sunxi.org/Cedrus wiki :

Note: There have been reports that some mplayer versions in certain repositories are not compiled with vdpau support.

so, probably vdpau support not compiled ...
try Gentoo, then you can select what you want

nils...@gmail.com

unread,
Feb 7, 2014, 2:29:28 PM2/7/14
to linux...@googlegroups.com
понедельник, 3 февраля 2014 г., 9:36:21 UTC+4 пользователь Puneet B написал:
ARM soc's not so powerfull to ignore compile optimizations ,
but binary distributions like ubuntu designed to work on all hardware.
So if you use ubuntu - you lose some power from you current device .

In Gentoo you can set compile flags for whole system :
A10 - CFLAGS="-mcpu=cortex-a8 -mfloat-abi=hard -mfpu=neon -mthumb"
A20 - CFLAGS="-mcpu=cortex-a7 -mfloat-abi=hard -mfpu=neon-vfpv4 -mthumb"

Puneet B

unread,
Feb 10, 2014, 4:33:32 AM2/10/14
to linux...@googlegroups.com, nils...@gmail.com
 http://linux-sunxi.org/Cedrus

Is this link will allow to play the hd video from Gui.

or this will also work in only command prompt.

Regards
Punith

Puneet B

unread,
Feb 10, 2014, 7:28:40 AM2/10/14
to linux...@googlegroups.com, nils...@gmail.com
Hi

I am not able to play hd videos smoothly from this link.

http://linux-sunxi.org/Cedrus

Here is my Procedure what i have done:
1>setenv sunxi_ve_mem_reserve '128'
2>git clone https://github.com/linux-sunxi/libvdpau-sunxi
3>cd libvdpau-sunxi
4>make
5>make install
Then i have
libvdpau_sunxi.so.1 
libvdpau_trace.so.1
libvdpau_trace.so.1.0.0
libraries under /usr/lib/vdpau directory
4>then i login as user in gnome-terminal and export fallowing path.
export VDPAU_DRIVER=sunxi
5>sudo chmod -R 777 /dev/disp /dev/cedar_Dev
6>apt-get install mplayer2.
6>mplayer -vo vdpau -vc ffmpeg12vdpau,ffh264vdpau, /media/9513-1851/aa.mp4

But once i play video , it is not playing smoothly.
Here is my video log:


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 /media/95E5-18AE/aga_naga.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 eng
VIDEO:  [H264]  1264x536  24bpp  23.976 fps  3674.8 kbps (448.6 kbyte/s)

Clip info:
 major_brand: mp42
 minor_version: 0
 compatible_brands: mp42ndhdavc1isom
 creation_time: 2011-07-28 17:45:17
Load subtitles in /media/95E5-18AE/
[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, 6 ch, s16le, 447.6 kbit/9.71% (ratio: 55947->576000)

Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
AO: [pulse] 48000Hz 2ch floatle (4 bytes per sample)
Starting playback...
Movie-Aspect is 2.36:1 - prescaling to correct movie aspect.
VO: [vdpau] 1264x536 => 1264x536 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:  12.2 V:  12.2 A-V: -0.000 ct: -0.000   0/  0 17%  0%  7.1% 0 0

Exiting... (Quit)



I tried with smplayer also but has same issue.

Is i am missing anything else.

Kindly suggest me.

Regards
Punith

Olliver Schinagl

unread,
Feb 10, 2014, 8:27:07 AM2/10/14
to linux...@googlegroups.com
Puneet,

On 10-02-14 13:28, Puneet B wrote:
> Hi
>
> I am not able to play hd videos smoothly from this link.
>
> http://linux-sunxi.org/Cedrus
>
> Here is my Procedure what i have done:
> 1>setenv sunxi_ve_mem_reserve '128'
> 2>git clone https://github.com/linux-sunxi/libvdpau-sunxi
> 3>cd libvdpau-sunxi
> 4>make
> 5>make install
> Then i have
> libvdpau_sunxi.so.1
> libvdpau_trace.so.1
> libvdpau_trace.so.1.0.0
> libraries under /usr/lib/vdpau directory
> 4>then i login as user in gnome-terminal and export fallowing path.
> export VDPAU_DRIVER=sunxi
> 5>sudo chmod -R 777 /dev/disp /dev/cedar_Dev
ls -laF /dev/disp /dev/cedar*
and double check the permissions!! because _Dev sounds wrong, should be
_dev.

> 6>apt-get install mplayer2.
> 6>mplayer -vo vdpau -vc ffmpeg12vdpau,ffh264vdpau, /media/9513-1851/aa.mp4
>
> But once i play video , it is not playing smoothly.
> Here is my video log:
>
> 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 /media/95E5-18AE/aga_naga.mp4.
> Detected file format: QuickTime/MPEG-4/Motion JPEG 2000 format (libavformat)
But puneet, this is not MPEG1, MPEG2 and definitely not h264. Sounds
like motion jpeg in an mpeg4 container.

Try the big buck buney h264 or sintel h264 demo's.

Olliver

Puneet B

unread,
Feb 10, 2014, 8:36:36 AM2/10/14
to linux...@googlegroups.com, olive...@schinagl.nl
Hi Oliver.

sorry i changed permission to cedar_dev (typo error).



>Try the big buck buney h264 or sintel h264 demo's.

Can you explain this , as i am not getting.

Regards
Punith

Olliver Schinagl

unread,
Feb 10, 2014, 8:53:56 AM2/10/14
to linux...@googlegroups.com
http://samplemedia.linaro.org/H264/big_buck_bunny_1080p_H264_AAC_25fps_7200K.MP4

if that works, your decoder is setup properly.

OTher files not working simply means our driver or the decoder doesn't
like your file and falls back to software decoding.

Puneet B

unread,
Feb 10, 2014, 9:27:13 AM2/10/14
to linux...@googlegroups.com, olive...@schinagl.nl
Hi Oliver,

As i played you video also , has the same issue.

Video is not playing smoothly.

Here is log:


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 /media/95E5-18AE/big_buck_bunny_1080p_H264_AAC_25fps_7200K.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  24.000 fps  1748.2 kbps (213.4 kbyte/s)

Clip info:
 major_brand: mp42
 minor_version: 0
 compatible_brands: isommp42
 creation_time: 2014-01-06 15:51:24

Load subtitles in /media/95E5-18AE/
[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: 44100 Hz, 2 ch, s16le, 192.0 kbit/13.61% (ratio: 24000->176400)
Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
AO: [pulse] 44100Hz 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
[VDPAU SUNXI] vdp_output_surface_put_bits_indexed called but unimplemented!
[VDPAU SUNXI] vdp_output_surface_render_output_surface called but unimplemented!
A:  34.2 V:  34.2 A-V: -0.000 ct:  0.000   0/  0 17%  0%  2.6% 0 0


Exiting... (End of file)


Regards
Punith

Olliver Schinagl

unread,
Feb 10, 2014, 9:34:40 AM2/10/14
to linux...@googlegroups.com
On 10-02-14 15:27, Puneet B wrote:
> Hi Oliver,
>
> As i played you video also , has the same issue.
>
> Video is not playing smoothly.
>
> Here is log:
>
> 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 /media/95E5-18AE/big_buck_bunny_1080p_H264_AAC_25fps_7200K.MP4
that looks good
> Detected file format: QuickTime/MPEG-4/Motion JPEG 2000 format (libavformat)
that looks wrong
> [lavf] stream 0: video (h264), -vid 0
> [lavf] stream 1: audio (aac), -aid 0, -alang und
> VIDEO: [H264] 1280x720 24bpp 24.000 fps 1748.2 kbps (213.4 kbyte/s)
That looks wrong too, 1280x720 is weir, since the video is 1080p. Maybe
you are still using the wrong file, even though the name seems right?
Try a different USB stick to make sure your not using the old file.

Puneet B

unread,
Feb 11, 2014, 12:54:16 AM2/11/14
to linux...@googlegroups.com, olive...@schinagl.nl
 Hi Oliver,

Sorry for inconvenience , actually i  upload wrong log.

Because my logitech keyboard is not good.

still Video is not playing smoothly.

Here is actual log:


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 /media/95E5-18AE/big_buck_bunny_1080p_H264_AAC_25fps_7200K.MP4.

Detected file format: QuickTime/MPEG-4/Motion JPEG 2000 format (libavformat)
[mov,mp4,m4a,3gp,3g2,mj2 @ 0xb5bd9590]max_analyze_duration reached

[lavf] stream 0: video (h264), -vid 0
[lavf] stream 1: audio (aac), -aid 0, -alang und
VIDEO:  [H264]  1920x1080  24bpp  25.000 fps  7254.9 kbps (885.6 kbyte/s)
Clip info:
 major_brand: mp42
 minor_version: 1
 compatible_brands: isommp423gp5
 creation_time: 2011-08-04 01:51:12
 title: big_buck_bunny_1080p_surround.avi_006.AVI.MP4
 artist: created with SUPER(C).v2011.bld.49
 encoder: eRightSoft
 comment: 09:51:32

Load subtitles in /media/95E5-18AE/
[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: 44100 Hz, 2 ch, s16le, 96.1 kbit/6.81% (ratio: 12009->176400)

Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
AO: [pulse] 44100Hz 2ch s16le (2 bytes per sample)
Starting playback...
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [vdpau] 1920x1080 => 1920x1080 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
[VDPAU SUNXI] vdp_output_surface_put_bits_indexed called but unimplemented!
[VDPAU SUNXI] vdp_output_surface_render_output_surface called but unimplemented!
A:  44.9 V:  45.0 A-V: -0.045 ct: -0.000   0/  0 26%  0%  1.9% 0 0

Puneet B

unread,
Feb 11, 2014, 6:37:38 AM2/11/14
to linux...@googlegroups.com, olive...@schinagl.nl
Hi Oliver,

Did i need to do any changes in script.

Here is my script.

Regards
Punith
script.fex

Olliver Schinagl

unread,
Feb 11, 2014, 3:39:30 PM2/11/14
to linux...@googlegroups.com
On 02/11/14 06:54, Puneet B wrote:
> Hi Oliver,
>
> Sorry for inconvenience , actually i upload wrong log.
>
> Because my logitech keyboard is not good.
>
> still Video is not playing smoothly.
>
> Here is actual log:
I ran it on my cb3 and am comparing line fo rline (I don't have
copy/paste ability at this moment)
>
> MPlayer2 UNKNOWN (C) 2000-2011 MPlayer Team
Hmm, looks REALLY old, mine says 2000-2012, otherwise identical. This
could be your culprit! Old repo, old ubuntu!
> mplayer: could not connect to socket
same
> mplayer: No such file or directory
same
> Failed to open LIRC support. You will not be able to use your remote
> control.
same
>
> Playing /media/95E5-18AE/big_buck_bunny_1080p_H264_AAC_25fps_7200K.MP4.
different path, same filename
> Detected file format: QuickTime/MPEG-4/Motion JPEG 2000 format (libavformat)
same, thus my inital reaction about quicktime/jpeg2000 was wrong.
> [mov,mp4,m4a,3gp,3g2,mj2 @ 0xb5bd9590]max_analyze_duration reached
different address, otherwise identical
> [lavf] stream 0: video (h264), -vid 0
same
> [lavf] stream 1: audio (aac), -aid 0, -alang und
same
> VIDEO: [H264] 1920x1080 24bpp 25.000 fps 7254.9 kbps (885.6 kbyte/s)
same
> Clip info:
> major_brand: mp42
> minor_version: 1
> compatible_brands: isommp423gp5
> creation_time: 2011-08-04 01:51:12
> title: big_buck_bunny_1080p_surround.avi_006.AVI.MP4
> artist: created with SUPER(C).v2011.bld.49
> encoder: eRightSoft
> comment: 09:51:32
All same, obviously
> Load subtitles in /media/95E5-18AE/
diff path obviously
> [VDPAU SUNXI] VE version 0x1623 opened.
same
> ==========================================================================
> Forced video codec: ffmpeg12vdpau
same
> Forced video codec: ffh264vdpau
same
> Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
same
> Selected video codec: [ffh264vdpau] vfm: ffmpeg (FFmpeg H.264 (VDPAU))
same
> ==========================================================================
> ==========================================================================
> Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
same
> AUDIO: 44100 Hz, 2 ch, s16le, 96.1 kbit/6.81% (ratio: 12009->176400)
same
> Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))
same
> ==========================================================================
> AO: [pulse] 44100Hz 2ch s16le (2 bytes per sample)
same
> Starting playback...
same
> Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
same
> VO: [vdpau] 1920x1080 => 1920x1080 H.264 VDPAU acceleration
same
> [vdpau] Got display refresh rate 50.000 Hz.
got 60.099 Hz refreshrate, insignificant
> [vdpau] If that value looks wrong give the -vo vdpau:fps=X suboption
> manually.
same
> [VDPAU SUNXI] Presentation time not supported 0 ??% ??% ??,?% 0 0
i have the error, but not the 0 ?? stuff (due to old mplayer?)
> [VDPAU SUNXI] vdp_output_surface_put_bits_indexed called but unimplemented!
don't have this (are you using the master branch?)
> [VDPAU SUNXI] vdp_output_surface_render_output_surface called but
> unimplemented!
don't have this (are you using the master branch?)
> A: 44.9 V: 45.0 A-V: -0.045 ct: -0.000 0/ 0 26% 0% 1.9% 0 0
same
>
>
> Exiting... (End of file)
same!

oliver

Puneet B

unread,
Feb 12, 2014, 2:41:15 AM2/12/14
to linux...@googlegroups.com, olive...@schinagl.nl, oli...@schinagl.nl
Hi Oliver ,

Here my update:

i tried with linaro rootfs also  from below link.

http://releases.linaro.org/latest/ubuntu/saucy-images.
(linaro-saucy-developer-20131216-586.tar.gz).

Now linaro ubuntu is booting fine.

Here also has the same issue. still video is not playing smoothly.

Regarding Log:
1.i installed mplayer2 by
apt-get install mplayer2.
still i am getting.

> MPlayer2 UNKNOWN (C) 2000-2011 MPlayer Team
(how to istall mplayer2 newer version).

2.> [vdpau] Got display refresh rate 50.000 Hz.
> [vdpau] If that value looks wrong give the -vo vdpau:fps=X suboption
> manually.
so i change refresh rate manually by passing argument -vo vdpau:fps=60.
Now refresh rate is 60.

3> [VDPAU SUNXI] Presentation time not supported  0 ??% ??% ??,?% 0 0
i have the error, but not the 0 ?? stuff (due to old mplayer?)

How to install newest version of mplayer2.

4> [VDPAU SUNXI] vdp_output_surface_put_bits_indexed called but unimplemented!
don't have this (are you using the master branch?)
> [VDPAU SUNXI] vdp_output_surface_render_output_surface called but
> unimplemented!
don't have this (are you using the master branch?)

This log is because of forward play of video.
if i did not forward the video with right aero mark , i am also not getting this.

finally i think problem with mplayer.


So how can i install.

Regards
Punith


 

Puneet B

unread,
Mar 6, 2014, 7:26:39 AM3/6/14
to linux...@googlegroups.com
how to configure default configuration of mpv in /home/local/.mpv/config

so i can play video from gui.

Regards
Punith

Simon Kenyon

unread,
Mar 6, 2014, 7:32:51 AM3/6/14
to linux...@googlegroups.com
i think you have the wrong mailing list

Rosimildo DaSilva

unread,
Mar 6, 2014, 8:22:26 AM3/6/14
to linux...@googlegroups.com
Dude, this list is not about mplayer application.
You get better results when you ask these questions on the proper mailing list!

R

Puneet B

unread,
Mar 7, 2014, 12:15:18 AM3/7/14
to linux...@googlegroups.com
Dude,

I just asking

mpv --vo=vdpau --hwdec=vdpau --hwdec-codecs=all [filename]
(export VDPAU_DRIVER=sunxi)

Is it possible to assign these things in config file.

so we can play videos from gui.


Regards
Punith




Carlo Caione

unread,
Mar 7, 2014, 2:55:24 AM3/7/14
to linux...@googlegroups.com
On Fri, Mar 7, 2014 at 6:15 AM, Puneet B <puni...@gmail.com> wrote:
> Dude,
>
> I just asking
>
> mpv --vo=vdpau --hwdec=vdpau --hwdec-codecs=all [filename]
> (export VDPAU_DRIVER=sunxi)
>
> Is it possible to assign these things in config file.

This is NOT something linux-sunxi related.
So, again, stop asking here.

--
Carlo Caione

Rosimildo DaSilva

unread,
Mar 7, 2014, 8:17:59 AM3/7/14
to linux...@googlegroups.com
I am glad you solved. I just point you to a place that could be easier to find answers.

Olliver Schinagl

unread,
Mar 7, 2014, 9:56:04 AM3/7/14
to linux...@googlegroups.com
On 03/07/14 06:15, Puneet B wrote:
> Dude,
>
> I just asking
>
> mpv --vo=vdpau --hwdec=vdpau --hwdec-codecs=all [filename]
> /(export VDPAU_DRIVER=sunxi)
>
> /Is it possible to assign these things in config file.
>
> so we can play videos from gui.
yes, but you'd still use the mplayer/mpv command line.

For my presentation at FOSDEM (did you watch it? :p) I used mplayer2 I
think, and it used /etc/mplayer.conf or something along the lines.

But this absolutely is something for a different place to solve. That
said, tab completion should solve it mostly for you ;)

Olliver
>
>
> Regards
> Punith
>
>
>
>
>
> --
> 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 linux-sunxi...@googlegroups.com
> <mailto:linux-sunxi...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout.

Puneet B

unread,
Mar 19, 2014, 10:26:59 AM3/19/14
to linux...@googlegroups.com, olive...@schinagl.nl, oli...@schinagl.nl
Hi,
 
i fallow this link

http://linux-sunxi.org/Cedrus

In my ubuntu for mpv player i install from this repository.

https://github.com/mpv-player/mpv

To get audio through hdmi output, i just compile hdmi as driver and sunxi-codec as module.

so now card 0 is hdmi. so audio is playing through hdmi outputs.

but once played , there is an  audio and video de synchronization detected for .mkv and .avi format files repeatedly.

But some time for mp4 and flv formats(1:5 )(especially when i make video to full screen).

but if i mute audio , all videos are playing fine.

what will be the issue.

how can i solve this.

Kindly help me.


Error log:

Regards
Punith

Simon Kenyon

unread,
Mar 19, 2014, 10:31:56 AM3/19/14
to linux...@googlegroups.com
are you doing this just to learn or are you doing this for your job?

i’ve asked before and i’ll ask again.
how has this anything to do with the topic of this mailing list?

--
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 linux-sunxi...@googlegroups.com.

Code Kipper

unread,
Mar 19, 2014, 1:11:37 PM3/19/14
to linux-sunxi
This may be an issue with the audio/hdmi drivers so could be relevant to this mailing list. Is anybody using HD video + audio?, I've not plugged my box into my TV for months so can't really comment on the current status.

I may be able to take a look but I will need the following:
upload the problematic videos somewhere where I can download them,
video the situation showing the stuttering/playing fine when muted.
command line instructions for mpv
logs from mpv and kernel

CK

Puneet B

unread,
Mar 20, 2014, 6:50:29 AM3/20/14
to linux...@googlegroups.com
Hi Code Kipper,

Thanks for your reply.

Here i am attaching  kernel log.

and mpv command i used is


mpv --vo=vdpau --hwdec=vdpau --hwdec-codecs=all [filename]

unfortunately i am not able to attach mpv log.

but its indicating,

//**Audio video desynchronization detected****//
kindly check by playing with --no-audio or --no-video command.
and problem may be because of your driver bug.

Regards
Punith




kernel_log.txt

Puneet B

unread,
Apr 7, 2014, 3:42:50 AM4/7/14
to linux...@googlegroups.com
Hi CodeKipper,

I found the problem, actually in my uboot i failed to set core voltage and frequency of humming board.So in script.fex file i replaced dvfs_table parameter from cubieboard2 to humming board fex.Now audio and video is working fine without de-synchronization ( if de-sync detect also auto-synch taking place).

In cb2.fex

[dvfs_table]
max_freq = 912000000
min_freq = 720000000
normal_freq = 720000000

LV_count = 7

LV1_freq = 1008000000
LV1_volt = 1450

LV2_freq = 912000000
LV2_volt = 1425

LV3_freq = 864000000
LV3_volt = 1350

LV4_freq = 720000000
LV4_volt = 1250

LV5_freq = 528000000
LV5_volt = 1150

LV6_freq = 312000000
LV6_volt = 1100

LV7_freq = 144000000
LV7_volt = 1050

In humming.fex

[dvfs_table]
max_freq = 912000000
min_freq = 60000000

LV_count = 8

LV1_freq = 1008000000
LV1_volt = 1450

LV2_freq = 912000000
LV2_volt = 1400

LV3_freq = 864000000
LV3_volt = 1300

LV4_freq = 792000000
LV4_volt = 1250

LV5_freq = 720000000
LV5_volt = 1200

LV6_freq = 624000000
LV6_volt = 1150

LV7_freq = 528000000
LV7_volt = 1100

LV8_freq = 312000000
LV8_volt = 1050

in uboot-level
U-Boot SPL 2013.04-07297-gc8f265c-dirty (Jun 23 2013 - 14:31:49)
Board: Cubieboard2
DRAM: 1024MB
Failed to set core voltage!. Can't set CPU frequency
SUNXI SD/MMC: 0


in kernel
root@localhost:/# dmesg | grep axp
[    2.695518] axp_mfd 0-0034: failed reading at 0x03
[    2.713254] axp_mfd: probe of 0-0034 failed with error -70
root@localhost:/#


Now my question , even though axp209 gets failed how the core voltage is coming and device is working fine
with modified script.

and can you explain these dvfspara_table?


Your help will be greatly appreciable.


Thanks&Regards
Punith


--
You received this message because you are subscribed to a topic in the Google Groups "linux-sunxi" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/linux-sunxi/PGlgXgaEh24/unsubscribe.
To unsubscribe from this group and all its topics, send an email to linux-sunxi...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages