- 收藏
- 点赞
- 分享
- 举报
用ffmpeg截取指定时间视频片段 日志报错
用ffmpeg截取指定时间视频片段 日志报错Output file #0 does not contain any stream
代码:
import os
video = r”G:\00_TASK\2020\10_video\data\202006_03\VD306200400048_20200609141500_01_0000000000000118_video.mp4”
corp_video_b = r”G:\00_TASK\2020\10_video\data\video_cut\VD306200400048_20200609141500_01_0000000000000118_video_b30.mp4”
os.system(“ffmpeg -y -i %s -ss 00:00:00.0 -t 00:00:10.0 -vcodec copy -async 1 %s” % (video, corp_video_b))
日志输出:
ffmpeg version git-2019-11-22-27c6c92 Copyright (c) 2000-2019 the FFmpeg developers
built with gcc 9.2.1 (GCC) 20191010
configuration: —enable-gpl —enable-version3 —enable-sdl2 —enable-fontconfig —enable-gnutls —enable-iconv —enable-libass —enable-libdav1d —enable-libbluray —enable-libfreetype —enable-libmp3lame —enable-libopencore-amrnb —enable-libopencore-amrwb —enable-libopenjpeg —enable-libopus —enable-libshine —enable-libsnappy —enable-libsoxr —enable-libtheora —enable-libtwolame —enable-libvpx —enable-libwavpack —enable-libwebp —enable-libx264 —enable-libx265 —enable-libxml2 —enable-libzimg —enable-lzma —enable-zlib —enable-gmp —enable-libvidstab —enable-libvorbis —enable-libvo-amrwbenc —enable-libmysofa —enable-libspeex —enable-libxvid —enable-libaom —enable-libmfx —enable-ffnvcodec —enable-cuvid —enable-d3d11va —enable-nvenc —enable-nvdec —enable-dxva2 —enable-avisynth —enable-libopenmpt —enable-amf
libavutil 56. 36.100 / 56. 36.100
libavcodec 58. 62.100 / 58. 62.100
libavformat 58. 35.100 / 58. 35.100
libavdevice 58. 9.101 / 58. 9.101
libavfilter 7. 66.100 / 7. 66.100
libswscale 5. 6.100 / 5. 6.100
libswresample 3. 6.100 / 3. 6.100
libpostproc 55. 6.100 / 55. 6.100
Output #0, mp4, to ‘ -y -i G:\00_TASK\2020\10_video\data\202006_03\VD306200400048_20200609141500_01_0000000000000118_video.mp4 -ss 00:00:00.0 -t 00:00:10.0 -vcodec copy -async 1 G:\00_TASK\2020\10_video\data\video_cut\VD306200400048_20200609141500_01_0000000000000118_video_b30.mp4’:
Output file #0 does not contain any stream
Markdown 语法
- 加粗**内容**
- 斜体*内容*
- 删除线~~内容~~
- 引用> 引用内容
- 代码`代码`
- 代码块```编程语言↵代码```
- 链接[链接标题](url)
- 无序列表- 内容
- 有序列表1. 内容
- 缩进内容
- 图片![alt](url)
-
122020-05-07 09:45:26
-
2021-03-09 15:58:52
-
2020-09-27 09:23:11
-
2015-03-21 19:43:39
-
2016-08-10 15:50:43
-
2020-07-09 16:45:27
-
2017-03-09 17:54:01
-
2015-12-13 21:33:04
-
2016-06-24 17:32:36
-
2020-10-18 12:15:52
-
2014-09-19 15:18:55
-
2019-09-03 20:22:16
-
2010-01-25 14:02:09
-
2020-03-13 09:59:01
-
182013-12-16 15:44:47
-
2020-03-02 15:07:49
-
2021-01-19 16:48:32
-
2020-08-19 14:42:46
-
2021-01-20 17:03:30
-
50帮忙解决个交叉编译的问题
-
20帮忙交叉编译个源码
-
5Hi3516CV610 如何使用SD卡升级固件
-
5cat /dev/logmpp 报错 <3>[ vi] [func]:vi_send_frame_node [line]:99 [info]:vi pic queue is full!
-
50如何获取vpss chn的图像修改后发送至vo
-
5FPGA通过Bt1120传YUV422数据过来,vi接收不到数据——3516dv500
-
50SS928 运行PQtools 拼接 推到设备里有一半画面会异常
-
53536AV100的sample_vdec输出到CVBS显示
-
10海思板子mpp怎么在vi阶段改变视频数据尺寸
-
10HI3559AV100 多摄像头同步模式
举报类型
- 内容涉黄/赌/毒
- 内容侵权/抄袭
- 政治相关
- 涉嫌广告
- 侮辱谩骂
- 其他
详细说明