gpt4 book ai didi

amazon-s3 - 如何将 h265 视频从 ffmpeg 流式传输到 amazon s3?

转载 作者:行者123 更新时间:2023-12-04 23:12:34 25 4
gpt4 key购买 nike

我正在尝试将 h265 视频从 ffmpeg 流式传输到 aws s3,这是我使用的命令:

ffmpeg -f gdigrab -i desktop -r 1 -vframes 5 -c:v libx265 -crf 40 -f mp4 pipe:1 | aws s3 cp -  s3://videosbuket-009212/d5.mp4
和错误信息:
[mp4 @ 000001c49541bb40] muxer does not support non seekable output
Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument
Error initializing output stream 0:0 --
这里有什么问题?

最佳答案

问题是 mp4 不支持不可搜索的输出。就像错误读取一样。使用不需要搜索的格式,例如 mkv。如果您需要 mp4,则必须先制作本地副本。

关于amazon-s3 - 如何将 h265 视频从 ffmpeg 流式传输到 amazon s3?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/62508015/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com