Giter Site home page Giter Site logo

Comments (20)

mmccaff avatar mmccaff commented on June 10, 2024 1

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:

http://superuser.com/questions/452542/ffmpeg-drops-frames-when-encoding-a-png-image-sequence-into-an-x264-mp4-video

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/

https://ffmpeg.zeranoe.com/forum/viewtopic.php?f=7&t=657&sid=fc0fa365d4581cb9255fa053acc00d85&start=40

from facebook-live-video.

flaviolivolsi avatar flaviolivolsi commented on June 10, 2024 1

You may take a look to my PR, which has solved the issue for me.

#2

from facebook-live-video.

phips28 avatar phips28 commented on June 10, 2024

Hi, afaik a lot of user see this message.
Can you please check:

  1. Start stream
  2. Go to you wall and open the developer console
  3. Look for network issues

I got a 404 from FB for the video while other friends saw it :(

Best,
Philipp Holly

from facebook-live-video.

mmccaff avatar mmccaff commented on June 10, 2024

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

from facebook-live-video.

phips28 avatar phips28 commented on June 10, 2024

Yeah, same here. must be a facebook issue !?

from facebook-live-video.

mmccaff avatar mmccaff commented on June 10, 2024

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

from facebook-live-video.

mmccaff avatar mmccaff commented on June 10, 2024

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.

from facebook-live-video.

phips28 avatar phips28 commented on June 10, 2024

We should open a bugreport.

I am out of office till friday. So will check it later

from facebook-live-video.

phips28 avatar phips28 commented on June 10, 2024

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.

from facebook-live-video.

phips28 avatar phips28 commented on June 10, 2024

https://developers.facebook.com/bugs/364589023882917/
&
https://developers.facebook.com/bugs/682644368552749/

from facebook-live-video.

mmccaff avatar mmccaff commented on June 10, 2024

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.

from facebook-live-video.

phips28 avatar phips28 commented on June 10, 2024

Yes I also tried to update the framerate but the streaming stays at ~12 fps..

from facebook-live-video.

mmccaff avatar mmccaff commented on June 10, 2024

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.

from facebook-live-video.

phips28 avatar phips28 commented on June 10, 2024

@mmccaff have you tried it?

from facebook-live-video.

phips28 avatar phips28 commented on June 10, 2024

I also tested every combination of parameter, but no success :(

from facebook-live-video.

necenzurat avatar necenzurat commented on June 10, 2024

Not using the app, but i have the same problem with ffmpeg & facebook.

from facebook-live-video.

HsounaZinoubi avatar HsounaZinoubi commented on June 10, 2024

same problem with me live video has ended

from facebook-live-video.

phips28 avatar phips28 commented on June 10, 2024

thx @flaviolivolsi for this fix!!!

from facebook-live-video.

HsounaZinoubi avatar HsounaZinoubi commented on June 10, 2024

now i m getting my profile picture as a video what is happen ?
see
https://www.facebook.com/video/embed?video_id=1163193180415264

from facebook-live-video.

mmccaff avatar mmccaff commented on June 10, 2024

Confirmed for me also that this fixed the problem. Nice work @flaviolivolsi !!

from facebook-live-video.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.