Wed 19 Apr 2006
One-stop Installation Guide for Create a Linux Server-side FLV conversion environment
Posted by luar under Flash Media Server[90] Comments
If you want to convert other video format to FLV (sorenson codec), everybody will suggest using FFmpeg. In fact, only FFmpeg is not enough for successfully create a server-side command line conversion environment to create FLV with video and audio, plus the FLV 1.1 metadata information. I have stroked for a whole day to setup my Linux server (Fedora Core 3), so I wrote down my note here for other people and myself as a reference.
Purely install FFmpeg is not enough, the FLV converted has no audio, because FLV audio codec is mp3, so you need LAME support. Moreover, the FLV converted has no metadata, you cannot know the dimension, duration such important information for a FLV player swf. Therefore, you need another free tool: FLVTool2, which is written in Ruby, so I have to install Ruby in my server, too.
Overall installation order: LAME->FFmpeg->Ruby->FLVTool2, if you want to access video info through FFmpeg in php, you can install ffmpeg-php, too.
Please login as root first:
Install LAME
Download from LAME site, type the following command to compile and install it:
./configure --enable-shared --prefix=/usr
make
make install
enable-shared to make sure FFmpeg can use LAME later. Type lame in command line to see help after install succeed.
Note: you can also use yum to install FFmpeg, it will install dependency LAME, too, so you can skip this step.
yum install ffmpeg
Install FFmpeg
Download from FFmpeg site through CVS, type the following command to get the latest copies from CVS and save to your $home (currenly path after login into consule) with folder name “ffmpeg”:cvs -z9 -d:pserver:anonymous@mplayerhq.hu:/cvsroot/ffmpeg co ffmpeg
To compile and install it, type the following command:
./configure --enable-gpl --enable-mp3lame --enable-shared --prefix=/usr
make clean && make
make install
enable-shared to make sure ffmpeg-php can use FFmpeg later (if you do not use ffmpeg-php, you do not need –enable-shared –prefix=/usr). Type ffmpeg in command line to see help after install succeed.
Note: you can also use yum to install FFmpeg:
yum install ffmpeg
Install Ruby
Download from Ruby site, type the following command to compile and install it:
./configure
make
make install
Install FLVTool2
Download from FLVTool2 site, type the following command to compile and install it:
ruby setup.rb config
ruby setup.rb setup
sudo ruby setup.rb install
Type flvtool2 in command line to see help after install succeed.
Installation is completed here. If you want to access video infomation easily in php, there is a ffmpeg-php you can try. You can follow the instruction inside the package to install it. I installed it as a Shared Extension and did not edit php.ini to add extension=ffmpeg.so When I try its test_ffmpeg.php to verfiy the installation. I saw an error:Unable to load dynamic library './ffmpeg.so' - ./ffmpeg.so: cannot open shared object file: No such file or directoryYou have to copy ffmpeg.so to your php extension folder, or like me, I just copy the file to the same folder of the php script is located.
Follow up
Other Reference
- FFMpeg compiled Windows exe
- Video and Audio Streaming with Flash and Open Source Tools
- libflv – creating FLV video streams
- FLV2MP3 (Make FlashCom recorded FLV conversion possible ?!)
- Flash 视频(FLV)编码,转换,录制,播放方案一网打尽
- 幾套各種影片轉FLV影音檔工具
- How To: Convert audio to another format on a web page (with installation guide, php code sample)

