imx8qm yocto qt vpu decode error

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

imx8qm yocto qt vpu decode error

1,336 Views
zbm030823
Contributor II

Hi ,

  when I use one qt demo to play multimedia on imx8qm, below is the bug printf,anyone can help me?

                                                                   
                                                                                
Using Wayland-EGL                                                               
                                                                                
FT_New_Face failed with index 0 : 1                                             
                                                                                
Using the 'xdg-shell-v6' shell integration                                      
                                                                                
                                                                                
                                                                                
====== AIUR: 4.4.5 build on May 20 2019 10:17:54. ======                        
                                                                                
        Core: AVI_PARSER_03.06.06  build on Feb 25 2019 02:36:36                
                                                                                
 file: /usr/lib/imx-mm/parser/lib_avi_parser_arm_elinux.so.3.1                  
                                                                                
------------------------                                                        
                                                                                
    Track 00 [video_0] Enabled                                                  
                                                                                
        Duration: 0:00:06.973633000                                             
                                                                                
        Language: und                                                           
                                                                                
    Mime:                                                                       
                                                                                
        video/mpeg, systemstream=(boolean)false, parsed=(boolean)true, mpegversi
on=(int)4, width=(int)720, height=(int)720, framerate=(fraction)30000/1001, code
c_data=(buffer)000001b001000001b58913000001000000012000c48d8ba98516845a146300000
1b24c61766335372e3130322e313030                                                 
                                                                                
                                                                                
------------------------                                                        
                                                                                
------------------------                                                        
                                                                                
    Track 01 [audio_0] Enabled                                                  
                                                                                
        Duration: 0:00:07.000816000                                             
                                                                                
        Language: und                                                           
                                                                                
    Mime:                                                                       
                                                                                
        audio/mpeg, mpegversion=(int)1, channels=(int)2, rate=(int)44100, bitrat
e=(int)0                                                                        
                                                                                
                                                                                
------------------------                                                        
                                                                                
[  375.432372] [VPU Decoder]     firmware version is 1.3.1                      
                                                                                
                                                                                
                                                                                
====== BEEP: 4.4.5 build on May 20 2019 10:18:00. ======                        
                                                                                
        Core: MP3 decoder Wrapper  build on Jan 11 2018 10:20:25                
                                                                                
 file: /usr/lib/imx-mm/audio-codec/wrap/lib_mp3d_wrap_arm_elinux.so.3           
                                                                                
CODEC: BLN_MAD-MMCODECS_MP3D_ARM_02.13.01_ARMV8  build on Jan 11 2018 10:05:45.
                                                                                
                                                                                
                                                                                
===!!! Current pulsesink device is auto_null !!!===                             
                                                                                
                                                                                
                                                                                
[  380.777560] [VPU Decoder]      warn: wait_event_interruptible_timeout wait 5s
 timeout                        

0 Kudos
2 Replies

1,026 Views
zbm030823
Contributor II

Hi  igorpadykov,
 Thanks.Gstreamer is already included, for I can use gplay command to play video below.But when I use qml mediaplayer to play video, it failed.

   

root@imx8qmmek:/run/media/mmcblk1p3/videos# gplay-1.0 car.avi                   
                                                                                
                                                                                
                                                                                
FSL_GPLAY2_01.00_LINUX build on May 20 2019 10:18:11                            
                                                                                
                                                                                
                                                                                
Set VideoSink imxvideoconvert_g2d ! queue ! waylandsink                         
                                                                                
Set TextSink fakesink                                                           
                                                                                
                                                                                
                                                                                
====== AIUR: 4.4.5 build on May 20 2019 10:17:54. ======                        
                                                                                
        Core: AVI_PARSER_03.06.06  build on Feb 25 2019 02:36:36                
                                                                                
 file: /usr/lib/imx-mm/parser/lib_avi_parser_arm_elinux.so.3.1                  
                                                                                
------------------------                                                        
                                                                                
    Track 00 [video_0] Enabled                                                  
                                                                                
        Duration: 0:00:06.973633000                                             
                                                                                
        Language: und                                                           
                                                                                
    Mime:                                                                       
                                                                                
        video/mpeg, systemstream=(boolean)false, parsed=(boolean)true, mpegversi
