タグ別アーカイブ: Video LAN Player

Video LAN Player: How to play movies cropped with command line options

As you know, VLC (Video LAN Player) can crop the movie. However, I couldn’t find an exact answer of what options are needed when you launch the latest version of VLC.

This is just a note for myself :-)

vlc.exe –video-filter=croppadd –croppadd-croptop=[TOP MARGIN] –croppadd-cropbottom=[BOTTOM MARGIN] –croppadd-cropleft=[LEFT MARGIN] –croppadd-cropright=[RIGHT MARGIN] [MOVIE FULLPATH]

I suppose ‘crop’ filter is one of the default filters when you install VLC.

First option should be ‘–video-filter=croppadd’. The other options can be with any order. The unit is pixel.
–croppadd-croptop=
–croppadd-cropbottom=
–croppadd-cropleft=
–croppadd-cropright=

[Example]
vlc.exe –video-filter=croppadd –croppadd-croptop=40 –croppadd-cropbottom=20 –croppadd-cropleft=30 –croppadd-cropright=10 “C:\Users\James\My Videos\sample.mp4”

40 pixels from the top of the movie will be cropped.
20 pixels from the bottom of the movie will be cropped.
30 pixels from the left border of the movie will be cropped.
10 pixels from the right border of the movie will be cropped.

Of course, this cropping setting doesn’t make any sense.