CofC Logo

Streaming Media Server - Stream

What is Stream?

Stream is the College's streaming server for delivery of many different audio and video formats. Stream is not a file storage system and is not backed up. It should only be used for the purpose of streaming audio and video files. You should make sure to have your own copy of your videos in case something should happen to the copy on Stream.

Why would I want to stream video?

Streaming video is content sent in compressed form over the Internet and displayed by the viewer in real time. With streaming video or streaming media, a Web user does not have to wait to download a file to play it. Instead, the media is sent in a continuous stream of data and is played as it arrives.

How do I get a personal folder on Stream?

To get a folder on Stream you will need to follow the SFTP connection steps below. Upon successful login a folder will created and named by your username and a www folder will be created inside of that folder. You will be able to upload .mov, .mpeg4, .mp3, and .flv files here to later stream on a web site.

How to connect to Stream to upload your files

The College uses Secure FTP (SFTP) to connect to the server. Programs that use standard FTP only will not work with this server. Secure FTP protects your username and password as it is sent over the Internet. The College recommends Dreamweaver, a popular full Web development suite, or FileZilla, a cross-platform Secure FTP client; however, any Secure FTP program will work. Instructions for FileZilla and Dreamweaver are listed below.

FileZilla

FileZilla is a free, Open Source, program which supports SFTP. It runs on Windows PCs, Apple Computers running OSX, and many other platforms.

GET FILEZILLA

  • FileZilla is available for free from http://filezilla-project.org.
  • Use the "Download FileZilla Client" to obtain the proper version of FileZilla for your operating system.
  • Run the installer, accepting default settings.

Connect to the Server

  • Open FileZilla.
  • Fill in the fields:
    • Host: sftp://stream.cofc.edu
    • Username: your CofC username
    • Password: your CofC password
    • Port: 22
  • Click Quickconnect to connect to the streaming server.

Managing Files

  • The FileZilla window is split into two columns. The left column shows files on your computer, while the right column shows files on the server.
  • To upload a file:
    • First, navigate to that file in the "Local site" tree.
    • Next, make sure that you've selected the appropriate folder in "Remote site" (/streamdata/COUGARS/YOURUSERNAME/www)
    • Then, just drag and drop the files you'd like onto the server.

How to include a stream on your personal site

If you want to embed a video on your personal site, please follow the instructions for the Flash Playback below.

  1. Paste the following code inside the <body></body> tags of your website.  Make sure to change content that is dynamic (indicated by red and blue colors) in order for your video to be viewed correctly. if you are pasting inside of cascade surround your code with
    <!--#START-CODE  {code} #END-CODE-->

Flash Playback

<script type="text/javascript" src="https://cofc.edu/scripts/jwplayer/jwplayer.js"></script>
<div id="jwplayer-1">Loading the player ...</div>
<script>jwplayer("jwplayer-1").setup({
playlist: [{
image: "http://live.cofc.edu/cofc-logo.jpg",
sources: [{file: "rtmp://stream.cofc.edu:1935/cofc/_definst_/yourUsername/www/videoName.mp4"}]
}],
primary: "flash",
width: 640,
height: 352
});
</script>

If you wish to have the code generated for you automatically, click here.

Flash Playback with Mobile support

<script type="text/javascript" src="https://cofc.edu/scripts/jwplayer/jwplayer.js"></script>
<div id="jwplayer-1">Loading the player ...</div>
<script>
jwplayer("jwplayer-1").setup({
playlist: [{
image: "http://live.cofc.edu/cofc-logo.jpg",
sources: [{
file: "rtmp://stream.cofc.edu:1935/cofc/_definst_/yourUsername/www/videoName.mp4"},{
file: "http://stream.cofc.edu:1935/cofc/_definst_/yourUsername/www/videoName.mp4/playlist.m3u8"
}]
}],
primary: "flash",
width: 640,
height: 352
});
</script>

If you wish to have the code generated for you automatically, click here.

Note

  • Red areas indicate dynamic fields in which you must change the data in order for your content to show up correctly.
  • Example: flv:yourUsername/videoName.mov =   videoPlaybackType:yourUsername/yourVideoName
  • Blue areas indicate the starting image for a video, and must be changed to pull in the correct content.  It is a URL to an image on your site, which can be a relative or absolute path.
  • Example: http://cofc.edu/ = your site domain.    /livethelife/images/2010-04-01_1415.jpg = path on your server to static image

What if my video is not in one of these formats?

On campus, we also have a Video Encoding Server which will convert a video from any format to any desired format for the streaming process.  

Video Encoding Server

UPLOADING AND ENCODING FLASH VIDEO

  1. Connect to server "Magnolia" (smb://magnolia for Mac and \\magnolia for Windows), you will see a list of convert to folders with file formats and video dimensions (Width by Height).
  2. Open the folder based on the file format and size you want to convert the video to and drag and drop you file into the folder.
  3. Make sure your filenames use all lowercase letters and dashes for spaces. No other characters, please. 

PROCESSING & PICK UP

That's it! Our server will then start to encode your files for Flash video. Once it's finished it will be automatically put in the "pickup" folder. From there you can pick up the video and place it in you streaming folder as described above.

Note: We cannot convert .swf, .fla, .flv, .rm or password protected m4v files.

Lower Banner 2