2

I've googled & "stackoverflow-ed" but have not found any article about securing the ffmpeg streaming.

I want to stream my webcam/ desktop screen to the lan/internet but the first thing in my mind is that there's no way to secure the stream from eavesdropper, or someone that want to alter the stream?

Please someone tell me that I was wrong?


Update : I'm gona multicast the data using UDP protocol.

  • SSH is all you need for stuff like this. – Brad Aug 10 '14 at 8:10
  • Yes, but ffmpeg streaming use almost UDP intead of TCP. So I need to kinda pushing the UDP back & forth in a SSH tunnel ? – vantrung -cuncon Aug 10 '14 at 8:22
  • Thanks! VPN is a little overkill solution, do you think so? ffmpeg is opensource and I hope some guys integrated DTLS into it sooner or later. – vantrung -cuncon Aug 10 '14 at 8:35
  • What does it have to do with FFmpeg? Nothing really. FFmpeg uses existing protocols and standards, so those protocols and standards would have to support built-in security. I'm not familiar with all of the streaming standards available, but none that I work with have any built-in mechanism for security. VPN is likely overkill if all you need are these video streams, but if you have many of them and are considering other things such as control protocols, VPN might be the simplest way. – Brad Aug 10 '14 at 8:55
  • I've got the solution for this problem. For those who have the same stuff like me: ffmpeg.org/ffmpeg-protocols.html#tls – vantrung -cuncon Aug 12 '14 at 15:54
1

Yeah, I've found the answer myself. So, if you want to securely stream your sensitive data over network, you could try using some ffmpeg built-in secure protocol, such as : TLS, SRTP, etc. All the detail could be found here :

https://www.ffmpeg.org/ffmpeg-protocols.html#tls

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.