[vlc-devel] [PATCH] [RFC] input: set "input-current" early so control interfaces can control earlier
robux4 at gmail.com
Mon Nov 23 14:42:00 CET 2015
I understand better what you meant then. The Chromecast functionality
doesn't provide VoD services. It just plays the files on a remote
device rather than locally. Also each file played on the Chromecast
may need a different sout, depending a transcoding is needed or just a
remuxing. So the sout needs to be created for each individual file
being played by the VLC instance. There will also be cases where the
data will not even go through the VLC core, if we're trying to play a
file over UPNP for example, we'll pass the HTTP URL directly to the
Chromecast (I haven't implemented that part yet). So the
"intelligence" cannot be put in a sout like it is now in git.
The best way I found is a control module. It can know when a file is
being played and modify that file playback parameters on the fly.
Also the way the input thread is currently done, it initializes its
"chain" (sout or vout/aout) right at the beginning. It may be done
before input_Start() finishes, and thus PlayItem is done. So we need
at least to have this sout decision done at the beginning of the input
thread. It could be some kind of "input modifier" plugin, if we don't
want to abuse the control interface too much.
On Tue, Oct 27, 2015 at 4:52 AM, Rémi Denis-Courmont <remi at remlab.net> wrote:
> Le 2015-10-27 14:47, Steve Lhomme a écrit :
>>> Neither of those, nor your approach solve the problem of doing VoD. The
>>> playlist is not suited for VoD; it is suited for live playback (no sout),
>>> live streaming (paced sout), and passable for offline conversion (unpaced
>> No sure what you mean by VoD, but if you mean playing one file over
>> many Chromecast, that's not going to work, nor is the intended goal.
> I mean what the existing VoD plugin does (aside from the fact that it's
> RTSP-specific): stream output with random access and rate control.
> Rémi Denis-Courmont
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
More information about the vlc-devel