Advertisement
Guest User

Untitled

a guest
Jun 1st, 2017
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.62 KB | None | 0 0
  1. ##################################
  2. ## HTTP interface mosaic wizard ##
  3. ##################################
  4.  
  5. # Comment the following line if you don't want to reset your VLM configuration
  6. del all
  7.  
  8. # Background options
  9. new bg broadcast enabled
  10. setup bg input "C:\black.jpg"
  11. setup bg option image-duration=-1
  12. setup bg output #transcode{sfilter=mosaic{width=1920,height=960,cols=3,rows=2,position=1,order="1,2,3,4,5,6",keep-aspect-ratio=enabled,mosaic-align=5},vcodec=mp4v,vb=2000,fps=15}:duplicate{dst=display}
  13.  
  14. # Input options
  15. new 1 broadcast enabled
  16. setup 1 input http://id:pass@ip:port/video.cgi
  17. setup 1 option dshow-fps=15
  18. setup 1 option dshow-size="640x480"
  19. setup 1 output #duplicate{dst=mosaic-bridge{id=1,width=640,height=480},select=video,dst=bridge-out{id=0}}
  20.  
  21. new 2 broadcast enabled
  22. setup 2 input http://id:pass@ip:port/video.cgi
  23. setup 2 option dshow-fps=15
  24. setup 2 option dshow-size="640x480"
  25. setup 2 output #duplicate{dst=mosaic-bridge{id=2,width=640,height=480},select=video,dst=bridge-out{id=1}}
  26.  
  27. new 3 broadcast enabled
  28. setup 3 input http://id:pass@ip:port/video.cgi
  29. setup 3 option dshow-fps=15
  30. setup 3 option dshow-size="640x480"
  31. setup 3 output #duplicate{dst=mosaic-bridge{id=3,width=640,height=480},select=video,dst=bridge-out{id=2}}
  32.  
  33. new 4 broadcast enabled
  34. setup 4 input http://id:pass@ip:port/video.cgi
  35. setup 4 option dshow-fps=15
  36. setup 4 option dshow-size="640x480"
  37. setup 4 output #duplicate{dst=mosaic-bridge{id=4,width=640,height=480},select=video,dst=bridge-out{id=3}}
  38.  
  39. new 5 broadcast enabled
  40. setup 5 input http://id:pass@ip:port/video.cgi
  41. setup 5 option dshow-fps=15
  42. setup 5 option dshow-size="640x480"
  43. setup 5 output #duplicate{dst=mosaic-bridge{id=5,width=640,height=480},select=video,dst=bridge-out{id=4}}
  44.  
  45. new 6 broadcast enabled
  46. setup 6 input http://id:pass@ip:port/video.cgi
  47. setup 6 option dshow-fps=15
  48. setup 6 option dshow-size="640x480"
  49. setup 6 output #duplicate{dst=mosaic-bridge{id=6,width=640,height=480},select=video,dst=bridge-out{id=5}}
  50.  
  51. # Launch everything
  52. control bg play
  53. control 1 play
  54. control 2 play
  55. control 3 play
  56. control 4 play
  57. control 5 play
  58. control 6 play
  59.  
  60. # end of mosaic batch
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69. #fix
  70. #hello, thaks for sharing the script it works good with files didn't try it yet with streams but i have good hope that it will work.
  71. #I had some blinking videos too i corrected it by adding the keep-picture=1 parameter:
  72. #
  73. #Code: Select all
  74. #setup bg output #transcode{sfilter=mosaic{width=1920,height=960,cols=3,rows=2,position=1,order="1,2,3,4,5,6",keep-aspect-ratio=enabled,keep-picture=1,mosaic-align=5},vcodec=mp4v,vb=2000,fps=5}:duplicate{dst=display}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement