Close
0%
0%

DIY SlingBox $30

Sub Title: Watch the Game Anywhere.

Similar projects worth following

Check out picture 5 for a flow plan, and then the parts list to get started.

The transmitter in the fourth picture uses a few more parts. I had a 3.3V breakout board and the signal reached only about a yard. So I added a 555 voltage doubler to Albert's hardware

http://www.talkingelectronics.com/projects/50%20-%20555%20Circuits/50%20-%20555%20Circuits.htm

  • DVR of last resort

    linus02/06/2014 at 22:54 0 comments

    "​at 20:00 today -f recording1.sh" If you haven't used "at" before; "atq" to display job list, and "atrm" to remove by job number. recording1.sh is at the end of the instructions.

View project log

  • 1
    Step 1

    Server Controls:

    The real tricky part here is starting VLC from the web, as a user, that will allow outside connections.

    My solution was to configure Apache to have user pages. I then placed the server controls in /home/username/public_html/cgi-bin

    http://httpd.apache.org/docs/2.2/howto/public_html.html

  • 2
    Step 2

    VLC:

    Live transcoding is resource intensive, making it nice to be able to turn it on and off. Also switching the VLC configurations allows for many variations of size and quality, useful in tailor the stream to different devices and scenarios. Below are the commands I use.

    Mobile:

    nohup cvlc v4l2:///dev/video0 :input-slave=alsa://hw:1,0 --sout '#transcode{vcodec=FLV1,scale=.5,fps=15,vb=400,acodec=mp3,ab=64,channels=1,samplerate=44100}:std{access=http,dst=:8080/stream.flv}' > /dev/null 2>&1 &

    This stream is around 30kbs per second so it usually works on 3g, and it works very well on small screens over wifi. You can see it running in the first and second pictures. Works well with Wondershare player on Android.

    DIVX:

    nohup cvlc v4l2:///dev/video0 :input-slave=alsa://hw:1,0 --sout '#transcode{vcodec=divx,vb=2000,acodec=mp3,ab=64,channels=1,samplerate=44100}:http{mux=asf,dst=:8080/stream.avi}'

    This is what I use if I want to watch a game on my Netbook while I'm on the PlayStation. Picture 6.

    WMV:

    nohup cvlc v4l2:///dev/video0 :input-slave=alsa://hw:1,0 --sout '#transcode{vcodec=WMV2,vb=2000,scale=.7,acodec=wma2,ab=64,channels=1,samplerate=44100}:http{mux=asf,dst=:8080/stream.wmv}' > /dev/null 2>&1 &

    HQ Flash:

    nohup cvlc v4l2:///dev/video0 :input-slave=alsa://hw:1,0 --sout '#transcode{vcodec=FLV1,vb=2300,acodec=mp3,ab=64,channels=1,samplerate=44100}:std{access=http,dst=:8080/stream.flv}' > /dev/null 2>&1 &

  • 3
    Step 3

    LIRC Web Interface

    http://home.comcast.net/~tomhorsley/wisdom/lirc/lirc.html

    I re-purposed Tom's code to run my VLC server commands as well.

View all 7 instructions

Enjoy this project?

Share

Discussions

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates