Firefly Open Source Community

   Login   |   Register   |
New_Topic
12
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/5/2016 22:40:31      1#
Hi,

I get an error : librk_on2.so and libvpu.so are missing !

I think a package is missing....
Reply

Use props Report

106

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
106
Posted at 1/5/2016 23:11:45      2#
OK it's solved with just a reboot .....
Do you know why it's not working with 4K video ?
Reply

Use props Report

106

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
106
Posted at 1/6/2016 16:09:00      3#
Oh bad news.....
It's not possible to add 4K support (maybe with display improvement) ?

I think that the main advantage of this chip is 4K support.

Reply

Use props Report

106

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
106
Posted at 1/6/2016 23:40:15      4#
@mac_l1, @isle,

Do you think that it's possible to add 4K support (maybe with display improvement) ?
I can't see in sourcecode where 4K is forbidden ! Can you show me where i can find such thing ?

Reply

Use props Report

106

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
106
Posted at 1/7/2016 18:31:35      5#
Hi Isle,

Thanks alot for the explanation...It's very great job that you've done.

I try to modify source code in order to decode 4K. As a result i always get errors before decoding. This is the log :

  1. Firefly@firefly:~/Downloads/firefly-vpu-linux$ ./ffplay Astra_Canal_UHD.ts
  2. ffplay version 2.6.3 Copyright (c) 2003-2015 the FFmpeg developers
  3.   built with gcc 4.8 (Ubuntu/Linaro 4.8.4-2ubuntu1~14.04)
  4.   configuration: --enable-shared --prefix=/usr --disable-ffmpeg --disable-ffprobe --disable-ffserver --disable-static
  5.   libavutil      54. 20.100 / 54. 20.100
  6.   libavcodec     56. 26.100 / 56. 26.100
  7.   libavformat    56. 25.101 / 56. 25.101
  8.   libavdevice    56.  4.100 / 56.  4.100
  9.   libavfilter     5. 11.102 /  5. 11.102
  10.   libswscale      3.  1.101 /  3.  1.101
  11.   libswresample   1.  1.100 /  1.  1.100
  12. [hevc @ 0xb3922dc0] nb threads_frame = 1, nb threads_slice 1, thread_type = null
  13. [hevc @ 0xb3908220] nb threads_frame = 1, nb threads_slice 1, thread_type = null
  14. [hevc @ 0xb3922880] nb threads_frame = 1, nb threads_slice 1, thread_type = null
  15. [hevc_rkvpu @ 0xb39044a0] PPS id out of range: 0
  16. [hevc @ 0xb3908220] PPS id out of range: 0
  17. [hevc @ 0xb3908220] Error parsing NAL unit #2.
  18. Error while decoding frame
  19. get frame failed ret -1004
  20. Something wrong during decode!!!
  21. get frame failed ret -1004
  22. Something wrong during decode!!!
  23. get frame failed ret -1004
  24. Something wrong during decode!!!
  25. get frame failed ret -1004
  26. Something wrong during decode!!!
  27.     Last message repeated 2 times
  28. get frame failed ret -10040 aq=    0KB vq=    0KB sq=    0B f=0/0   
  29. Something wrong during decode!!!
  30. get frame failed ret -1004
  31. Something wrong during decode!!!
  32. get frame failed ret -1004
  33. Something wrong during decode!!!
  34. get frame failed ret -1004
  35. Something wrong during decode!!!
  36. get frame failed ret -1004
  37. Something wrong during decode!!!
  38. get frame failed ret -1004
  39. Something wrong during decode!!!
  40. get frame failed ret -1004
  41. Something wrong during decode!!!
  42. get frame failed ret -1004
  43. Something wrong during decode!!!
  44. get frame failed ret -1004
  45. Something wrong during decode!!!
  46. get frame failed ret -1004
  47. Something wrong during decode!!!
Copy the code

Reply

Use props Report

106

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
106
Posted at 1/8/2016 16:20:11      6#
Yes, the same stream works well with android player...
And i also try with some other stream and it give the same problem...
Reply

Use props Report

106

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
106
Posted at 1/8/2016 20:55:18      7#
This is the stream which gives problems :

http://www.filedropper.com/astracanaluhd
Reply

Use props Report

106

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
106
Posted at 1/11/2016 21:47:12      8#
Hi @Isle, @Mac_L1 and Everybody,

I try to debug ffmpeg but without success

I can't debug in libs like livavcodec. Can you explain me step by step what i should do to eable this debug please ?

Thanks in advance for your help.
Reply

Use props Report

106

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
106
Posted at 1/12/2016 21:32:52      9#
OK I can debug libs ....

But it's very hard.... and I saw nothing
Reply

Use props Report

106

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
106
Posted at 1/14/2016 20:52:05      10#
i can't find why this PPS id is bad. I try to download last ffmpeg sources... and same problem.

On top of that if i try to play other HEVC file, i get a screen with bad colours like in this screenshot :

Reply

Use props Report

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

This forum Credits Rules

Quick Reply Back to top Back to list