Video Encoder on linux

to download video from you tube..

i think you should rename the downloaded file to mpg or avi..
then get the necessary encoder..
Free FLV player is .. vlc player…

Encoding video to FLV format

This page provides some info about how to convert a video file into Macromedia’s FLV format. FLV is a video file format with advanced capabilities including progressive download. FLV requires a Flash Player version 7 (or newer) to be installed in the client browser.
Video Encoding with Open Source tools

You can encode FLV files using ffmpeg. You need to compile ffmpeg with amr and lame enabled. To do this first download ffmpeg latest version and then download AMR codecs from 3gpp. (This release/series worked for me, together with ffmpeg-0.4.9-p20051216. Thanks for the tips from Tina.) To build ffmpeg do following:

1. Exract ffmpeg package, go to the ffmpeg libavcodec directory and mkdir amr amr_float amrwb_float
2. extract to amr directory
3. extract to amr_float directory
4. extract to amrwb_float
5. ./configure –enable-amr_nb –enable-amr_nb-fixed –enable-amr_wb –enable-mp3lame
6. make & install

FLV metadata can be injected using flvtool2.

To convert a movie file (.mp4 .mov .mpg .3gp .mpeg .wmv .avi) to FLV, do following:

1. ffmpeg -i movie.[avi] -s 320×240 -ar 44100 -r 12 movie.flv
2. cat movie.flv | flvtool2 -U stdin movie.flv

The flvtool2 command above add the video duration into the FLV’s metadata. FlowPlayer reads the duration information from the FLV and displays it. You can also use flvtool2 to tag cue points into the FLV. Cue points can be used to enhance the support for long videos.
Video Encoding on Windows

For encoding on Windows I recommend a free tool called Riva FLV Encoder. This tool is available at Riva Web site. Starting from version 2.0 it support FLV version 1.1 which contains the required timing information. Without the timing information, FlowPlayer’s scrub bar and progress tracking do not work.

There are also several commercial encoding applications that are capable of producing FLV. This whitepaper describes the FLV format and also lists several tools that can be used to generate FLV video files. Probably the most popular of these encoding applications is called Sorenson Squeeze. More information is available at SWF Encoding can also be done using Sorenson Squeeze.
Video encoding on Mac
ffmpeX is a Mac fronted for ffmpeg. They have a nice page about encoding FLV.

And the result is.. something like this..

[flashvideo width=”400″ height=”320″ filename=”” returnpage=”” /]

Dedicated to shaf.. hahahaha…

Related Post

Leave a Reply

Your email address will not be published. Required fields are marked *