User Tools

Site Tools


web:newscasts

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
web:newscasts [2008/04/29 14:06]
cedwards
web:newscasts [2009/02/20 13:58] (current)
cedwards The xml should be trackList not tracklist
Line 40: Line 40:
   - Double-click the file Avanti-GUI.exe   - Double-click the file Avanti-GUI.exe
   - Click the Folder Icon beside **Source 1** and locate the file you want to convert.   - Click the Folder Icon beside **Source 1** and locate the file you want to convert.
-  - Click the Folder Icon beside **Destination ** and locate the file you want to convert.  This will name the new file with the proper extension (.flv) for you.  I recommend a date based name such as 20080204 for February 04, 2008.  The year is first because a alphabetic ordering will put the most recent at the end of the list.  It also identifies the file clearly. **Do spaces in filenames**.  It will cause you no end of grief.+  - Click the Folder Icon beside **Destination ** and locate the file you want to convert.  This will name the new file with the proper extension (.flv) for you.  I recommend a date based name such as 20080204 for February 04, 2008.  The year is first because a alphabetic ordering will put the most recent at the end of the list.  It also identifies the file clearly. **Do not put spaces in filenames**.  It will cause you no end of grief.
   - Under ** Destination Audio settings ** change ** Bitrate (kbit/s) ** to 32   - Under ** Destination Audio settings ** change ** Bitrate (kbit/s) ** to 32
   - Under ** Destination Audio settings ** change ** Sample Frequency ** to 22050   - Under ** Destination Audio settings ** change ** Sample Frequency ** to 22050
Line 80: Line 80:
   - Open up notepad (Start Menu -> Programs -> Accessories).   - Open up notepad (Start Menu -> Programs -> Accessories).
   - Paste the following text into the file:   - Paste the following text into the file:
-  <code>+<code xml>
 <?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
 <playlist version="1" xmlns="http://xspf.org/ns/0/"> <playlist version="1" xmlns="http://xspf.org/ns/0/">
-  <tracklist+  <trackList
-  </tracklist>+  </trackList>
 </playlist> </playlist>
 </code> </code>
Line 100: Line 100:
  
 Simple, no?  Now we need to add the video to the playlist.  In between the start and end of the track list, we want to add a track.  Here is the format: Simple, no?  Now we need to add the video to the playlist.  In between the start and end of the track list, we want to add a track.  Here is the format:
-<code>+<code xml>
     <track>     <track>
       <creator>Newscast</creator>       <creator>Newscast</creator>
Line 119: Line 119:
  
 We take this track and put it in between the start and end of the track list like this: We take this track and put it in between the start and end of the track list like this:
-<code>+<code xml>
 <?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
 <playlist version="1" xmlns="http://xspf.org/ns/0/"> <playlist version="1" xmlns="http://xspf.org/ns/0/">
-  <tracklist>+  <trackList>
     <track>     <track>
       <creator>Newscast</creator>       <creator>Newscast</creator>
Line 129: Line 129:
       <image>/newscast/media/200802.jpg</image>       <image>/newscast/media/200802.jpg</image>
     </track>     </track>
-  </tracklist>+  </trackList>
 </playlist> </playlist>
 </code> </code>
  
 New tracks should be put at the top of the list and older ones should follow like this: New tracks should be put at the top of the list and older ones should follow like this:
-<code>+<code xml>
 <?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
 <playlist version="1" xmlns="http://xspf.org/ns/0/"> <playlist version="1" xmlns="http://xspf.org/ns/0/">
Line 150: Line 150:
       <image>/newscast/media/200802.jpg</image>       <image>/newscast/media/200802.jpg</image>
     </track>     </track>
-  </tracklist>+  </trackList>
 </playlist> </playlist>
 </code> </code>
Line 156: Line 156:
 You are nearly finished!  The final part is adding the flash object to your page.  You will need to edit the HTML of  the document you want the flash to appear directly in the desired location. You are nearly finished!  The final part is adding the flash object to your page.  You will need to edit the HTML of  the document you want the flash to appear directly in the desired location.
  
-<code>+<code html>
 <object type="application/x-shockwave-flash" data="/newscast/mediaplayer.swf" width="500" height="240" id="mediaplayer"> <object type="application/x-shockwave-flash" data="/newscast/mediaplayer.swf" width="500" height="240" id="mediaplayer">
   <param name="allowScriptAccess" value="sameDomain"/>   <param name="allowScriptAccess" value="sameDomain"/>
web/newscasts.1209492376.txt.gz · Last modified: 2008/04/29 14:06 by cedwards