GithubHelp home page GithubHelp logo

ps4player's Introduction

PS4Player

Video streamer for Sony PlayStation 4

All of this is possible thanks to HTML5 video support in the PlayStation 4 web browser. Keep in mind that it requires a powerful CPU that can encode H.264 videos in real time.

How to use

Mac OS X
  • Install node.js from http://nodejs.org/
  • Clone/download this repository
  • Open the terminal, and enter the folder where you cloned/extracted the files
  • Install required applications and libraries using homebrew (http://brew.sh/)
    • brew install ffmpeg --enable-libx264 --enable-libfaac --enable-libass --with-faac --with-ass
    • brew install icu4c
    • ln -s /usr/local/Cellar/icu4c/*/bin/icu-config /usr/local/bin/icu-config
    • ln -s /usr/local/Cellar/icu4c/*/include/unicode /usr/local/include
  • Run npm install to install node.js dependencies
  • Run node server.js to start the application
  • Go to http://[ip of your computer]:8080/ using PlayStation 4 web browser
  • Grab some popcorn and enjoy!
Linux/BSD

Will be updated later but should be similar to Mac OS X.

Windows

I don't use Windows, patches are welcome.

Basic steps are:

  • Install node.js
  • Install ffmpeg
  • Prepare video files
  • Prepare PlayStation 4
  • Watch video

FAQ

Q: I have a 3D (SBS/OU) movie and my subtitles appear stretched, how to fix this?

A: Use http://code.google.com/p/sub3dtool/ to convert the subtitle to .ass format which supports 3D subtitles. Built in support for 3D subtitles will be added later.

Q: My computer can't keep up with encoding speed, is there anything i can do?

A: Get a faster computer or edit server.js and fiddle with ffmpeg parameters (try changing the preset). A configuration option might be added later.

Q: Can I buy you a beer?

A: Sure, send your donations to the [email protected] PayPal address. Thanks!

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.