Closed mmccaff closed 7 years ago
Hi, afaik a lot of user see this message. Can you please check:
I got a 404 from FB for the video while other friends saw it :(
Best, Philipp Holly
Yes, I am seeing GETs from the video-iad3-1.xx.fbcdn.net domain which are 404s, followed by a 'Refused to get unsafe header "Date"' message.
Matt
Yeah, same here. must be a facebook issue !?
Interesting, so it's stopped working for you also?
I've been digging into this but have kind of reached a dead end. Please let me know if you find anything, and I'll do the same.
Thanks!
Matt
Btw -I also wondered if it was a Facebook issue, but checked and found that plenty of other people are currently live. So if it is on their end, it's not a problem across the board.
We should open a bugreport.
I am out of office till friday. So will check it later
I tried to start a live video from my iPhone.
And I can see this stream on my wall but not the stream from the tool. strange.
Interesting. Let's keep an eye on those threads. Did you take any meaning from the responses other than to try increasing the frame rate?
I saw that FB recommends 30 fps. I tried changing 10 to 30 in your index.js and scraper.js, but that didn't help.
Yes I also tried to update the framerate but the streaming stays at ~12 fps..
I wonder if there is an issue when streams don't have audio? Just a hunch from some of the discussion in the second link.
@mmccaff have you tried it?
I didn't try including audio. I did upgrade ffmpeg to 3.2-1~16.04.york1 instead of the 2.x included in the Ubuntu 16.04 repo, but that didn't help. The fps always starts at 30, and then drops down to around 9 fps.
I also tried a whole bunch of different fmpeg parameters (setting fps with -r on both input and output, using -framerate, setting threads to 0, setting a buffer size) based on these threads, none of which helped:
https://ffmpeg.zeranoe.com/forum/viewtopic.php?t=657&start=30#p2210
https://trac.ffmpeg.org/ticket/1604
http://ubuntuhandbook.org/index.php/2016/09/install-ffmpeg-3-1-ubuntu-16-04-ppa/
I also tested every combination of parameter, but no success :(
Not using the app, but i have the same problem with ffmpeg & facebook.
same problem with me live video has ended
You may take a look to my PR, which has solved the issue for me.
thx @flaviolivolsi for this fix!!!
now i m getting my profile picture as a video what is happen ? see https://www.facebook.com/video/embed?video_id=1163193180415264
Confirmed for me also that this fixed the problem. Nice work @flaviolivolsi !!
I just tried this. Very cool!
I am running into an issue where on starting the live stream, what I see in my feed is "This live video has ended." I tried it on a $5/mo Digital Ocean droplet, and thought maybe the server was too wimpy to keep up, so upped it to a $20/mo server but am seeing the same thing.
However when I ctrl-c to kill the node process, and refresh my feed, I'll be able to playback the historical live video that has previously said it had "ended."
A snapshot of what I see in the stream.log looks like this:
Metadata: encoder : Lavf56.40.101 Stream #0:0: Video: h264 (libx264) ([7][0][0][0] / 0x0007), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=-1--1, 10 fps, 1k tbn, 10 tbc Metadata: encoder : Lavc56.60.100 libx264 Stream mapping: Stream #0:0 -> #0:0 (png (native) -> h264 (libx264)) frame= 1905 fps=8.3 q=25.0 size= 695kB time=00:03:05.60 bitrate= 30.7kbits/s
Any idea what could cause this?