[vlc-devel] [PATCH 1/2] libvlc: add libvlc_media_player_dump

Rémi Denis-Courmont remi at remlab.net
Fri May 20 10:42:49 CEST 2016


Le 2016-05-20 10:15, Jean-Baptiste Kempf a écrit :
> On 20/05/2016 09:40, Rémi Denis-Courmont wrote:
>> Le 2016-05-20 09:19, Thomas Guillem a écrit :
>>> Pointless, no, this is a very asked feature. Users of VLC ports 
>>> want to
>>> download their media files to their devices from their media 
>>> shares.
>>
>> This is out of scope of LibVLC, which is a media player 
>> framework/library.
>
> Sorry, but this is very debatable.

Not really no. It's a paraphrase from the Doxygen front matter.

> Dumping the input is a much asked for feature, notably to record the
> input without touching it. And that's not only to download.

And that's not what the patch does.

>>> Racy, ah yes maybe.
>>>
>>> Impractical, yes since it's weird to dump a file from a Media 
>>> Player.
>>
>> It's broken and behaving wrongly or weirdly in too many ways to be
>> usable for this purpose.
>
> How is that broken? How can we achieve that in a correct way?

Come on, there are so many ways that it fails to achieve what someone 
would expect of a media dump / file download function.

>> There are plenty of existing and (much) better suited libraries for 
>> file
>> and file system abstractions to choose from.
>
> Well, in fact, there are not many. For HTTP and FTP, sure; for the 
> rest, no.
> And how do you do that for MMS or adaptive streaming?

But exactly! The interesting ones are the ones that do NOT work with 
the dump demux.

-- 
Rémi Denis-Courmont
http://www.remlab.net/


More information about the vlc-devel mailing list