Difference between "vpudec" and "imxvpudec"?

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

Difference between "vpudec" and "imxvpudec"?

755 Views
shiva_mudugal
Contributor I

Hi All,

What is the difference between "vpudec" and "imxvudec". I also observer that some avi files doesn't work with "imvpudec" when we play using "playbin", we get below error.

But the same file works with "vpudec". Any help would be much appreciated. Am using below version of gstreamer-imx

Name imxvpu
Description video en- and decoder elements using the Freescale i.MX VPU
Filename /usr/lib/gstreamer-1.0/libgstimxvpu.so
Version 0.12.2
License LGPL
Source module gstreamer-imx
Binary package Unknown package release
Origin URL Unknown package origin

root@imx6dlsabrebavn:~# gst-launch-1.0 playbin uri=file:///media/usb/F2F4-0D11/test/videoUSB/MusicVideo/BLACKPINK\ -\ \'FOREVER\ YOUNG\'\ FMV.avi video-sink="imxipuvideosink alpha=0"
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...

====== AIUR: 4.1.4 build on Sep 10 2018 09:55:25. ======
Core: AVI_PARSER_03.05.26 build on Aug 12 2016 06:15:51
file: /usr/lib/imx-mm/parser/lib_avi_parser_arm11_elinux.so.3.1
------------------------
Track 00 [video_0] Enabled
Duration: 0:04:04.827916000
Language: und
Mime:
video/mpeg, systemstream=(boolean)false, parsed=(boolean)true, mpegversion=(int)2, width=(int)800, height=(int)480, framerate=(fraction)24000/1001
------------------------
------------------------
Track 01 [audio_0] Enabled
Duration: 0:04:04.897959000
Language: und
Mime:
audio/mpeg, mpegversion=(int)1, channels=(int)2, rate=(int)44100, bitrate=(int)0
------------------------
ERROR: from element /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstAiurDemux:aiurdemux0: GStreamer encountered a general stream error.
Additional debug info:
../../../imx-gst1.0-plugin-4.1.4/plugins/aiurdemux/aiurdemux.c(1015): aiurdemux_pull_task (): /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstAiurDemux:aiurdemux0:
streaming stopped, reason not-negotiated, state 3
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...

-Regards

Shiva Kumar M S

0 Kudos
2 Replies

663 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hi Shiva,

gst-inspect | grep imx

aiur.imx: webm: webm

aiur.imx:  aiurdemux: aiur universal demuxer

....

isink.imx:  mfw_isink: IPU-based video sink

vpu.imx:  vpudec: VPU-based video decoder

vpu.imx:  vpuenc: VPU-based video encoder

imxvpudec : video decoder plugin

Regards

0 Kudos

663 Views
shiva_mudugal
Contributor I

Hi,

Am not getting what you are trying to convey. What I wanted to know was "vpudec" and "imxvpudec" both are based on vpu, are they both hardware decoders, if so what is the difference between them.

I have another question, as I mentioned, some avi files are not playing with "imxvpudec", I have highlighted the error, but they play with vpudec. Is this known issue with "imxvpudec".

-Regards,

Shiva

0 Kudos