Trick play mode related issue in gstreamer on i.MX6DL

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Trick play mode related issue in gstreamer on i.MX6DL

1,070 次查看
gauthamkanthara
Contributor IV
Hello,

Working on iMX6 target.

I am trying to play a video file using gst pipeline "gst-launch playbin2 uri=file://<full path to sample file>", video and audio is fine until when I try to use trick play mode to seek to stream forward/backward for about xx seconds. What I see in the  vpudec and aiurdemux gstreamer plugin code is that some error states like "GST_FLOW_WRONG_STATE" are ignored during trick play mode handling i.e. in gst_vpudec_chain function and in aiurdemux_push_pad_buffer. Please let me know why these event types are ignored or the reason for it. Thank you.

标签 (2)
标记 (1)
0 项奖励
2 回复数

716 次查看
joanxie
NXP TechSupport
NXP TechSupport

could you give me the detailed test steps? let me reproduce it on the board, and pls upload the log file to check.

0 项奖励

716 次查看
gauthamkanthara
Contributor IV

Steps to reproduce the issue:

1) export GST_DEBUG=*:2

2) gplay <path to seekable video file>

3) Select option 'e' for seek

4) Select seek mode [Fast seek:0, Accurate seek:1]: either '1' or '0'

5) Accurate seek to percentage[0:100] or second [t?]: 10

Seek Output:


seeking: 0:00:59.000000000/0:09:56.459008000

gst_vpudec_show_frame      ret=-2
0:00:45.185532613   368 0x7390bc00 WARN                  vpudec vpudec.c:1569:gst_vpudec_chain: ignoring wrong state: -2
0:00:45.186103280   368   0x766520 WARN               aiurdemux aiurdemux.c:3901:aiurdemux_push_pad_buffer: Pad video push error type -2
0:00:45.186224416   368   0x766520 WARN               aiurdemux aiurdemux.c:3912:aiurdemux_push_pad_buffer: ignoring GST_FLOW_WRONG_STATE
0:00:45.186763613   368   0x766520 WARN               aiurdemux aiurdemux.c:3901:aiurdemux_push_pad_buffer: Pad audio push error type -2
0:00:45.186853810   368   0x766520 WARN               aiurdemux aiurdemux.c:3912:aiurdemux_push_pad_buffer: ignoring GST_FLOW_WRONG_STATE
0:00:45.187006734   368   0x766520 WARN               aiurdemux aiurdemux.c:3901:aiurdemux_push_pad_buffer: Pad audio push error type -2
0:00:45.187061673   368   0x766520 WARN               aiurdemux aiurdemux.c:3912:aiurdemux_push_pad_buffer: ignoring GST_FLOW_WRONG_STATE
0:00:45.187125643   368   0x766520 WARN               aiurdemux aiurdemux.c:3901:aiurdemux_push_pad_buffer: Pad video push error type -2
0:00:45.187173037   368   0x766520 WARN               aiurdemux aiurdemux.c:3912:aiurdemux_push_pad_buffer: ignoring GST_FLOW_WRONG_STATE

Let me know if it is fine to ignore this state or is there any way to handle it?

Thank you.

0 项奖励