Solved: Snapshot not Working

*nix specific usage questions
RelaX
New Cone
New Cone
Posts: 3
Joined: 28 Oct 2015 07:51

Solved: Snapshot not Working

Postby RelaX » 28 Oct 2015 08:00

Hi,
I am using VLC2.2.1 on OpenSuse Linux (rolling release). The snapshot feature is not working. I checked every directory mentioned in the different Wiki articles and tried to set one myself in the settings. Also tried .jpg and .png as default output. As far as I remember VLC displays a message on screen when a screenshot is taken? also not happening here. The player does just not react at all. Below I posted the console output of what's happening when it tries to take a screenshot. Can you point me in a direction what's going wrong here? (and maybe suggest a solution, too? ;)

Code: Select all

[00007f312411af38] core video output error: Failed to convert image for snapshot [VS] Software VDPAU backend library initialized libva info: VA-API version 0.37.0 libva info: va_getDriverName() returns 0 libva info: Trying to open /usr/lib64/dri/i965_drv_video.so libva info: Found init function __vaDriverInit_0_37 libva info: va_openDriver() returns 0
Last edited by RelaX on 28 Oct 2015 14:53, edited 1 time in total.

Rémi Denis-Courmont
Developer
Developer
Posts: 15266
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Snapshot not Working

Postby Rémi Denis-Courmont » 28 Oct 2015 09:49

You can't do snapshot with hardware acceleration so far.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

RelaX
New Cone
New Cone
Posts: 3
Joined: 28 Oct 2015 07:51

Re: Snapshot not Working

Postby RelaX » 28 Oct 2015 10:09

Thank you for your quick reply! Mixed results here. I deactivated hardware acceleration, could take a snap from an webm video, but not from mpeg4 or mov:

Code: Select all

[00007fdc604ecec8] vdpau_chroma filter error: corrupt VDPAU video surface 0x7fdc0c590630 [00007fdc2c0fdcc8] core video output error: Failed to convert image for snapshot

Rémi Denis-Courmont
Developer
Developer
Posts: 15266
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Snapshot not Working

Postby Rémi Denis-Courmont » 28 Oct 2015 10:35

You did not disable hardware acceleration.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

RelaX
New Cone
New Cone
Posts: 3
Joined: 28 Oct 2015 07:51

Re: Snapshot not Working

Postby RelaX » 28 Oct 2015 11:00

Tools (Werkzeuge) - Settings (Einstellungen) - Video - Accelerated Video (Beschleunigte Videoausgabe Overlay) <- This is what I switched off. I quit VLC and started it again and looked, the check-mark is gone. Is there some other point in the settings where I have to switch it off?

EDIT: There is a setting hidden under "codec", where the default for hardware acceleration is "automatic" (and automatic does not seem to care about the settings in "Accelerated video". switched that to "deactivated", snaps working now. You have to change both settings.

If I am watching a whole movie now and then, is it worth switching hardware acceleration back on, on my laptop to conserve battery?

wayward4now
New Cone
New Cone
Posts: 1
Joined: 01 Feb 2014 21:58

Re: Solved: Snapshot not Working

Postby wayward4now » 02 Jul 2017 04:41

Changing both locations did the trick!! Thanx! :D

pabra
New Cone
New Cone
Posts: 1
Joined: 25 Sep 2017 23:39

Re: Solved: Snapshot not Working

Postby pabra » 25 Sep 2017 23:48

Not really a solution, though, is it. A workaround at best. How is your average user supposed to know that:
a) Snapshots are disabled when hardware acceleration is on.
b) Video acceleration is not disabled when Accelerated Video is turned off. :?

This is quite an old problem, too, now. I think at the very least an attempt to take a snapshot should pop up a message explaining what is going on.

Rémi Denis-Courmont
Developer
Developer
Posts: 15266
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Solved: Snapshot not Working

Postby Rémi Denis-Courmont » 26 Sep 2017 17:35

Snapshots work in VLC 3.0. We are not going to add an error message for a problem that no longer exists.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

lyonbra
New Cone
New Cone
Posts: 1
Joined: 08 Feb 2018 22:37

Re: Solved: Snapshot not Working

Postby lyonbra » 08 Feb 2018 22:39

Snapshots work in VLC 3.0. We are not going to add an error message for a problem that no longer exists.
How does one get VLC 3.0 cause the snapshot function still isn't working in 2.2.8?

Tboneator64
New Cone
New Cone
Posts: 1
Joined: 26 Jan 2019 18:10

Re: Solved: Snapshot not Working

Postby Tboneator64 » 26 Jan 2019 18:17

