libvlc_video_take_snapshot with no target file path showing?

This forum is about all development around libVLC.
SmallFish2014
New Cone
New Cone
Posts: 3
Joined: 19 Sep 2014 08:37

libvlc_video_take_snapshot with no target file path showing?

Postby SmallFish2014 » 19 Sep 2014 09:07

Hi All:

I managed to take snapshot in libvlc via libvlc_video_take_snapshot, however each time this function gets called, the target file path is displayed in top center as well as a thumbnail image on top left, it's annoying, is it possible to turn this feature off?

I found a similar request in below link, however no answer yet.
https://forum.videolan.org/viewtopic.ph ... ot#p385578

thanks in advance.

kind regards

ardanew
New Cone
New Cone
Posts: 2
Joined: 18 Sep 2014 15:39

Re: libvlc_video_take_snapshot with no target file path show

Postby ardanew » 19 Sep 2014 15:53

One solution is to disable OSD (--no-osd or other way)
(i searched through vlc source but cant find any specific preference for disabling only "screenshot taken" message)

SmallFish2014
New Cone
New Cone
Posts: 3
Joined: 19 Sep 2014 08:37

Re: libvlc_video_take_snapshot with no target file path show

Postby SmallFish2014 » 22 Sep 2014 11:00

thanks, it works.

I managed to remove the text part by using "--no-osd" as you said.
However a thumbnail image is still displayed on top left corner on each save, any other arguments? :D

sherington
Cone that earned his stripes
Cone that earned his stripes
Posts: 491
Joined: 10 Sep 2008 11:57
VLC version: master
Operating System: Linux

Re: libvlc_video_take_snapshot with no target file path show

Postby sherington » 22 Sep 2014 19:48

Did you try --no-snapshot-preview

SmallFish2014
New Cone
New Cone
Posts: 3
Joined: 19 Sep 2014 08:37

Re: libvlc_video_take_snapshot with no target file path show

Postby SmallFish2014 » 23 Sep 2014 01:37

thanks sherington.
it's working perfect now after applying --no-snapshot-preview.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 14 guests