Crop, Croppadd, Tearing, VSync, Video-Wall

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
#thweiss
Cone that earned his stripes
Cone that earned his stripes
Posts: 136
Joined: 07 Nov 2017 07:13
Location: Germany

Crop, Croppadd, Tearing, VSync, Video-Wall

Postby #thweiss » 05 Dec 2017 09:45

Hello,

I tested the --crop and --croppadd Commands with the VLC-Version 2.2.6 (32-Bit) and the OS Windows 7 and also Windows 10 for a different Videowall-Solution.
My first Commandline-Example starting two instances of the VLC-Player with the same Video, but every Video will crop in a left an a right half.
The Idea behind is to use different Devices, which are connected in a local Network and playing the same video synchronic.
This could be an solution for a Videowall with different Devices.

Demo-Video (MP4, H.264, 1920×1080): https://www.so-geht-saechsisch.de/wp-co ... HD.mp4?_=1
The video is safed in "c:\Temp\Life-is-a-dance.mp4".

Commandline Example:

Code: Select all

@echo off start "" "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" :file-caching=320 --no-video-deco --no-embedded-video --video-x=1 --video-y=1 --qt-start-minimized --no-video-title-show --video-filter=croppadd --croppadd-cropright=960 "C:\Temp\Life-is-a-dance.mp4" start "" "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" :file-caching=300 --no-video-deco --no-embedded-video --video-x=960 --video-y=1 --qt-start-minimized --no-video-title-show --video-filter=croppadd --croppadd-cropleft=960 "C:\Temp\Life-is-a-dance.mp4"
CMD-Example (*.bat) in Text-Form:
@echo off
start "" "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" :file-caching=320 --no-video-deco --no-embedded-video --video-x=1 --video-y=1 --qt-start-minimized --no-video-title-show --video-filter=croppadd --croppadd-cropright=960 "C:\Temp\Life-is-a-dance.mp4"
start "" "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" :file-caching=300 --no-video-deco --no-embedded-video --video-x=960 --video-y=1 --qt-start-minimized --no-video-title-show --video-filter=croppadd --croppadd-cropleft=960 "C:\Temp\Life-is-a-dance.mp4"


Commandline Example with 4× VLC-instances, 4× cropped video and --netsync Command:

Code: Select all

[color=#008040]@echo off start "" "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" :file-caching=310 --netsync-master --no-video-deco --no-embedded-video --video-x=1 --video-y=1 --qt-start-minimized --no-video-title-show --video-filter=croppadd --croppadd-cropright=960 --croppadd-cropbottom=540 --zoom=0.5 "C:\Temp\Life-is-a-dance.mp4" start "" "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" :file-caching=300 --netsync-master-ip=127.0.0.1 --no-video-deco --no-embedded-video --video-x=960 --video-y=1 --qt-start-minimized --no-video-title-show --video-filter=croppadd --croppadd-cropleft=960 --croppadd-cropbottom=540 --zoom=0.5 "C:\Temp\Life-is-a-dance.mp4" start "" "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" :file-caching=300 --netsync-master-ip=127.0.0.1 --no-video-deco --no-embedded-video --video-x=1 --video-y=540 --qt-start-minimized --no-video-title-show --video-filter=croppadd --croppadd-cropright=960 --croppadd-croptop=540 --zoom=0.5 "C:\Temp\Life-is-a-dance.mp4" start "" "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" :file-caching=300 --netsync-master-ip=127.0.0.1 --no-video-deco --no-embedded-video --video-x=960 --video-y=540 --qt-start-minimized --no-video-title-show --video-filter=croppadd --croppadd-cropleft=960 --croppadd-croptop=540 --zoom=0.5 "C:\Temp\Life-is-a-dance.mp4"[/color]
CMD-Example (*.bat) in Text-Form:
@echo off
start "" "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" :file-caching=310 --netsync-master --no-video-deco --no-embedded-video --video-x=1 --video-y=1 --qt-start-minimized --no-video-title-show --video-filter=croppadd --croppadd-cropright=960 --croppadd-cropbottom=540 --zoom=0.5 "C:\Temp\Life-is-a-dance.mp4"
start "" "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" :file-caching=300 --netsync-master-ip=127.0.0.1 --no-video-deco --no-embedded-video --video-x=960 --video-y=1 --qt-start-minimized --no-video-title-show --video-filter=croppadd --croppadd-cropleft=960 --croppadd-cropbottom=540 --zoom=0.5 "C:\Temp\Life-is-a-dance.mp4"
start "" "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" :file-caching=300 --netsync-master-ip=127.0.0.1 --no-video-deco --no-embedded-video --video-x=1 --video-y=540 --qt-start-minimized --no-video-title-show --video-filter=croppadd --croppadd-cropright=960 --croppadd-croptop=540 --zoom=0.5 "C:\Temp\Life-is-a-dance.mp4"
start "" "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" :file-caching=300 --netsync-master-ip=127.0.0.1 --no-video-deco --no-embedded-video --video-x=960 --video-y=540 --qt-start-minimized --no-video-title-show --video-filter=croppadd --croppadd-cropleft=960 --croppadd-croptop=540 --zoom=0.5 "C:\Temp\Life-is-a-dance.mp4"


On all the video borders from --croppadd Command you can see more or less tearing.

In the Example-Script with 4× VLC-Instances I have to use the --zoom=0.5 Command for the correct Video-size.

Are there any Ideas to synchronize the Video with Vsync or other solutions, to avoid the tearing?

I'm not shure if the --netsync command works?

Any Ideas for synchronization?

Thanks,
Thomas

Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: Google [Bot] and 30 guests