[FFmpeg-user] ffmpeg stuck at "No default whitelist set"

Carl Eugen Hoyos ceffmpeg at gmail.com
Wed May 30 01:39:04 EEST 2018


2018-05-29 15:51 GMT+02:00, Felix Ă–sth <felix.osth at insupport.se>:
> I'm using C# to initiate ffmpeg. I've a onvif bridge server for a CCTV VMS
> and I'm building a application to enable the user to livestream any CCTV
> camera to YouTube.
>
> The rtsp stream to the camera looks like this:
>
> rtsp://onvif:bridge@localhost:554/live/xxxxx-xxxguidtocameraxxx-xxxxx
>
> I'm new to ffmpeg and I'm using this arg:
>
> -f lavfi -i anullsrc -rtsp_transport udp -i {camerastreamurl} -tune
> zerolatency -vcodec libx264 -pix_fmt + -c:v copy -c:a aac -strict
> experimental -f flv rtmp://x.rtmp.youtube.com/live2/{streamkey} -loglevel
> debug
>
> It seems like ffmpeg isn't finding the camera stream, only the fake audio
> one. It just freezes.

It waits for an udp stream (you are fooled by your loglevel, the
missing whitelist is not an error), try -rtsp_transport tcp.
(Although it timeouts here quickly, this may be an issue with
FFmpeg and Windows.)

Carl Eugen


More information about the ffmpeg-user mailing list