AnsweredAssumed Answered

i.MX6Q: How to play mp4 using VPU and qtdemux

Question asked by Daisuke Tsuchiya on Aug 22, 2013
Latest reply on Sep 5, 2013 by Leonardo Sandoval Gonzalez

Hello,


I'm trying to play mp4 on GStreamer and VPU of i.MX6Q.  And I want to use qtdemux and isink, but an error occurs.

How can I play using qtdemux and isink?

 

My operation is below:
gst-launch filesrc location=/mnt/floppy/1sec_10frame.mp4 ! 'video/quicktime' ! qtdemux ! queue ! vpudec ! mfw_isink

 

It's no problem when using aiurdemux.
gst-launch filesrc location=/mnt/floppy/1sec_10frame.mp4 ! 'video/quicktime' ! aiurdemux ! queue ! vpudec ! mfw_isink

 

filesrc:    0.10.35
aiurdemux:  3.0.5
vpudec:     3.0.5
qtdemux:    0.10.30

 

The error occurs in vpu_DecGetInitialInfo() of vpu_lib.c.

=====
{
            :

    BitIssueCommand(pCodecInst, SEQ_INIT);
    while (VpuReadReg(BIT_BUSY_FLAG)) ;


    val = VpuReadReg(RET_DEC_SEQ_SUCCESS);

 

    if (cpu_is_mx6x()) {
#ifdef MEM_PROTECT
        if (val & (1 << 31)) {
            :
        }
#endif
->      if (pDecInfo->openParam.bitstreamMode && (val & (1 << 4))) {
->          UnlockVpu(vpu_semap);

->          return RETCODE_FAILURE;
        }
    }

=====

 

 

Best Regards,

Daisuke

Outcomes