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
Post a Comment