Re: [FFmpeg-user] ffmpeg streaming to rtmps fails on Mac

2019-06-07 Thread Carl Eugen Hoyos
Am Do., 6. Juni 2019 um 21:22 Uhr schrieb Nam Giang : > > Thank you so much Micael, I managed to stream to Facebook successfully. > > However, it seems I need to --enable-nonfree, which is a bit scary for > commercial use. Using FFmpeg in a commercial environment is scary independently of the conf

Re: [FFmpeg-user] ffmpeg streaming to rtmps fails on Mac

2019-06-06 Thread Micael Silva
On Thu, Jun 6, 2019 at 4:22 PM Nam Giang wrote: > Thank you so much Micael, I managed to stream to Facebook successfully. > > However, it seems I need to --enable-nonfree, which is a bit scary for > commercial use. > > Anyway, this is a different topic. > > > Another option that has been used for

Re: [FFmpeg-user] ffmpeg streaming to rtmps fails on Mac

2019-06-06 Thread Nam Giang
Thank you so much Micael, I managed to stream to Facebook successfully. However, it seems I need to --enable-nonfree, which is a bit scary for commercial use. Anyway, this is a different topic. On Thu, Jun 6, 2019 at 6:23 AM Micael Silva wrote: > On Wed, Jun 5, 2019 at 7:59 PM Nam Giang wrote

Re: [FFmpeg-user] ffmpeg streaming to rtmps fails on Mac

2019-06-06 Thread Micael Silva
On Wed, Jun 5, 2019 at 7:59 PM Nam Giang wrote: > Thanks Micael, > > Do you know how to compile with openssl? I mean, what kind of configure > parameter to use (rather than --enable-gnutls)? > > You will need to add --enable-openssl, but you need the dev libraries installed too. That is why I fin

Re: [FFmpeg-user] ffmpeg streaming to rtmps fails on Mac

2019-06-05 Thread Nam Giang
Thanks Micael, Do you know how to compile with openssl? I mean, what kind of configure parameter to use (rather than --enable-gnutls)? On Wed, Jun 5, 2019 at 3:32 PM Micael Silva wrote: > On Wed, Jun 5, 2019 at 4:53 PM Nam Giang wrote: > > > And this is the full log if using the compiled snaps

Re: [FFmpeg-user] ffmpeg streaming to rtmps fails on Mac

2019-06-05 Thread Micael Silva
On Wed, Jun 5, 2019 at 4:53 PM Nam Giang wrote: > And this is the full log if using the compiled snapshot: > > ./ffmpeg -v verbose -f avfoundation -r 29.97 -s 1280x720 -i "0:0" -preset > ultrafast -vcodec libx264 -tune zerolatency -acodec aac -f flv "rtmps:// > > live-api-s.facebook.com:443/rtmp/

Re: [FFmpeg-user] ffmpeg streaming to rtmps fails on Mac

2019-06-05 Thread Nam Giang
And this is the full log if using the compiled snapshot: ./ffmpeg -v verbose -f avfoundation -r 29.97 -s 1280x720 -i "0:0" -preset ultrafast -vcodec libx264 -tune zerolatency -acodec aac -f flv "rtmps:// live-api-s.facebook.com:443/rtmp/146135623219895?s_bl=1&s_sml=0&s_sw=0&s_vt=api-s&a=Abw94F0JKz

Re: [FFmpeg-user] ffmpeg streaming to rtmps fails on Mac

2019-06-05 Thread Nam Giang
Hi there, Here is the full log (stream key is for a test user so feel free to run the command as is): ffmpeg -v verbose -f avfoundation -r 29.97 -s 1280x720 -i "0:0" -preset ultrafast -vcodec libx264 -tune zerolatency -acodec aac -f flv "rtmps:// live-api-s.facebook.com:443/rtmp/146135623219895?s

Re: [FFmpeg-user] ffmpeg streaming to rtmps fails on Mac

2019-06-04 Thread Micael Silva
On Tue, Jun 4, 2019 at 6:40 PM Nam Giang wrote: > Hi there, > > Is there anyone success with streaming to rtmps destination using ffmpeg on > a Mac? (Facebook recently enforces this to be the only protocol they > support) > > My try: > > > ffmpeg -v verbose -f avfoundation -r 29.97 -s 1280x720 -i

[FFmpeg-user] ffmpeg streaming to rtmps fails on Mac

2019-06-04 Thread Nam Giang
Hi there, Is there anyone success with streaming to rtmps destination using ffmpeg on a Mac? (Facebook recently enforces this to be the only protocol they support) My try: > ffmpeg -v verbose -f avfoundation -r 29.97 -s 1280x720 -i "0:0" -preset ultrafast -vcodec libx264 -tune zerolatency -f flv