Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Matt Hayward
    @matthaywardwebdesign
    Nah using the ffmpeg shell command. I was thinking that the broadcasting application could run in a Node Webkit container.
    The add buffer code seems identical in both, must be in another function somewhere.
    That is the test file I am using
    if you run the app, then drop that file in the drop zone, it will begin the process
    in /broadcast
    Matt Hayward
    @matthaywardwebdesign
    Thanks, I'll give it a crack.
    Just from looking at those two files besides general layout the actual algorithms don't seem any different.
    Eric Wooley
    @ericwooley
    right? So why does one work and not the other!?!
    Matt Hayward
    @matthaywardwebdesign
    No idea haha, one of lifes biggest problems.
    Eric Wooley
    @ericwooley
    indeed
    It’s driving me nuts
    There is a comment switch in broadcast.js if you feel like running and comparing with the debugger
    I feel like I am going crazy looking at it
    3rd night in a row with almost no progress as too why
    Matt Hayward
    @matthaywardwebdesign
    Wow, thats crazy. I hate when that happens.
    Eric Wooley
    @ericwooley
    gpac/mp4box.js#53
    I was thinking about asking @feross, he clearly has some file stream experience. But I wanted to see if I could get some help from mp4boxjs people first
    Matt Hayward
    @matthaywardwebdesign
    Yeah, feross does seem to be the expert on this kind of stuff.
    Matt Hayward
    @matthaywardwebdesign
    I'm not that familiar with React ,where can I change between the old and the new?
    No worries, found it
    Eric Wooley
    @ericwooley
    line 59 in broadcast.js
    have you used a comment switch before?
    it’s pretty handy. I actually added a comment about it
    so nvm, no need to explain haha
    Matt Hayward
    @matthaywardwebdesign
    Haha that is actually a really cool implementation
    Eric Wooley
    @ericwooley
    the comment switch? I love it, best debugging setup ever
    Matt Hayward
    @matthaywardwebdesign
    Yeah it actually is, I have never seen them used like that before.
    Eric Wooley
    @ericwooley
    another trick I learned today is if(~’thing’.indexOf(‘test’)) {true code } else {false code}
    Matt Hayward
    @matthaywardwebdesign
    Whats the ~ do?
    Eric Wooley
    @ericwooley
    it takes the result of the thing following it and adds 1
    since ‘thing’.indexOf(‘test’) is -1 it returns 0
    and 0 is false
    Matt Hayward
    @matthaywardwebdesign
    That is so cool!
    Eric Wooley
    @ericwooley
    Eric Wooley
    @ericwooley
    I’m crashing out. Thanks for looking at the file, let me know if you make any progress. At this point I’m hoping fresh eyes will be able to figure it out
    Matt Hayward
    @matthaywardwebdesign
    No worries, I'm trying to debug it now :) Have a nice night!
    Matt Hayward
    @matthaywardwebdesign
    Well its not the onData module, just put the old one in and it still doesn't work.
    Eric Wooley
    @ericwooley
    Thanks for looking, at least I am not the only one who can’t find the differnce :(
    Matt Hayward
    @matthaywardwebdesign
    Yeah he can't seem to figure it out either. I made a fair bit of other progress last night and have got videos streaming from FFMPEG to the browser. Although due to the delay, I think it might be better to leave the video stream creation to applications that are actually good at it and simply provide a rtsp / rtmp server in a Node Webkit app (so that you can start and stop the stream, set broadcast title, description and that kind of thing) that you can stream to.
    Eric Wooley
    @ericwooley
    Thats pretty rad that you got it too work though. However, building a screen/device capturing program would be a ton of work, interfacing with different kinds of devices etc, I agree would should build a node webkit app that spins up an rtmp server
    and dumps the video data every X seconds
    Matt Hayward
    @matthaywardwebdesign
    Exactly that, I did find one that actually already works (a node js RTMP server) however the code is not the greatest so I'm going to fork it and give it a rewrite.
    Eric Wooley
    @ericwooley
    oh nice, that will be rad. I found one a while ago as well, and a video dump module, I should have bookmarked them
    Eric Wooley
    @ericwooley
    @matthaywardwebdesign I don’t know if you noticed I was using my library to generate css in the project. Yesterday I wrote a blog post about the lib. Check it out if you have some free time? Hoping to get some community feedback. http://ericwooley.github.io/css/sass/scss/react/javascript/minification/2015/06/10/React-in-Style/
    Matt Hayward
    @matthaywardwebdesign
    @ericwooley Nah I didn't notice. That it truly awesome, amazing work!!
    Eric Wooley
    @ericwooley
    Thank you!
    Eric Wooley
    @ericwooley
    I got the class thing working. It’s still really ugly though
    I had too start over and convert it one piece at a time