关键的几个参数 编码 一般都是 avc h.264 屏幕大小 720*576 比较标准,具体看情况,比特率(关键) 8000左右吧,1024能看清(Kbps)。
音频 采样率 44100 较高了,22050也可以,比特率 128 或者 64 (Kbps)
另外 说个粗略的计算公式 两个比特率相加(8000+128)/8*秒数/1000 大约是XX MB数量。屏幕大小也很关键,不计算了。
例子中是把视频从77MB压缩到13MB吧,18%的压缩率。
成功地把580MB视频压缩到58MB(.mp4)清晰度略有变化。
另外知道
但是最关键的是原始视频的清晰度,所以好的设备是必须的。
使用的是 格式工厂
General
Complete name : E:\02.mp4
Format : MPEG-4
Format profile : Base Media
Codec ID : isom
File size : 71.7 MiB
Duration : 44s 352ms
Overall bit rate : 13.6 Mbps
Encoded date : UTC 2017-05-24 03:08:12
Tagged date : UTC 2017-05-24 03:08:12
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Main@L4.0
Format settings, CABAC : Yes
Format settings, ReFrames : 2 frames
Format settings, GOP : M=3, N=15
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 44s 333ms
Bit rate mode : Variable
Bit rate : 13.4 Mbps
Maximum bit rate : 15.0 Mbps
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 30.000 fps
Standard : NTSC
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.216
Stream size : 71.0 MiB (99%)
Language : English
Encoded date : UTC 2017-05-24 03:08:12
Tagged date : UTC 2017-05-24 03:08:12
Color primaries : BT.709-5, BT.1361, IEC 61966-2-4, SMPTE RP177
Transfer characteristics : BT.709-5, BT.1361
Matrix coefficients : BT.709-5, BT.1361, IEC 61966-2-4 709, SMPTE RP177
Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : 40
Duration : 44s 352ms
Bit rate mode : Constant
Bit rate : 128 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 32.0 KHz
Compression mode : Lossy
Stream size : 694 KiB (1%)
Language : English
Encoded date : UTC 2017-05-24 03:08:12
Tagged date : UTC 2017-05-24 03:08:12
转换后
General
Complete name : E:\02.mp4
Format : MPEG-4
Format profile : Base Media
Codec ID : isom
File size : 12.8 MiB
Duration : 44s 442ms
Overall bit rate : 2 422 Kbps
Encoded date : UTC 2017-05-25 01:16:11
Tagged date : UTC 2017-05-25 01:16:11
Writing application : FormatFactory
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L3.0
Format settings, CABAC : No
Format settings, ReFrames : 1 frame
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 44s 333ms
Bit rate mode : Variable
Bit rate : 2 400 Kbps
Maximum bit rate : 2 806 Kbps
Width : 488 pixels
Height : 272 pixels
Display aspect ratio : 16:9
Original display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 30.000 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.603
Stream size : 12.5 MiB (97%)
Writing library : x264 core 148 r2665 a01e339
Encoding settings : cabac=0 / ref=1 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=0 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=6 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=abr / mbtree=1 / bitrate=2400 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Encoded date : UTC 2017-05-25 01:16:11
Tagged date : UTC 2017-05-25 01:16:11
Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : 40
Duration : 44s 442ms
Bit rate mode : Variable
Bit rate : 62.8 Kbps
Maximum bit rate : 81.4 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 22.05 KHz
Compression mode : Lossy
Stream size : 340 KiB (3%)
Encoded date : UTC 2017-05-25 01:16:11
Tagged date : UTC 2017-05-25 01:16:11