6445
- 收藏
- 点赞
- 分享
- 举报
sample_vdec 无法播放ffmpeg提取的文件
各位大神,
今天我做了一个测试。我使用ffmpeg提取ts流(3840x2160 50fps hevc)。想把原始流提取出来。
命令如下:
ffmpeg -i test.ts -vcodec copy -f hevc 1080P.h265
生成1080P.h265文件成功。但是使用sample_vdec测试,显示器提示有信号,但无法输出图像。
我用ffplay可以播放,vlc无法播放。
附上提取日志:
# ffmpeg -i HEVCUHDTest.ts -vcodec copy -f hevc 1080P.h265
ffmpeg version 2.6.1 Copyright (c) 2000-2015 the FFmpeg developers
built with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
configuration: --disable-yasm
libavutil 54. 20.100 / 54. 20.100
libavcodec 56. 26.100 / 56. 26.100
libavformat 56. 25.101 / 56. 25.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 11.102 / 5. 11.102
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 1.100 / 1. 1.100
[hevc @ 0xa975580] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 0xa975580] Error parsing NAL unit #1.
[hevc @ 0xa975580] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 0xa975580] Error parsing NAL unit #1.
[hevc @ 0xa975580] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 0xa975580] Error parsing NAL unit #1.
[hevc @ 0xa975580] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 0xa975580] Error parsing NAL unit #1.
[hevc @ 0xa975580] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 0xa975580] Error parsing NAL unit #1.
[hevc @ 0xa975580] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 0xa975580] Error parsing NAL unit #1.
[hevc @ 0xa975580] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 0xa975580] Error parsing NAL unit #1.
[hevc @ 0xa975580] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 0xa975580] Error parsing NAL unit #1.
[hevc @ 0xa975580] Could not find ref with POC -88
[hevc @ 0xa975580] Could not find ref with POC -92
[hevc @ 0xa975580] Could not find ref with POC -96
[mpegts @ 0xa971980] PES packet size mismatch
Input #0, mpegts, from 'HEVCUHDTest.ts':
Duration: 00:00:23.45, start: 23.424889, bitrate: 23951 kb/s
Program 2
Stream #0:0[0x21]: Video: hevc (Main 10) ([36][0][0][0] / 0x0024), yuv420p10le(tv), 3840x2160, 50 fps, 50 tbr, 90k tbn, 50 tbc
Stream #0:1[0x24]: Audio: aac (HE-AACv2) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 70 kb/s
File '1080P.h265' already exists. Overwrite ? [y/N] y
Output #0, hevc, to '1080P.h265':
Metadata:
encoder : Lavf56.25.101
Stream #0:0: Video: hevc ([36][0][0][0] / 0x0024), yuv420p10le, 3840x2160, q=2-31, 50 fps, 50 tbr, 50 tbn, 50 tbc
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
[NULL @ 0xa975580] PPS id out of range: 0
Last message repeated 7 times
frame= 1113 fps=855 q=-1.0 Lsize= 57322kB time=00:00:22.22 bitrate=21133.2kbits/s
video:57322kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%
麻烦各位指点一下。
今天我做了一个测试。我使用ffmpeg提取ts流(3840x2160 50fps hevc)。想把原始流提取出来。
命令如下:
ffmpeg -i test.ts -vcodec copy -f hevc 1080P.h265
生成1080P.h265文件成功。但是使用sample_vdec测试,显示器提示有信号,但无法输出图像。
我用ffplay可以播放,vlc无法播放。
附上提取日志:
# ffmpeg -i HEVCUHDTest.ts -vcodec copy -f hevc 1080P.h265
ffmpeg version 2.6.1 Copyright (c) 2000-2015 the FFmpeg developers
built with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
configuration: --disable-yasm
libavutil 54. 20.100 / 54. 20.100
libavcodec 56. 26.100 / 56. 26.100
libavformat 56. 25.101 / 56. 25.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 11.102 / 5. 11.102
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 1.100 / 1. 1.100
[hevc @ 0xa975580] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 0xa975580] Error parsing NAL unit #1.
[hevc @ 0xa975580] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 0xa975580] Error parsing NAL unit #1.
[hevc @ 0xa975580] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 0xa975580] Error parsing NAL unit #1.
[hevc @ 0xa975580] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 0xa975580] Error parsing NAL unit #1.
[hevc @ 0xa975580] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 0xa975580] Error parsing NAL unit #1.
[hevc @ 0xa975580] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 0xa975580] Error parsing NAL unit #1.
[hevc @ 0xa975580] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 0xa975580] Error parsing NAL unit #1.
[hevc @ 0xa975580] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 0xa975580] Error parsing NAL unit #1.
[hevc @ 0xa975580] Could not find ref with POC -88
[hevc @ 0xa975580] Could not find ref with POC -92
[hevc @ 0xa975580] Could not find ref with POC -96
[mpegts @ 0xa971980] PES packet size mismatch
Input #0, mpegts, from 'HEVCUHDTest.ts':
Duration: 00:00:23.45, start: 23.424889, bitrate: 23951 kb/s
Program 2
Stream #0:0[0x21]: Video: hevc (Main 10) ([36][0][0][0] / 0x0024), yuv420p10le(tv), 3840x2160, 50 fps, 50 tbr, 90k tbn, 50 tbc
Stream #0:1[0x24]: Audio: aac (HE-AACv2) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 70 kb/s
File '1080P.h265' already exists. Overwrite ? [y/N] y
Output #0, hevc, to '1080P.h265':
Metadata:
encoder : Lavf56.25.101
Stream #0:0: Video: hevc ([36][0][0][0] / 0x0024), yuv420p10le, 3840x2160, q=2-31, 50 fps, 50 tbr, 50 tbn, 50 tbc
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
[NULL @ 0xa975580] PPS id out of range: 0
Last message repeated 7 times
frame= 1113 fps=855 q=-1.0 Lsize= 57322kB time=00:00:22.22 bitrate=21133.2kbits/s
video:57322kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%
麻烦各位指点一下。
我来回答
回答2个
时间排序
认可量排序
认可0
认可0
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币
Markdown 语法
- 加粗**内容**
- 斜体*内容*
- 删除线~~内容~~
- 引用> 引用内容
- 代码`代码`
- 代码块```编程语言↵代码```
- 链接[链接标题](url)
- 无序列表- 内容
- 有序列表1. 内容
- 缩进内容
- 图片![alt](url)
相关问答
-
2019-04-03 17:37:59
-
2014-10-16 20:13:01
-
2015-05-25 21:07:40
-
2015-05-25 21:11:56
-
2016-04-19 21:49:52
-
2016-04-27 10:59:59
-
2024-10-22 19:59:00
-
2013-01-03 15:02:47
-
2020-02-28 17:28:26
-
2019-04-03 10:40:55
-
2016-08-12 09:27:55
-
2015-11-10 15:13:51
-
2024-08-09 11:48:08
-
2017-07-22 16:48:21
-
2019-04-03 10:47:31
-
2024-06-24 16:20:29
-
2015-10-18 16:55:24
-
2019-03-14 14:52:27
-
2015-02-04 11:24:11
无更多相似问答 去提问
点击登录
-- 积分
-- E币
提问
—
收益
—
被采纳
—
我要提问
切换马甲
上一页
下一页
悬赏问答
-
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 多摄像头同步模式
-
9海思ss928单路摄像头vio中加入opencv处理并显示
-
10EB-RV1126-BC-191板子运行自己编码的程序
举报反馈
举报类型
- 内容涉黄/赌/毒
- 内容侵权/抄袭
- 政治相关
- 涉嫌广告
- 侮辱谩骂
- 其他
详细说明
提醒
你的问题还没有最佳答案,是否结题,结题后将扣除20%的悬赏金
取消
确认
提醒
你的问题还没有最佳答案,是否结题,结题后将根据回答情况扣除相应悬赏金(1回答=1E币)
取消
确认