This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
5Mpixel streaming?
#1
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 Sad ). 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"
Reply
#2
You are right...
http://opensource.rock-chips.com/images/...170301.pdf page 11.
Decode can up to 4K, but the encoder only supports h264 1920x1080.
I'm not good at decode and encode how to work. so I can't give any helpful tip to you.
Reply
#3
Thanks for the link confirming my suspicion!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)