Page 1 of 1

Double video - Deinterlace or Crop

Posted: 13 Aug 2012 09:15
by tranzitwww
Hi,

I need a solution for a stream input:
I use VLC to receive video from a Bosch VIP X2 Video Encoder.
This device can work with 3 different streams: JPEG Stream, MJPEG4 SH++ and H.264 (that is from documentation, but seems that only MJPEG4 works)
The problem is that the image is coming doubled ;) and I have no idea why...
I've tried to fix it with "deinterlace", but none of them worked. Also there is no "crop" option that can split the image in half and display the first or the second slice

Is there a filter or another crop option that can solve this? (from command-line or Gui)

VLC is stared from a GUI application using command-line:

Code: Select all

vlc.exe rtsp://192.168.12.5/video?inst=1&line=1&h26x=3&enableaudio=0 --rtsp-tcp --no-audio --qt-minimal-view --no-video-title-show --no-qt-recentplay --no-qt-bgcone --meta-title="DVR LocationX - Cam1 - (Live Stream MJPEG)" inst=1 (stream 1) line=1 (camera 1) h26x=3 ('0' = JPEG Stream, '3' = MJPEG4 SH++, '4' = H.264)
VLC Debug messages: http://pastebin.com/nG6m1iqA

Please look at the flying bird. This seems to be a deinterlace issue.

Image

Cheers!

Re: Double video - Deinterlace or Crop

Posted: 13 Aug 2012 11:40
by Jean-Baptiste Kempf
Use Wall and take 2 row, 1 column and keep the first one.

Re: Double video - Deinterlace or Crop

Posted: 13 Aug 2012 14:16
by tranzitwww
Thanks for the answer!

I've used like:

Wall is not the best option for this problem because is opening multiple windows...
One window is empty (base window) and one is selected from --wall-active. I'll have to hide one(the base)

Code: Select all

--video-splitter=wall --wall-rows=2 --wall-cols=1 --wall-active=0
This is also working very nice, but it will be great to have the possibility to use percentage from the original size, not only pixels.

Code: Select all

--video-filter=croppadd --croppadd-cropbottom=120

Re: Double video - Deinterlace or Crop

Posted: 13 Aug 2012 20:33
by tranzitwww
There is a bug in VLC 2.03:
Related to the video-filter "croppadd".
If the video resolution is 352x288 and I use a command line with --croppadd-cropbottom=300 VLC will crash (300 is exceeding the maximum value of 288)
This can be simillar for: croptop/cropleft/cropright

Anyway, if I use a good value that is not exceeding the video resolution, after cropping it will look very wide ;)
What another filter should I use to squeeze it a little bit?