Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > New and alternative video codecs

Closed Thread
 
Thread Tools Search this Thread Display Modes
Old 17th December 2005, 00:32   #1  |  Link
Qjimbo
Registered User
 
Join Date: Sep 2005
Posts: 85
Batch FLV Converter/Decoder

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/luisfelip...sfelipe7.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!

Last edited by Qjimbo; 22nd November 2008 at 14:51.
Qjimbo is offline  
Old 29th January 2006, 13:17   #2  |  Link
BlindWanderer
Brain Dead
 
BlindWanderer's Avatar
 
Join Date: Nov 2003
Posts: 87
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...
__________________
I'll sell my soul for a cabbit.
BlindWanderer is offline  
Old 24th April 2006, 06:10   #3  |  Link
bugmenotwillyou
Guest
 
Posts: n/a
Quote:
Originally Posted by Qjimbo
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...or.1682247.flv

Thanks!
 
Old 24th April 2006, 09:40   #4  |  Link
vlada
Registered User
 
Join Date: Apr 2003
Location: Czech Republic
Posts: 752
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, if you're interested.
vlada is offline  
Old 7th May 2006, 02:39   #5  |  Link
pitchel
Registered User
 
Join Date: Nov 2005
Posts: 2
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.
pitchel is offline  
Old 7th May 2006, 10:36   #6  |  Link
vlada
Registered User
 
Join Date: Apr 2003
Location: Czech Republic
Posts: 752
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.
vlada is offline  
Old 12th September 2006, 14:04   #7  |  Link
BlazingFire456
Registered User
 
BlazingFire456's Avatar
 
Join Date: Aug 2006
Posts: 24
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.
BlazingFire456 is offline  
Old 12th September 2006, 14:56   #8  |  Link
vlada
Registered User
 
Join Date: Apr 2003
Location: Czech Republic
Posts: 752
I would suggest you to download FLV Extract. It will extract the sound (I think YouTube uses MP2) and The video will be converted to AVI.
vlada is offline  
Old 29th September 2006, 01:10   #9  |  Link
sammo_cat
Registered User
 
Join Date: Jul 2006
Posts: 1
a terrific app

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
sammo_cat is offline  
Old 30th September 2006, 05:46   #10  |  Link
thegsusfreek
Registered User
 
Join Date: Sep 2004
Posts: 4
I officially nominate you for king of the flv universe. You totally rule!

I've been using [spam], 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!

Last edited by Guest; 14th June 2010 at 12:33.
thegsusfreek is offline  
Old 6th October 2006, 02:13   #11  |  Link
Tropican
Registered User
 
Join Date: Mar 2005
Posts: 42
Quote:
Originally Posted by BlazingFire456 View Post
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?

Quote:
Originally Posted by vlada View Post
I would suggest you to download FLV Extract. 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
Tropican is offline  
Old 6th October 2006, 06:20   #12  |  Link
vlada
Registered User
 
Join Date: Apr 2003
Location: Czech Republic
Posts: 752
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.
vlada is offline  
Old 7th October 2006, 04:12   #13  |  Link
Tropican
Registered User
 
Join Date: Mar 2005
Posts: 42
Quote:
Originally Posted by vlada View Post
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

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:

Code:
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.

Code:
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?
Tropican is offline  
Old 20th February 2007, 06:28   #14  |  Link
Qjimbo
Registered User
 
Join Date: Sep 2005
Posts: 85
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
Qjimbo is offline  
Old 27th February 2007, 21:47   #15  |  Link
cast42
Registered User
 
Join Date: May 2005
Location: Belgium
Posts: 22
Online converter vixy

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.

Last edited by cast42; 27th February 2007 at 21:48. Reason: fixed links
cast42 is offline  
Old 7th March 2007, 02:20   #16  |  Link
ncso911
Registered User
 
Join Date: Jul 2006
Posts: 2
Quote:
Originally Posted by Qjimbo View Post

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


THANKS.
Worked great
ncso911 is offline  
Old 11th September 2007, 10:44   #17  |  Link
vlada
Registered User
 
Join Date: Apr 2003
Location: Czech Republic
Posts: 752
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.
vlada is offline  
Old 14th June 2010, 12:42   #18  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Closing old spam bait thread.
Guest is offline  
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:50.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.