VideoHelp Forum

Our website is made possible by displaying online advertisements to our visitors. Consider supporting us by disable your adblocker or Try ConvertXtoDVD and convert all your movies to DVD. Free trial ! :)
+ Reply to Thread
Results 1 to 9 of 9
Thread
  1. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Search Comp PM
    This basic guide will show you the steps how to convert any video to high quality flash video, MP4 with H264 and AAC audio, and put it on your website with a flash video player. Using free software only.
    • Software
      Preparation
      Convert
      Put the video on your site
      Example
      Problems

    Software
    HandBrake (Free)
    JW FLV Media Player (Free for personal use)



    Preparation

    You can check how it will look like in the example below here, if it wont work be sure to update the Adobe Flash Player here.
    If you are going to convert from a commercial DVD then rip it to the HDD using DVDFab Decrypter first.
    Install HandBrake.


    Convert
    Open the source video in HandBrake. Click on Source->Video File to open most video formats and Video->DVD to open a DVD or DVD folder on your HDD.
    Choose the Basic->Classic Profile
    Set the Format to MP4
    Set the Destination output file.
    Set Web Optimized and the mp4 will start play directly in flash.
    Set the Video Frame size, like 640x. Change the Anamorphic to None to change to a custom size or Loose to just adjust the width and the height will be automatically calculated.


    Set the Video codec to H264 under the Video tab.
    Set the Target size in MB, about 3-5MB/minute for 640x480 video or 10MB/minuter for HD video(1280x720). Easiest is to test different sizes and see how it looks like. You can also try use 2-pass encoding for a bit better quality but slower encoding or the Constant quality setting, you can't then set a file size but the quality will be based on the source file quality .


    Set the Audio codec to AAC under the Audio & Subtitles tab.
    Set the Audio bitrate to around 64kbits to 128kbits, higher bitrate = higher quality but it means you will get lower bitrate/quality for the video.


    Hit Start to start convert! or add it to the queue and add more jobs and encode the entire queue.




    Put the video on your site
    Download JW FLV Player and extract the player.swf and swfobject.js and put on your site with the mp4 video you created above.


    Problems
    Add an image to the flash player by adding the &image=flash.jpg to the flashvar setting,
    Code:
    s1.addParam('flashvars','file=test.mp4&stretching=fill&image=flash.jpg')
    If you can't see the video in your web browser be sure to upgrade to latest Adobe Flash player(requires at least Flash Player version 9.0.115 or higher).

    If you don't want any black borders in the player you can add &stretching=fill in the url to your mp4 file like http://www.site.com/folder/test.mp4&stretching=fill

    If HandBrake wont work you can use other all-in-one h264 converters like Xvid4PSP,. StaxRip, Ripbot264, avidemux.
    Last edited by Baldrick; 18th Feb 2011 at 09:31.
    Quote Quote  
  2. baldrick - are the pictures covering up some text? the top of some letters look like they are poking up.
    Quote Quote  
  3. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Search Comp PM
    Nope, just crappy screenshots. I have updated them now so it shouldn't look like that. And this is just a copy of https://forum.videohelp.com/topic355179.html but with handbrake instead. .
    Quote Quote  
  4. hehe - looks cleaner now. i've never tried handbrake myself, but it looks easier to use than some of the h(x)264 gui programs i've used. the video linked to www.site.com was interesting for awhile...
    Quote Quote  
  5. BuskerAlley.com zoobie's Avatar
    Join Date
    Feb 2005
    Location
    Colorado Rocky Mountains
    Search Comp PM
    Is "Web Optimized" code for deinterlacing?
    Too tired to experiment at the mo...

    The last JW player without the logo was 4.4.162 I think...probably some versions lying around at their site
    Quote Quote  
  6. Member
    Join Date
    Apr 2009
    Location
    Egypt
    Search Comp PM
    Thank You
    Quote Quote  
  7. Member budwzr's Avatar
    Join Date
    Apr 2007
    Location
    City Of Angels
    Search Comp PM
    Baldrick, what do you think of FlowPlayer? They have a lot of free javascripts as well.
    Quote Quote  
  8. Member
    Join Date
    Aug 2010
    Location
    Huntington, New York
    Search Comp PM
    I want to use this tutorial, but can't view the 'Code:'. It says that I need to use the
    latest version of Flash Player. I am using chrome and when I click on the link,
    it says that I already have the latest version.

    What to do??? Thanks, Ken Niebling
    Quote Quote  
  9. Can the movie be in a mkv container and still be web optimized for the same process?
    Quote Quote  



Similar Threads