Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot decode #1

Open
HimekoX opened this issue May 31, 2020 · 4 comments
Open

cannot decode #1

HimekoX opened this issue May 31, 2020 · 4 comments

Comments

@HimekoX
Copy link

HimekoX commented May 31, 2020

image

@HimekoX
Copy link
Author

HimekoX commented May 31, 2020

需要内置hevc解码器 感觉这个目前来说很必要

@SuperMarcus
Copy link
Owner

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

image

你能不能用 ffprobe 检查一下你想要转换的视频,然后把输出结果粘在这里?

@HimekoX
Copy link
Author

HimekoX commented Jun 1, 2020

这个问题感觉 不再是很重要 另一个新问题就是效率问题 程序占用的显存不够多 可以在里面加入百分比占存 来提升工程效率 缩短等待时间 这是个很好的项目 顶🔝

@HimekoX
Copy link
Author

HimekoX commented Jun 1, 2020

我在其他waifu2x项目里看到了 有人不使用显卡进行处理 而是使用cpu 建议加入处理器进行处理图像视频的方式

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants