问什么转换后帧率会加倍呢?
dwing吧
全部回复
仅看楼主
level 5
我不会命令行压制,各位高手莫见笑。x264参数也是看的教程。[背扭]
我用的是litle mp4 tool转码的,由于该软件自带的x264还是2010年的,我便用最新版的megui中的x264替换litle mp4 tool中的旧版本。转换后视频长度减半,帧率加倍。音频长度没变。
我用litle mp4 tool自带旧版x264没任何问题,难道新版的x264输入方式改变了
avs如下
DirectShowSource("C:\Documents and Settings\Administrator\桌面\[ZERO动漫下载]惊爆游戏07.mp4", fps=20.000, convertfps=true)LanczosResize(480,272)Amplify(2)ConvertToYV12()
x264参数如下
--profile baseline --level 5.1 --tune animation --scenecut 45 --ref 3 --weightp 2 --qcomp 0.4 --rc-lookahead 100 --aq-strength 0.5 --partitions p8x8,b8x8,i4x4,p4x4 --no-dct-decimate --no-fast-pskip
转换后文件属性
GeneralComplete name : C:\Documents and Settings\Administrator\桌面\[ZERO动漫下载]惊爆游戏07-muxed_3.mp4Format : MPEG-4Format profile : Base MediaCodec ID : isomFile size : 32.5 MiBDuration : 24mn 40sOverall bit rate mode : VariableOverall bit rate : 184 K
bp
sEncoded date : UTC 2012-12-28 09:51:26Tagged date : UTC 2012-12-28 09:51:26Writing application : Lite MP4 Tool v2.3
VideoID : 1Format : AVCFormat/Info : Advanced Video CodecFormat profile : [email protected] settings, CABAC : NoFormat settings, ReFrames : 3 framesCodec ID : avc1Codec ID/Info : Advanced Video CodingDuration : 12mn 19sBit rate : 302 KbpsMaximum bit rate : 1 876 KbpsWidth : 480 pixelsHeight : 272 pixelsDisplay aspect ratio : 4:3Frame rate mode : ConstantFrame rate : 40.000 fpsOriginal frame rate : 20.000 fpsColor space : YUVChroma subsampling : 4:2:0Bit depth : 8 bitsScan type : ProgressiveBits/(Pixel*Frame) : 0.098Stream size : 26.6 MiB (82%)Title : Imported with GPAC 0.4.6-DEV (internal rev. 5)Writing library : x264 core 129 r2230 1cffe9fEncoding settings : cabac=0 / ref=3 / deblock=1:1:1 / analyse=0x1:0x131 / me=hex / subme=7 / psy=1 / psy_rd=0.40:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=0 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-2 / threads=6 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=0 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=0 / weightp=0 / keyint=250 / keyint_min=20 / scenecut=45 / intra_refresh=0 / rc_lookahead=100 / rc=crf / mbtree=1 / crf=23.0 / qcomp=0.40 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:0.50Encoded date : UTC 2012-12-28 09:51:26Tagged date : UTC 2012-12-28 09:51:27
AudioID : 2Format : AACFormat/Info : Advanced Audio CodecFormat profile : HE-AACv2 / HE-AAC / LCCodec ID : 40Duration : 24mn 40sBit rate mode : VariableBit rate : 32.0 KbpsMaximum bit rate : 37.3 KbpsChannel(s) : 2 channels / 1 channel / 1 channelChannel positions : Front: L R / Front: C / Front: CSampling rate : 48.0 KHz / 48.0 KHz / 24.0 KHzCompression mode : LossyStream size : 5.65 MiB (17%)Encoded date : UTC 2012-12-28 09:51:27Tagged date : UTC 2012-12-28 09:51:27
应该是这里出问题
有什么解决方法吗?[飞吻]
2012年12月29日 10点12分 1
level 5
一着急连题目都写错了[瀑布汗~]
2012年12月29日 10点12分 2
level 5
我在NMM看到了这段话,是不是这个原因呢[呵呵] 要怎么用呢?
fps
默认值:自动
指定视讯帧率为浮点数(29.97)、比率(30000/1001)或整数(30)。当使用y4m、avs、ffms或lavf解多工器时,x264会使用从输入资料流标头(header)侦测到的帧率,否则会使用25。设定此选项会自动启用--force-cfr。
如果使用raw YUV输入且--bitrate为主的位元率控制,则需要使用此参数或--tcfile-in来指定
正确的
帧率。否则x264不会达到目标位元率
2012年12月29日 10点12分 3
level 12
assumefps (xxx)
2012年12月29日 10点12分 4
level 8
先确认你家的编码器和x264输入信息有没有问题…
2012年12月29日 23点12分 5
关键是我用这软件看不到输入X264的数据,我将指定帧率的参数直接加在X264参数中,可以吗?
2012年12月30日 04点12分
1