Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
movie_night [2015/11/19 23:00] – [Set up the stream server] ishivversmovie_night [2015/11/30 21:29] – [How to stream a DVD to the 9-panel display] ishivvers
Line 113: Line 113:
 ===== How to stream a DVD to the 9-panel display ===== ===== How to stream a DVD to the 9-panel display =====
  
-When has the difficulty of a task ever dissuaded UCB grad students?  (Ok, actually a lot.  But ignore that for now.)  Let's watch a goddamn DVD on that 9-panel display!+\\**CAUTION:** the system described below is fragile, at best. \\ 
 + 
 + 
 +When has the difficulty of a task ever dissuaded UCB grad students?  (Ok, actually a lot.  But ignore that for now.)  Let's watch a goddamn DVD on that 9-panel display! \\
 **PLAN:** we will use a desktop computer to play the DVD and stream it over the network to the Mac 9-panel computer. **PLAN:** we will use a desktop computer to play the DVD and stream it over the network to the Mac 9-panel computer.
  
-==== Set up the stream server ====+**Set up the stream server**
  
   - Locate a Linux computer in Campbell with a DVD drive (preferably plugged into Ethernet rather than on WiFi). It needs to be running an SSH server that you can log in to.   - Locate a Linux computer in Campbell with a DVD drive (preferably plugged into Ethernet rather than on WiFi). It needs to be running an SSH server that you can log in to.
Line 133: Line 136:
       - port 8080: <code> ssh -L 8080:localhost:8080 your_name@your_server </code>       - port 8080: <code> ssh -L 8080:localhost:8080 your_name@your_server </code>
       - port 8081: <code> ssh -L 8081:localhost:8081 your_name@your_server </code>       - port 8081: <code> ssh -L 8081:localhost:8081 your_name@your_server </code>
-      - Sometimes these tunnels will be shut down if there's no activity.  You can run the following to prevent that: <code> watch -n 30 echo 'hello i am alive' </code>+      - Sometimes these tunnels will be shut down if there's no activity.  You can run the following command in those SSH tunnels to prevent that: <code> watch -n 30 echo 'hello i am alive' </code>
   - Run VLC on the server and stream the output to port 8081 (I usually just do this within one of the SSH instances above).   - Run VLC on the server and stream the output to port 8081 (I usually just do this within one of the SSH instances above).
     - command: <code> vlc -vvv dvdsimple:///dev/cdrom --disc-caching=30000 --sout '#transcode{vcodec=mp4v,acodec=mpga,vb=3000,ab=256,deinterlace}:standard{access=http,mux=ts,dst=:8081}' </code>     - command: <code> vlc -vvv dvdsimple:///dev/cdrom --disc-caching=30000 --sout '#transcode{vcodec=mp4v,acodec=mpga,vb=3000,ab=256,deinterlace}:standard{access=http,mux=ts,dst=:8081}' </code>