Firefly Open Source Community

   Login   |   Register   |
New_Topic
1234
New Topic
Print Previous Topic Next Topic

Hardware decoder on linux for firefly-rk3288(source opened)

106

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
106
Posted at 1/19/2016 23:28:31        Only Author  31#
isle Posted at 1/7/2016 09:49
Hi fd101283.
the 4k video  hasn't be  forbbidened on this sourcecode.  
but when playing 4k video  ...

There is the same problem with HD resolution....
avctx->width & height are wrong before init.


Reply

Use props Report

106

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
106
Posted at 1/25/2016 16:46:35        Only Author  32#
Hi mac_l1,

Have you find something wrong with my file.
From my hand, i found nothing...
Reply

Use props Report

106

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
106
Posted at 2/15/2016 17:16:36        Only Author  33#
UP !!



Reply

Use props Report

204

Credits

0

Prestige

0

Contribution

intermediate

Rank: 3Rank: 3

Credits
204
Posted at 3/16/2016 19:04:20        Only Author  34#
Hi isle.
can this source be used on fireprime board(RK3128 chip)?
Reply

Use props Report

1821

Credits

10

Prestige

17

Contribution

super moderator

Rank: 8Rank: 8

Credits
1821
Posted at 4/22/2016 17:42:39        Only Author  35#
newold Posted at 3/16/2016 19:04
Hi isle.
can this source be used on fireprime board(RK3128 chip)?

yes ,I think it can be used on fireprime .what you need to do is just get mac's hybris lib for rk3128.
Reply

Use props Report

204

Credits

0

Prestige

0

Contribution

intermediate

Rank: 3Rank: 3

Credits
204
Posted at 4/25/2016 19:44:44        Only Author  36#
Last edited by newold In 4/25/2016 21:36 Editor
root@firefly:/home/firefly/firefly-vpu-linux# ./ffplay
./ffplay: relocation error: /usr/lib/libavfilter.so.5: symbol avpriv_vga16_font, version LIBAVUTIL_54 not defined in file libavutiime reference

Hi, isle

Thank you for your reply.
I have applied the mac's hybris lib for rk3128.
However, when i run command(./ffplay) occurs error.

For reference, my firmware was used for the image received from the firefly website.
(FirePrime_Ubuntu15.04_201603030939.img)
Reply

Use props Report

14

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
14
Posted at 6/25/2016 14:54:21        Only Author  37#
Hi, isle.
As newold I've tried to run ffplay on fireprime, everything looks good except one thing:
it can't find "librk_on2.so" and then says "Failed to open: RK_DEC_LIB, init declib failed"

What can I do with it? Where can I get librk_on2.so?
Reply

Use props Report

14

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
14
Posted at 6/25/2016 15:01:44        Only Author  38#
Last edited by Bokrenok In 6/25/2016 15:03 Editor

Hi, newold.
I've just solved the same problem.

The metter is that there are already some libs for ffmpeg in the firmware located in:
/usr/lib/arm-linux-gnueabihf/
/usr/lib/arm-linux-gnueabihf/vfp
/usr/lib/arm-linux-gnueabihf/neon

And compiled ffplay installed libs in /usr/lib/, but tries to load libs from "/usr/lib/arm-linux-gnueabihf/neon" and "/usr/lib/arm-linux-gnueabihf"

You should remove (or move anywhere) default libs which present in those directories.

Here is the list (for each mentioned directory):

libavcodec.so.56.1.0
libavdevice.so.55
libavdevice.so.55.0.0
libavfilter.so.5
libavfilter.so.5.0.0
libavformat.so.56
libavformat.so.56.1.0
libavresample.so.2
libavresample.so.2.1.0
libavutil.so.54
libavutil.so.54.3.0
libswscale.so.3
libswscale.so.3.0.0

But there is one more problem: ffplay can't find "librk_on2.so" and I didn't find a solution yet.

Reply

Use props Report

14

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
14
Posted at 6/26/2016 02:51:03        Only Author  39#
well, eventually I managed to install and run kodi on fireprime-rk3128
instructions are here: http://freaktab.com/forum/tv-pla ... or-rockchip-devices

many thanks to mac_l1 for his great job!
Reply

Use props Report

Return to List
1234
You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list