[vlc-devel] [vlc-commits] Lua: convert playlist parser back to demux
Steve Lhomme
robux4 at ycbcr.xyz
Wed Sep 30 07:34:25 CEST 2020
On 2020-09-30 7:12, Steve Lhomme wrote:
> On 2020-09-29 17:07, Rémi Denis-Courmont wrote:
>> Le tiistaina 29. syyskuuta 2020, 8.21.59 EEST Pierre Ynard via
>> vlc-devel a
>> écrit :
>>>> Lua: convert playlist parser back to demux
>>>
>>> So this means that neither ytdl nor lua playlist parsers are getting
>>> auto-probed anymore by vlc_stream_NewURL(),
>>
>> Yes.
>
> This seems like making it impossible for the Lua stream filters to
> return a different content than the original stream, in order to trigger
> the adaptive streaming demuxer. Could a demuxer actually forward the
> content to another demuxer ?
Looking at ytdl it seems possible by nesting the other demuxer
(DemuxNested/ControlNested). So it's doable.
> This is not just for Lua scripts. The ytdl module should also do the
> same rather than force one version of the stream regardless of
> network/screen/gpu capabilities.
>
>> Lua will no longer ruin performance on low-end systems, and YoutubeDL
>> never
>> will. They generally no longer hijack URLs that native demuxers would
>> handle.
>>
>> We should probably add an assertion in the stream filter probe code that
>> pf_readdir is never set.
>>
>>> all the codebase that currently call it is free from interference, and
>>> #18801 is also fixed, right?
>>
>> I think so. Again, we should probably add an assertion.
>>
>> --
>> Реми Дёни-Курмон
>> http://www.remlab.net/
>>
>>
>>
>> _______________________________________________
>> vlc-devel mailing list
>> To unsubscribe or modify your subscription options:
>> https://mailman.videolan.org/listinfo/vlc-devel
>>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel
More information about the vlc-devel
mailing list