hi,
i've seen the stickies, but they don't exactly adress my issue.
I've been trying youtube downloader and winavi to convert they beautiful .flv files to xvid or divx. winavi just gives me bunches of errors. youtube downloader on the other hand does work. the video isn't that great but i don't mind it. but the audio is total crap. i've tried messing around with the settings but i don't think i've come up with a good solution.
ffmpeg -i %1 -vcodec xvid -s 320x240 -r 30 -b 320 -ar 22050 -ab 16 -ac 1 %1.avi these manual settings might be too much for youtube downloader.
this is what youtube downloader uses by default
ffmpeg -i %1 -vcodec xvid -s 320x240 -r 12 -b 192 -ar 22050 -ab 64 -ac 1 %1.avi
any help would be appreciated, thanks![]()
![]()
+ Reply to Thread
Results 1 to 10 of 10
-
-
This is after the fact when you already hae an flv on hdd:
With ffmpeg this is what I use with some variations but I also use mencoder which is a bit slower.
ffmpeg -i "c:\Input.flv" -vcodec mpeg4 -b 600000 -s 640x480 -vtag DX50 -ar 44100 -ab 128 -ac 2 -acodec mp3
-vol 100 "C:\Output.avi"
pause
Very similar except I use mpeg4 instead of xvid but that shouldn't matter, a larger frame size and a specified larger video bitrate. I also convert the audio to 44100, mp3, stereo (-ac 2)
Use a lower bitrate than 600000 to make smaller files if you want but I sometimes go higher also.
If you just want to check the input file before converting to change some parameters then, in a bat file, just run ffmpeg with only the input file parameter and a pause. This will display the input video and audio specs in the dos window and you can adjust the batch file accordingly
ffmpeg -i "c:\Input.flv"
pause -
Originally Posted by gll99
-
It shouldn't sound worse since all it will do is mux the mp3 back with the newly converted video.
Did you ever check the audio after conversion using gspot maybe you were forcing it to pcm before which could have caused playback issues and also increased the filesize. -
no i didn't but the audio is fine now. but i have a new problem. the video quality seems to be messed up big time. the file size has also dropped dramaitcly. setting -qscale to 31 doesn't change this either.
here's what i put into ffmpeg:
ffmpeg -i %1 -vcodec xvid -s 320x240 -r 30 -b 192 -ar 22050 -ab 80 -ac 2 -qscale 31 %1.avi
and here's what i get in the console;
Code:FFmpeg version SVN-r7760, Copyright (c) 2000-2006 Fabrice Bellard, et al. configuration: --enable-memalign-hack --enable-gpl --cpu=i686 --enable-swscal er --enable-pthreads --enable-avisynth --enable-mp3lame --enable-xvid --enable-x 264 --enable-libnut --enable-libogg --enable-vorbis --enable-libtheora --enable- faad --enable-faac --enable-libgsm --enable-dts --enable-a52 --enable-amr_nb --e nable-amr_wb libavutil version: 49.2.0 libavcodec version: 51.29.0 libavformat version: 51.8.0 built on Jan 29 2007 19:58:47, gcc: 3.4.6 Seems stream 0 codec frame rate differs from container frame rate: 1000.00 (1000 /1) -> 29.97 (30000/1001) Input #0, flv, from 'I:\BLACKL~1\09BLAC~1.FLV': Duration: 00:23:27.4, start: 0.000000, bitrate: 80 kb/s Stream #0.0: Video: flv, yuv420p, 424x318, 29.97 fps(r) Stream #0.1: Audio: mp3, 22050 Hz, stereo, 80 kb/s Output #0, avi, to 'I:\BLACKL~1\09BLAC~1.FLV.avi': Stream #0.0: Video: xvid, yuv420p, 320x240, q=2-31, 0 kb/s, 30.00 fps(c) Stream #0.1: Audio: mp2, 22050 Hz, stereo, 80 kb/s Stream mapping: Stream #0.0 -> #0.0 Stream #0.1 -> #0.1 Press [q] to stop encoding frame= 198 q=31.0 size= 153kB time=6.6 bitrate= 189.6kbits/s
-
Why used: very old FFmpeg build, very low A/V bitrates, audio conversion from MP3 to MP2 and other?
Why not try example syntax with latest FFmpeg...?
Code:-s 320x240 -aspect 4:3 -ar 44100 -ac 2 -vcodec libxvid -sameq -acodec libmp3lame -sameq
-
i had no idea i was using an older, worse version. i will try that. thank you
-
hmm having a hard time getting this to work.
am trying this now:
C:\Documents and Settings\esiadmin>"C:\Documents and Settings\esiadmin\Desktop\F
Fmpeg-svn-14277\FFmpeg-svn-14277\ffmpeg.exe" -i "I:\black lagoon\01black lagoon.
flv" -vcodec libxvid -s 320x240 -aspect 4:3 -r 30 -ar 22050 -ab 128k -ac 2 %1.a
vi
FFmpeg version Sherpya-r14277, Copyright (c) 2000-2008 Fabrice Bellard, et al.
libavutil version: 49.7.0
libavcodec version: 51.60.0
libavformat version: 52.17.0
libavdevice version: 52.0.0
built on Jul 18 2008 11:12:48, gcc: 4.2.4 [Sherpya]
Seems stream 0 codec frame rate differs from container frame rate: 1000.00 (1000
/1) -> 12.00 (12/1)
Input #0, flv, from 'I:\black lagoon\01black lagoon.flv':
Duration: 00:23:25.74, start: 0.000000, bitrate: 64 kb/s
Stream #0.0: Video: flv, yuv420p, 540x302, 12.00 tb(r)
Stream #0.1: Audio: mp3, 22050 Hz, mono, 64 kb/s
Output #0, avi, to '%1.avi':
Stream #0.0: Video: libxvid, yuv420p, 320x240 [PAR 1:1 DAR 4:3], q=2-31, 200
kb/s, 30.00 tb(c)
Stream #0.1: Audio: mp2, 22050 Hz, stereo, 128 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Press [q] to stop encoding -
ok did this:
C:\Documents and Settings\esiadmin>"C:\Documents and Settings\esiadmin\Desktop\F
Fmpeg-svn-14277\FFmpeg-svn-14277\ffmpeg.exe" -i "I:\black lagoon\01black lagoon.
flv" -s 320x240 -aspect 4:3 -ar 44100 -ac 2 -vcodec libxvid -sameq -acodec libmp
3lame -sameq "I:\black lagoon\01black lagoon.avi"
FFmpeg version Sherpya-r14277, Copyright (c) 2000-2008 Fabrice Bellard, et al.
libavutil version: 49.7.0
libavcodec version: 51.60.0
libavformat version: 52.17.0
libavdevice version: 52.0.0
built on Jul 18 2008 11:12:48, gcc: 4.2.4 [Sherpya]
Seems stream 0 codec frame rate differs from container frame rate: 1000.00 (1000
/1) -> 12.00 (12/1)
Input #0, flv, from 'I:\black lagoon\01black lagoon.flv':
Duration: 00:23:25.74, start: 0.000000, bitrate: 64 kb/s
Stream #0.0: Video: flv, yuv420p, 540x302, 12.00 tb(r)
Stream #0.1: Audio: mp3, 22050 Hz, mono, 64 kb/s
Output #0, avi, to 'I:\black lagoon\01black lagoon.avi':
Stream #0.0: Video: libxvid, yuv420p, 320x240 [PAR 1:1 DAR 4:3], q=2-31, 200
kb/s, 12.00 tb(c)
Stream #0.1: Audio: libmp3lame, 44100 Hz, stereo, 64 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Press [q] to stop encoding
q=2-31
is that doing something? i don't understand what that means
Similar Threads
-
which software works best for flv to dvd can i convert dvdor flv to divx
By rugrat23 in forum Video ConversionReplies: 2Last Post: 19th Jan 2011, 12:39 -
How to Create FLV files from AVI material ( Xvid / Divx )?
By devilcoelhodog in forum Newbie / General discussionsReplies: 5Last Post: 19th Jan 2010, 09:31 -
Looking to convert avi ( xvid ) to decent quality flv videos
By mordor in forum Video ConversionReplies: 0Last Post: 26th Oct 2009, 02:56 -
Convert FLV-file with H264 format into xvid?
By mccm in forum Video ConversionReplies: 2Last Post: 8th Oct 2009, 11:54 -
Divx to FLV to MOV to FLV again, just for the sake of some effects?!
By ayyash in forum Newbie / General discussionsReplies: 2Last Post: 5th May 2008, 20:19