Page 1 of 1

how to use vfilter=croppadd ?

Posted: 05 Apr 2016 10:15
by jgphpc
Hi,

I am trying to crop a video file using vlc/2.1.6:

Code: Select all

+ vlc -I dummy -vvv AAshort.mp4 --sout '#transcode{vfilter=croppadd{croptop=62,cropbottom=80,cropleft=124,cropright=384}, deinterlace=enable, vcodec=mp4v,vb=1024,acodec=mpga,ab=256,channels=6,samplerate=44100}:standard{mux=mp4,dst="_AAshort.mp4",access=file}' vlc://quit
but it crashes with: "1280x720 -> -512x-256 is invalid scaling dimension"

Code: Select all

avconv -i AAshort.mp4 Stream #0.0(und): Video: h264 (High), yuv420p, 1280x720 [PAR 1:1 DAR 16:9], 883 kb/s, 25 fps, 25 tbr, 25 tbn, 50 tbc
Can you help me find what's wrong in my script please ?

jg.