[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Open Source Video Codec and Container (alternative to Xvid)



On 06/28/2008 01:59 PM, Pol Hallen wrote:
What's improve? Only the file size or also the quality?

IMHO the quality of the original FLV is the same as my converted AVI. So
I only need to improve file size

Sure! U do the coding at 1000kb/s
I remember that flv files (from youtube) are about 550Kb/s

try: ffmpeg -i file.flv to view the code

thank you. Really good input!

Most clips even have much lower bitrate

$ ffmpeg -i example.flv
[...]
Seems stream 0 codec frame rate differs from container frame rate:
1000.00 (1000/1) -> 29.92 (359/12)
Input #0, flv, from 'example.flv':
  Duration: 00:01:03.5, start: 0.000000, bitrate: 56 kb/s
  Stream #0.0: Video: flv, yuv420p, 320x240, 29.92 fps(r)
  Stream #0.1: Audio: mp3, 22050 Hz, mono, 56 kb/s
Must supply at least one output file

and try something like: ffmpeg -i source.flv -b 500k -vcodec mpeg4 -vtag divx -acodec mp3 -ar 8000k -ab 64k destination.avi

and check size/quality

$ ffmpeg -i example.flv -b 500k -vcodec mpeg4 -vtag divx -acodec mp3 -ar
8000k -ab 64k example.avi

$ du -sh example.*
4.4M	example.avi
2.5M	example.flv

With the size I am happy. But the quality is much worse (often it is
jumping to the next frame)

Consider: are your file done for internet stream or local stream? and choose what you prefer :-)

Not for streaming. Just let other users downloading and archiving.

cheers
Simon





Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: