Page 1 of 1
VLC 1.1.0 snapshot gives horizontal line
Posted: 01 Jul 2010 18:08
by blwarburton
Pressing Video->Snapshot gives a jpg or png with a horizontal line.
Re: VLC 1.1.0 snapshot gives horizontal line
Posted: 01 Jul 2010 18:11
by blwarburton
The same occurs on two different systems both running Windows XP SP3.
The vertical axis (in the jpg or png file) looks compressed - probably the vertical axis size parameter in the file is corrupt.
Re: VLC 1.1.0 snapshot gives horizontal line
Posted: 01 Jul 2010 18:47
by Jean-Baptiste Kempf
picture, please?
Re: VLC 1.1.0 snapshot gives horizontal line
Posted: 02 Jul 2010 00:50
by blwarburton
Here's a snapshot using VLC 1.0.5 under Windows XP SP3
Here's a snapshot using VLC 1.1.0 under Windows XP SP3
Again with VLC 1.1.0 but in png mode under Windows XP SP3
The width is 800, the height should be 468 but comes out at 20.
If I un-install VLC 1.1.0 and re-install 1.0.5 the problem goes away.
VLC 1.1.0 snapshot under Linux works ok.
Also running a Windows XP virtual machine (VirtualBox) inside Linux and installing the Windows VLC 1.1.0 snapshot is ok.
Also ran VLC 1.1.0 on a laptop running Windows XP SP3 and snapshot works ok.
But the Windows XP PC at work and the Windows XP PC at home both give the horizontal line.
Maybe I have something installed on both PC's that is causing this - I'll try de-installing stuff.
Re: VLC 1.1.0 snapshot gives horizontal line
Posted: 02 Jul 2010 01:15
by oreily
Same problem here: I'm running VLC 1.1.0 on a Toshiba notebook with Windows XP SP3.
Display aspect ratio of video is
608x272
VLC snapshot is
608x10 (in both formats: .jpg and .png)

Re: VLC 1.1.0 snapshot gives horizontal line
Posted: 02 Jul 2010 08:14
by Lotesdelere
I can't reproduce it and I've tried with different containers (MKV, MP4, TS, PS, AVI), different video formats (H.264, VC-1, MPEG-2, Xvid) and different resolutions from 656*272 up to 1920*1080 including anamorphic ones.
So we need more information about the OS used, the version of the video drivers, the video output module used by VLC and if hardware acceleration is enabled or not.
Re: VLC 1.1.0 snapshot gives horizontal line
Posted: 02 Jul 2010 15:53
by blwarburton
Just ran another test this time with Windows inside a VMWare virtual machine.
Host Windows XP Home Edition SP3 running VMware Workstation 7.1.0 build-261024
Virtual Machine is Windows XP Home Edition SP3 but with very little software installed inside the VM.
VLC 1.1.0 for Windows installed inside VM.
Take snapshot - 800x468 image comes out at 800x20 - same as the others.
I'll re-check VLC 1.1.0 running under Windows XP inside VirtualBox under a Linux host.
This test was done by someone else so I want to see if it works for myself.
The PC at home is Windows XP Pro SP3 with a NVidia 8600GT graphics card.
The PC at work is a Windows XP Home SP3 with a ATI Radeon X300 graphics card.
VMware Workstation 7.1.0 build-261024 is running on the work PC.
A Windows XP Home SP3 virtual machine is running inside VMware with the Windows XP SP3 host.
The graphics hardware reported (inside the VM) is "VMware SVGA II" - this'll be VMware's drivers.
VMware might map functions to the host graphics card - the ATI X300 card but this is an old card.
The laptop at home is running Windows XP Home SP3 but I've been told that this works.
Another computer at home running Fedora 12 had VLC 1.1.0 (Linux) installed and this works.
A Virtualbox running on Linux has another Windows XP virtual machine and VLC 1.1.0 (Windows) works ok.
The file I'm using to test is one I created myself. It's an MKV x264/CABAC 1650Kbps 800x468 audio is 96Kbps AAC - nothing over the top. The file plays back ok with VLC and MPC-HC. I'll try some other files.
Re: VLC 1.1.0 snapshot gives horizontal line
Posted: 02 Jul 2010 16:13
by VLC_help
Could you open Tools -> Messages (set Verbosity to 2) before you take snapshots?
Re: VLC 1.1.0 snapshot gives horizontal line
Posted: 02 Jul 2010 16:24
by blwarburton
Here's what happens when hitting the 'Snapshot' button when running inside the Windows XP Home SP3 virtual machine with the VMware SVGA II graphics adapter. I thought this mode would be better as less software is installed inside the VM version of Windows XP.
The "Use GPU acceleration (experimental)" is un-ticked.
VLC 1.1.0 was installed and run - only the update was disabled during installation.
The 800x468 image comes out as 800x20 - it maybe something to do with 'I420' - see below
main debug: looking for encoder module: 12 candidates
avcodec debug: libavcodec already initialized
avcodec debug: found encoder PNG Image
main debug: using encoder module "avcodec"
main debug: TIMER module_need() : 94.000 ms - Total 94.000 ms / 1 intvls (Avg 94.000 ms)
main debug: looking for video filter2 module: 18 candidates
swscale debug: 800x468 chroma: I420 -> 800x20 chroma: RV24 with scaling using Bicubic (good quality)
main debug: using video filter2 module "swscale"
main debug: TIMER module_need() : 12.000 ms - Total 12.000 ms / 1 intvls (Avg 12.000 ms)
main debug: removing module "avcodec"
main debug: removing module "swscale"
main debug: snapshot taken (C:\Documents and Settings\User\My Documents\My Pictures\vlcsnap-2010-07-02-15h22m54s153.png)
main debug: looking for video filter2 module: 18 candidates
swscale debug: 800x468 chroma: I420 -> 800x468 chroma: YUVA with scaling using Bicubic (good quality)
main debug: using video filter2 module "swscale"
main debug: TIMER module_need() : 3.000 ms - Total 3.000 ms / 1 intvls (Avg 3.000 ms)
main debug: removing module "swscale"
freetype debug: using fontsize: 29
Re: VLC 1.1.0 snapshot gives horizontal line
Posted: 02 Jul 2010 16:55
by Jean-Baptiste Kempf
swscale debug: 800x468 chroma: I420 -> 800x20 chroma: RV24 with scaling using Bicubic (good quality)
Re: VLC 1.1.0 snapshot gives horizontal line
Posted: 04 Aug 2010 11:05
by panas
I have the same issue with version 1.1.2, i'm on windows XP SP3.
In order to solve this problem i have to temporarily change aspect ratio under: video-->aspect ratio.
Set it to a random selection and then bring it back to "default" option.
The snapshot function works fine then
Course, it would be great if the developers can address this bug
Cheers

Re: VLC 1.1.0 snapshot gives horizontal line
Posted: 04 Aug 2010 16:31
by Jean-Baptiste Kempf
Could you file a bug for it?
Re: VLC 1.1.0 snapshot gives horizontal line
Posted: 04 Aug 2010 18:08
by panas
Could you file a bug for it?
I don't know how to do it but if tell me the way i'll do it
It seems that the previous users who are also experiencing the same problem are using windows xp sp3 too, maybe this helps?
Re: VLC 1.1.0 snapshot gives horizontal line
Posted: 04 Aug 2010 18:14
by Ludrax