Advertisement
Guest User

Untitled

a guest
Aug 20th, 2019
749
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.15 KB | None | 0 0
  1. #ffmpeg command
  2. ffmpeg -thread_queue_size 2048
  3. -c:v h264_cuvid -gpu 1 -i "udp://224.2.2.2:1002?fifo_size=100000000&overrun_nonfatal=1&buffer_size=100000&analyzeduration=1000000"
  4. -filter_complex
  5. "[0:i:0x79]setpts=PTS-STARTPTS[w0h0];
  6. [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];
  7. [w0h0][vol0s0]overlay=eval=0:x=0[out0];
  8. [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];
  9. [out0][vol0s1]overlay=eval=0:x=1824[out]"
  10.  
  11. -map i:0x7a -map i:0x7b -map '[out]' -f mpeg
  12. -y '/root/multiscreen/fifo/3e3756f94cb68bb058e49eda97ff6519_0.mp4' >/dev/null 2>&1 &
  13.  
  14. #mpv player command
  15. DISPLAY=:0 mpv --osd-bar-w=100 --osd-bold=yes --osd-align-y=bottom --osd-align-x=center
  16. --osd-font-size=65 --osd-font='Bitstream Vera Sans' --osd-back-color=#FF0000
  17. --osd-color=#FFFFFF --osd-msg1='224.2.2.2p1002' --video-aspect=16:9 --mute=yes
  18. --geometry=0:0 --autofit=480x270
  19. '/root/multiscreen/fifo/3e3756f94cb68bb058e49eda97ff6519_0.mp4'
  20. --input-ipc-server=/tmp/mpvsocket0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement