mpph264enc output doesn't work on bionic
#7
(05-11-2018, 05:14 PM)t4_4t Wrote: Why does not it work?
If you refer to the following, you can understand the reason
https://forum.pine64.org/showthread.php?tid=5000
dalmate: 11-02-2017, 03: 57 AM

In spite of similar reports a long time ago
at the headquarters https://github.com/rockchip-linux ,
it may not improve as it is improving all the time.

I've heard that it works with "armhf" version of  ROCK64, but I have not confirmed it.
It probably is correct as it is running on rk3228. (Because rk3228 can not support 64bit)

Even though I was waiting to be corrected, I thought that the possibility of doing it was low.
So, I fixed the corresponding parts of "kermel and mpp" by myself
It's been quite a while ago.

In the modified environment,
I have confirmed "color bar image output" obtained from the example presented by you.
For the operation with the arm64 binary,
it will not be able to hope unless the corresponding part is modified.

------- Log ------
gst-launch-1.0 -e videotestsrc is-live=false num-buffers=500 \
! video/x-raw,format=NV12,width=1280,height=720 \
! mpph264enc ! filesink location=1280.h264
Setting pipeline to PAUSED ...
mpi: mpp version: Without VCS info
mpp_rt: NOT found ion allocator
mpp_rt: found drm allocator
Pipeline is PREROLLING ...
h264e_api: h264e_config MPP_ENC_SET_RC_CFG bps 3456000 [3240000 : 3672000]
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Got EOS from element "pipeline0".
Execution ended after 0:00:20.715473988
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...


ffprobe -hide_banner 1280.h264
Input #0, h264, from '1280.h264':
 Duration: N/A, bitrate: N/A
   Stream #0:0: Video: h264 (High), yuv420p(progressive), 1280x720, 30 fps, 30 tbr, 1200k tbn, 60 tbc


gst123 1280.h264
Playing file:///mnt/1280.h264
mpi: mpp version: Without VCS info
hal_h264d_api: hal_h264d_init mpp_buffer_group_get_internal used ion In
mpp_rt: NOT found ion allocator
mpp_rt: found drm allocator
Codec   :  (audio) H.264 (High Profile) (video)
Time: 0:00:16.61 of 0:00:16.66 | Bitrate: 7679.7 kbit/sec

Thank you for clarifying. Do you have a fork with the modified kernel/mpp that I can try?

What still is stange to me is that decoding works flawlessly. Isn't it the same mpp and kernel module used for encoding?
  Reply


Messages In This Thread
RE: mpph264enc output doesn't work on bionic - by rompelstompel - 05-12-2018, 02:20 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Rock64 v2 - did not work song / audio sqw200zu 2 1,819 03-14-2024, 03:09 AM
Last Post: dmitrymyadzelets
  HDMI doesn't work on rock64 Noung1991 1 1,028 11-21-2023, 08:33 AM
Last Post: as365n4
  Rock64 Rev3 doesn't boot and leds blinking fast dishins 6 8,729 06-30-2022, 06:28 PM
Last Post: rookie_267
  armbian / bionic - hdmi to vga not functioning on newer5.4 kapqa 1 3,419 03-31-2020, 07:19 PM
Last Post: tllim
Sad HDMI doesn't work on rock64 rock7 0 3,039 12-16-2019, 01:04 PM
Last Post: rock7
  Owncloud installation on Ubuntu Bionic Count Omega 9 12,277 07-19-2019, 03:54 AM
Last Post: stuartiannaylor
  HDMI output with Arch Linux Arm yogo1212 2 5,137 07-17-2019, 02:46 AM
Last Post: yogo1212
  Screen lock fail Bionic-lxde-rock64-0.7.8-1061-arm64 electrique 0 2,312 12-28-2018, 11:00 PM
Last Post: electrique
  bionic lxde 0.6.xx was not getting audio/sound jose_s_c 2 4,545 11-13-2018, 11:18 AM
Last Post: UnicornFarts
  Arch Linux minimal image w/ full HDMI output support hiccupstix 1 3,938 11-01-2018, 08:33 AM
Last Post: danboid

Forum Jump:


Users browsing this thread: 1 Guest(s)