Double video - Deinterlace or Crop

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
tranzitwww
New Cone
New Cone
Posts: 8
Joined: 13 Aug 2012 08:26

Double video - Deinterlace or Crop

Postby tranzitwww » 13 Aug 2012 09:15

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!

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Double video - Deinterlace or Crop

Postby Jean-Baptiste Kempf » 13 Aug 2012 11:40

Use Wall and take 2 row, 1 column and keep the first one.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

tranzitwww
New Cone
New Cone
Posts: 8
Joined: 13 Aug 2012 08:26

Re: Double video - Deinterlace or Crop

Postby tranzitwww » 13 Aug 2012 14:16

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

tranzitwww
New Cone
New Cone
Posts: 8
Joined: 13 Aug 2012 08:26

Re: Double video - Deinterlace or Crop

Postby tranzitwww » 13 Aug 2012 20:33

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?


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 98 guests