rk3588上解码时,输入1080i 50,输出的pts间隔不对 #157

Closed
opened 2025-12-23 10:34:47 +01:00 by backuprepo · 2 comments
Owner

Originally created by @changliwu on GitHub (Mar 19, 2025).

你好:
解码输入dts间隔是1800, 输出pts间隔大部分是1800,突然会跳一个19800的间隔(如下所示),我们希望是解交织后3600的时间间隔输出,请问需要怎么设置呢?
输入dts间隔 -------- 输出pts间隔
1800
1800
1800
1800
------------------------- 1800
------------------------- 1800
1800
1800
1800
1800
1800
1800
1800
1800
1800
1800
------------------------- 19800
------------------------- 1800
------------------------- 1800
------------------------- 1800

当输入1080p 25,解码输出pts间隔正常,输入dts间隔3600,输出pts间隔也是3600
输入dts间隔 -------- 输出pts间隔
3602
3600
3600
------------------------- 3600
------------------------- 3598
3600
3600
3600
------------------------- 3602
------------------------- 3600
------------------------- 3600
------------------------- 3600

Originally created by @changliwu on GitHub (Mar 19, 2025). 你好: 解码输入dts间隔是1800, 输出pts间隔大部分是1800,突然会跳一个19800的间隔(如下所示),我们希望是解交织后3600的时间间隔输出,请问需要怎么设置呢? 输入dts间隔 -------- 输出pts间隔 1800 1800 1800 1800 ------------------------- 1800 ------------------------- 1800 1800 1800 1800 1800 1800 1800 1800 1800 1800 1800 ------------------------- 19800 ------------------------- 1800 ------------------------- 1800 ------------------------- 1800 当输入1080p 25,解码输出pts间隔正常,输入dts间隔3600,输出pts间隔也是3600 输入dts间隔 -------- 输出pts间隔 3602 3600 3600 ------------------------- 3600 ------------------------- 3598 3600 3600 3600 ------------------------- 3602 ------------------------- 3600 ------------------------- 3600 ------------------------- 3600
backuprepo 2025-12-23 10:34:47 +01:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@nyanmisaka commented on GitHub (Mar 19, 2025):

FFmpeg is NOT responsible for deinterlace, instead it feeds the PTS generated by FFmpeg to MPP and gets the deinterlaced frame along with the updated PTS from MPP. So you have to track down where that peak value comes from yourself.

@nyanmisaka commented on GitHub (Mar 19, 2025): FFmpeg is NOT responsible for deinterlace, instead it feeds the PTS generated by FFmpeg to MPP and gets the deinterlaced frame along with the updated PTS from MPP. So you have to track down where that peak value comes from yourself.
Author
Owner

@changliwu commented on GitHub (Mar 26, 2025):

问题找到了,谢谢!
解决办法:
从github.com/rockchip-linux/mpp下载mpp,然后编译,生成新的librockchip_mpp.so,替换ffmpeg-rockchip编译生成的librockchip_mpp.so

@changliwu commented on GitHub (Mar 26, 2025): 问题找到了,谢谢! 解决办法: 从github.com/rockchip-linux/mpp下载mpp,然后编译,生成新的librockchip_mpp.so,替换ffmpeg-rockchip编译生成的librockchip_mpp.so
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: starred/ffmpeg-rockchip#157
No description provided.