gaowe 发表于 2016-5-7 23:17

可变帧率的视频有什么好的方式压成低分辨率的视频吗?

mediainfo信息,有什么类似一键压制的工具,设置下crf就可以按原帧率变动情况生成一个
同样的可变帧率的视频吗?按网上的教程抽出了timecode,但不知道怎么用上...
General
Complete name                  : D:\test.mp4
Format                         : MPEG-4
Format profile               : Base Media
Codec ID                     : isom
File size                      : 4.71 GiB
Duration                     : 1h 58mn
Overall bit rate mode          : Variable
Overall bit rate               : 5 692 Kbps
Encoded date                   : UTC 2016-05-01 07:32:16
Tagged date                  : UTC 2016-05-01 07:32:16
Writing application            : BandiMp4Muxer 1.0

Video
ID                           : 1
Format                         : AVC
Format/Info                  : Advanced Video Codec
Format profile               : Main@L4.2
Format settings, CABAC         : Yes
Format settings, ReFrames      : 1 frame
Format settings, GOP         : M=1, N=30
Codec ID                     : avc1
Codec ID/Info                  : Advanced Video Coding
Duration                     : 1h 58mn
Bit rate                     : 5 488 Kbps
Width                        : 1 920 pixels
Height                         : 1 080 pixels
Display aspect ratio         : 16:9
Frame rate mode                : Variable
Frame rate                     : 30.036 fps
Original frame rate            : 60.000 fps
Minimum frame rate             : 11.998 fps
Maximum frame rate             : 60.060 fps
Color space                  : YUV
Chroma subsampling             : 4:2:0
Bit depth                      : 8 bits
Scan type                      : Progressive
Bits/(Pixel*Frame)             : 0.088
Stream size                  : 4.54 GiB (96%)
Language                     : English
Encoded date                   : UTC 2016-05-01 07:32:16
Tagged date                  : UTC 2016-05-01 07:32:16

Audio
ID                           : 2
Format                         : AAC
Format/Info                  : Advanced Audio Codec
Format profile               : LC
Codec ID                     : 40
Duration                     : 1h 58mn
Bit rate mode                  : Variable
Bit rate                     : 192 Kbps
Maximum bit rate               : 308 Kbps
Channel(s)                     : 2 channels
Channel positions            : Front: L R
Sampling rate                  : 48.0 KHz
Compression mode               : Lossy
Stream size                  : 165 MiB (3%)
Language                     : English
Encoded date                   : UTC 2016-05-01 07:32:16
Tagged date                  : UTC 2016-05-01 07:32:16

baiducaonima 发表于 2016-5-7 23:44

这个就是一个60帧视频吧,抽取视频流再封装一下看看

华蝶风雪 发表于 2016-5-8 06:59

本帖最后由 华蝶风雪 于 2016-5-8 21:51 编辑

想省事那就直接x264,比如x264 --crf 23 "output.mp4" "input.mp4"如果需要改分辨率x264 --crf 23 --vf resize:1280,720,1:1:spline "output.mp4" "input.mp4"

gaowe 发表于 2016-5-8 09:48

因为源视频流是可变的,用固定的之后好像画面变得有点粘滞,貌似音画也会有点不同步

斜阳 发表于 2016-5-8 12:55

本帖最后由 斜阳 于 2016-5-8 19:22 编辑

Dtsedit,这个程序可以抽取/封装mp4格式的tc
试了一下,直接喂x264就行了,可以识别vfr

天神十三煞 发表于 2016-5-8 15:31

我没记错的话,如果是直接重编还好说,又不是重封装,VFR重封装才比较麻烦
重编的话请上AVS直接DSS,因为DirectSourceShow可渲染时强制convertFPS
页: [1]
查看完整版本: 可变帧率的视频有什么好的方式压成低分辨率的视频吗?