Zal ([personal profile] zaluzianskya) wrote in [community profile] linux4all2010-10-16 12:34 am
Entry tags:

aaa VLC help?

This is probably super pathetic of me, but two hours of Googling isn't doing any good.

I'm trying to use VLC to take automatic screenshots of videos. Sounds simple, right? There used to be a nice, simple image output option you could select under Video > Output modules. Now it's not there. All the Googling I've done has told me that image output has been replaced with something called scene filter, and there's a scene filter thing underneath output modules that lets me tweak how I'd like the output to be done, but there's no way for me to actually select scene filter in output modules.

(I tried print screening to make this less incoherent, but it seems I can't do that while I have a drop-down menu open. Sorry.)

Is there any way I can do this? I'm not opposed to using the command line if that's what it takes.
kerravonsen: Miss Parker, only her boots are visible: "Highly explosive" (Miss Parker)

[personal profile] kerravonsen 2010-10-16 09:44 am (UTC)(link)
I can't remember, but then I tended to use xine to take screenshots.
tonybaldwin: tony baldwin (Default)

[personal profile] tonybaldwin 2010-10-17 12:39 am (UTC)(link)
Yeah. I would use gxine, myself.
tonybaldwin: tony baldwin (Default)

[personal profile] tonybaldwin 2010-10-17 01:07 am (UTC)(link)
Oh, Missed that you were looking to take repeated, automatic shots.
I wonder if ffmpeg or mplayer can somehow export screenshots from a video in that manner with a script.
But, no, I don't think gxine will do that.
kerravonsen: Eighth Doctor's legs sticking out from underneath TARDIS console: "tea, tools, Tinkering" (tinkering)

[personal profile] kerravonsen 2010-10-17 12:49 am (UTC)(link)
No, it's the snapshot option I was referring to.
jorlau: Momo from Avatar: the Last Airbender (Default)

[personal profile] jorlau 2010-10-18 08:00 pm (UTC)(link)
If you just want to be able to take a screenshot every n seconds while you're watching the video, you could try just making a bash script using scrot or a similar tool, for example:

while ps -ewf | grep v[l]c; do #as long as VLC is running
scrot -[OPTIONS] #take the screenshot
sleep n #wait n seconds
done