on=(int)4, width=(int)720, height=(int)720, framerate=(fraction)30000/1001, code
c_data=(buffer)000001b001000001b58913000001000000012000c48d8ba98516845a146300000
1b24c61766335372e3130322e313030                                                 
                                                                                
                                                                                
------------------------                                                        
                                                                                
------------------------                                                        
                                                                                
    Track 01 [audio_0] Enabled                                                  
                                                                                
        Duration: 0:00:07.000816000                                             
                                                                                
        Language: und                                                           
                                                                                
    Mime:                                                                       
                                                                                
        audio/mpeg, mpegversion=(int)1, channels=(int)2, rate=(int)44100, bitrat
e=(int)0                                                                        
                                                                                
                                                                                
------------------------                                                        
                                                                                
[   71.896696] [VPU Decoder]     firmware version is 1.3.1                      
                                                                                
                                                                                
                                                                                
====== BEEP: 4.4.5 build on May 20 2019 10:18:00. ======                        
                                                                                
        Core: MP3 decoder Wrapper  build on Jan 11 2018 10:20:25                
                                                                                
 file: /usr/lib/imx-mm/audio-codec/wrap/lib_mp3d_wrap_arm_elinux.so.3           
                                                                                
CODEC: BLN_MAD-MMCODECS_MP3D_ARM_02.13.01_ARMV8  build on Jan 11 2018 10:05:45.
                                                                                
                                                                                
                                                                                
===!!! Current pulsesink device is auto_null !!!===                             
                                                                                
                                                                                
                                                                                
                                                                                
[Stop (No Repeated)][Vol=1.0][00:00:00/00:00:07]=========== fsl_player_play() ==
================                                                                
                                                                                
                                                                                
                                                                                
FSL_GPLAY2_01.00_LINUX build on May 20 2019 10:18:11                            
                                                                                
        [h]display the operation Help                                           
                                                                                
        [p]Play                                                                 
                                                                                
        [s]Stop                                                                 
                                                                                
        [e]Seek                                                                 
                                                                                
        [a]Pause when playing, play when paused                                 
                                                                                
        [v]Volume                                                               
                                                                                
        [m]Switch to mute or not                                                
                                                                                
        [>]Play next file                                                       
                                                                                
        [<]Play previous file                                                   
                                                                                
        [r]Switch to repeated mode or not                                       
                                                                                
        [u]Select the video track                                               
                                                                                
        [d]Select the audio track                                               
                                                                                
        [b]Select the subtitle track                                            
                                                                                
        [f]Set full screen                                                      
                                                                                
        [z]resize the width and height                                          
                                                                                
        [t]Rotate                                                               
                                                                                
        [c]Setting play rate                                                    
                                                                                
        [i]Display the metadata                                                 
                                                                                
        [x]eXit                                                                 
                                                                                
State changed: buffering                                                        
                                                                                
State changed: playing                                                          
                                                                                
                                                                                
[Playing (No Repeated)][Vol=1.0][00:00:00/00:00:07]                             
[Playing (No Repeated)][Vol=1.0][00:00:00/00:00:07]                             
[Playing (No Repeated)][Vol=1.0][00:00:00/00:00:07]                             
[Playing (No Repeated)][Vol=1.0][00:00:01/00:00:07]                             
[Playing (No Repeated)][Vol=1.0][00:00:02/00:00:07]                             
[Playing (No Repeated)][Vol=1.0][00:00:03/00:00:07]                             
[Playing (No Repeated)][Vol=1.0][00:00:04/00:00:07]                             
[Playing (No Repeated)][Vol=1.0][00:00:05/00:00:07]                             
[Playing (No Repeated)][Vol=1.0][00:00:06/00:00:07]EOS Found                    
                                                                                
getNextItem No next item!                                                       
                                                                                
No more media file, exit gplay!                                                 
                                                                                
State changed: stopped                                                          
                                                                                
FSL_PLAYER_UI_MSG_EXIT                                                          
                                                                                
Total showed frames (203), playing for (0:00:06.974473000), fps (29.106).       
                                                                                
Exit display thread                                                             
                                                                                
fsl_player_deinit

0 Kudos

1,026 Views
igorpadykov
NXP Employee
NXP Employee

Hi zhu

please note that this part is not publicly released yet and not all

features are supported, general steps are provided on

Installing GStreamer on I.MX8QM 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos