snapshot question

This forum is about all development around libVLC.
gawady
Blank Cone
Blank Cone
Posts: 17
Joined: 27 Sep 2009 14:05

snapshot question

Postby gawady » 27 Dec 2009 15:01

Is there an option to hide the snapshot file name shown on the video every time a snapshot is taken?

thanks.

juraj
Blank Cone
Blank Cone
Posts: 27
Joined: 05 Dec 2009 10:41

Re: snapshot question

Postby juraj » 28 Dec 2009 22:49

Hi,

I am not 100% sure, but in my opinion NO. When you download vlc source code, you find in src/video_output/vout_intf.c function VoutOsdSnapshot:

Code: Select all

/** * This function will display the name and a PIP of the provided snapshot */ static void VoutOsdSnapshot( vout_thread_t *p_vout, picture_t *p_pic, const char *psz_filename ) { msg_Dbg( p_vout, "snapshot taken (%s)", psz_filename ); vout_OSDMessage( VLC_OBJECT( p_vout ), DEFAULT_CHAN, "%s", psz_filename ); if( var_GetBool( p_vout, "snapshot-preview" ) ) { if( VoutSnapshotPip( p_vout, p_pic ) ) msg_Warn( p_vout, "Failed to display snapshot" ); } }
As you can see, vout_OSDMessage is always shown and you can manipulate only snapshot picture. So my advice is: change source code & recompile.

gawady
Blank Cone
Blank Cone
Posts: 17
Joined: 27 Sep 2009 14:05

Re: snapshot question

Postby gawady » 29 Dec 2009 15:03

Hi juraj,

I guess you are right, I'll schedule this for doing later, I am not an expert in compiling such projects, and I think it will take me some effort.

thanks :)


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 9 guests