jernej post at 2015-12-8 05:56:47

Edited by jernej at 2015-12-7 22:59

barban replied at 2015-12-7 22:27
Thanks for your suggestion, but I am really looking for a decent (and recent...) version of KODI on ...
If you do "readelf -d libvrender.so", you will get following output:
jernej@jernej-laptop:~/Repositories/zidoo-kodi-14.2/lib/libvrender$ readelf -d libvrender.so

Dynamic section at offset 0x2e34 contains 37 entries:
Tag      Type                         Name/Value
0x00000003 (PLTGOT)                     0x3f90
0x00000002 (PLTRELSZ)                   200 (bytes)
0x00000017 (JMPREL)                     0xdd0
0x00000014 (PLTREL)                     REL
0x00000011 (REL)                        0xda8
0x00000012 (RELSZ)                      40 (bytes)
0x00000013 (RELENT)                     8 (bytes)
0x6ffffffa (RELCOUNT)                   2
0x00000006 (SYMTAB)                     0x148
0x0000000b (SYMENT)                     16 (bytes)
0x00000005 (STRTAB)                     0x508
0x0000000a (STRSZ)                      1812 (bytes)
0x00000004 (HASH)                     0xc1c
0x00000001 (NEEDED)                     Shared library:
0x00000001 (NEEDED)                     Shared library:
0x00000001 (NEEDED)                     Shared library:
0x00000001 (NEEDED)                     Shared library:
0x00000001 (NEEDED)                     Shared library:
0x00000001 (NEEDED)                     Shared library:
0x00000001 (NEEDED)                     Shared library:
0x00000001 (NEEDED)                     Shared library:
0x00000001 (NEEDED)                     Shared library:
0x00000001 (NEEDED)                     Shared library:
0x00000001 (NEEDED)                     Shared library:
0x00000001 (NEEDED)                     Shared library:
0x00000001 (NEEDED)                     Shared library:
0x00000001 (NEEDED)                     Shared library:
0x00000001 (NEEDED)                     Shared library:
0x00000001 (NEEDED)                     Shared library:
0x00000001 (NEEDED)                     Shared library:
0x0000000e (SONAME)                     Library soname:
0x0000001a (FINI_ARRAY)               0x3e30
0x0000001c (FINI_ARRAYSZ)               4 (bytes)
0x00000010 (SYMBOLIC)                   0x0
0x0000001e (FLAGS)                      SYMBOLIC BIND_NOW
0x6ffffffb (FLAGS_1)                  Flags: NOW
0x00000000 (NULL)                     0x0


which clearly suggest that this library is android only. It depends on libandroid_runtime.so among others.

barban post at 2015-12-8 06:18:02

jernej replied at 2015-12-8 05:56
If you do "readelf -d libvrender.so", you will get following output:




