jacer
post at 2015-12-2 09:06:27
Rangarid replied at 2015-12-1 19:51
Another note... disabling h265 just seems to apply to the libvdpau-dev version in the lubuntu apt re ...
I think we should build OpenMAX player for H3.https://en.m.wikipedia.org/wiki/OpenMAX
jacer
post at 2015-12-2 21:16:18
Rangarid replied at 2015-12-1 18:36
Just testet with Lubuntu Vivid and it seems to work. Follow these instructions:
I think you mean this command. The libvdpau_sunxi.so.1 file should be here.
sudo ln -s /usr/lib/arm-linux-gnueabihf/vdpau/libvdpau_sunxi.so.1 /usr/lib/libvdpau_nvidia.so
jacer
post at 2015-12-2 22:14:25
Rangarid replied at 2015-12-1 18:36
Just testet with Lubuntu Vivid and it seems to work. Follow these instructions:
I get this error below.
orangepi@OrangePI:~$ mplayer -vo vdpau -vc ffmpeg12vdpau,ffh264vdpau, -fs test.h264
MPlayer2 2.0-728-g2c378c7-4 (C) 2000-2012 MPlayer Team
Cannot open file '/home/orangepi/.mplayer/input.conf': No such file or directory
Failed to open /home/orangepi/.mplayer/input.conf.
Cannot open file '/etc/mplayer/input.conf': No such file or directory
Failed to open /etc/mplayer/input.conf.
Playing test.h264.
Detected file format: raw H.264 video (libavformat)
Estimating duration from bitrate, this may be inaccurate
stream 0: video (h264), -vid 0
Load subtitles in .
VE version 0x0000 opened.
Forced video codec: ffmpeg12vdpau
Forced video codec: ffh264vdpau
Cannot find codec 'h264_vdpau' in libavcodec...
Video decoder init failed for codecs.conf entry "ffh264vdpau".
Selected video codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
Audio: no sound
Starting playback...
VIDEO:1920x108025.000 fps 0.0 kbps ( 0.0 kB/s)
VO: 1920x1080 => 1920x1080 Planar YV12
Error when calling vdp_presentation_queue_target_create_x11: A catch-all error, used when no other error code applies.
FATAL: Cannot initialize video driver.
FATAL: Could not initialize video filters (-vf) or video output (-vo).
[ vdpau] Error when calling vdp_presentation_queue_target_destroy: An invalid handle value was provided.
Exiting... (End of file)
jacer
post at 2015-12-3 11:46:10
I got errors on start mplayer.
orangepi@OrangePI:~$ mplayer -vo vdpau -vc ffmpeg12vdpau,ffh264vdpau test.h264
MPlayer2 2.0-728-g2c378c7-4 (C) 2000-2012 MPlayer Team
Cannot open file '/home/orangepi/.mplayer/input.conf': No such file or directory
Failed to open /home/orangepi/.mplayer/input.conf.
Cannot open file '/etc/mplayer/input.conf': No such file or directory
Failed to open /etc/mplayer/input.conf.
Playing test.h264.
Detected file format: raw H.264 video (libavformat)
Estimating duration from bitrate, this may be inaccurate
stream 0: video (h264), -vid 0
Load subtitles in .
VE version 0x0000 opened.
Forced video codec: ffmpeg12vdpau
Forced video codec: ffh264vdpau
Cannot find codec 'h264_vdpau' in libavcodec...
Video decoder init failed for codecs.conf entry "ffh264vdpau".
Cannot find codec matching selected -vo and video format 0x34363248.
Exiting... (End of file)
orangepi@OrangePI:~$ vdpauinfo
display: :0 screen: 0
VE version 0x0000 opened.
API version: 1
Information string: sunxi VDPAU Driver
Video surface:
name width height types
-------------------------------------------
420 81928192NV12 YV12
Decoder capabilities:
name level macbs width height
----------------------------------------------------
MPEG1 0 3240038402160
MPEG2_SIMPLE 3 3240038402160
MPEG2_MAIN 3 3240038402160
H264_BASELINE 51 3240038402160
H264_MAIN 51 3240038402160
H264_HIGH 51 3240038402160
VC1_SIMPLE --- not supported ---
VC1_MAIN --- not supported ---
VC1_ADVANCED --- not supported ---
MPEG4_PART2_SP 5 3240038402160
MPEG4_PART2_ASP 5 3240038402160
DIVX4_QMOBILE --- not supported ---
DIVX4_MOBILE --- not supported ---
DIVX4_HOME_THEATER --- not supported ---
DIVX4_HD_1080P --- not supported ---
DIVX5_QMOBILE --- not supported ---
DIVX5_MOBILE --- not supported ---
DIVX5_HOME_THEATER --- not supported ---
DIVX5_HD_1080P --- not supported ---
H264_CONSTRAINED_BASELINE 51 3240038402160
H264_EXTENDED --- not supported ---
H264_PROGRESSIVE_HIGH --- not supported ---
H264_CONSTRAINED_HIGH 51 3240038402160
H264_HIGH_444_PREDICTIVE --- not supported ---
Output surface:
name width height nat types
----------------------------------------------------
B8G8R8A8 81928192 -
R8G8B8A8 81928192 -
Bitmap surface:
name width height
------------------------------
B8G8R8A8 81928192
R8G8B8A8 81928192
Video mixer:
feature name sup
------------------------------------
DEINTERLACE_TEMPORAL -
DEINTERLACE_TEMPORAL_SPATIAL -
INVERSE_TELECINE -
NOISE_REDUCTION -
SHARPNESS -
LUMA_KEY -
HIGH QUALITY SCALING - L1 -
HIGH QUALITY SCALING - L2 -
HIGH QUALITY SCALING - L3 -
HIGH QUALITY SCALING - L4 -
HIGH QUALITY SCALING - L5 -
HIGH QUALITY SCALING - L6 -
HIGH QUALITY SCALING - L7 -
HIGH QUALITY SCALING - L8 -
HIGH QUALITY SCALING - L9 -
parameter name sup min max
-----------------------------------------------------
VIDEO_SURFACE_WIDTH y 0 8192
VIDEO_SURFACE_HEIGHT y 0 8192
CHROMA_TYPE y
LAYERS y 0 0
attribute name sup min max
-----------------------------------------------------
BACKGROUND_COLOR -
CSC_MATRIX -
NOISE_REDUCTION_LEVEL -
SHARPNESS_LEVEL -
LUMA_KEY_MIN_LUMA -
LUMA_KEY_MAX_LUMA -
jacer
post at 2015-12-3 14:28:34
How to use the H3 head files?
fritz
post at 2015-12-4 17:57:19
Rangarid replied at 2015-12-1 11:36
Just testet with Lubuntu Vivid and it seems to work. Follow these instructions:
@rangarid
there are some errors in your How to, tried myself wit a debian based distro (lubuntu).
The problem is that you need a newer libvdpau and newer mplayer to make HEVC work.
maybe I post a corrected How-to later this evening.
Rangarid
post at 2015-12-4 23:39:21
Edited by Rangarid at 2015-12-4 23:58
I know that, i wrote that in the next post. But for H264 it works as in my tutorial. Ubuntu 15.04 has libvdpau 1.1 which supports h265, there the h265 changes are not needed. I had a 14.04 version, there it was necessary.
lance.bai
post at 2015-12-5 01:13:54
does libcedarx work on H3?
if so, I assume it would use less cpu resources.
I try to use mpvrunning with libvdpau-sunxi to play big_buck_bunny_1080p_H264_AAC_25fps_7200K, and it takes ~30% of each core.
it is bit high, isn't it?
jacer
post at 2015-12-5 11:50:44
lance.bai replied at 2015-12-5 01:13
does libcedarx work on H3?
if so, I assume it would use less cpu resources.
How did you install? Care to share?
jacer
post at 2015-12-5 11:51:28
fritz replied at 2015-12-4 17:57
@rangarid
there are some errors in your How to, tried myself wit a debian based distro (lubuntu).
...
Care to share?