April 20th, 2006 at 12:33 am
Too bad there isn’t VP6 support in FFMPEG. It would be nice to have the option
April 20th, 2006 at 1:15 am
[...] Convert other video to FLV with metadata You have to install flvtool2, too, see my previous post ffmpeg -i video.avi -ar 22050 -ab 32 -f flv -s 320×240 – | flvtool2 -U stdin video.flv [...]
May 12th, 2006 at 4:03 am
[...] For more details, please read this blog entry from Luar: http://luar.com.hk/blog/?p=669. [...]
June 23rd, 2006 at 3:50 pm
FFMPEG 在轉換 WMV8 可能會出現一些畫面問題。結果還是用 回 MEncoder。
July 21st, 2006 at 3:15 pm
Does anybody have an working step by step to install ffmpeg-php?
September 5th, 2006 at 1:45 pm
does anybody have a working step by step to install ffmpeg-php in windows environment
September 28th, 2006 at 1:47 am
your page for lame is out of date.
I find it here >
http://www.mp3machine.com/software/lame_mp3/
why don’t u install ruby and ffmpeg with apt-get install ?
ruby setup.rb config
maybe coz I installed ruby with apt-get oO
doesn’t work
October 19th, 2006 at 2:37 pm
Hi nice how to!
But i got one problem, there is no sound in the .flv file?
“FFmpeg version HEAD, Copyright (c) 2000-2004 Fabrice Bellard
configuration:
libavutil version: 49.0.0
libavcodec version: 51.9.0
libavformat version: 50.4.0
built on Oct 10 2006 14:11:16, gcc: 3.3.1 (SuSE Linux)
Input #0, mpeg, from ’2352545623236433.mpeg’:
Duration: 00:00:14.3, start: 0.220000, bitrate: 1204 kb/s
Stream #0.0[0x1e0]: Video: mpeg1video, yuv420p, 320×240, 104857 kb/s, 25.00 fps(r)
Stream #0.1[0x1c0]: Audio: mp2, 32000 Hz, stereo, 128 kb/s
File ‘video2.flv’ already exists. Overwrite ? [y/N] y
Output #0, flv, to ‘video2.flv’:
Stream #0.0: Video: flv, yuv420p, 320×240, q=2-31, 200 kb/s, 25.00 fps(c)
Stream mapping:
Stream #0.0 -> #0.0
[flv @ 0x4034b6e0]removing common factors from framerate
Press [q] to stop encoding
frame= 445 q=1.6 Lsize= 526kB time=17.8 bitrate= 242.1kbits/s
video:519kB audio:0kB global headers:0kB muxing overhead 1.342197%”
Please help me
October 25th, 2006 at 5:07 pm
[...] Here I found a one-stop installation guide for creating a Linux Server-side FLV conversion environment at Luar’s Flash Playground. [...]
October 27th, 2006 at 4:42 pm
hey there does anyone knoe hoe to implement ffmpeg and all that stuff with .asp
November 2nd, 2006 at 4:56 am
i followed all steps from
http://luar.com.hk/blog/?p=669
and it went all ok but still it returns output without sound
here is the output i reace when i run
ffmpeg -i Eric_Promo1.wmv -ar 22050 -ab 32 -f flv -s 320×240 – | flvtool2 -U stdin video.flv
i get …
FFmpeg version SVN-r6674, Copyright (c) 2000-2006 Fabrice Bellard, et al.
configuration:
libavutil version: 49.0.2
libavcodec version: 51.22.0
libavformat version: 50.6.0
built on Oct 27 2006 12:24:26, gcc: 4.1.1 20060525 (Red Hat 4.1.1-1)
Seems that stream 0 comes from film source: 1000.00 (1000/1) -> 31.25 (125/4)
Input #0, asf, from ‘Eric_Promo1.wmv’:
Duration: 00:01:10.5, start: 2.000000, bitrate: 302 kb/s
Stream #0.0: Video: msmpeg4, yuv420p, 320×240, 31.25 fps(r)
Stream #0.1: Audio: mp2, 32000 Hz, stereo, 64 kb/s
Output #0, flv, to ‘pipe:’:
Stream #0.0: Video: flv, yuv420p, 320×240, q=2-31, 200 kb/s, 31.25 fps(c)
Stream mapping:
Stream #0.0 -> #0.0
Press [q] to stop encoding
[msmpeg4 @ 0x84b31d8]overreading 17 bits.8 bitrate= 403.2kbits/s
[msmpeg4 @ 0x84b31d8]concealing 300 DC, 300 AC, 300 MV errors
[msmpeg4 @ 0x84b31d8]overreading 78 bits
[msmpeg4 @ 0x84b31d8]concealing 300 DC, 300 AC, 300 MV errors
[msmpeg4 @ 0x84b31d8]ac-tex damaged at 13 14
[msmpeg4 @ 0x84b31d8]
error while decoding block: 13 x 14 (5)
[msmpeg4 @ 0x84b31d8]Error at MB: 307
[msmpeg4 @ 0x84b31d8]concealing 110 DC, 110 AC, 110 MV errors
[msmpeg4 @ 0x84b31d8]ignoring overflow at 15 14ate= 352.2kbits/s
[msmpeg4 @ 0x84b31d8]ac-tex damaged at 16 14
[msmpeg4 @ 0x84b31d8]
error while decoding block: 16 x 14 (5)
[msmpeg4 @ 0x84b31d8]Error at MB: 310
[msmpeg4 @ 0x84b31d8]concealing 192 DC, 192 AC, 192 MV errors
[msmpeg4 @ 0x84b31d8]overreading 1 bits
[msmpeg4 @ 0x84b31d8]concealing 300 DC, 300 AC, 300 MV errors
[msmpeg4 @ 0x84b31d8]ignoring overflow at 19 14rate= 301.3kbits/s
[msmpeg4 @ 0x84b31d8]overreading 44 bits9.4 bitrate= 276.1kbits/s
[msmpeg4 @ 0x84b31d8]concealing 300 DC, 300 AC, 300 MV errors
[msmpeg4 @ 0x84b31d8]overreading 35 bits4.0 bitrate= 255.6kbits/s
[msmpeg4 @ 0x84b31d8]concealing 300 DC, 300 AC, 300 MV errors
[msmpeg4 @ 0x84b31d8]ac-tex damaged at 15 14
[msmpeg4 @ 0x84b31d8]
error while decoding block: 15 x 14 (5)
[msmpeg4 @ 0x84b31d8]Error at MB: 309
[msmpeg4 @ 0x84b31d8]concealing 300 DC, 300 AC, 300 MV errors
[msmpeg4 @ 0x84b31d8]ac-tex damaged at 17 14bitrate= 251.2kbits/s
[msmpeg4 @ 0x84b31d8]
error while decoding block: 17 x 14 (5)
[msmpeg4 @ 0x84b31d8]Error at MB: 311
[msmpeg4 @ 0x84b31d8]concealing 231 DC, 231 AC, 231 MV errors
[msmpeg4 @ 0x84b31d8]overreading 115 bits.7 bitrate= 246.6kbits/s
[msmpeg4 @ 0x84b31d8]concealing 300 DC, 300 AC, 300 MV errors
[msmpeg4 @ 0x84b31d8]overreading 46 bits8.7 bitrate= 243.5kbits/s
[msmpeg4 @ 0x84b31d8]concealing 300 DC, 300 AC, 300 MV errors
[msmpeg4 @ 0x84b31d8]ac-tex damaged at 13 14
[msmpeg4 @ 0x84b31d8]
error while decoding block: 13 x 14 (5)
[msmpeg4 @ 0x84b31d8]Error at MB: 307
[msmpeg4 @ 0x84b31d8]concealing 193 DC, 193 AC, 193 MV errors
[msmpeg4 @ 0x84b31d8]overreading 13 bits3.5 bitrate= 240.9kbits/s
[msmpeg4 @ 0x84b31d8]concealing 300 DC, 300 AC, 300 MV errors
[msmpeg4 @ 0x84b31d8]overreading 13 bits
[msmpeg4 @ 0x84b31d8]concealing 300 DC, 300 AC, 300 MV errors
[msmpeg4 @ 0x84b31d8]overreading 106 bits
[msmpeg4 @ 0x84b31d8]concealing 300 DC, 300 AC, 300 MV errors
frame= 2197 q=5.3 Lsize= 2043kB time=70.3 bitrate= 238.0kbits/s
video:2008kB audio:0kB global headers:0kB muxing overhead 1.718160%
November 4th, 2006 at 3:32 am
[...] Veja aqui mais informações sobre como compilar. [...]
November 9th, 2006 at 6:55 pm
[...] http://www.luar.com.hk/blog/?p=669 [...]
November 10th, 2006 at 3:54 pm
any ideea how to install ffmpeg in unix. without ssh but with access at php.ini .?
November 18th, 2006 at 8:27 am
Better guide than any other site ive found!!
Thanks!
November 27th, 2006 at 11:15 am
[...] Here is a tutorial on how to create the Flash video files: One-stop Installation Guide for Create a Linux Server-side FLV conversion environment. [...]
November 27th, 2006 at 8:26 pm
how to convert flv files to mp3 or wav files by using a command line in windows
December 7th, 2006 at 5:21 pm
Hi
I am using php,ffmpeg converstion of files(avi,mpeg..) into .flv file. Now i need to add meta data (header) to the flv file.
So, please help me regording this info.
Cheers,
Praveen
December 12th, 2006 at 11:59 am
I’m working on a site, but my friend can’t see the video’s playing in the flash player. I have put the debugger mode on but all videos you can see running in the background. Can you guys view the movies running with IE and FF? Please do let me know cause he says its something about the scripts but all my other friends can see all. For the converting I have used FFMPEG. For me all runs fine, but for him it runs sometimes yes and sometimes not. Can anyone help me. This is the site: http://eunoia.estebanmedia.com
December 12th, 2006 at 7:46 pm
Nice article, is there a ready solution of Foto+Video album + video to flv conversion?
January 4th, 2007 at 1:22 am
Great Post, now it would be nice to convert some WMV files that are conflictive to get absolutely transparent to the user, any ideas?
Greets…
January 7th, 2007 at 4:51 pm
Hi, I followed the above steps and compiled ffmpeg source. the installation went fine. But when I try to run the binary (ffmpeg) it gives this error.
ffmpeg: error while loading shared libraries: libavformat.so.51: cannot open shared object file: No such file or directory
Any suggestions please?
January 12th, 2007 at 2:01 pm
Hi,
A very nice guide for ffmpeg installation.
I am new to php and i have to use ffmpeg in my site to
1)convert video files to flv format.
2)Make 5 thumbnails from frame 5 to 10 of the video.
3) Run the video in flash player
Can anybody guide me through this ASAP.
January 18th, 2007 at 6:04 am
HI. I see instalation process but I no make ffmpeg.so.
First I tar xjf ffmpeg-php.X.X.X.bz2, then cd /ffmpeg , and phpize. but than it happend this error:
————————————–
[root@trader ffmpeg-php-0.5.0]# phpize
Configuring for:
PHP Api Version: 20031224
Zend Module Api No: 20041030
Zend Extension Api No: 220040412
/usr/bin/phpize: line 105: aclocal: command not found
———————————
So do you have any SUGGESTION about this????
10x alot:)
ps. I’m have PLESK in my PC
January 18th, 2007 at 10:29 pm
In response to message 11 (no sound), I found the lame instructions needed to be changed (add –enable-mp3lame –enable-gpl) …
cd [lame src directory]
make clean
./configure –enable-mp3lame –enable-gpl –enable-shared –prefix=/usr
make
make install
Voila! Sound.
Brian
January 18th, 2007 at 10:33 pm
Sorry, my last comment is wrong, the make command is for ffmpeg and it is the same as the instructions. However, for some reason, re-making ffmpeg with the above instructions (cd into ffmpeg) sorted the sound.
Sorry for the noise.
Brian
January 31st, 2007 at 5:43 pm
[...] Intrigued by the likes of YouTube, I decided to try and figure out how it’s all done (although a little late…). After googling for a while, I came up with an extremely useful resource :http://luar.com.hk/blog/?p=669. ,which are LAME, the audio encoder for sound playback FFMPEG, the video file encoder [...]
February 2nd, 2007 at 5:35 pm
Hi All,
I found problem the output file .flv no sound (comment 11).
I solve this problem follow (comment 25) but not work.
Help me please ..
February 7th, 2007 at 5:40 pm
[...] Ich hatte das Problem, dass ich bei FLV-Videos die unter Linux mittels FFMPEG ins FLV-Format transcodiert wurden kein Ton vorhanden war. Ich musste schon etwas länger im Internet stöbern bis ich eine brauchbare Lösung für das Problem fand. Gefunden hab ich die Lösung schließlich hier. Das eigentliche Problem ist folgendes. Bei FLV-Videos ist die Audio-Information grundsätzlich als MP3 encodiert. Viele Linux Systeme haben aber kein MP3 installiert. Das heißt man muss bevor man FFMPEG installiert erst mal einem MP3 Codec installieren. [...]
February 14th, 2007 at 4:36 pm
[...] Um eine weitere Serverseitige Konvertierung umzusetzen, bzw. eine wirklich gute und einfache Erklärung zu nennen, hat Luar auf seinem Blog ein Einfaches Tutorial geschrieben. [...]
February 14th, 2007 at 6:20 pm
All about nutrizione
February 19th, 2007 at 12:34 pm
Steps for Install FLVTool2 works perfectly
Thankyou very much
February 20th, 2007 at 4:10 am
the option: –mp3lame for the ffmpeg install is wrong, it should read –libmp3lame, mp3lame is no longer an option with the most current revision of ffmpeg. Other than that, everything went fine.
February 20th, 2007 at 10:16 pm
hey i am unable to find ffmpeg.so file.
could you tell me how to get this file so that i can use it in php.ini file
February 25th, 2007 at 3:44 pm
Hi all
Very nice site! Very informative to say the least
Great Post, now it would be nice to convert some WMV files that are conflictive to get absolutely transparent to the user, any ideas?
March 5th, 2007 at 2:27 pm
Hi,
I have a new requirement in my website where i have to convert mpeg formet to flv formet automatically while user upload videos(Similar to what ppl did in http://www.youtube.com). Can any one suggest me how i can use FFMPEG effectivly for my requirement. I am working in windows XP & my application developed using Java..
any ideas????
March 8th, 2007 at 8:05 am
Hello,
Great Guide!
Can you help me? Once I Download LAME where do I upload it to on my server? And after that when I type:
cvs -z9 -d:pserver:anonymous@mplayerhq.hu:/cvsroot/ffmpeg co ffmpeg
into Terminal (My SSH) I get:
-bash: cvs: command not found
Thanks
March 11th, 2007 at 7:39 am
I already have ffmpeg and ruby on my server from host if anyone can help me i know nothing about this i am willing to pay for the help i really need the convert to flv on my site thanks
March 16th, 2007 at 9:23 pm
Wow is a perfect website, I like it and its style, thanks.
March 16th, 2007 at 9:34 pm
Hi
I am using php,ffmpeg converstion of files(avi,mpeg..) into .flv file. Now i need to add meta data (header) to the flv file.
So, please help me regording this info.
Cheers,
Praveen
March 19th, 2007 at 10:24 pm
to kim (http://luar.com.hk/blog/?p=669#comment-59439):
if you have problem says
`ffmpeg: error while loading shared libraries: libavformat.so.51: cannot open shared object file: No such file or directory`
then, you should finalize the codec setups by doing this
ln -s /usr/local/lib/libavformat.so.50 /usr/lib/libavformat.so.50
ln -s /usr/local/lib/libavcodec.so.51 /usr/lib/libavcodec.so.51
ln -s /usr/local/lib/libavutil.so.49 /usr/lib/libavutil.so.49
ln -s /usr/local/lib/libmp3lame.so.0 /usr/lib/libmp3lame.so.0
ln -s /usr/local/lib/libavformat.so.51 /usr/lib/libavformat.so.51
March 25th, 2007 at 10:47 pm
Hi,
i requested my host to install all the components mentioned below but still no success can anyone help ?
FFmpeg (http://ffmpeg.mplayerhq.hu)
FFmpeg-PHP (http://ffmpeg-php.sourceforge.net)
Mplayer + Mencoder (http://www.mplayerhq.hu/design7/dload.html)
flv2tool (http://inlet-media.de/flvtool2)
Libogg + Libvorbis (http://www.xiph.org/downloads)
LAME MP3 Encoder (http://lame.sourceforge.net)
March 26th, 2007 at 5:40 am
Latest ffmpeg adds FLV metadata what is enough to make video scrollable in player.
I would suggest to use mencoder what have much wider possibilities about encoding and what will use ffmpeg libraries anyway.
Ruby FLVtool2 will add some more extended information like keyframes index, so video can be played on players what support progressive streaming (e.g. google video, you can scroll video to any location without need to download it fully).
FLVtool2 problem is that its veeeery slow and consumes alot of memory (i tried to process 350mb FLV file, it took 500mb RAM and needed around 40 minutes to finish it).
Just an example for getting FLV video file from nearly ANY (mencoder supports hundreds of video formats) would be (taken from mencoder FAQ):
mencoder input.avi -o output.flv -of lavf -oac mp3lame -lameopts abr:br=56 -srate 22050 -ovc lavc -lavcopts vcodec=flv:vbitrate=500:mbd=2:mv0:trell:v4mv:cbp:last_pred=3
It will encode output video to 500kbits video data rate (video will be about 560kbits rate with audio together).
In most cases its too much for web
Reducing video framesize (e.g. 320×200 is sufficent for most web things), reducing frames per seconds and lowering bitrates can make output file really small (often 10% of original one)
March 30th, 2007 at 9:32 pm
[...] http://luar.com.hk/blog/?p=669 [...]
March 31st, 2007 at 5:26 pm
Should someone encounter the error
Unknown option “–enable-mp3lame”
Nevermind…
The option has been changed to “–enable-libmp3lame”.
April 5th, 2007 at 7:06 pm
The site looks great ! Thanks for all your help ( past, present and future !)
April 19th, 2007 at 3:55 pm
when i install lame have problem.
./configure is no problem for lame
however when i make have error
i try to install in debian3.1/4 /centos 4/5
also have the same problem….
anyone can have me ?
==============================
me.a -lm
make[2]: Leaving directory `/tmp/lame-3.96.1/frontend’
Making all in Dll
make[2]: Entering directory `/tmp/lame-3.96.1/Dll’
make[2]: Nothing to be done for `all’.
make[2]: Leaving directory `/tmp/lame-3.96.1/Dll’
Making all in debian
make[2]: Entering directory `/tmp/lame-3.96.1/debian’
make[2]: Nothing to be done for `all’.
make[2]: Leaving directory `/tmp/lame-3.96.1/debian’
Making all in doc
make[2]: Entering directory `/tmp/lame-3.96.1/doc’
Making all in html
make[3]: Entering directory `/tmp/lame-3.96.1/doc/html’
make[3]: Nothing to be done for `all’.
make[3]: Leaving directory `/tmp/lame-3.96.1/doc/html’
Making all in man
make[3]: Entering directory `/tmp/lame-3.96.1/doc/man’
make[3]: Nothing to be done for `all’.
make[3]: Leaving directory `/tmp/lame-3.96.1/doc/man’
make[3]: Entering directory `/tmp/lame-3.96.1/doc’
make[3]: Nothing to be done for `all-am’.
make[3]: Leaving directory `/tmp/lame-3.96.1/doc’
make[2]: Leaving directory `/tmp/lame-3.96.1/doc’
Making all in include
make[2]: Entering directory `/tmp/lame-3.96.1/include’
make[2]: Nothing to be done for `all’.
make[2]: Leaving directory `/tmp/lame-3.96.1/include’
Making all in misc
make[2]: Entering directory `/tmp/lame-3.96.1/misc’
make[2]: Nothing to be done for `all’.
make[2]: Leaving directory `/tmp/lame-3.96.1/misc’
Making all in dshow
make[2]: Entering directory `/tmp/lame-3.96.1/dshow’
make[2]: Nothing to be done for `all’.
make[2]: Leaving directory `/tmp/lame-3.96.1/dshow’
Making all in ACM
make[2]: Entering directory `/tmp/lame-3.96.1/ACM’
Making all in ADbg
make[3]: Entering directory `/tmp/lame-3.96.1/ACM/ADbg’
make[3]: Nothing to be done for `all’.
make[3]: Leaving directory `/tmp/lame-3.96.1/ACM/ADbg’
Making all in ddk
make[3]: Entering directory `/tmp/lame-3.96.1/ACM/ddk’
make[3]: Nothing to be done for `all’.
make[3]: Leaving directory `/tmp/lame-3.96.1/ACM/ddk’
Making all in tinyxml
make[3]: Entering directory `/tmp/lame-3.96.1/ACM/tinyxml’
make[3]: Nothing to be done for `all’.
make[3]: Leaving directory `/tmp/lame-3.96.1/ACM/tinyxml’
make[3]: Entering directory `/tmp/lame-3.96.1/ACM’
make[3]: Nothing to be done for `all-am’.
make[3]: Leaving directory `/tmp/lame-3.96.1/ACM’
make[2]: Leaving directory `/tmp/lame-3.96.1/ACM’
Making all in mac
make[2]: Entering directory `/tmp/lame-3.96.1/mac’
make[2]: Nothing to be done for `all’.
make[2]: Leaving directory `/tmp/lame-3.96.1/mac’
make[2]: Entering directory `/tmp/lame-3.96.1′
make[2]: Nothing to be done for `all-am’.
make[2]: Leaving directory `/tmp/lame-3.96.1′
make[1]: Leaving directory `/tmp/lame-3.96.1′
May 3rd, 2007 at 9:57 am
Cool+guestbook%2C+interesting+information…+Keep+it+UP.+excellent+site+i+really+like+your+stuff.
May 23rd, 2007 at 3:55 pm
Does anyone have the binary ffmpeg file for unix I can just upload to my host? Thanks.
June 1st, 2007 at 2:17 am
http://www.flv-converter.com is the nisce atononis slajcoll
June 12th, 2007 at 10:35 pm
Hey Kay-Rules, thanks for the info! It helped me as I too was having Kim’s problem.
Thanks again.
June 21st, 2007 at 11:13 pm
Did anyone reply to bobpang425?
I need answer for the same question
July 16th, 2007 at 1:17 am
Thanks for the step by step guide.
Like others even I am having the audio problem. ffmpeg converts my video files to flv but without sound. I also tried to install with ./congifure –enable-libmp3lame but no success.
Does any one have a solution for this.
Cheers,
Sudar
July 17th, 2007 at 11:31 am
[...] Yet Another Blog from Luar » One-stop Installation Guide for Create a Linux Server-side FLV conversion environment FFmpeg (tags: sense-i) [...]
July 17th, 2007 at 2:21 pm
[...] Yet Another Blog from Luar » One-stop Installation Guide for Create a Linux Server-side FLV conversion environment FFmpeg (tags: sense-i) [...]
July 30th, 2007 at 2:36 pm
Nice one mate. I only used the section to get ffmpeg working for flv and sound! And it worked a treat. Big thank you!
August 11th, 2007 at 4:23 am
Can somebody help me to convert m$ wmv with J-type picture? How can I do it with good quality? Thanks.
August 23rd, 2007 at 12:30 am
[...] Note that many sites (eg. YouTube) offer server-side encoding of video. You can upload whatever format you want, and they encode it automatically to FLV. There are two good software packages for this. The first is ON2’s Flix Engine, which supports Flash8 FLV but costs $3500/year. The second is a combination of open-source tools, based around FFMPEG. It’s free, but currently only supports the inferior Flash7 FLV (plus you have to take care of installing and updating all codecs.) [...]
September 12th, 2007 at 7:01 pm
i installed cvs from this location…….. http://home.wanadoo.nl/cwdegier/cvs.html
i create username and passwd as,
[root@ksangam /]# htpasswd -d /home/cvsroot/passwd henk
New password:(henk)
Re-type new password:(henk)
Updating password for user henk
[root@ksangam /]# cvs login
[root@ksangam /]# export CVSROOT=:pserver:henk@ksangam:/home/cvsroot
[root@ksangam /]# cvs login
Logging in to :pserver:henk@ksangam:2401/home/cvsroot
CVS password:(henk)
Fatal error, aborting.
henk: no such user….
its giving error, what to do? plz
September 19th, 2007 at 12:55 pm
[...] Note that many sites (eg. YouTube) offer server-side encoding of video. You can upload whatever format you want, and they encode it automatically to FLV. There are two good software packages for this. The first is ON2’s Flix Engine, which supports Flash8 FLV but costs $3500/year. The second is a combination of open-source tools, based around FFMPEG. It’s free, but currently only supports the inferior Flash7 FLV (plus you have to take care of installing and updating all codecs.) [...]
September 20th, 2007 at 7:35 pm
i try converting files to FLv , few files get converted and few do not, what can be the problem?
December 1st, 2007 at 6:05 am
Thank you for your site. I have found here much useful information…g
December 6th, 2007 at 3:50 am
Finally I found a site where everything is explained in a way that I can understand.
Thanks!
December 21st, 2007 at 9:44 am
I cann’t agree totally, i am engaing in exactly the server-side command line conversion to creat FLV with video, and audio.
However, i didn’t directly go to FFmpeg, i’ve tried and tested several versions, command line, desktop applications, or SDK,finding a SDK works excellently. It is called Flash Video MX SDK V2, which indeed works for me quite well.
Not only this but thumbnail picture grabbing, video trimming, cropping, and batch conversion are all available
Well, i trust it will give you a pleasant impression. Anyway, try and see:
http://www.flvsoft.com/flv_encoder_sdk/
================
If you want to convert other video format to FLV (sorenson codec), everybody will suggest using FFmpeg. In fact, only FFmpeg is not enough for successfully create a server-side command line conversion environment to create FLV with video and audio, plus the FLV 1.1 metadata information. I have stroked for a whole day to setup my Linux server (Fedora Core 3), so I wrote down my note here for other people and myself as a reference
December 21st, 2007 at 10:41 am
To Mandar
this flv to video converter may help you, and convert video to swf is also possible with it.
flash video mx pro
http://www.flash-video-mx.com
December 28th, 2007 at 1:51 pm
I have created wmv file from bitmaps using ffmpeg,but i could not have to control duration of the created wmv,I want to control it,but i have no idea,please help me..
January 20th, 2008 at 11:36 am
[...] Namun artikel yang paling menarik terdapat dalam Yet Another Blog from Luar dan Vexxblog yang membahas bagaimana cara installasi ffmpeg dan library pendukungnya. [...]
January 27th, 2008 at 8:58 am
in order to include sound in the flv on linux
use the option -acodec libmp3lame -ar 22050
(libmp3lame must also be enabled at compilation of ffmpeg)
January 28th, 2008 at 10:22 pm
[...] Convert other video to FLV with metadata You have to install flvtool2, too, see my previous post [...]
January 30th, 2008 at 11:39 pm
I want to upload an audio by splitting it into two parts, I mean to say that the output audio file must be of less duration compared to orginal one.
March 20th, 2008 at 9:43 am
Nothing works. From step one, all I get is ‘command not found’.
What could I be doing wrong. Especially if Im typing everything directly as written in tutorial.
Help is very important.
April 10th, 2008 at 1:31 pm
[...] Hi, I am not sure about your first question but for your next questions: -if you are doing the conversion with a command like exec calling the ffmpeg utility on the server, you can just add an email function after the exec line. -if you are doing the conversion by calling a server-side script such as python, you can add an email function on to that script. I saw python scripts written for video conversion. -you can use ffmpeg.so as an php extension and then use ffmpeg-php library to utilize this extension. from my bookmarks: Upload and convert video server side Yet Another Blog from Luar One-stop Installation Guide for Create a Linux Server-side FLV conversion environment ffmpeg-php API documentation [DB75]: FLV Encoding with FFmpeg video converter – ffmpeg Linux by Examples hope it helps.. __________________ server: pass40 [...]
April 14th, 2008 at 11:42 pm
question on how to add 3gp/3gp2/mp4 to convert to flv. any ideas on how to configure properly?
thanks
April 23rd, 2008 at 7:34 pm
[...] check it out : http://www.luar.com.hk/blog/?p=669 [...]
April 29th, 2008 at 4:40 am
Great Site! I really love VCasmo.
Email me, I might have another opportunity for if you are interested.
May 15th, 2008 at 8:26 pm
[...] check it out : http://www.luar.com.hk/blog/?p=669 Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages. [...]
June 4th, 2008 at 4:59 pm
Great description!
Is it possible to install the converter on a windows server?
June 11th, 2008 at 3:02 am
[...] Um eine weitere Serverseitige Konvertierung umzusetzen, bzw. eine wirklich gute und einfache Erklärung zu nennen, hat Luar auf seinem Blog ein Einfaches Tutorial geschrieben. [...]
June 15th, 2008 at 12:09 am
Heel Toe…
Quabaug Corporation dba QB Soling, in business since…
July 12th, 2008 at 7:04 pm
i am using ffmpeg.exe tool to convert any video file format to .flv file it is working in localhost correctly but it is not working
in the server…..
any one help me…
July 24th, 2008 at 2:40 am
Cool!.. Nice work…i
August 12th, 2008 at 4:42 pm
Hi. I followed all the steps above and tried to execute ffmpeg, ffserver.
But, I got error message for
ffmpeg –>
ffmpeg : error while loading shared libraries : libavdevice.so.52: cannot open shared object file : no such file or directory
ffserver –>
ffserver : error while loading shared libraries : libavformat.so.52: cannot open shared object file : no such file or directory
Thanks.
August 28th, 2008 at 5:17 pm
Why you don’t try fflib.net? See http://www.intuitive.sk/fflib/
November 6th, 2008 at 4:34 pm
[...] http://www.luar.com.hk/blog/?p=669 [...]
February 21st, 2009 at 3:08 am
[...] http://luar.com.hk/blog/?p=669 [...]
July 22nd, 2009 at 12:03 pm
I know a Server-side FLV conversion for Linux,
If you want a try, here:
http://www.flash-video-soft.com/flash-video-sdk/
August 15th, 2009 at 9:12 am
[...] http://luar.com.hk/blog/?p=669 [...]
September 6th, 2009 at 12:39 am
Cheers
Whenever I try to burn a music CD on iTunes it makes this odd clicking sound and doesn’t end up burning the CD.
I tried using the regular drag and drop onto the DVDRW burning folder itself and it still makes this odd clicking noise.
I’m using esperanza DVD and they worked fine when I first got them then all of a sudden it’s doing this.
I’ve tried another brand of disk (noname) and it’s still making the same noise…
Any advice anyone?
_________________
Best fapturbo
December 9th, 2011 at 1:33 am
If you have yum, then try to install the libraries “libavdevice”
yum install libavdevice.so
April 30th, 2013 at 7:00 pm
Fantastic site. Lots of useful info here. I’m sending it to some pals ans also sharing in delicious. And obviously, thanks for your effort!