You are right.
I made the wrong assumption that it coul be as simple as changing the libvdecoder.soversion to the linux one, taking it from H3 SDK.
Reading better the forum post I realized that libvrender.so is a different lib that was created by Ziddo team and it is specific for Android, as you remarked.
libvrender.so is not open sourced yet :(   

barban post at 2015-12-8 06:18:32

jernej replied at 2015-12-8 05:56
If you do "readelf -d libvrender.so", you will get following output:




You are right.
I made the wrong assumption that it coul be as simple as changing the libvdecoder.soversion to the linux one, taking it from H3 SDK.
Reading better the forum post I realized that libvrender.so is a different lib that was created by Ziddo team and it is specific for Android, as you remarked.
libvrender.so is not open sourced yet :(   

jacer post at 2015-12-8 23:12:54

fritz replied at 2015-12-6 09:04
And last but not least a crappy youtube video only to show that it really works:
https://youtu.be/O4 ...
H264 plays smoother than H265. And I think this is software decoder.

jernej post at 2015-12-10 04:52:50

barban replied at 2015-12-7 23:18
You are right.
I made the wrong assumption that it coul be as simple as changing the libvdecoder.s ...

Care to test my CedarX enabled OpenELEC version? Far from optimal (GPU rendering), but it is a start. Take a look at OpenELEC subforum here. No prebuild images ATM.

jacer post at 2015-12-10 12:44:34

jernej replied at 2015-12-10 04:52
Care to test my CedarX enabled OpenELEC version? Far from optimal (GPU rendering), but it is a sta ...

I am using OPI-PC and OPI-Plus2. Can you make a image for testing?

jernej post at 2015-12-10 13:29:10

Edited by jernej at 2015-12-10 21:02

jacer replied at 2015-12-10 05:44
I am using OPI-PC and OPI-Plus2. Can you make a image for testing?
Orange Pi 2 image is here:
EDIT: Please check OpenELEC subforum for latest build. There were some problems with H265.

Anything else will be hopefully build later today. I think you can use this image at least on PC version, only problem will be that only one USB port will work.

jacer post at 2015-12-24 23:04:10

For fixing green stripes and green bar issue, please check this link below. Works pretty well.
https://github.com/linux-sunxi/libvdpau-sunxi/issues/40

@lex post at 2016-1-4 01:41:56

Edited by @lex at 2016-1-3 14:48

fritz replied at 2015-12-5 19:01
OK, here is the corrected How-To on a Lubuntu 14.04 (I don't have other debian based images and I do ...
Hi @fritz,

I have followed your instructions with the latest libvdpau on my Lubuntu 14.04.3 but i get purple screen (the violet color is actually purple) with possibly the tiles being displayed at the wrong position or geometry.
vdpauinfo is OK, except for the display id on the 1920x1080:
vdpauinfo:
display: :0.0   screen: 0
VE version 0x1680 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 ---
HEVC_MAIN                      150 3240038402160
HEVC_MAIN_10                   --- not supported ---
HEVC_MAIN_STILL                --- not supported ---
HEVC_MAIN_12                   --- not supported ---
HEVC_MAIN_444                  --- 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                -
mplayer output:
mplayer -fs -vo vdpau -vc ffmpeg12vdpau,ffh264vdpau, sintel_trailer-1080p.mp4
MPlayer2 2.0-701-gd4c5b7f-2ubuntu2 (C) 2000-2012 MPlayer Team
Cannot open file '/home/ubuntu/.mplayer/input.conf': No such file or directory
Failed to open /home/ubuntu/.mplayer/input.conf.
Cannot open file '/etc/mplayer/input.conf': No such file or directory
Failed to open /etc/mplayer/input.conf.

Playing sintel_trailer-1080p.mp4.
Detected file format: QuickTime / MOV (libavformat)
stream 0: video (h264), -vid 0
stream 1: audio (aac), -aid 0, -alang und
Clip info:
major_brand: isom
minor_version: 512
compatible_brands: isomiso2avc1mp41
creation_time: 1970-01-01 00:00:00
title: Sintel Trailer
artist: Durian Open Movie Team
encoder: Lavf52.62.0
copyright: (c) copyright Blender Foundation | durian.blender.org
description: Trailer for the Sintel open movie project
Load subtitles in .
VE version 0x1680 opened.
Forced video codec: ffmpeg12vdpau
Forced video codec: ffh264vdpau
Selected video codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (VDPAU acceleration)
Selected audio codec: AAC (Advanced Audio Coding)
AUDIO: 48000 Hz, 2 ch, floatle, 126.7 kbit/4.12% (ratio: 15836->384000)
AO: 48000Hz 2ch floatle (4 bytes per sample)
Starting playback...
VIDEO:1920x108024.000 fps2108.4 kbps (263.6 kB/s)
VO: 1920x1080 => 1920x1080 H.264 VDPAU acceleration
Failed to get display FPS
Presentation time not supported
A:51.9 V:52.2 A-V: -0.174 ct:0.000   0/0 29%9%2.0% 0 0


Exiting... (End of file)
Can you spot what is missing here?
I tried to install your mpv and jacer mpv, but it broke my dependencies, mplayer is still old i think.

Any suggestion?

here is the output:

fritz post at 2016-1-4 23:32:39

Edited by fritz at 2016-1-4 16:51

@lex
Is this MPlayer2 you are using selfcompiled?
wich dependencies you broke?
I have compiled mpv-package on a lubuntu 14.04 and it shoud install on your Lubuntu 14.04.3
Try to install mpv14.0, i have it builded after upgrading lubuntu.
On my shared folder there is a compiled mplayer (binary) maybe it works for you, but i would suggest to use mpv.
page: 1 2 3 4 [5] 6 7 8
View full version: VPU CedarX drivers for Allwinner H3