Page 1 of 1
save to jpg
Posted: 15 Oct 2005 20:24
by michel11271
Salut
Is it possible to save automatically snapshot every 1 or 2 minutes
Posted: 19 Oct 2005 15:38
by dionoea
You can use the image video output and specify a ratio of <frames per second>*2 .
Posted: 21 Oct 2005 01:53
by pixie95
could you post the cmd line you used to get the snapshot every 1 or 2 minutes
Thanks
Posted: 29 Oct 2005 23:56
by dionoea
this should work :
Code: Select all
./vlc -V image --image-out-ratio 60 movie.mpg
(untested)
Posted: 07 Nov 2005 18:30
by bXn
I tried
Code: Select all
C:\Program Files\VideoLAN\VLC>vlc -v --image-out-format jpg --image-out-ratio 10
--image-out-prefix toktok rtsp://xx.xx.xx.xx/public/direct01
vlc -v --image-out-format jpeg --image-out-ratio 10
--image-out-prefix toktok rtsp://xx.xx.xx.xx/public/direct01
vlc -v --image-out-ratio 10
--image-out-prefix toktok rtsp://xx.xx.xx.xx/public/direct01
with no success.
do we need to set up a fake transcoding to generate images ?
Posted: 07 Nov 2005 18:34
by bXn
I made a mistake, the following command works (0.8.2) :
Code: Select all
C:\Program Files\VideoLAN\VLC>vlc -V image --image-out-format jpeg --image-out-
ratio 10 --image-out-prefix toktok rtsp://xx.xx.xx.xx/public/direct01
png images are created in the current directory
Posted: 30 Nov 2005 22:00
by michel11271
I have tried your command line but without succes:
is image the name of the file you are looking ?
where is the name of the file created by the snapshot?
what is rtsp?
PS: for not a lot of money i can say that in french
Posted: 02 Dec 2005 12:11
by bXn
I have tried your command line but without succes:
is image the name of the file you are looking ?
where is the name of the file created by the snapshot?
what is rtsp?
PS: for not a lot of money i can say that in french
Are you running on Linux or windows ?
The image files created are named :
toktok000015.png
toktok000016.png
and so on
the rtsp is the url to access a stream.
what are you trying to play ?
Did you had a look to the documentation ?
Posted: 29 Jan 2006 15:14
by spank
Hi, I'm also trying to automatically/periodically save images (jpg or png, either will do) from a local video file (avi, mpg, etc). I've played around with the video ouput options, mainly MJPEG, and used the wizard a few times, but to not much luck. I am using Windows and VLC 0.8.2. Any solution would be great, as I would really like to be able to do this. Thanks in advance for any help!
EDIT: After getting some errors with the command line listed in this thread, I found my error, and it works nicely. However, the dimensions are 480x480 which doesn't respect the source file's aspect ratio. What can I add to the command line to make it use the source file aspect ratio? Here's what I'm using:
vlc -V image --image-out-format jpeg --image-out-ratio 200 --image-out-prefix lalala C:\file.mpg