找回密码
 立即注册
搜索
查看: 2344|回复: 5

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

[复制链接]
     
发表于 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
回复

使用道具 举报

     
发表于 2016-5-7 23:44 | 显示全部楼层
这个就是一个60帧视频吧,抽取视频流再封装一下看看
回复

使用道具 举报

发表于 2016-5-8 06:59 | 显示全部楼层
本帖最后由 华蝶风雪 于 2016-5-8 21:51 编辑

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

使用道具 举报

     
 楼主| 发表于 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
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|上海互联网违法和不良信息举报中心|网上有害信息举报专区|962110 反电信诈骗|举报电话 021-62035905|Stage1st ( 沪ICP备13020230号-1|沪公网安备 31010702007642号 )

GMT+8, 2025-8-22 04:14 , Processed in 0.039423 second(s), 8 queries , Gzip On, Redis On.

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

快速回复 返回顶部 返回列表