Przeglądaj źródła

match framerate

David 10 lat temu
rodzic
commit
73382cc902
2 zmienionych plików z 2 dodań i 2 usunięć
  1. 1 1
      completo-2cam.ini
  2. 1 1
      working-udp-video.sh

+ 1 - 1
completo-2cam.ini

@@ -12,7 +12,7 @@ system control port 9999
 system geometry 1024 768 BGRA
 
 # Set system frame rate to 24
-system frame rate 25
+system frame rate 24
 
 # Set output control socket
 system socket /tmp/mixer1

+ 1 - 1
working-udp-video.sh

@@ -58,7 +58,7 @@ SHMSIZE='shm-size='`echo "$feed_width * $feed_height * 4 * 26"|bc`
 SHMOPTION="wait-for-connection=1 sync=true"
 SHMSINK1="shmsink socket-path=$feed_control_pipe $SHMSIZE $SHMOPTION"
 #AUDIOFORMAT="$AUDIOS16LE"', rate='$feed_rate', channels='$feed_channels
-VIDEOFORMAT=$VIDEOBGRA', width='$feed_width', height='$feed_height', framerate=30/1'
+VIDEOFORMAT=$VIDEOBGRA', width='$feed_width', height='$feed_height', framerate=24/1'
 SRC="udpsrc port=5000 ! application/x-rtp, payload=96 ! rtpjitterbuffer ! rtph264depay ! avdec_h264 "
 while true ; do
     # Remove the named pipe if it exist