Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ffmpeg command
- ffmpeg -thread_queue_size 2048
- -c:v h264_cuvid -gpu 1 -i "udp://224.2.2.2:1002?fifo_size=100000000&overrun_nonfatal=1&buffer_size=100000&analyzeduration=1000000"
- -filter_complex
- "[0:i:0x79]setpts=PTS-STARTPTS[w0h0];
- [0:i:0x7a]showvolume=w=1080:h=45:o=1:f=0.50:r=10:dm=1.0:dmc=yellow:v=0:ds=log[vol0s0];
- [w0h0][vol0s0]overlay=eval=0:x=0[out0];
- [0:i:0x7b]showvolume=w=1080:h=45:o=1:f=0.50:r=10:dm=1.0:dmc=yellow:v=0:ds=log[vol0s1];
- [out0][vol0s1]overlay=eval=0:x=1824[out]"
- -map i:0x7a -map i:0x7b -map '[out]' -f mpeg
- -y '/root/multiscreen/fifo/3e3756f94cb68bb058e49eda97ff6519_0.mp4' >/dev/null 2>&1 &
- #mpv player command
- DISPLAY=:0 mpv --osd-bar-w=100 --osd-bold=yes --osd-align-y=bottom --osd-align-x=center
- --osd-font-size=65 --osd-font='Bitstream Vera Sans' --osd-back-color=#FF0000
- --osd-color=#FFFFFF --osd-msg1='224.2.2.2p1002' --video-aspect=16:9 --mute=yes
- --geometry=0:0 --autofit=480x270
- '/root/multiscreen/fifo/3e3756f94cb68bb058e49eda97ff6519_0.mp4'
- --input-ipc-server=/tmp/mpvsocket0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement