[vlc-devel] [PATCH] Add a libvlc_set_video_output function

Rémi Denis-Courmont remi at remlab.net
Thu Feb 13 09:04:08 CET 2014


On Thu, 13 Feb 2014 00:49:52 +0200, Hugo Beauzée-Luyssen <hugo at beauzee.fr>
wrote:
>> ...unlike vmem. Yes, using vmem to discard the video signal is a hack
>> and I
>> would hate it in my code. Likewise, setting vout to dummy is a hack and
I
>> would dislike it in LibVLC code.
>>
> 
> Looks to me like vout is built in the same way vmem is, so I'm not
> sure what you mean by "unwarranted assumptions"

Maybe vmem does not work either. That changes nothing to the fact that
dummy does not work properly for what you are trying to do.

>> It is a media PLAYBACK framework so far. If you want to extend it
>> cleanly, you
>> can, but I fail to see how this fits with the media player part.
>>
> 
> This time I'll quote http://www.videolan.org/vlc/libvlc.html  and
> argue that what I want to do still fits inside the "wide range of
> multimedia applications using the VLC features."

This is about libvlc as a whole, not the MEDIA PLAYER object. Besides, VLC
does NOT have a background snapshot feature, only an interactive snapshot
feature. And if it does have a background snapshot feature that I a unaware
of, it is definitely not in the video output core.

To dump frames programmatically, there is vmem (already exposed) or
transcode + custom sout (not exposed so far).

> To clarify, by "disabling video" you mean --no-video or equivalent
right?

IIRC, there are two ways, --no-video and --video-track=-1 (or something
like that).

-- 
Rémi Denis-Courmont
Sent from my collocated server



More information about the vlc-devel mailing list