Trick play mode related issue in gstreamer on i.MX6DL

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Trick play mode related issue in gstreamer on i.MX6DL

1,071件の閲覧回数
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 返答(返信)

717件の閲覧回数
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 件の賞賛

717件の閲覧回数
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 件の賞賛