ChinaFFmpeg

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 11103|回复: 1

[Linux] 发生corrupt input packet in stream 0错误,ffmpeg停止继续转码

[复制链接]
发表于 2019-4-15 17:56:20 | 显示全部楼层 |阅读模式
[Bash shell] 纯文本查看 复制代码
./ffmpeg -hide_banner -y -i async:cache:"http://192.168.56.101:8090/test.mp4" -vcodec h264 -acodec aac -crf 18 -preset veryfast -r 20 -filter_complex [0:v]scale=640:320 -b:v 512K -b:a 64K -ar 44100 -start_number 0 -hls_time 4 -hls_list_size 0 -f hls -hls_segment_filename ./pieces%d.ts -max_muxing_queue_size 8192 ./output.m3u8


hls当同时有多个任务执行时有些任务会发生corrupt input packet in stream 0错误,发生错误后程序不会继续转码,直接成功退出
回复

使用道具 举报

发表于 2019-4-15 18:23:04 | 显示全部楼层
ts文件也这样吗
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|Archiver|ChinaFFmpeg

GMT+8, 2024-4-20 22:14 , Processed in 0.051233 second(s), 15 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表