解决FFmpeg报错:At least one output file must be specified

本文介绍了FFmpeg出现'At least one output file must be specified'错误的原因及解决方法。问题根源在于未正确指定输出文件路径。解决办法包括检查命令行中是否包含输出文件参数,以及在包含特殊字符的路径上使用英文引号包裹。
摘要由CSDN通过智能技术生成

原因

无法读取到输出地址

解决

  1. 首先查看使用的命令末尾是否添加了输出文件路径,如这条命令:ffmpeg -i https://xxxxxx out.mp4,代表将输入流保存到out.mp4
  2. 如果已经填写了输出地址,但是仍然报错,可能是由于地址中某些字符导致的,此时将拉流地址和输出地址用英文引号括起来,如:ffmpeg -i "https://xxxxxx" "out.mp4"
  • 10
    点赞
  • 7
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 2
    评论
[h264 @ 000001ef94ed8280] Format h264 detected only with low score of 1, misdetection possible! [h264 @ 000001ef94ed9f40] illegal POC type 5 [h264 @ 000001ef94ed9f40] non-existing PPS 10 referenced [AVBSFContext @ 000001ef94ee0280] Invalid NAL unit 0, skipping. Last message repeated 6 times [h264 @ 000001ef94ed9f40] Invalid NAL unit 0, skipping. Last message repeated 6 times [h264 @ 000001ef94ed9f40] slice type 32 too large at 25 [h264 @ 000001ef94ed9f40] decode_slice_header error [h264 @ 000001ef94ed9f40] no frame! [h264 @ 000001ef94ed9f40] non-existing PPS 0 referenced [AVBSFContext @ 000001ef94ee0280] Invalid NAL unit 16, skipping. Last message repeated 3 times [h264 @ 000001ef94ed9f40] Invalid NAL unit 16, skipping. Last message repeated 3 times [h264 @ 000001ef94ed9f40] data partitioning is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented. [h264 @ 000001ef94ed9f40] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing list. (ffmpeg-devel@ffmpeg.org) [h264 @ 000001ef94ed9f40] data partitioning is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented. [h264 @ 000001ef94ed9f40] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing list. (ffmpeg-devel@ffmpeg.org) [h264 @ 000001ef94ed9f40] data partitioning is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented. [h264 @ 000001ef94ed9f40] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing list. (ffmpeg-devel@ffmpeg.org) [h264 @ 000001ef94ed9f40] no frame! [h264 @ 000001ef94ed8280] Stream #0: not enough frames to estimate rate; consider increasing probesize [h264 @ 000001ef94ed8280] decoding for stream 0 failed [h264 @ 000001ef94ed8280] Could not find codec parameters for stream 0 (Video: h264, none): unspecified size Consider increasing the value for the 'analyzeduration' and 'probesize' options Input #0, h264, from 'C:\Users\26742\Desktop\1.264': Duration: N/A, bitrate: N/A Stream #0:0: Video: h264, none, 25 tbr, 1200k tbn, 50 tbc At least one output file must be specified
07-15
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

FarryNiu

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值