vlc commad line screenshot

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
DCT

vlc commad line screenshot

Postby DCT » 05 Apr 2006 07:38

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.

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 05 Apr 2006 22:57

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>
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

spline

Postby spline » 08 May 2006 12:40

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]

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 08 May 2006 16:04

run vlc -H --advanced --long-help and it will create a file called vlc-log.txt with all the command line switches.
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

DCT

Postby DCT » 29 May 2006 05:31

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

clemens
New Cone
New Cone
Posts: 8
Joined: 26 Jan 2006 18:35
Contact:

Postby clemens » 10 Feb 2007 04:04

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?

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 10 Feb 2007 15:24

try jpeg instead (for the --image-out-format option). (btw, which version of VLC are you using ? what OS ?)
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

clemens
New Cone
New Cone
Posts: 8
Joined: 26 Jan 2006 18:35
Contact:

Postby clemens » 10 Feb 2007 15:43

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.

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:

Postby Jean-Baptiste Kempf » 10 Feb 2007 16:15

ubuntu version ?
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.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 15 guests