diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/captureDVCAM+edit+encode+stream | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/bin/captureDVCAM+edit+encode+stream b/bin/captureDVCAM+edit+encode+stream index fd143c2..4bf2e4d 100755 --- a/bin/captureDVCAM+edit+encode+stream +++ b/bin/captureDVCAM+edit+encode+stream @@ -27,12 +27,11 @@ VBITRATE=256000 # + Add 1s latency (deadline) # + Use same RTP payload types as GStreamer ffmpeg -hide_banner -threads auto -re \ - -f alsa -sample_rate "$AFRAMERATE" -channels "$ACHANNELS" -thread_queue_size 1024 -i "$AINPUT" \ - -f libdc1394 -video_size 640x480 -framerate 15 -thread_queue_size 256 -i "$VINPUT" \ + -f iec61883 -i auto \ -i "$LOGO" \ -filter_complex \ - "[1:v]scale=-1:$HEIGHT[bg]; - [bg][2:v]overlay=main_w-overlay_w-20:main_h-overlay_h-20[v]" \ + "[0:v]scale=-1:$HEIGHT[bg]; + [bg][1:v]overlay=main_w-overlay_w-20:main_h-overlay_h-20[v]" \ -map '0:a' \ -codec:a libopus -ac "$ACHANNELS" -ar "$AFRAMERATE" -b:a "$ABITRATE" \ -f rtp -payload_type 111 "rtp://$IP:$FIRSTPORT?pkt_size=1200" \ |