05-27-2018, 09:01 PM
Hello,
I bought a Tinker Board since it mentions support for 4K (on a second thought, it might have referred to 4K decoding and not 4K encoding
). I connected an OV5647 5Mpixel camera to it (i.e., RPi Camera v1) via CSI. Can the Tinker Board stream all 5M pixels of the camera to a different computer, preferably in H264 or HEVC/H265?
I used gst-inspect-1.0, but couldn't find any plugin for hardware HEVC/H265 encoder. The RockChip H264 encoder (mpph264enc, see gst-inspect-1.0 output below) seems to support only Full HD.
Thanks,
Cristian
I bought a Tinker Board since it mentions support for 4K (on a second thought, it might have referred to 4K decoding and not 4K encoding
). I connected an OV5647 5Mpixel camera to it (i.e., RPi Camera v1) via CSI. Can the Tinker Board stream all 5M pixels of the camera to a different computer, preferably in H264 or HEVC/H265?I used gst-inspect-1.0, but couldn't find any plugin for hardware HEVC/H265 encoder. The RockChip H264 encoder (mpph264enc, see gst-inspect-1.0 output below) seems to support only Full HD.
Thanks,
Cristian
Code:
linaro@tinkerboard:~$ gst-inspect-1.0 mpph264enc
Factory Details:
Rank primary + 1 (257)
Long-name Rockchip Mpp H264 Encoder
Klass Codec/Encoder/Video
Description Encode video streams via Rockchip Mpp
Author Randy Li <randy.li@rock-chips.com>
Plugin Details:
Name rockchipmpp
Description Rockchip Mpp Video Plugin
Filename /usr/lib/arm-linux-gnueabihf/gstreamer-1.0/libgstrockchipmpp.so
Version 1.10.0
License GPL
Source module gstreamer-rockchip
Binary package GStreamer Plug-ins source release
Origin URL Unknown package origin
GObject
+----GInitiallyUnowned
+----GstObject
+----GstElement
+----GstVideoEncoder
+----GstMppVideoEnc
+----GstMppH264Enc
Implemented Interfaces:
GstPreset
Pad Templates:
SRC template: 'src'
Availability: Always
Capabilities:
video/x-h264
width: [ 32, 1920 ]
height: [ 32, 1080 ]
framerate: [ 0/1, 30/1 ]
stream-format: { byte-stream }
alignment: { au }
profile: { high }
SINK template: 'sink'
Availability: Always
Capabilities:
video/x-raw
format: NV12
width: [ 32, 1920 ]
height: [ 32, 1088 ]
framerate: [ 0/1, 60/1 ]
video/x-raw
format: I420
width: [ 32, 1920 ]
height: [ 32, 1088 ]
framerate: [ 0/1, 60/1 ]
video/x-raw
format: YUY2
width: [ 32, 1920 ]
height: [ 32, 1088 ]
framerate: [ 0/1, 60/1 ]
video/x-raw
format: UYVY
width: [ 32, 1920 ]
height: [ 32, 1088 ]
framerate: [ 0/1, 60/1 ]
Element Flags:
no flags set
Element Implementation:
Has change_state() function: gst_video_encoder_change_state
Element has no clocking capabilities.
Element has no URI handling capabilities.
Pads:
SINK: 'sink'
Pad Template: 'sink'
SRC: 'src'
Pad Template: 'src'
Element Properties:
name : The name of the object
flags: readable, writable
String. Default: "mpph264enc0"
parent : The parent of the object
flags: readable, writable
Object of type "GstObject"


![[-]](https://tinkerboarding.co.uk/forum/images/collapse.png)