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 [2011/04/10 21:31] caseywstarkmovie_night [2015/11/30 21:29] – [How to stream a DVD to the 9-panel display] ishivvers
Line 1: Line 1:
-====== Movie Night 2011 ======+====== Movie Night ======
  
 To quote from the original Movie Night charter: To quote from the original Movie Night charter:
Line 8: Line 8:
     spirit always lives on.     spirit always lives on.
  
-This year, Movie Night is being organized by [[wiki:user:caseywstark|Casey Stark]] (''caseywstark@berkeley.edu''). It takes place every **Tuesday at 6:30 PM in Campbell 261**, barring announced exceptions. Each week's selection is announced in advance; contact Casey to find out what it is. 
- 
-Movie Night is coordinated via an email list. You can subscribe either by asking Adam to put you on or by visiting [[https://calmail.berkeley.edu/manage/list/listinfo/astro-movie-night@lists.berkeley.edu|this page]]. The only traffic should be the movie announcements, probably over the weekend, and reminder emails on Tuesdays. 
- 
-Movie Night has a standing offer that anyone who's willing to arrange the showing for a given week gets to pick the movie. Arranging things is just a matter of sending out an announcement, getting food, and of course obtaining the movie. Not too hard, so take advantage! 
  
 ===== Those Who Forget History are Condemned to Repeat It ===== ===== Those Who Forget History are Condemned to Repeat It =====
Line 100: Line 95:
  
 Movie Night also occationally gets taken over by its evil twin, Bad Movie Night, for screenings of such gems as [[http://us.imdb.com/title/tt0104418/|Highway to Hell]], [[http://us.imdb.com/title/tt0102422|McBain]], [[http://us.imdb.com/title/tt0091499/|Maximum Overdrive]], or [[http://us.imdb.com/title/tt0080120/|The Warriors]].  These screenings usually involve a more select announcement list, a big living room, and beer. Movie Night also occationally gets taken over by its evil twin, Bad Movie Night, for screenings of such gems as [[http://us.imdb.com/title/tt0104418/|Highway to Hell]], [[http://us.imdb.com/title/tt0102422|McBain]], [[http://us.imdb.com/title/tt0091499/|Maximum Overdrive]], or [[http://us.imdb.com/title/tt0080120/|The Warriors]].  These screenings usually involve a more select announcement list, a big living room, and beer.
 +
 +
 +
 +====== Watching movies on the 9-panel display ======
 +
 +On the third floor of Campbell Hall we have an awesome (and under-utilized) 9-panel wall display with speakers attached.  Unfortunately, using this display is not straightforward - you can't just plug into the back of it.  There are two ways to interface:
 +
 +  - Connect over wifi with [[http://www.mirrorop.com/|MirrorOP]]
 +  - Connect to the Mac computer that is directly plugged in to the display
 +
 +The first is great for presentations, but much too slow/buggy for watching a movie.  The second works great, but we do not have access to the physical computer, so we have to improvise.
 +
 +**Any movie accessible with a browser is easy (i.e. NetFlix).**  Just fire up chrome/firefox/whatever and go watch it.
 +
 +**DVDs (or movies on a hard drive) are hard** but totally possible.
 +
 +===== How to stream a DVD to the 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.
 +
 +**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.
 +  - Confirm that you can play your DVD using [[http://www.videolan.org/vlc/index.html|VLC]]
 +    - Note that you may need to [[http://ubuntuhandbook.org/index.php/2014/04/enable-dvd-playback-ubuntu-14-04/
 +|enable DVD playback on Linux machines]]
 +    - Set up the [[http://www.howtogeek.com/117261/how-to-activate-vlcs-web-interface-control-vlc-from-a-browser-use-any-smartphone-as-a-remote/|web interface]] for VLC
 +      - You may want to set a web password.  By default the user name field is blank.
 +      - We'll set up port forwarding over SSH from the other computer, so don't worry about firewall issues or anything
 +  - Log in to the 9-panel computer
 +    - The mouse and keyboard are stored in the 5th floor office
 +      - You must have the correct mouse and keyboard, and you should confirm that the batteries aren't dead
 +      - The login password to the computer is printed on the keyboard
 +  - Open up two SSH tunnels to the streaming server from the 9-panel computer
 +    - You need to [[https://help.ubuntu.com/community/SSH/OpenSSH/PortForwarding|forward]] ports 8080 (the web interface to VLC) and 8081 (where we'll stream the movie itself)
 +      - 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>
 +      - 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).
 +    - 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>
 +    - Some parameters you may like to change:
 +      - Location of dvd drive: <code>/dev/cdrom</code>
 +      - Size of disk-read buffer in milliseconds: <code> --disc-caching=30000 </code>
 +      - Bitrate of video stream: <code>vb=3000</code>
 +      - Bitrate of audio stream: <code>ab=256</code>
 +      - Port you're streaming to: <code>dst=:8081</code> 
 +      - [[https://wiki.videolan.org/Documentation:Streaming_HowTo/Command_Line_Examples/|Other examples]]
 +      - [[https://www.videolan.org/doc/streaming-howto/en/ch03.html|full guide to streaming]]
 +  - Open VLC on the 9-panel computer (should be on the desktop) and the remote control
 +    - In VLC, open a Network location and go to <code> http://localhost:8081 </code>
 +    - In a browser, go to <code> localhost:8080 </code>
 +  - Enjoy.