2018-05-29 15:51 GMT+02:00, Felix Östh <[email protected]>: > 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 _______________________________________________ ffmpeg-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
