I have upgraded my Qt installation from 5.3.2 to 5.4.1 and I find that I can no longer play back audio.
I am using QMediaPlayer to play an mp3 file back. The only thing that has changed in my iMX6 file system is the Qt version. Gstreamer and everything else is the same (version 0.1). "gplay" works fine for playing back the mp3 file. I am using pulseaudio and the normal sgtl5000 audio output (not HDMI audio).
Does anyone know why I can no longer play back audio files in Qt with QMediaPlayer?
Here is the output for reference:
# /usr/local/prototypes/qt_multimedia_test /usr/sample0.mp3
argc 3 /usr/sample0.mp3
Device name: "sysdefault:CARD=imxhdmisoc"
imx-hdmi-audio imx-hdmi-audio: HDMI Video is not ready!
imx-hdmi-audio imx-hdmi-audio: ASoC: can't open platform imx-hdmi-audio: -22
List size = 0
Device name: "default:CARD=imxhdmisoc"
imx-hdmi-audio imx-hdmi-audio: HDMI Video is not ready!
imx-hdmi-audio imx-hdmi-audio: ASoC: can't open platform imx-hdmi-audio: -22
List size = 0
Device name: "sysdefault:CARD=imx6dlcolorsour"
List size = 0
Device name: "default:CARD=imx6dlcolorsour"
List size = 0
Device name: "default"
imx-hdmi-audio imx-hdmi-audio: HDMI Video is not ready!
imx-hdmi-audio imx-hdmi-audio: ASoC: can't open platform imx-hdmi-audio: -22
List size = 0
Device name: "alsa_output.0.analog-stereo"
List size = 1
Codec found: "audio/pcm"
Play "/usr/sample0.mp3"
(gst-plugin-scanner:267): GStreamer-CRITICAL **: gst_element_class_add_pad_template: assertion 'GST_IS_PAD_TEMPLATE (templ)' failed
(gst-plugin-scanner:267): GStreamer-WARNING **: Failed to load plugin '/usr/lib/imx-mm/audio-codec/lib_src_ppp_arm11_elinux.so': /usr/lib/imx-mm/audio-codec/lib_src_ppp_arm11_elinux.so: undefined symbol: src_up2_prefilter_proc
QMultimedia::AvailabilityStatus is 0
QObject::startTimer: Timers can only be used with threads started with QThread
Beep: 3.0.11
Core: MP3 decoder Wrapper build on Dec 25 2013 23:51:27
mime: audio/mpeg, mpegversion = (int)1
file: /usr/lib/imx-mm/audio-codec/wrap/lib_mp3d_wrap_arm12_elinux.so.3
CODEC: BLN_MAD-MMCODECS_MP3D_ARM_02.13.00_CORTEX-A8 build on Dec 5 2012 09:45:19.
the issue only happens on the qt5.4.1? what bsp version you use?