想用H.264输出720视频 请问码率设置为多少合适
输出1280*720视频,想用H.264输出。请问一般码率多少合适,我用1.5Mbps出来的效果很不好,但是网上查到有人说用1.2-1.5Mbps的码率应付720P的视频足够了。不知道正确么? 给你个参考:目前韩国现场高清视频720p的使用H.264格式编码的视频码率一般在6000kbps左右,也就是6Mbps。由于现场版音乐载歌载舞,因此码率相对于一般影视作品要高一些。GOMTV的720p的MV使用H.264格式视频采用4500kbps的码率,也就是4.5Mbps。目前互联网上H.264编码,1.2-1.5Mbps的码率一般用于480p的标清视频中。 感谢解答,刚刚又试了一下用大约5M的码率压制出来的效果依然很差
以下是截图一张
以下是压制后的视频信息,麻烦各位帮我分析分析原因
C:\Documents and Settings\Administrator\桌面\demo2.mp4
General
Complete name : C:\Documents and Settings\Administrator\桌面\demo2.mp4
Format : MPEG-4
Format profile : Base Media
Codec ID : isom
File size : 43.2 MiB
Duration : 1mn 15s
Overall bit rate : 4 831 Kbps
Encoded date : UTC 2011-02-07 05:18:08
Tagged date : UTC 2011-02-07 05:18:08
Video #1
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L3.1
Format settings, CABAC : Yes
Format settings, ReFrames : 3 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 1mn 13s
Bit rate mode : Variable
Bit rate : 4 792 Kbps
Nominal bit rate : 5 000 Kbps
Maximum bit rate : 31.4 Mbps
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 25.000 fps
Resolution : 24 bits
Colorimetry : 4:2:0
Scan type : Progressive
Bits/(Pixel*Frame) : 0.208
Stream size : 42.2 MiB (98%)
Title : Imported with GPAC 0.4.6-DEV (internal rev. 5)
Writing library : x264 core 114 r1900 60ef1f8
Encoding settings : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=3 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / constrained_intra=0 / bframes=3 / b_pyramid=1 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=abr / mbtree=1 / bitrate=5000 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Encoded date : UTC 2011-02-07 05:18:08
Tagged date : UTC 2011-02-07 05:18:09
Audio #2
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format version : Version 4
Format profile : LC
Format settings, SBR : Yes
Format settings, PS : Yes
Codec ID : 40
Duration : 1mn 15s
Bit rate mode : Variable
Bit rate : 116 Kbps
Maximum bit rate : 128 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Resolution : 16 bits
Stream size : 1.04 MiB (2%)
Encoded date : UTC 2011-02-07 05:18:09
Tagged date : UTC 2011-02-07 05:18:09 下载一个720p高清视频,参照之。 你是压缩电影还是自己制作视频?这个是根据源文件的清晰度来的,如果源文件是低于你的输出标准的话,无论怎样设置效果都不好的。 自己做视频,原文件清晰度没问题,是1280*720大小的,并且我已经成功输出过一个720*480的MPEG2格式,使用6M码率,效果还不错。
只是想再制作一个720P的版本时发现这个问题的。
手头也有几个720的电影,查看码率后都不是很大。
比如这个《穿越时空的少女》
G:\EM\em1\穿越时空的少女\.mkv
General
Complete name : G:\EM\em1\穿越时空的少女\.mkv
Format : Matroska
File size : 3.91 GiB
Duration : 1h 38mn
Overall bit rate : 5 687 Kbps
Movie name : 【BDRIP】穿越时空的少女 版权所有 Kadokawa角川书店 严禁非法分发传播!
Encoded date : UTC 2008-08-06 14:36:17
Writing application : mkvmerge v2.2.0 ('Turn It On Again') built on Mar4 2008 12:58:26
Writing library : libebml v0.7.7 + libmatroska v0.8.1
Cover : Yes / Yes
Video #1
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L5.0
Format settings, CABAC : Yes
Format settings, ReFrames : 8 frames
Muxing mode : Container profile=Unknown@5.0
Codec ID : V_MPEG4/ISO/AVC
Duration : 1h 38mn
Bit rate : 3 872 Kbps
Nominal bit rate : 3 971 Kbps
Width : 1 920 pixels
Height : 1 088 pixels
Display aspect ratio : 16:9
Frame rate : 23.976 fps
Resolution : 24 bits
Colorimetry : 4:2:0
Scan type : Progressive
Bits/(Pixel*Frame) : 0.077
Stream size : 2.66 GiB (68%)
Writing library : x264 core 60 r928M 4816918
Encoding settings : cabac=1 / ref=8 / deblock=1:1:1 / analyse=0x3:0x113 / me=umh / subme=6 / psy_rd=1.000000 / brdo=1 / mixed_ref=1 / me_range=12 / chroma_me=1 / trellis=0 / 8x8dct=1 / cqm=2 / deadzone=21,11 / chroma_qp_offset=0 / threads=3 / nr=0 / decimate=1 / mbaff=0 / bframes=16 / b_pyramid=1 / b_adapt=1 / b_bias=0 / direct=3 / wpredb=1 / bime=1 / keyint=250 / keyint_min=25 / scenecut=40(pre) / rc=2pass / bitrate=3971 / ratetol=1.0 / rceq='blurCplx^(1-qComp)' / qcomp=1.00 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / pb_ratio=1.30 / aq=2:1.00 / zones=135084,141405,q=25
Audio #2
ID : 2
Format : DTS
Format/Info : Digital Theater Systems
Codec ID : A_DTS
Duration : 1h 38mn
Bit rate mode : Constant
Bit rate : 1 510 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Surround: L R, LFE
Sampling rate : 48.0 KHz
Resolution : 24 bits
Stream size : 1.04 GiB (27%)
Title : DTS-HD 5.1
Language : Japanese
Audio #3
ID : 3
Format : AC-3
Format/Info : Audio Coding 3
Codec ID : A_AC3
Duration : 1h 38mn
Bit rate mode : Constant
Bit rate : 192 Kbps
Channel(s) : 2 channels
Channel positions : L R
Sampling rate : 48.0 KHz
Stream size : 135 MiB (3%)
Title : AC3 2.0 评论音轨
Language : Japanese
Text #4
ID : 4
Format : ASS
Codec ID : S_TEXT/ASS
Codec ID/Info : Advanced Sub Station Alpha
Title : 简体中文
Language : Chinese
Text #5
ID : 5
Format : ASS
Codec ID : S_TEXT/ASS
Codec ID/Info : Advanced Sub Station Alpha
Title : 繁体中文
Language : Chinese
分辨率比我的还高,远比我使用的码率低啊,真是不知道怎么回事。 本帖最后由 rzxx 于 2011-2-8 14:47 编辑
也许不只是码率问题。我手头有个电影,码率只有2M,可是很清楚。信息如下请参考:
概要
完整名称 : F:\ Happy New Year.mkv
文件格式 : Matroska
文件大小 : 701 MiB
长度 : 43分 37秒
平均混合码率 : 2 246 Kbps
电影 : Encoded By CNSCG Team
编码日期 : UTC 2010-08-18 10:21:09
编码程序 : mkvmerge v4.0.0 ('The Stars were mine') built on Jun 6 2010 16:18:42
编码函数库 : libebml v1.0.0 + libmatroska v1.0.0
视频
ID : 1
文件格式 : AVC
文件格式/信息 : Advanced Video Codec
格式简介 : High@L4.1
格式设置, CABAC : 是
格式设置, ReFrames : 6 frames
编码设置ID : V_MPEG4/ISO/AVC
长度 : 43分 37秒
额定码率 : 2 050 Kbps
画面宽度 : 1 280像素
画面高度 : 720像素
画面比例 : 16:9
帧率 : 29.970 fps
ColorSpace : YUV
ChromaSubsampling : 4:2:0
BitDepth/String : 8位
扫描方式 : 逐行扫描
bits/(pixel*frame)(数据密度) : 0.074
标题 : HDiy@CNSCG
编码函数库 : x264 core 98 r1649 c54c47d
编码设置 : cabac=1 / ref=6 / deblock=1:0:0 / analyse=0x3:0x133 / me=umh / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=0 / me_range=24 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=1 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-2 / threads=4 / sliced_threads=0 / nr=0 / decimate=0 / interlaced=0 / constrained_intra=0 / bframes=4 / b_pyramid=2 / b_adapt=2 / b_bias=2 / direct=2 / weightb=1 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=2pass / mbtree=1 / bitrate=2050 / ratetol=0.5 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / aq=1:1.00
语言 : English
音频
ID : 2
文件格式 : AAC
文件格式/信息 : Advanced Audio Codec
格式版本 : Version 4
格式简介 : LC
编码设置ID : A_AAC
长度 : 43分 37秒
声道 : 6声道
声道位置 : Front: L C R, Side: L R, LFE
采样率 : 48.0 KHz
标题 : English
语言 : English
文本
ID : 3
文件格式 : ASS
编码设置ID : S_TEXT/ASS
编码设置ID/信息 : Advanced Sub Station Alpha
标题 : Chinese Simplified
语言 : 中文 用 Beyond Compare 详细比较一下参数。
页:
[1]