首页 > 解决方案 > VLC 在视频结束前停止视频

问题描述

VLC 在视频结束之前停止视频并在终端中打印:

[h264 @ 0x7ff318ce36c0] co located POCs unavailable
[h264 @ 0x7ff318ce36c0] mmco: unref short failure
[h264 @ 0x7ff318c7f0c0] co located POCs unavailable
[h264 @ 0x7ff318c9da60] mmco: unref short failure
[h264 @ 0x7ff318ce36c0] co located POCs unavailable
[h264 @ 0x7ff318cff780] mmco: unref short failure
[h264 @ 0x7ff318d37b00] co located POCs unavailable
[h264 @ 0x7ff318c7f0c0] co located POCs unavailable
[h264 @ 0x7ff318c9da60] mmco: unref short failure
[h264 @ 0x7ff318cff780] co located POCs unavailable
[h264 @ 0x7ff318d37b00] co located POCs unavailable
[h264 @ 0x7ff318c7f0c0] mmco: unref short failure
[h264 @ 0x7ff318ce36c0] co located POCs unavailable
[h264 @ 0x7ff318d1b900] co located POCs unavailable
[h264 @ 0x7ff318d37b00] mmco: unref short failure
[h264 @ 0x7ff318cff780] mmco: unref short failure
[h264 @ 0x7ff318d1b900] mmco: unref short failure
[h264 @ 0x7ff318c9da60] co located POCs unavailable
[h264 @ 0x7ff318ce36c0] co located POCs unavailable
[h264 @ 0x7ff318d37b00] mmco: unref short failure
[00007ff318c6a260] main decoder error: Timestamp conversion failed for 24718094: no reference clock
[00007ff318c6a260] main decoder error: Could not convert timestamp 0 for FFmpeg
[00007ff318c6a260] main decoder error: Timestamp conversion failed for 34926677: no reference clock
[00007ff318c6a260] main decoder error: Could not convert timestamp 0 for FFmpeg
[00007ff318c6a260] main decoder error: Timestamp conversion failed for 45796649: no reference clock
[00007ff318c6a260] main decoder error: Could not convert timestamp 0 for FFmpeg
[h264 @ 0x7ff318d1b900] co located POCs unavailable
[h264 @ 0x7ff318d37b00] mmco: unref short failure
[h264 @ 0x7ff318d37b00] co located POCs unavailable
[h264 @ 0x7ff318c7f0c0] mmco: unref short failure
[h264 @ 0x7ff318ce36c0] co located POCs unavailable
[h264 @ 0x7ff318cff780] mmco: unref short failure
[h264 @ 0x7ff318d1b900] co located POCs unavailable
[h264 @ 0x7ff318d37b00] mmco: unref short failure
[00007ff318c6a260] main decoder error: buffer deadlock prevented

我使用以下命令创建了转换原始视频的视频文件:

ffmpeg -i video.mp4 -b 1000000 video_mod.mp4

使用 Firefox 可以正确播放相同的文件。

我使用该命令转换了其他视频文件,VLC 可以完全播放它们。

如何解决这个错误?

标签: videoffmpegvlc

解决方案


推荐阅读