Snapshots work in VLC 3.0. We are not going to add an error message for a problem that no longer exists.
I'm currently experiencing this problem on VLC 3.0.6 Vetinari! Also tried the "Reset Preferences" trick to resolve my Snapshot issue without any success.

By the way, I am on Ubuntu 18.04 in case this has anything to do with my current VLC Snapshot problem. This feature did work for me at first, though.

CHEERS! :)

d0ugparker
New Cone
New Cone
Posts: 4
Joined: 15 Dec 2012 17:52

Re: Solved: Snapshot not Working

Postby d0ugparker » 21 Apr 2019 17:51

Snapshot had been working in 3.0.6 win32 on Windows 10. It had been working, then stopped. I don't recall changing anything in the OS, and it... just... stopped working. Odd.

I read through the workarounds noted above—the hardware acceleration settings in two locations. I changed only one setting: the HW acceleration under Prefs, Input & Codecs, changed it to Disabled, quit, restarted, and this has stopped the crashing.

Dr Doug

User avatar
InTheWings
Developer
Developer
Posts: 1275
Joined: 07 Aug 2013 13:15
VLC version: crashing
Operating System: Linux
Contact:

Re: Solved: Snapshot not Working

Postby InTheWings » 23 Apr 2019 08:15

Snapshot had been working in 3.0.6 win32 on Windows 10. It had been working, then stopped. I don't recall changing anything in the OS, and it... just... stopped working. Odd.

I read through the workarounds noted above—the hardware acceleration settings in two locations. I changed only one setting: the HW acceleration under Prefs, Input & Codecs, changed it to Disabled, quit, restarted, and this has stopped the crashing.

Dr Doug
Whatever, that should not crash.
Without details/driver/file, we can't do nothing.
:!: If you want your problem to be solved :
* First read troubleshooting guide VSG:Main
* Always provide verbose LOGS ! (command line or from gui)
* Always check your issue against a developer build from Nightly Build of VLC
* Tell us when your problem is solved !

DarseZ
New Cone
New Cone
Posts: 2
Joined: 13 Aug 2019 20:27

Re: Snapshot not Working

Postby DarseZ » 13 Aug 2019 20:41

Here I am years later, with the same issue. I couldn't find a setting called "codec" that you mentioned RelaX, although all the settings have likely changed since 2015.

I suddenly can't screen cap, I don't know what version killed it. But turning hardware acceleration off, as you found, didn't fix it. Attempts to screen cap fail silently.

Has anyone experienced this with the latest 3x versions?

edit: In the meantime, I see MPC takes snapshots just fine. not thrilled to switch from VLC but hey, what can you do.


Tools (Werkzeuge) - Settings (Einstellungen) - Video - Accelerated Video (Beschleunigte Videoausgabe Overlay) <- This is what I switched off. I quit VLC and started it again and looked, the check-mark is gone. Is there some other point in the settings where I have to switch it off?

EDIT: There is a setting hidden under "codec", where the default for hardware acceleration is "automatic" (and automatic does not seem to care about the settings in "Accelerated video". switched that to "deactivated", snaps working now. You have to change both settings.

DarseZ
New Cone
New Cone
Posts: 2
Joined: 13 Aug 2019 20:27

Re: Solved: Snapshot not Working

Postby DarseZ » 18 Jan 2020 15:47

I found a solution!

I had a custom folder set for snapshots. In this case F:

In the file path you must add a \ afterward, even if browsing to that folder

So that it is F:\

Snapshots work perfectly now.

pat255
New Cone
New Cone
Posts: 1
Joined: 13 Sep 2021 14:53

Re: Solved: Snapshot not Working

Postby pat255 » 13 Sep 2021 15:13

Thank you DarseZ !
Like many others I tried to tweak the gigantic list of options in Preferences to no avail. We get so overran by complexity nowadays that we can't fix the most simple problems. Thanks again.

army1959
New Cone
New Cone
Posts: 1
Joined: 05 Mar 2023 19:40

Re: Solved: Snapshot not Working

Postby army1959 » 05 Mar 2023 19:47

If you are using windows 10 you will need to turn off windows defender
here’s what you need to do
Click Start.
Type “Windows Security” and click the option under “Best match”.
In the new window that opens, click Virus & threat protection.
Under the Virus & threat protection heading, click Manage settings.
Set the Tamper Protection toggle to the Off position
this worked for me ,i could not get snaps or the record feature to work
after doing this it worked just fine for me , also disable the hardware acceleration

hope this works for you


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: Google [Bot] and 12 guests