Hardware video codec
#11
I am running Manjaro now, so I can't reproduce this right now.

The upstream ffmpeg and mpv don't support rkmpp. When you run `ffmpeg` it shows you the compile flags. If you don't see "--enable-rkmpp" then you have the upstream version.

The Netflix problem is unrelated, no browser can do hardware video decoding on the PBP (except ChromeOS)

I have a question for people running the mainline kernel: Have you had any success utilizing the hantro-vpu driver? v4l2-ctl shows that there is support for a JPEG encoder and a mpeg2 and vp8 decoder. I could use the JPEG encoder with gstreamer, but the decoder doesn't seem to work on either ffmpeg or gstreamer.
  Reply
#12
I downloaded the standard Debian image and put it onto a sd card and booted from there. The ffmpeg from the sd card behaves just the way you are describing.  I assume, the standard image contains a specifically built ffmpeg for the pbp.I'll ask on the 'standard os' thread, how to keep the standard os installation up to date without losing mrfixit2001's modifications.
  Reply
#13
1. Does anyone have a full list of packages to be kept from updating?
2. Does anyone have mentioned packages from original default OS image (or files)?
  Reply
#14
(02-12-2020, 12:12 PM)wrzomar Wrote: 1. Does anyone have a full list of packages to be kept from updating?
2. Does anyone have mentioned packages from original default OS image (or files)?

On a fresh install of default debian:

Code:
rock@Debian-Desktop:~$ dpkg  --get-selections|grep -v install
ffmpeg                      hold
ffmpegthumbnailer               hold
rock@Debian-Desktop:~$

And have a look at /etc/apt/apt.d.conf. Kernel and firmware is kept from upgrading.

On my already upgraded system on emmc: when i call ffmpeg from the sd card, on which the fresh install is located,
ffmpeg complais about a missing library:


Code:
u1@pbp:/media/u1/e9e67d6e-9693-4f25-bbd6-ae24f7c9e5bb/usr/bin$ ./ffmpeg
./ffmpeg: error while loading shared libraries: libavdevice.so.58: cannot open shared object file: No such file or directory


I copied the library from the sd to the emmc. After that, ffmpeg complained about another lib. After copying a few, I gave up.
  Reply
#15
I've followed instructions from:
https://forum.pine64.org/archive/index.p...-7112.html

but freshly built mpv has segfault every time. I'm thinking about reflashing emmc and starting fresh.
  Reply
#16
1. don't use aptitude
2. do use apt pinning
  Reply
#17
I wasn't using aptitude. Does apt pinning protect from apt autoremove?
  Reply
#18
Hello! Any news to fix this problem?

If Manjaro has solved the problem, how do I transfer the fix to Debian?
Pinebook Pro, standard config (Manjaro)
  Reply
#19
manjaro solved this problem by using mainline linux and not relying on an easily breakable apt configuration.

mrfixit's approach is vulnerable to many issues and this is one of them. you probably need to copy all of the ffmpeg files from an updated default os.

one of the issues is that hwaccel in 4.4 is vastly different that mainline. honestly, mainline is still catching up, but will soon exceed.
  Reply
#20
Looks like there is not much point in sticking with the default Debian install.
Manjaro wil be the default, starting with the next batch (see March update).
https://www.pine64.org/2020/03/15/march-...-software/

Meanwhile I found some info on the ODroid forum.
Just in case Manjaro doesn't activate the hardware encoder.
https://forum.odroid.com/viewtopic.php?t=30470
https://github.com/rockchip-linux/gstreamer-rockchip
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  HArdware issues while charging user18130814200115 2 331 05-01-2021, 04:13 AM
Last Post: gabeeg
  Video Editing Is Possible On The PineBook Pro! ImmyChan 8 741 04-01-2021, 09:27 PM
Last Post: dsimic
  Kdenlive or other video editing software?? SuttonWillow 3 418 03-27-2021, 06:45 AM
Last Post: ImmyChan
  Netflix, Amazon Prime Video, and Chromium. Nobot 13 6,407 03-12-2021, 10:46 AM
Last Post: spikerguy
  Kdenlive or other video editing software? ImmyChan 2 423 01-19-2021, 01:12 AM
Last Post: KC9UDX
  Video Editing jiyong 3 1,535 08-28-2020, 06:39 AM
Last Post: PaulQ
  zoom /video application guyaire 1 1,207 07-06-2020, 06:31 PM
Last Post: jiyong
  Garbled Video Display With Multiple Operating Systems rbma 5 2,200 06-29-2020, 07:19 PM
Last Post: rbma
  PineBook Pro Stemma QT connector for Hardware Hacking ssfrfr@ 2 1,051 03-30-2020, 10:35 AM
Last Post: xmixahlx
  Hardware video decoding question sgx2 1 960 01-15-2020, 01:48 PM
Last Post: RotatingNut

Forum Jump:


Users browsing this thread: 2 Guest(s)