cure-real
Page 2 of 3 FirstFirst 123 LastLast
Results 16 to 30 of 39

Thread: HOWTO: Real Audio/Video Streaming

  1. #16
    Join Date
    May 2004
    Location
    Farmington, New Mexico, United States
    Posts
    2,215
    Here's what I ended up with. Seems to work well. It imbeds a 'player' in the page, autoloads the video, then waits for you to click the start button.
    <OBJECT ID="MediaPlayer" WIDTH="192" HEIGHT="190" CLASSID="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
    STANDBY="Loading Windows Media Player components..." TYPE="application/x-oleobject">
    <PARAM NAME="FileName" VALUE="video/herman.wmv">
    <PARAM name="ShowControls" VALUE="true">
    <param name="ShowStatusBar" value="false">
    <PARAM name="ShowDisplay" VALUE="false">
    <PARAM name="autostart" VALUE="false">
    <EMBED TYPE="application/x-mplayer2" SRC="video/herman.wmv" NAME="MediaPlayer"
    WIDTH="192" HEIGHT="190" ShowControls="1" ShowStatusBar="0" ShowDisplay="0" autostart="0"> </EMBED>
    </OBJECT>
    You can check out the result at www.manywatersmission.org (this is not an ad for the website ), at the bottom of the main page. There's a real short little clip there.
    Nice thing is, you can put it anywhere on your page, and adjust the size of the screen.

  2. #17

    Streaming Video Code Generator

    I tried what was on the previous posts, but that did not do exactly what I was hoping for. I then found http://cit.ucsf.edu/embedmedia/step1.php and it did exactly what I needed - maybe it will work for you. A sample of the end product can be seen at the Bible study presentation found at http://www.soljc.com/ftg.htm

  3. #18
    Join Date
    May 2004
    Location
    Farmington, New Mexico, United States
    Posts
    2,215
    How do you get .wma audio to play? The bgsound doesn't seem to work with that.
    Or perhaps someone can tell me how to convert it to wav?

  4. #19
    Hi all, I am new on this forum...

    I read through all the suggestions made about this topic. Here is my situation. I am working and living in West-Afrika, Mali...

    I am at the point of building a website for the missionaries working there, putting short video clips (approx. 2 min) on the web, introducing themselves...

    I guess our main supporters are in the West/America...

    I made a 'try-out' videoclip, both in .rm and .wmv format. I am now at the point of choosing what video-type to put on the website. I would like to use "streaming", which I understand from all been said earlier, would go best while using .wmv files, is that correct?!

    .wmv is bigger in size than .rm, but better in quality right?

    @ mike_soljc
    Is the code being produced by the webpage you mention, that you know, W3C valide?

    I am not sure what is best (both West-Africa and the US) to use, streaming or simply downloading...

    Maybe some of you might have some suggestion on all I said / asked?!
    Thanks, God bless!!

  5. #20
    Join Date
    Jul 2002
    Location
    JNB, ZA
    Posts
    1,775
    One comment I do have is that support for .rm files is something that needs to be downloaded and installed. Support for Windows media files is built in on most machines as part of Windows. I think especialy in a case like West Africa (if that is your target audience), doing the site with Windows media files may have greater appeal than "Real" media since not everyone has a "Real" player installed.
    Democracy is not of Christ. Neither is communism or Socialism or Capitalism!
    Only CHRIST is of Christ!
    The rest is all Hype and "carbon tax"..... Who do you think gets your CO2 $$'s...
    The CHURCH?


  6. #21
    Join Date
    Jan 2003
    Location
    Nor Cal
    Posts
    37
    I agree with Brent. I would definitely use .wmv as it is accessible by many more people. I would also suggest having a link to a seperate page with a streaming video and a link to download the video. Watching streaming video on a slow connection is close to impossible, while one can always download the video and play it later in its entirety.
    I believe in Christianity as I believe that the sun has risen: not only because I see it, but because by it I see everything else.
    -C.S. Lewis

    Got a question about how something works? Check out the FAQ.

  7. #22
    @ bdh / Gods creation,

    Thanks for responding...

    To use a .wmv streaming file and a downloadable file was my idea too, but I just wanted to check with the more experienced guys, like you

    Thanks!!

    For the downloadable part I could use a phrase as 'mike_soljc's example uses right? http://www.soljc.com/ftg.htm

  8. #23
    Join Date
    Jan 2003
    Location
    Nor Cal
    Posts
    37
    Yep. Just use: <a href="http://www.urlname.com/video.wav">visible phrase</a>
    I believe in Christianity as I believe that the sun has risen: not only because I see it, but because by it I see everything else.
    -C.S. Lewis

    Got a question about how something works? Check out the FAQ.

  9. #24
    Great, I am going to try if this all really works for me...

    My first WMV is ready, it is 8 MB big...Is there anyway, without cutting in the clip I have now, to make downloading / streaming a video clip this size easier / faster / less bandwith?

    Thanks for any advice on this matter.

  10. #25
    Hello all,

    I am very happy today: it worked!!!

    Thanks Gods Creation, mike_soljc and others...

    I only have one question to ask...I valided my website (as awhole) HTML 4.01 strict and there was no problem.

    If I take my video-page though separately, it will give 19 errors (at least ;-) HTML 4.01 strict does not except the embedded-code if I understood right.

    What can you guys say on that??

    Here is my code as it is in my page:

    Code:
    <p class="video">
          <OBJECT id="mediaPlayer" width="320" height="285" 
          classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" 
          codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701"
          standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject">
          <param name="fileName" value="http://www.cmamali.org/video/jessica_s.wmv">
          <param name="animationatStart" value="true">
          <param name="transparentatStart" value="true">
          <param name="autoStart" value="true">
          <param name="showControls" value="true">
          <param name="loop" value="true">
          <EMBED type="application/x-mplayer2"
            pluginspage="http://microsoft.com/windows/mediaplayer/en/download/"
            id="mediaPlayer" name="mediaPlayer" displaysize="4" autosize="-1"
            bgcolor="darkblue" showcontrols="true" showtracker="-1" 
            showdisplay="0" showstatusbar="-1" videoborder3d="-1" width="320" height="285"
            src="http://www.cmamali.org/video/jessica_s.wmv" autostart="true" designtimesp="5311" loop="true">
          </EMBED>
          </OBJECT>
    </p>
    
    <p class="video">
          <!-- ...end embedded WindowsMedia file -->
        <!-- begin link to launch external media player... -->
              <a href="http://www.cmamali.org/video/jessica_s.wmv"><b>Launch in external player</b></a><br>
              <!-- ...end link to launch external media player... -->
    <br>
    This size of this video is <b>8.663 MB</b>. Please allow approximately a couple of minutes to download via high-speed broadband internet connection. This video 
    will begin playing directly in this window automatically once the download is complete.<br>
    <br>
    or<br>
    <br>
    <a href="http://www.cmamali.org/video/jessica_s.wmv">right click on this text and select Save Target As to download the video and view later...</a>
    </p>
    Hope some of you guys repond this weekend!!

    NB
    Found an article on the internet about this subject, but for Flash....Maybe that will help?
    http://alistapart.com/articles/flashsatay

  11. #26
    Any one any suggestions for me, concerning my question above?

    Would be higly appreciated!!

  12. #27

    Difficulty streaming audio

    Hi,
    I followed your suggestion to stream audio files but I am using an mp3 and m3u file in place of the real audio files. I used a converter to change the wma to mp3. When I play the mp3 on my desktop it works fine in windows media player and realplayer but after I've loaded it onto the website when I try to open it I get the error message:
    Windows Media Player cannot play the file. The Player might not support the file type or might not support the codec that was used to compress the file.

    Both files are in a file named /audio (instead of realaudio) in the public_html folder. I feel like it might have to do with what may happen when I upload it since it plays beforehand. Do you have any ideas?

  13. #28
    Join Date
    Jul 2002
    Location
    JNB, ZA
    Posts
    1,775
    My guess is that you uploaded the files in the wrong format. Make sure that you upload the files from your PC to your Web server in binary format and not ASCII.

    Usually FTP clients have a setting under the "advanced" settings where you can set the file upload mode for different file extensions. Make sure mp3 is set to upload as binary or manually upload it as binary.

    One more tip - if it is this, do not simply replace the file(s). Remove them then upload in binary.
    Democracy is not of Christ. Neither is communism or Socialism or Capitalism!
    Only CHRIST is of Christ!
    The rest is all Hype and "carbon tax"..... Who do you think gets your CO2 $$'s...
    The CHURCH?


  14. #29

    Banghead Re: Difficulty streaming audio

    Hi,

    Thanks for your reply. It's still not working. I've uploaded the actual file in binary and the m3u in ascii using Smartftp. (I tried binary for the m3u file but your original instructions said ascii so I changed it back) When I link to the m3u file from my website it will not play the file but if I try to link directly to my mp3 file it plays fine. So I'm thinking there's a problem with my m3u file. I created it with notepad and saved it as test.m3u, type: text document and didn't change the encoding option which says ANSI.
    This page has the mp3 file link and the m3u link: www.stmarkglastonbury.org/test.html

    Can you think of anything else?

  15. #30
    Join Date
    Jul 2002
    Location
    JNB, ZA
    Posts
    1,775
    Take a look at post #14 in this thread.
    Democracy is not of Christ. Neither is communism or Socialism or Capitalism!
    Only CHRIST is of Christ!
    The rest is all Hype and "carbon tax"..... Who do you think gets your CO2 $$'s...
    The CHURCH?


Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •