dv1 / gstmpg123 Goto Github PK
View Code? Open in Web Editor NEWmpg123 decoder plugin for GStreamer
License: GNU Lesser General Public License v2.1
mpg123 decoder plugin for GStreamer
License: GNU Lesser General Public License v2.1
Hello,
First off, thank you for creating this! Second I am not sure if this is the correct place to post this or not, I just have a usage question. I have built without issue but cannot seem to get a pipeline to run : /. I am trying from the command line and i am using GStreamer 0.10.36 and MPG123 1.22.1. I have everything cross-compiled for ARM. Here are the commands i am trying:
gst-launch-0.10 filesrc location=jcash_hurt.mp3 ! mpg123 ! audioconvert ! alsasink device=allx
This one gives the following error:
Setting pipeline to PAUSED ... Pipeline is PREROLLING ... ERROR: from element /GstPipeline:pipeline0/GstMpg123:mpg1230: The stream is in the wrong format. Additional debug info: ../../src/gstmpg123-0_10.c(425): gst_mpg123_handle_frame (): /GstPipeline:pipeline0/GstMpg123:mpg1230: Output sample format could not be used when trying to decode frame. This is typically caused when the input caps (often the sample rate) do not match the actual format of the audio data. Input caps: <mpg1230:sink> ERROR: pipeline doesn't want to preroll. Setting pipeline to NULL ... Caught SIGSEGV accessing address (nil) exec gdb failed: No such file or directory Spinning. Please run 'gdb gst-launch 1785' to continue debugging, Ctrl-C to quit, or Ctrl-\ to dump core.
Then if i declare the caps:
gst-launch-0.10 filesrc location=jcash_hurt.mp3 ! 'audio/mpeg,mpegversion=1,layer=3,rate=44100,channels=2' ! mpg123 ! audioconvert ! alsasink device=allx
It runs with no errors, but the pipeline completes in a few seconds and no output is heard : (.
I am not sure if i am doing something wrong or what. The pipeline works fine if i use mad:
gst-launch-0.10 filesrc location=jcash_hurt.mp3 ! mad ! audioconvert ! alsasink device=allx
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.