awli 最近的时间轴更新
awli

awli

V2EX 第 302201 号会员,加入于 2018-03-21 18:43:57 +08:00
awli 最近回复了
2019-08-19 09:43:08 +08:00
回复了 awli 创建的主题 Python Python 怎样将视频压缩?并且尽量不会影响到清晰度
@exev2 我取出 100 个视频给你,你看一下,有什么好的建议和想法,咱们多交流
2019-08-16 18:54:09 +08:00
回复了 awli 创建的主题 Python Python 怎样将视频压缩?并且尽量不会影响到清晰度
@exev2 邮箱给我,我给你发邮件
2019-08-15 17:03:00 +08:00
回复了 awli 创建的主题 Python Python 怎样将视频压缩?并且尽量不会影响到清晰度
@msg7086 谢谢指导.
2019-08-15 17:01:17 +08:00
回复了 awli 创建的主题 Python Python 怎样将视频压缩?并且尽量不会影响到清晰度
@msg7086 我并不是一个视频处理工作者,对不起.我无法给您这样专业的解释.我只是单独的用 ffmpeg 直接转了一个小视频指定的为 libx265 转出来后为 5.37m>4.2M.
2019-08-15 16:56:55 +08:00
回复了 awli 创建的主题 Python Python 怎样将视频压缩?并且尽量不会影响到清晰度
@msg7086 您可不可以给我一条命令,您说的最新技术配合高参数.
2019-08-15 16:53:17 +08:00
回复了 awli 创建的主题 Python Python 怎样将视频压缩?并且尽量不会影响到清晰度
@msg7086 我本身的数据目前的数据,'{
'streams': [
{
'index': 0,
'codec_name': 'h264',
'codec_long_name': 'H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10',
'profile': 'High',
'codec_type': 'video',
'codec_time_base': '3/179',
'codec_tag_string': 'avc1',
'codec_tag': '0x31637661',
'width': 1088,
'height': 512,
'coded_width': 1088,
'coded_height': 512,
'has_b_frames': 2,
'pix_fmt': 'yuv420p',
'level': 31,
'chroma_location': 'left',
'refs': 1,
'is_avc': 'true',
'nal_length_size': '4',
'r_frame_rate': '179/6',
'avg_frame_rate': '179/6',
'time_base': '1/11456',
'start_pts': 0,
'start_time': '0.000000',
'duration_ts': 171648,
'duration': '14.983240',
'bit_rate': '2850063',
'bits_per_raw_sample': '8',
'nb_frames': '447',
'disposition': {
'default': 1,
'dub': 0,
'original': 0,
'comment': 0,
'lyrics': 0,
'karaoke': 0,
'forced': 0,
'hearing_impaired': 0,
'visual_impaired': 0,
'clean_effects': 0,
'attached_pic': 0,
'timed_thumbnails': 0
},
'tags': {
'language': 'und',
'handler_name': 'VideoHandler'
}
},
{
'index': 1,
'codec_name': 'aac',
'codec_long_name': 'AAC (Advanced Audio Coding)',
'profile': 'LC',
'codec_type': 'audio',
'codec_time_base': '1/44100',
'codec_tag_string': 'mp4a',
'codec_tag': '0x6134706d',
'sample_fmt': 'fltp',
'sample_rate': '44100',
'channels': 2,
'channel_layout': 'stereo',
'bits_per_sample': 0,
'r_frame_rate': '0/0',
'avg_frame_rate': '0/0',
'time_base': '1/44100',
'start_pts': 0,
'start_time': '0.000000',
'duration_ts': 657399,
'duration': '14.907007',
'bit_rate': '128207',
'max_bit_rate': '128207',
'nb_frames': '644',
'disposition': {
'default': 1,
'dub': 0,
'original': 0,
'comment': 0,
'lyrics': 0,
'karaoke': 0,
'forced': 0,
'hearing_impaired': 0,
'visual_impaired': 0,
'clean_effects': 0,
'attached_pic': 0,
'timed_thumbnails': 0
},
'tags': {
'language': 'und',
'handler_name': 'SoundHandler'
}
}],
'format': {
'filename': './1.mp4',
'nb_streams': 2,
'nb_programs': 0,
'format_name': 'mov,mp4,m4a,3gp,3g2,mj2',
'format_long_name': 'QuickTime / MOV',
'start_time': '0.000000',
'duration': '14.984000',
'size': '5595214',
'bit_rate': '2987300',
'probe_score': 100,
'tags': {
'minor_version': '512',
'major_brand': 'isom',
'compatible_brands': 'isomiso2avc1mp41',
'comment': 'vid:v0200fcd0000bjp56e4ttc5jlrp1hp1g',
'encoder': 'Lavf58.20.100'
}
}
}' 但是我目前,转为 h265 压缩他的话大概是 18%左右,我希望不转 AV1,太慢了
2019-08-15 16:48:22 +08:00
回复了 awli 创建的主题 Python Python 怎样将视频压缩?并且尽量不会影响到清晰度
@loveour 我就是想动态的获取这些参数,现有的 h265 其实可以满足我们的需求的.只是,数据量有些大
2019-08-15 16:46:39 +08:00
回复了 awli 创建的主题 Python Python 怎样将视频压缩?并且尽量不会影响到清晰度
@BlackBerry999 嗯,我的团队比较小,但是他们不满足于这样,我已经可以转为 h265 了
2019-08-15 16:31:35 +08:00
回复了 awli 创建的主题 Python Python 怎样将视频压缩?并且尽量不会影响到清晰度
不知道你们了不了解阿里云的窄带高清,我就是想实现一个类似他的程序.但是会差很多
2019-08-15 16:29:52 +08:00
回复了 awli 创建的主题 Python Python 怎样将视频压缩?并且尽量不会影响到清晰度
@rogwan 目前是这样的,我很清楚自己的需求,是要求清晰度.压缩率的话,压缩 30%-20%之间都可以.但是如果说我单单指定转码格式为 h264 的话,这个压缩率达不到我的预期.
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2922 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 15ms · UTC 15:11 · PVG 23:11 · LAX 08:11 · JFK 11:11
Developed with CodeLauncher
♥ Do have faith in what you're doing.