[FFmpeg-user] Can't get TLS to work
Mohamed Hnezli
mohamed.hnezli at ensi-uma.tn
Wed Jul 20 11:11:53 EEST 2016
I am sorry about that, but I've already generated these files using openssl
here is my ffmpeg cmd :
$ ffmpeg -r 24 -s 800x600 -f video4linux2 -i /dev/video0 -c:v libx264 -f
flv "tls://192.168.1.11:1234?listen&cert=server.crt&key=server.key" -tune
zerolatency
It generates this error:
"tls://192.168.1.11:1234?listen&cert=server.crt&key=server.key: Cannot
assign requested address"
It works only with localhost.
another question please, are there any way to use tls/ssl with ffserver ?
(google wasn't helpful)
regards
On 19 July 2016 at 14:51, Moritz Barsnick <barsnick at gmx.net> wrote:
> On Tue, Jul 19, 2016 at 05:40:59 -0700, mohamed wrote:
> > hello, I using the same method and I've generated the .crt and .key file
> > using openssl but it's not working,
>
> "It's not working" gets the reply "it works for me".
>
> What did you try? What were you expecting to happen? What happened? For
> the ffmpeg part: Please show us your full command line, and the
> complete, uncut console output.
>
> > could you tell me how generated these files please
>
> Let me google that for you:
>
> https://www.google.com/search?q=openssl+generate+server.crt+server.key&ie=utf-8&oe=utf-8
>
> This instruction works fine for me, out of the box (copy-pasting all
> commands described):
> https://devcenter.heroku.com/articles/ssl-certificate-self
>
> Moritz
> _______________________________________________
> 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".
>
--
Mohamed HNEZLI
Computing Sciences Engineering Student
<ENSI>-Tunisia
More information about the ffmpeg-user
mailing list