[FFmpeg-devel] [PATCH] lavf: add samba protocol via libsmbclient

Lukasz Marek lukasz.m.luki2 at gmail.com
Sun Jul 13 15:39:47 CEST 2014


On 13.07.2014 15:22, wm4 wrote:
> On Sat, 12 Jul 2014 18:20:46 +0200
> Lukasz Marek <lukasz.m.luki2 at gmail.com> wrote:
>
>> ---
>>   Changelog                  |   1 +
>>   configure                  |   5 ++
>>   doc/general.texi           |   1 +
>>   doc/protocols.texi         |  29 +++++++
>>   libavformat/Makefile       |   1 +
>>   libavformat/allformats.c   |   1 +
>>   libavformat/libsmbclient.c | 207 +++++++++++++++++++++++++++++++++++++++++++++
>>   7 files changed, 245 insertions(+)
>>   create mode 100644 libavformat/libsmbclient.c
>
> Some of us were wondering why this would be needed?
>
> You can mount samba shares directly in most (all?) desktop OSes.

This is why I haven't submit it earlier (I created it long time ago). 
Especially when I realized samba is GPL.

But it can have some advantages:
- it is right you say for desktops where you have access to shell (and 
root?), but how about cases where you create some embedded system 
without shell access or have no root?
- you should still consider users that are not linux gurus and mounting 
remote fs is not what they want to/can do. This patch allows to skip 
that part when player or any tool provides some simple gui to enter 
credentials etc.




More information about the ffmpeg-devel mailing list