Browse Source

video codec

main
Hendrik Langer 4 years ago
parent
commit
2a4088a671
  1. 2
      raspberry/roberto/camera/camera_gstreamer_webrtc.py

2
raspberry/roberto/camera/camera_gstreamer_webrtc.py

@ -91,7 +91,7 @@ PIPELINE_DESC = '''
''' '''
PIPELINE_DESC_RASPBERRY = ''' PIPELINE_DESC_RASPBERRY = '''
rpicamsrc bitrate=2000000 keyframe-interval=20 rotation=180 exposure-mode=sports annotation-mode=12 annotation-text-size=10 preview=false name=rpicamsrc ! video/x-h264,profile=constrained-baseline,width=1280,height=720,framerate=49/1,level=3.0 ! queue max-size-time=100000000 ! h264parse ! rpicamsrc bitrate=4000000 keyframe-interval=15 rotation=180 exposure-mode=sports annotation-mode=12 annotation-text-size=10 preview=false name=rpicamsrc ! video/x-h264,profile=constrained-baseline,width=1280,height=720,framerate=30/1,level=3.0 ! queue max-size-time=100000000 ! h264parse !
rtph264pay config-interval=-1 name=payloader ! rtph264pay config-interval=-1 name=payloader !
application/x-rtp,media=video,encoding-name=H264,payload=96 ! tee name=video-tee ! application/x-rtp,media=video,encoding-name=H264,payload=96 ! tee name=video-tee !
queue ! fakesink sync=true queue ! fakesink sync=true

Loading…
Cancel
Save