Commit e51ebfa6 authored by Carlos Remuzzi's avatar Carlos Remuzzi Committed by Carlos Remuzzi
Browse files

removiendo parametro de bitrate

parent 8568aa7f
...@@ -56,12 +56,11 @@ invocar_gst() { ...@@ -56,12 +56,11 @@ invocar_gst() {
CROP_STRING_Y="starty=0 endy=1079" CROP_STRING_Y="starty=0 endy=1079"
fi fi
video_gst="gst-launch-1.0 ximagesrc use-damage=false $CROP_STRING_X $CROP_STRING_Y ! videoconvert ! videoscale ! video/x-raw,format=I420,width=$SCREEN_WIDTH,height=$SCREEN_HEIGHT,framerate=24/1,bitrate=6000 ! jpegenc quality=80 ! rtpjpegpay ! udpsink host=$AP_ADDRESS port=1234 sync=false" video_gst="gst-launch-1.0 ximagesrc use-damage=false $CROP_STRING_X $CROP_STRING_Y ! videoconvert ! videoscale ! video/x-raw,format=I420,width=$SCREEN_WIDTH,height=$SCREEN_HEIGHT,framerate=25/1 ! jpegenc quality=80 ! rtpjpegpay ! udpsink host=$AP_ADDRESS port=1234 sync=false"
audio_gst="gst-launch-1.0 pulsesrc device=libreCast.monitor ! audio/x-raw,rate=11500,channels=2,depth=16 ! udpsink host=$AP_ADDRESS port=5678 sync=false" audio_gst="gst-launch-1.0 pulsesrc device=libreCast.monitor ! audio/x-raw,rate=11500,channels=2,depth=16 ! udpsink host=$AP_ADDRESS port=5678 sync=false"
if [ "$CODEC" == "h264" ] ;then if [ "$CODEC" == "h264" ] ;then
echo "cambiando gst pipe para h264 ..." video_gst="gst-launch-1.0 ximagesrc use-damage=false $CROP_STRING_X $CROP_STRING_Y ! videoconvert ! videoscale ! video/x-raw,format=I420,width=$SCREEN_WIDTH,height=$SCREEN_HEIGHT,framerate=25/1 ! vaapih264enc ! rtph264pay config-interval=1 pt=96 ! udpsink host=$AP_ADDRESS port=1234 sync=false"
video_gst="gst-launch-1.0 ximagesrc use-damage=false $CROP_STRING_X $CROP_STRING_Y ! videoconvert ! videoscale ! video/x-raw,format=I420,width=$SCREEN_WIDTH,height=$SCREEN_HEIGHT,framerate=24/1 ! vaapih264enc ! rtph264pay config-interval=1 pt=96 ! udpsink host=$AP_ADDRESS port=1234 sync=false"
fi fi
$video_gst & $video_gst &
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment