ros-drivers / gscam

ROS Camera driver for GStreamer-based video streams.
136 stars 172 forks source link

Can gscam perform h265encoding over v4l2 image stream? #58

Open JeyP4 opened 4 years ago

JeyP4 commented 4 years ago

Hello

In order to save bandwidth, I am thinking to use h265codec instead of mjpeg. (Preferably hardware encoding-decoding, such as vaapih265enc or nvv4l2h265enc)

I am new to gscam and gstreamer.

I figure out following command to encode-decode at only one computer. gst-launch-1.0 v4l2src device=/dev/video0 ! 'video/x-raw, width=1280,height=720,framerate=(fraction)30/1' ! timeoverlay ! vaapih265enc ! vaapidecode ! vaapisink

My concern is to perform vaapih265enc at one PC and vaapidecode at another PC. Is gscam is an appropriate tool for this problem?