Solved

flv convert

Posted on 2006-11-13
4
2,897 Views
Last Modified: 2008-02-29
I am trying to convert some .MPEG/ .AVI .WMV to .FLV using FFMPEG (in windows XP)

I try:

c:> ffmpeg -i test.mpg -ab 56 -ar 44100 -b 200 - r 15 -s 320x240 -f  flv output.flv

I receive :
Invalid format FLV

It seems I do not have the FLV format installed

ffmpeg -formats
File formats:
  Encoding: mp2 ac3 mpeg mpegvideo mjpeg h263 rm asf avi mpjpeg jpeg singlejpeg
swf wav pcm rawvideo pgm ppm pgmyuv .Y.U.V pgmpipe pgmyuvpipe ppmpipe
  Decoding: mp2 mpeg mpegvideo mjpeg h263 rm asf avi jpeg swf wav pcm rawvideo p
gm ppm pgmyuv .Y.U.V pgmpipe pgmyuvpipe ppmpipe
Codecs:
  Encoders: ac3 mp2 mpeg1video h263 h263p rv10 mjpeg mpeg4 msmpeg4 pcm rawvideo
  Decoders: pcm rawvideo h263 mpeg4 msmpeg4 mpegvideo h263i rv10 mjpeg mpegaudio
 ac3
Supported file protocols: file: pipe:
Frame size abbreviations: sqcif qcif cif 4cif
Motion estimation methods: zero(fastest) full(slowest) log(default) phods


1) where can I find this codec-format from ?
2) What about if I decide to put it on Linux ? Will it work with AVI/WMV etc ?
0
Comment
Question by:yarek
  • 3
4 Comments
 
LVL 7

Expert Comment

by:muxxter
ID: 17940936
Hi yarek.

1. I don't think you can get the codec for ffmpeg, but there are other programs which will convert videos to the FLV file type.
(eg. http://www.geovid.com/Video_to_Flash_Converter/)
Also, if you're using the Flash developer, it comes with an FLV encoder that's actually quite nice. Not only does it convert it to the Flash video file type, but you can also put queue points (or event triggers) at specific times/frames.

2. The FLV format is used only by the Flash player, and as such is ubiquitous. So, no matter what platform you play it on, the Flash player will handle the actual playing of it. As for converting AVI/MPEG to FLV on a Linux machine, you'll have to find a program (made to run on Linux) that will do the converting for you. Again, I think the Flash developer environment should come with an encoder.

Cheers
Gav
0
 
LVL 11

Expert Comment

by:ch2
ID: 17994741
Yarek, a suggestion is to download SUPER http://www.erightsoft.com/SUPER.html and use the ffmpeg which is in the SUPER installation folder. When you cannot convert with ffmpeg try mencoder which also comes with SUPER.

I could convert almost all files i need.
0
 
LVL 11

Accepted Solution

by:
ch2 earned 500 total points
ID: 17994747
an example:

ffmpeg -i "MovieToConvert.wmv" -y -f flv -ar 44100 -ab 128 -ac 1 -acodec mp3 -vol 100 "ConvertedMovie.flv"
0
 
LVL 11

Expert Comment

by:ch2
ID: 17994757
You can use ffmpeg and mencoder without ever opening SUPER.

Hope it helps.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article is primarily concerned with ActionScript 3 and generally specific to AVM2.  Most suggestions would apply to ActionScript 2 as well, and I've noted those tips that differ between AS2 and AS3. With the advent of ActionS…
I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.
The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now