本帖最后由 bruceliang 于 2019-4-15 09:39 编辑
[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
使用async:cache:hls生成ts文件,有些视频会报错,linux错误信息是:
先是[cache @ 0x3c08c80] Failed to perform internal seek
然后是
Operation not permitted
windows错误信息是
Operation not permitted
|