Giter Site home page Giter Site logo

gstmpg123's People

Contributors

dv1 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

gstmpg123's Issues

Usage Question

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.