PDA

View Full Version : Batch FLV Converter/Decoder


Qjimbo
17th December 2005, 00:32
Here's a rough piece of software I wrote in Delphi to help batch convert FLV files to MPG/AVI with FFMpeg:

http://share.ovi.com/media/luisfelipe7.programas/luisfelipe7.10060

You can select multiple files when adding them to the batch list, and currently it only allows you to reuse the source audio in the FLV files (since I didn't want any more data lost) but you could edit the batch file afterwards and do a find and replace on "-acodec copy" with whatever audio settings you want.

I just needed a program to do this so I wrote it, maybe some other people will find it handy!

EDIT: New download URL: http://qjim.bo/devf/flv_convert.zip

EDIT2: New new download URL! This time I don't have to worry about hosting it. If link fails just google flv_convert.zip .

Thank you for the kind words everyone!

gooogle
25th January 2006, 02:13
Aunsoft FLV Converter is bantch flv converter, convert flv to video.

http://www.aunsoft.com

Aunsoft FLV Converter (http://www.aunsoft.com/flv-converter/) can convert flv or swf to other format.

nukacola
27th January 2006, 15:17
CLICK HERE FOR THE INFO (http://www.geovid.com/Flash_to_Video_Encoder_PRO)

AND HERE FOR BATCH (http://www.geovid.com/Flash_to_Video_Batch_Converter/)
my best

:stupid: :devil: ;)

BlindWanderer
29th January 2006, 13:17
messa think thats spam above :P

AutoIt would have been a good language to choose for building a quick and dirty front end. But the tool works, though it's a bit basic...

bugmenotwillyou
24th April 2006, 07:10
Here's a rough piece of software I wrote in Delphi to help batch convert FLV files to MPG/AVI with FFMpeg

Good job. Does what it says. I used it to convert http://movies.collegehumor.com/items/2006/04/collegehumor.1682247.flv

Thanks!

vlada
24th April 2006, 10:40
Well it works unless the video has VP6 compression (Flash 8 default). I'm currently not able to find any way to convert these movies to AVI. But I think I'm getting close thanks to Gabest's FLV splitter. See this thread (http://forum.doom9.org/showthread.php?t=108070&page=2), if you're interested.

pitchel
7th May 2006, 03:39
Wonderful looking tool except it doesn't convert my flv files. Any hope that you could update it to work with VP6 compression ?(vlada's analysis) or maybe a quick guide that I could follow to modify your script? I've spent a week now trying to convert some pesky flv clips and finally found a player that at least plays them.

vlada
7th May 2006, 11:36
You should better ask FFMPEG developers to include new FLV splitter and VP6 decoder. Anyway I was finally able to convert the VP6 FLVs using Gabest's FLV splitter and his VP6 DirectShow decoder. You can find it in a thread about new MPC. After "installing" the splitter+decoder, you can convert your files using AviSynth or Graphedit.

BlazingFire456
12th September 2006, 15:04
I downloaded some .flv videos from YouTube but this thing won't convert sound, it only wants to convert the video. Any help is appreciated, thanks.

vlada
12th September 2006, 15:56
I would suggest you to download FLV Extract (http://www.moitah.net/#FLVExtract). It will extract the sound (I think YouTube uses MP2) and The video will be converted to AVI.

sammo_cat
29th September 2006, 02:10
Thank you very much for your terrific app.

I have been battling for a long time and resorted to the use of screen cap programs.



It took all of four or five clicks to make yours work.

Great job .


P.S. I think maybe in your spare time you could write a new operating system to replace XP for us all to use too.


P.S.S.
Screw the whiners and there remarks , nice one thanks


Thanks again , Sammo

thegsusfreek
30th September 2006, 06:46
I officially nominate you for king of the flv universe. You totally rule!

I've been using Riva FLV Encoder, which hasn't been too bad but hasn't been too great either. I've tried many other "free" (trial) pieces of software and other free don't-actually-work pieces of software. All I want to do is convert YouTube vids into mpegs so I can take them over to my parent's place. Is that really too much to ask???

Finally, something simple and easy that works!!! Thanks!

tony_gr
4th October 2006, 05:03
I test many FLV decoder software. It seems that Replay converter is more easy-to-use. Get it Here (http://www.soft29.com/dvd_video/video_converter/flv-converter.html)

Tropican
6th October 2006, 03:13
I downloaded some .flv videos from YouTube but this thing won't convert sound, it only wants to convert the video. Any help is appreciated, thanks.

Actually I've had this problem with any ffmpeg-based program. Converting the audio works fine (like to PCM during playback or to any other format during a transcode), but a stream copy fails.

Anyone know why?

I would suggest you to download FLV Extract (http://www.moitah.net/#FLVExtract). It will extract the sound (I think YouTube uses MP2) and The video will be converted to AVI.

Youtube uses MP3 AFAIK. 22khz mono @ 64kbps

vlada
6th October 2006, 07:20
Tropican
Have you tried to run FFMPEG from command line, to check if the problem is there too?

According to YouTubes's audio format - most files I recently chcked were really MP3. But I remember some FLVs with MP2 too.

Tropican
7th October 2006, 05:12
Tropican
Have you tried to run FFMPEG from command line, to check if the problem is there too?.

Yes, actually I haven't tried to run the frontend yet :p

Both Mencoder and FFMPEG fail. I remember one time I got an "Error, Skipping Frame!" message but usually there is no valuble output. Here it is anyway:

prompt>ffmpeg -i "pathtoinput.flv" -vcodec mpeg4 -acodec copy "pathtooutput.avi"
FFmpeg version SVN-r6252, Copyright (c) 2000-2004 Fabrice Bellard
configuration: --enable-memalign-hack --enable-mingw32 --enable-gpl --enable-
a52 --enable-mp3lame --extra-cflags=-I/local/include --extra-ldflags=-L/local/li
b
libavutil version: 49.0.0
libavcodec version: 51.14.0
libavformat version: 50.5.0
built on Sep 18 2006 12:46:49, gcc: 3.4.4 (mingw special)
[mp3 @ 00724E34]Could not find codec parameters (Audio: mp3, 8 kb/s)
pathtoinput.flv: could not fi
nd codec parameters


Here's another file. This is the error I usually get. Also the file ffmpeg produces when played back is said not to be "properly interleaved" to the point that the AVI splitter falls back to the Microsoft one.

ffmpeg -i "pathtoinput.flv" -vcodec mpeg4 -acodec
copy "pathtooutput.avi"
FFmpeg version SVN-r6252, Copyright (c) 2000-2004 Fabrice Bellard
configuration: --enable-memalign-hack --enable-mingw32 --enable-gpl --enable-
a52 --enable-mp3lame --extra-cflags=-I/local/include --extra-ldflags=-L/local/li
b
libavutil version: 49.0.0
libavcodec version: 51.14.0
libavformat version: 50.5.0
built on Sep 18 2006 12:46:49, gcc: 3.4.4 (mingw special)

Seems that stream 1 comes from film source: 1000.00 (1000/1) -> 15.00 (15/1)
Input #0, flv, from 'pathtoinput.flv':
Duration: 00:01:27.1, bitrate: N/A
Stream #0.0: Audio: mp3, 22050 Hz, mono
Stream #0.1: Video: flv, yuv420p, 320x230, 15.00 fps(r)
Output #0, avi, to 'pathtooutput.avi':
Stream #0.0: Video: mpeg4, yuv420p, 320x230, q=2-31, 200 kb/s, 15.00 fps(c)
Stream #0.1: Audio: mp3, 22050 Hz, mono
Stream mapping:
Stream #0.1 -> #0.0
Stream #0.0 -> #0.1
frame= 1305 q=9.7 Lsize= 3120kB time=87.0 bitrate= 293.8kbits/s
video:2297kB audio:703kB global headers:0kB muxing overhead 3.991768%

Any ideas on what's going on anyone?

Qjimbo
20th February 2007, 06:28
Problems relating to lack of audio are more likely due to the fact it leaves the audio as MP3, and not all MPEG splitters support MPEG Audio layer 3 (though they should really). The default codec supplied with Windows XP does, but others, like the Mainconcept decoder, don't.

Also new download URL:
http://qjim.bo/devf/flv_convert.zip

PatchWorKs
20th February 2007, 21:46
...and what about MediaCoder (http://mediacoder.sourceforge.net/) ?

cast42
27th February 2007, 21:47
There's an online converter on http://vixy.net that remove the Flash container around the H.263 video stream and MP3 audiostream. The elementary video stream is then muxed with a MP3 or AAC audio stream. Result can be AVI(Divx+MP3), MP4(MP4+AAC), MOV or MP3 only. The conversion software is open source: http://sourceforge.net/svn/?group_id=183657. Remark that Flash video 7, as used by Google, is essentially H.263 video. H.263 is compatible with basic MPEG-4 Part 2 so no decoding/encoding for the video is necessary. Only another filecontainer is applied.

ncso911
7th March 2007, 02:20
Also new download URL:
http://qjim.bo/devf/flv_convert.zip



THANKS.
Worked great

rdBravo
20th June 2007, 14:17
thanks Qjimbo!
____________
converts my 3 youtube .flv files - no problems

youtube007
11th September 2007, 09:52
For converting flv to avi, mpeg, etc. I use FLV to Video Converter
http://www.flvsoft.com/flv_to_video/
This software easy can convert these files. I use it long time and I haven't any problem with it. Based on batch conversion and Process Nellymoser audio FLV well for me, You can try it too. it is a desktop version programe, if you want to convert with command line, I recommend FLV Converter SDK (http://www.flvsoft.com/flv_converter_sdk/) to you, It offers the professional solutions to convert FLV to video formats directly online with the command lines, Good luck to you!

vlada
11th September 2007, 11:44
Why should I pay for such program if there are many programs which can do the same job for free and probably with higher quality? For example Avidemux or FLVExtract.

Maha
11th September 2007, 11:57
:confused:

youtube007
26th October 2007, 02:57
if you stick to freeware, you can try super, but when i used super, Freezes every time I click the "Encode" button after dragging and dropping an FLV file into the program. Batch convert FLV files to video formats directly online with the command lines, I used FLV Converter SDK (http://www.flvsoft.com/flv_converter_sdk/),The programe support development environment like VC/VB/Delphi/ASP/.Net, etc. or you can google its name to get it, Good luck!

youtube007
29th October 2007, 03:12
Wonderful looking tool except it doesn't convert my flv files. Any hope that you could update it to work with VP6 compression ?(vlada's analysis) or maybe a quick guide that I could follow to modify your script? I've spent a week now trying to convert some pesky flv clips and finally found a player that at least plays them.

I just know moyea flv to video converter support converting flv including On2 VP6 video FLV, H.263 video FLV, Nellymoser audio FLV, MP3 audio FLV, you can try

Placio74
29th October 2007, 09:03
I just know moyea flv to video converter support converting flv including On2 VP6 video FLV, H.263 video FLV, Nellymoser audio FLV, MP3 audio FLV, you can try
Nothing special.
Not worth to try and buy.

I'm can't see any information in EULA (license) about used FFmpeg in this 'tool'...
GPL violation?

Maha
13th November 2007, 13:19
:search: I found a very good prog - Flash To Video Encoder PRO!!!
I think it will be helpful to all =)))))