IT Kraut

IT Kraut

How to put videos in the web

0.) Download and start Handbrake

Download Handbrake from the official source and start it.

1.) open the source file

open the source file by clicking on "Source"

open file

2.) select target file and directory

select target file and directory by clicking on "Browse"

open file

3.) activate "Web Optimized"

select target file and directory by clicking on "Browse"

open file

4.) change the resolution to 360p

In the "Picture"-Tab lower the "Width" as long as the second number in "Display Size" shows 360. Write down the resolution, because you will need it later.

open file

5.) Decomb...

if your picture shows combing or mouse teeth (horizontal lines) try to set "Decomb" to "Bob" in the "Filters"-Tab

open file

6.) Set H.264, 850 kbps, variable bit rate and 2-pass-encoding

In the "Video"-Tab set "Video Codec" to "H.264", activate "Variable Bitrate", set the "Average Bitrate (kbps)" to "850" and activate "2-Pass-Encoding".

open file

7.) Set AAC, 128 kbps and Stereo

In the "Audio"-Tab set "Codec" to "AAC (faac)", "Bitrate" to "128" (kbps) and "Mixdown" to "Stereo".

open file

8.) Start Re-Encoding

Click on "Start" to re-encode the video and wait...

open file

10.) Check the video and make a Screenshot

Check the result video in VLC or a similar video player and make a screenshot of a significant part of the video by clicking on "Pause", "Video" and "Take a Screenshot".

vlc screenshot

11.) optimize the screenshot

optimize the screenshot as explained in the IT-Kraut How to put pictures in the web Guide.

12.) Upload the files

Upload the new video and the screenshot to the web server

13.) Insert the following HTML-Code in your website

Insert the following HTML-Code in your website and replace all underlined parts with the data of your actual video

<object type="application/x-shockwave-flash" data="" width="640" height="379"> <!-- put here the video heigt + 19px for the controls in -->
        <param name="codebase" value=",0,0,0">
        <param name="movie" value="" />
        <param name="allowfullscreen" value="true" />
        <param name="wmode" value="transparent">
        <param name="allowscriptaccess" value="always" />
        <param name="flashvars" value="height=360&amp;width=640&amp;file=;displaywidth=640&amp;displayheight=360&amp;searchbar=false&amp;usefullscreen=true&amp;autostart=false&amp;autoscroll=true&amp;playlist=bottom&amp;playlistsize=0&amp;showicons=false&amp;image=">
        <video src="" width="640" height="320" controls>
        (Please install the Flash-PlugIn)


You can find a very good guide for HTML 5 Video here: