phips28 / facebook-live-video Goto Github PK
View Code? Open in Web Editor NEWStream a website with phantomjs to Facebook Live via ffmpeg (video) and collect Facebook reactions
License: MIT License
Stream a website with phantomjs to Facebook Live via ffmpeg (video) and collect Facebook reactions
License: MIT License
there is no video published and when i copy this link from log:
https://www.facebook.com/video/embed?video_id=1163193180415264
it show my profile picture as a video
what it is happen?
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?
Hey
I can't really figure out what's wrong.
I'm using npm start [token] false friends.
Seems like everything's right.
It outputs facebook video object & phantomjs's command with ffmpeg.
But.. I cannot see any new posts on my wall.
Any idea?
As you know we have more than the "public result" from every post..
some time you see the Reactions = 500
but we have more than that.. We have 200 too from share ..
you can found that from "Publishing Tools" Tab in Facebook.
can we collect this numbers too ?
Thank you
I noticed that the "keep ffmpeg stream at 30 fps" issue was marked as done in the readme, but I am seeing the same behavior where it starts at 30 and then drops down.
FWIW, I also noticed that if I include more images in the web site, it drops down much lower, to around 2 or 3 fps.
What was the fix for that? Is it in the master branch? Are you really able to hold steady at 30 fps?
Line 41 of index.js includes access permissions for 2 FB profile IDs, one of which links back to the authors account. Haven't looked into it enough but this seems like if nothing is provided it will by default allow access from the author of the repos account in some way?
What server is needed to run this setup?
I'm currently running it on an Intel(R) Xeon(R) CPU E3-1231 v3 @ 3.40GHz but I'm only getting around 15fps.
I even tried http://www.initializr.com/try as a target which is basically empty.
There it starts at 150 FPS and goes down to 15 after ~20 seconds.
Is there anything I could do to keep it at 30 fps?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.