Skip to content

Commit

Permalink
Final gstreamer commit for today
Browse files Browse the repository at this point in the history
  • Loading branch information
Isopod00 committed Nov 8, 2024
1 parent 1e34480 commit bfd8e31
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/gstreamer/gstreamer/server_gstreamer.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ def init_h265(self, input, sink):
# format=(string)NV12, framerate=(fraction)30/1' ! nvvideoconvert ! nvv4l2h265enc
# ! rtph265pay ! udpsink host=127.0.0.1 port=5000
nvv4l2h265enc = Gst.ElementFactory.make("nvv4l2h265enc", "nvv4l2h265enc")
#nvv4l2h265enc.set_property("bitrate", 1000000)
self.pipeline.add(nvv4l2h265enc)
input.link(nvv4l2h265enc)

Expand All @@ -78,7 +79,7 @@ def init_av1(self, input, sink):
# gst-launch-1.0 videotestsrc ! 'video/x-raw, width=(int)640, height=(int)480, format=(string)NV12,
# framerate=(fraction)30/1' ! nvvideoconvert ! nvv4l2av1enc ! udpsink host=127.0.0.1 port=5000
nvv4l2av1enc = Gst.ElementFactory.make("nvv4l2av1enc", "nvv4l2av1enc")
nvv4l2av1enc.set_property("bitrate", 1000000)
#nvv4l2av1enc.set_property("bitrate", 1000000)
self.pipeline.add(nvv4l2av1enc)
input.link(nvv4l2av1enc)

Expand Down

0 comments on commit bfd8e31

Please sign in to comment.