croppadd doesn't work with capture device
I try to capture a vhs-video with an usb capture device. This works fine. But if I try to crop the margin of the video (with the video filter croppadd), the converted "video" contains only sound.
I think I have identified the problem in the log:
main debug: looking for video filter2 module matching "croppadd": 55 candidates
croppadd warning: Using even values for `croptop' is recommended
croppadd warning: Using even values for `cropbottom' is recommended
croppadd warning: Using even values for `cropleft' is recommended
croppadd warning: Using even values for `cropright' is recommended
croppadd debug: Crop: Top: 75, Bottom: 75, Left: 11, Right: 11
croppadd debug: Padd: Top: 0, Bottom: 0, Left: 0, Right: 0
croppadd debug: 720x576 -> -22x-150
main debug: using video filter2 module "croppadd"
main debug: Filter 'croppadd' (000000000a615090) appended to chain
stream_out_transcode debug: decoder aspect is nan:1
stream_out_transcode debug: source pixel aspect is nan:1
stream_out_transcode debug: scaled pixel aspect is nan:1
stream_out_transcode debug: source -22x-150, destination 0x-256
stream_out_transcode debug: encoder aspect is 0:-256
main debug: looking for video filter2 module matching "any": 55 candidates
swscale error: 0 width not supported
chain debug: Trying to build resize+chroma
main debug: looking for video filter2 module matching "any": 55 candidates
swscale error: 0 width not supported
main debug: no video filter2 modules matched
main error: Failed to create video filter2
chain debug: Trying to build chroma+resize
main debug: looking for video filter2 module matching "any": 55 candidates
swscale debug: 720x576 chroma: YUY2 -> 720x576 chroma: I420 with scaling using Bicubic (good quality)
main debug: using video filter2 module "swscale"
main debug: Filter 'Swscale' (0000000003104f50) appended to chain
main debug: looking for video filter2 module matching "any": 55 candidates
swscale error: 0 width not supported
scale debug: 720x576 -> 0x-256
main debug: using video filter2 module "scale"
main debug: Filter 'scale' (0000000003105360) appended to chain
main debug: using video filter2 module "chain"
main debug: Filter 'chain' (0000000003104b40) appended to chain
stream_out_transcode debug: destination (after video filters) 0x-256
main debug: looking for encoder module matching "x264": 16 candidates
x264 debug: version x264 0.140.X
x264 error: invalid width x height (0x-256)
Here are my capture / convert settings:
qt4 debug: MRL passed to the Sout: dshow://
qt4 debug: Transcode MRL: sout=#transcode{vcodec=h264,vb=800,scale=Automatisch,acodec=mp3,ab=128,channels=2,samplerate=44100}:std{access=file{no-overwrite},mux=mp4,dst='C:\Users\Public\Videos\test.mp4'}
qt4 debug: Adding option: dshow-vdev=USB2.0 Grabber
qt4 debug: Adding option: dshow-adev=Digitale Audioschnittstelle (US
qt4 debug: Adding option: live-caching=300
qt4 debug: Adding option: sout=#transcode{vcodec=h264,vb=800,scale=Automatisch,acodec=mp3,ab=128,channels=2,samplerate=44100}:std{access=file{no-overwrite},mux=mp4,dst='C:\Users\Public\Videos\test.mp4'}