snapshots in jpeg-format with libvlc

This forum is about all development around libVLC.
UrmelausdemEis
New Cone
New Cone
Posts: 1
Joined: 22 Feb 2018 14:07

snapshots in jpeg-format with libvlc

Postby UrmelausdemEis » 22 Feb 2018 14:30

How can I take snapshots in JPEG-Format with libvlc and "libvlc_video_take_snapshot"?
Arguments like "--snapshot-format=jpg" or File-Extension ".jpg" are not successful.
The reults are always png-files.
Has someone a solution or the same problem?

mangokm40
Cone that earned his stripes
Cone that earned his stripes
Posts: 130
Joined: 20 May 2010 20:00

Re: snapshots in jpeg-format with libvlc

Postby mangokm40 » 26 Feb 2018 14:56

I am not a good source of information. However, a long time ago, I found this: https://forum.videolan.org/viewtopic.php?t=53245
Because of this, I am doing the conversion in my code AFTER the call to libvlc_video_take_snapshot().

I just checked the source for 3.0.0. In file "src/video_output/video_output.c" (line 456), it appears that PNG is still hard coded.
But I could be lost in left field. :)


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 15 guests