waifu2x-video-mac
waifu2x-video-mac copied to clipboard
cannot decode
需要内置hevc解码器 感觉这个目前来说很必要
waifu2x-video-mac uses AVKit for decoding videos. So theoretically any video containers and codecs supported by Apple's AVKit (which includes hevc encoded mp4) can be processed using waifu2x-video-mac.
waifu2x-video-mac 使用 AVKit 解码视频。从理论上讲,只要是 AVKit 支持的视频格式和编码应该都可以由 waifu2x-video-mac 处理。我把程序内置的视频用 ffmpeg 和 x265 重新编码了一次 (ffprobe 输出如下),看上去 AVKit 是支持这个格式的。
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/private/tmp/test_hevc/sample.hevc.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2mp41
encoder : Lavf58.29.100
Duration: 00:00:02.90, start: 0.000000, bitrate: 322 kb/s
Stream #0:0(und): Video: hevc (Main) (hvc1 / 0x31637668), yuv420p(tv, progressive), 640x360 [SAR 1:1 DAR 16:9], 178 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 23.98 tbc (default)
Metadata:
handler_name : Core Media Video
Stream #0:1(jpn): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 129 kb/s (default)
Metadata:
handler_name : Core Media Audio
你能不能用 ffprobe 检查一下你想要转换的视频,然后把输出结果粘在这里?
这个问题感觉 不再是很重要 另一个新问题就是效率问题 程序占用的显存不够多 可以在里面加入百分比占存 来提升工程效率 缩短等待时间 这是个很好的项目 顶🔝
我在其他waifu2x项目里看到了 有人不使用显卡进行处理 而是使用cpu 建议加入处理器进行处理图像视频的方式