c - Gstreamer Playbin could not determine type of stream -


i trying create audio application in linux using gstreamer 1.0. main issue i'm having running

gst-launch-1.0 playbin uri="file:///home/root/documents/mp3/songs/test.mp3"  

results in error,

error: element /gstplaybin:playbin0/gsturidecodebin:uridecodebin0/gstdecodebin:decodebin0/gsttypefindelement:typefind: not determine type of stream. additional debug info: gsttypefindelement.c(1067): gst_type_find_element_loop (): /gstplaybin:playbin0/gsturidecodebin:uridecodebin0/gstdecodebin:decodebin0/gsttypefindelement:typefind error: pipeline doesn't want preroll. 

i have mad plugin installed audio decoder. plugins have installed:

playback:  playbin: player bin 2 playback:  playsink: player sink playback:  streamsynchronizer: stream synchronizer playback:  decodebin: decoder bin playback:  uridecodebin: uri decoder mad:  mad: mad mp3 decoder 

if run

gst-launch-1.0 filesrc location=test.mp3 ! mad ! pulsesink  

the audio runs flawlessly want playbin work. experienced gstreamer users know whats going on?


Comments

Popular posts from this blog

node.js - Mongoose: Cast to ObjectId failed for value on newly created object after setting the value -

[C++][SFML 2.2] Strange Performance Issues - Moving Mouse Lowers CPU Usage -

ios - Possible to get UIButton sizeThatFits to work? -