Trick play mode related issue in gstreamer on i.MX6DL

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Trick play mode related issue in gstreamer on i.MX6DL

1,346 Views
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.

Labels (2)
Tags (1)
0 Kudos
Reply
2 Replies

992 Views
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 Kudos
Reply

992 Views
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 Kudos
Reply