9/22/2011 6:10:05 PM
Title:
flv and speex size
hello all -
thank you all so much for helping me so far.
i understand now that the "flv" is really nothing but a container. i was finally able to get ffmpeg installed to do the conversion:
ffmpeg -i test.spx -ar 22050 -acodec libspeex -f flv test-from-spx.flv
the test.spx file size is only 78k, while the test-from-spx.flv is 239k!
i would think that the flv file would be close to the same size as the speex file, but the flv-speex files are coming out over twice the size! i have thousands of speex files i wish to convert to flv, but this is going to gobble up too much disk space.
any ideas would be appreciated!
thanks!
Rayan
Points: 700
Posts:0
9/23/2011 9:43:21 AM
whenever you convert a video to some other format there are always compression settings. The size of resulting file depend upon what quality setting you are using. In your case I can see that you are using audio sampling frequency of 22050 , to further reduce size you can use lower value like 11025. There can be some changes in video settings also . You should look into ffmpeg documentation
http://ffmpeg.org/ffmpeg-doc.html
Tyler
Points: 430
Posts:0
9/29/2011 5:19:13 AM
To unwanted increase file size while re-compressing an audio you should make sure that use the same settings as far as possible which are used initially. Say your file is mono type re-compressing it again with stereo setting will make its size double. Similarly use same samplerate