Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- mkdir ~/public_html/gop2
- ffmpeg \
- -hide_banner \
- -y \
- -threads 0 \
- -probesize 1G \
- -channel_layout stereo \
- \
- -f decklink \
- -bm_v210 1 \
- -channels 2 \
- -i 'DeckLink Studio 4K@9' \
- \
- -vf yadif=1 \
- -pix_fmt yuv420p10le \
- -force_key_frames "expr:gte(t,n_forced*2)" \
- -sc_threshold 0 \
- -r 30000/1001 \
- -c:v libx264 \
- -b:v 3500k \
- -maxrate 4000k \
- -preset veryfast \
- -profile:v high422 \
- -bufsize 3500k \
- \
- -c:a aac \
- -b:a 128k \
- -ac 2 \
- \
- -f segment \
- -segment_time 60 \
- -segment_atclocktime 1 \
- -reset_timestamps 1 \
- -strftime 1 \
- ~/public_html/gop2/gop2-5-%Y%m%d-%H%M%S%z-1080p.mp4
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement