[FFmpeg-user] ffmpeg support smb protocols

DopeLabs dopelabs at dubstep.fm
Tue Jun 26 12:50:10 EEST 2018


open a new shell or screen and run configure again.


~/github/ffmpeg $ ./configure --enable-shared --enable-gpl --enable-nonfree --enable-avresample --enable-avisynth --enable-gnutls --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzvbi --enable-openal --enable-libdc1394 --enable-libzmq --enable-frei0r --enable-libx264 --enable-libopencv --enable-libsmbclient --enable-version3
ERROR: libsmbclient not found


~/github/ffmpeg $ sudo apt-get install libsmbclient-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  linux-headers-4.4.0-112 linux-headers-4.4.0-112-generic linux-headers-4.4.0-116 linux-headers-4.4.0-116-generic linux-headers-4.4.0-119 linux-headers-4.4.0-119-generic
  linux-headers-4.4.0-121 linux-headers-4.4.0-121-generic linux-headers-4.4.0-124 linux-headers-4.4.0-124-generic linux-headers-4.4.0-91 linux-headers-4.4.0-91-generic
  linux-image-4.4.0-112-generic linux-image-4.4.0-116-generic linux-image-4.4.0-119-generic linux-image-4.4.0-121-generic linux-image-4.4.0-124-generic
  linux-image-extra-4.4.0-112-generic linux-image-extra-4.4.0-116-generic linux-image-extra-4.4.0-119-generic linux-image-extra-4.4.0-121-generic
  linux-image-extra-4.4.0-124-generic
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
  libsmbclient-dev
0 upgraded, 1 newly installed, 0 to remove and 129 not upgraded.
Need to get 40.8 kB of archives.
After this operation, 298 kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libsmbclient-dev amd64 2:4.3.11+dfsg-0ubuntu0.16.04.13 [40.8 kB]
Fetched 40.8 kB in 0s (148 kB/s)
Selecting previously unselected package libsmbclient-dev:amd64.
(Reading database ... 528705 files and directories currently installed.)
Preparing to unpack .../libsmbclient-dev_2%3a4.3.11+dfsg-0ubuntu0.16.04.13_amd64.deb ...
Unpacking libsmbclient-dev:amd64 (2:4.3.11+dfsg-0ubuntu0.16.04.13) ...
Setting up libsmbclient-dev:amd64 (2:4.3.11+dfsg-0ubuntu0.16.04.13) ...
[5][02:46:04] dopelabs at sjc2:~/github/ffmpeg $


open a new screen

~/github/ffmpeg $ ./configure --enable-shared --enable-gpl --enable-nonfree --enable-avresample --enable-avisynth --enable-gnutls --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzvbi --enable-openal --enable-libdc1394 --enable-libzmq --enable-frei0r --enable-libx264 --enable-libopencv --enable-libsmbclient --enable-version3

.....

Enabled protocols:
async                    file                     httpproxy                librtmps                 md5                      rtp                      tee
bluray                   ftp                      https                    librtmpt                 mmsh                     sctp                     tls
cache                    gopher                   icecast                  librtmpte                mmst                     srtp                     udp
concat                   hls                      librtmp                  libsmbclient             pipe                     subfile                  udplite
crypto                   http                     librtmpe                 libssh                   prompeg                  tcp                      unix
data


........


Enabled indevs:
alsa                     lavfi                    openal                   oss                      pulse                    v4l2                     xcbgrab
fbdev                    libdc1394

Enabled outdevs:
alsa                     caca                     fbdev                    oss                      pulse                    v4l2

License: nonfree and unredistributable
libavutil/avconfig.h is unchanged
libavcodec/bsf_list.c is unchanged
[3][02:46:40] dopelabs at sjc2:~/github/ffmpeg $
[3][02:46:40] dopelabs at sjc2:~/github/ffmpeg $ make -j 8


.....


> On Jun 26, 2018, at 2:42 28AM, Wang Kiven <kivenerwang at gmail.com> wrote:
> 
> add config log.
> 
> 2018-06-26 17:24 GMT+08:00 Wang Kiven <kivenerwang at gmail.com>:
> 
>> and i use system platform is ubuntu16.04 and then i did install
>> libsmbclient-dev library.
>> 
>> 2018-06-26 17:23 GMT+08:00 Wang Kiven <kivenerwang at gmail.com>:
>> 
>>> hi manager,
>>>   i'm building ffmpeg so  library for android. and now , i find my
>>> ffmpeg so library don't support play video from smb address. so, i
>>> recompile the ffmpeg project and add config :
>>> --enable-libsmbclient, but it build error :error info : ERROR : smbclient
>>> not find.can you give me help?
>>> 
>> 
>> 
> <config.log>_______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
> 
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".



More information about the ffmpeg-user mailing list