Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restream problem with facebook #9112

Open
mrgodgiven opened this issue Jun 3, 2024 · 12 comments
Open

Restream problem with facebook #9112

mrgodgiven opened this issue Jun 3, 2024 · 12 comments
Labels

Comments

@mrgodgiven
Copy link

Greetings Mr @DanielnetoDotCom the fscebook restreaming link does not work for a while now. When I add facebook the rtmp link or url does not appear and also the restreaming soes not connect except to youtube alone.

@mrgodgiven mrgodgiven added the bug label Jun 3, 2024
@mrgodgiven
Copy link
Author

mrgodgiven commented Jun 3, 2024

The Rtmp url is not showing and it's not working. image

@mrgodgiven
Copy link
Author

Twich is showing the rtmp url and it's fine.
image

@DanielnetoDotCom
Copy link
Member

Please check your logs.

I am pretty sure it is because facebook requires RTMPS not RTMP

To restream a video to RTMPS (RTMP over SSL/TLS) using FFmpeg, you need to ensure that your FFmpeg build supports RTMPS. This support is typically available in FFmpeg versions compiled with librtmp or openssl for SSL/TLS support.

Requirements:

  1. FFmpeg Build with SSL/TLS Support: Ensure your FFmpeg build includes support for SSL/TLS. This is usually provided by including librtmp or openssl.
  2. SSL/TLS Library: You need openssl or gnutls to provide the SSL/TLS functionality.

Check if FFmpeg Supports RTMPS:

Run the following command to check if your FFmpeg supports librtmp or openssl:

ffmpeg -version

Look for lines like:

configuration: --enable-librtmp --enable-openssl

@mrgodgiven
Copy link
Author

mrgodgiven commented Jun 4, 2024 via email

@DanielnetoDotCom
Copy link
Member

You still need to look into your logs, but this is my ffmpeg that works with Facebook

~$ ffmpeg -version
ffmpeg version 4.4.2-0ubuntu0.22.04.1 Copyright (c) 2000-2021 the FFmpeg developers
built with gcc 11 (Ubuntu 11.2.0-19ubuntu1)
configuration: --prefix=/usr --extra-version=0ubuntu0.22.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
libavutil      56. 70.100 / 56. 70.100
libavcodec     58.134.100 / 58.134.100
libavformat    58. 76.100 / 58. 76.100
libavdevice    58. 13.100 / 58. 13.100
libavfilter     7.110.100 /  7.110.100
libswscale      5.  9.100 /  5.  9.100
libswresample   3.  9.100 /  3.  9.100
libpostproc    55.  9.100 / 55.  9.100

@mrgodgiven
Copy link
Author

mrgodgiven commented Jun 4, 2024 via email

@mrgodgiven
Copy link
Author

How do I fix it

@DanielnetoDotCom
Copy link
Member

DanielnetoDotCom commented Jun 4, 2024

Google and try to install ffmpeg with the same options as I have

but again you still may want to check the logs

@mrgodgiven
Copy link
Author

mrgodgiven commented Jun 4, 2024 via email

@DanielnetoDotCom
Copy link
Member

You need to get a log when you start a live and it tries to restream

you may see the ffmpeg command and the log file for the ffmpeg

you will try to run the ffmpeg manually without stop the livestream,

@mrgodgiven
Copy link
Author

mrgodgiven commented Jun 4, 2024 via email

@DanielnetoDotCom
Copy link
Member

You need to get a log when you start a live and it tries to restream

you may see the ffmpeg command and the log file for the ffmpeg

you will try to run the ffmpeg manually without stop the livestream,

I mean get the logs from AVideo, then in the AVideo logs you will see the ffmpeg log path

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants