[FFmpeg-user] Protocol whitelist and SDP files

Ben Barker ben at bbarker.co.uk
Thu Feb 18 01:34:10 CET 2016


Ah...OK it seems the solution was the addition of:

-protocol_whitelist file,udp,rtp


(in my case the SDP points at RTP video transported using UDP)

This only seems to be an issue for any input that needs to access a
remote video source...? I don't have to explicitly add a whitelist if,
for example, opening a local video file. I assume that is the
intention behind the change...?




On Thu, Feb 18, 2016 at 12:01 AM, Ben Barker <ben at bbarker.co.uk> wrote:

> Evening,
>
> I have just built ffmpeg:
>
> ffmpeg version N-78589-g5f5467e Copyright (c) 2000-2016 the FFmpeg
> developers
>   built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-16)
>   configuration: --prefix=/opt/ffmpeg/ffmpeg_build
> --extra-cflags=-I/opt/ffmpeg/ffmpeg_build/include
> --extra-ldflags=-L/opt/ffmpeg/ffmpeg_build/lib --bindir=/opt/ffmpeg/bin
> --pkg-config-flags=--static --enable-gpl --enable-nonfree
> --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame
> --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264
>   libavutil      55. 18.100 / 55. 18.100
>   libavcodec     57. 24.103 / 57. 24.103
>   libavformat    57. 25.100 / 57. 25.100
>   libavdevice    57.  0.101 / 57.  0.101
>   libavfilter     6. 32.100 /  6. 32.100
>   libswscale      4.  0.100 /  4.  0.100
>   libswresample   2.  0.101 /  2.  0.101
>   libpostproc    54.  0.100 / 54.  0.100
>
> There seems to be some new functionality regarding whitelisting which I
> can find reference to in the mailing lists, but am still a bit fuzzy one.
>
> Historically, I could open a locally stored SDP file using something
> similar to:
>
> ffmpeg -i tmp.sdp ......
>
> Now however this returns me the error:
>
> Protocol not on whitelist 'file'
>
> There seems to be some reference to this as a possible issue here:
>
>
> http://article.gmane.org/gmane.comp.video.ffmpeg.devel/208702/match=whitelist
>
> But I'm still not sure as to what has changed, and how I could/should work
> around it. Any suggestions welcome :-)
>
>


More information about the ffmpeg-user mailing list