Page 1 of 1

vlc commad line screenshot

Posted: 05 Apr 2006 07:38
by DCT
Hi!

Can I use vlc to take screenshot in cli mode from multicast tv?

It's need to create single picture, web, preview in batch mode without X display.

Help me please.

Posted: 05 Apr 2006 22:57
by dionoea
you have to play with the image video ouput. Something like this should kind of work (untested)

Code: Select all

vlc -V=image --image-out-ratio 20 --image-out-format=png --stop-time=10 <input>

Posted: 08 May 2006 12:40
by spline
Hi,

is this documented somewhere?
I had a look in the documentation, but wasn't able to find -V.
Tipps, where to look, are welcome.

Regards

spline[/quote]

Posted: 08 May 2006 16:04
by dionoea
run vlc -H --advanced --long-help and it will create a file called vlc-log.txt with all the command line switches.

Posted: 29 May 2006 05:31
by DCT
Thanks.. but small correction:

vlc -vvv --vout=image --image-out-prefix img --image-out-ratio 20 --image-out-format png --stop-time=10

Tested ;)

-vvv may be drop

Posted: 10 Feb 2007 04:04
by clemens
thx, but this somehow gives me the following error:

Code: Select all

[00000230] main encoder error: no suitable encoder module for fourcc `png '. VLC probably does not support this image format. [00000235] main encoder error: no suitable encoder module for fourcc `png '. VLC probably does not support this image format. [00000236] main encoder error: no suitable encoder module for fourcc `png '. VLC probably does not support this image format.
:-( it creates files with the size of zero bytes. obviosly vlc cannot encode png files, does anyone know, how i could get vlc to encode pngs?

Posted: 10 Feb 2007 15:24
by dionoea
try jpeg instead (for the --image-out-format option). (btw, which version of VLC are you using ? what OS ?)

Posted: 10 Feb 2007 15:43
by clemens
it doesnt matter, what output format is choose, the error stays the same, (png encoder not found).

Code: Select all

bigggatv@bigggatv:~$vlc --version VLC media player 0.8.4 Janus VLC version 0.8.4 Janus Compiled by root@bigggatv.lab.selfnet Compiler: gcc version 4.0.3 (Ubuntu 4.0.3-1ubuntu5) This program comes with NO WARRANTY, to the extent permitted by law. You may redistribute it under the terms of the GNU General Public License; see the file named COPYING for details. Written by the VideoLAN team; see the AUTHORS file.

Posted: 10 Feb 2007 16:15
by Jean-Baptiste Kempf
ubuntu version ?