dwing吧 关注:5,116贴子:81,831
  • 0回复贴,共1

[求助]无法用ffmpeg正确读取x265编码出的raw bitstream

取消只看楼主收藏回复

log说是时间戳的问题但是我并不会解决。
急需mkv格式时先转mp4再转mkv就可以了
直接转mkv会报错:
[matroska @ 0x55603d76adc0] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly
[matroska @ 0x55603d76adc0] Can't write packet with unknown timestamp
av_interleaved_write_frame(): Invalid argument




当然最重要的是没有办法用ffmpeg正常计算ssim:
ffmpeg -i clip.mkv -i enc.hevc -lavfi ssim -f null -
[null @ 0x55a09f654bc0] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 719 >= 719)
有没有方法让x265输出正常的格式?


回复
1楼2019-10-09 16:35