System for CentOS 6.4 , compile it yourself FFmpeg and the many decoders are too painful, Yum Mode installation FFmpeg the decoder is very full, first use to see.
1, install the required software?
Yum install-y automake autoconf libtool gcc gcc-c++
2, install a third-party update source?
RPM-IVH http://apt.sw.be/redhat/el6/en/i386/rpmforge/RPMS/rpmforge-release-0.5.3-1.el6.rf.i686.rpm
3 , installation ffmpeg?
Yum Install FFmpeg Ffmpeg-devel
ffmpeg version 0.6.5-1.el6.rf yum The installed decoder version is not very old, but Span style= "Font-family:helvetica" >ffmpeg version older.
4 will be a .avi view screen to .flv format
FFmpeg- I destination.avi-y-ab 56-ar 22050-r 15-sameq test2.flv
format comparison of two files before and after conversion: before conversion ?
Destination.avi
General
Complete Name:e:\pv\destination.avi
Format:avi
Format/info:audio Video Interleave
Format/family:riff
File size: 79.5 MiB
PlayTime: 4mn 1s
Bit Rate: 2754 Kbps
Streamsize: 469 KiB
Subject:doobie (+)
Writing application:virtualdubmod 1.5.10.2 (build 2540/release)
Writing library:virtualdubmod build 2540/release
Video #0
Codec:xvid
codec/family:mpeg-4
Codec/info:xvid Project
Codec profile:streaming Video profile/level 1
Codec Settings/packetbitstream:yes
Codec Settings/bvop:yes
Codec Settings/qpel:no
Codec SETTINGS/GMC: 0
Codec Settings/matrix: Default
PlayTime: 4mn 1s
Bit Rate: 2556 Kbps
Width: 640 pixels
Height: 480 pixels
Display Aspect Ratio: 4/3
Frame Rate: 29.976 fps
Resolution: 8 bits
Chroma: 4:2:0
Interlacement:progressive
bits/(pixel*frame): 0.277
Streamsize: 73.5 MiB
Audio #1
codec:mpeg-1 Audio layer 3
Codec Profile:joint Stereo
PlayTime: 4mn 1s
Bit Rate: - Kbps
Bit Rate MODE:CBR
Channel (s): 2 channels
Sampling rate: + KHz
Resolution: + bits
Streamsize: 5.47 MiB
Writing Library:gogo (after 3.0)
after conversion ?
test2.flv
General
Complete name:e:\pv\test2.flv
Format:flash Video
File size: 45.0 MiB
PlayTime: 4mn 1s
Bit Rate: 1564 Kbps
Video
Codec:sorenson H263
PlayTime: 4mn 1s
Bit Rate: 195 Kbps
Width: 640 pixels
Height: 480 pixels
Display Aspect Ratio: 4/3
Frame Rate: 15.000 fps
bits/(Pixel*frame): 0. 042
Audio
codec:mpeg-1 Audio Layer 3
Bit rate: bps
Channel (s): 2 channels
Sampling rate: KHz
Resolution: + bits
?
CentOS Yum mode installation FFmpeg