Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 36

Thread: Adaptive Multi Rate (AMR) decoder

  1. #11
    Join Date
    Dec 2008
    Location
    Pennsylvania, USA
    Beans
    136
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: Adaptive Multi Rate (AMR) decoder

    Quote Originally Posted by mc4man View Post
    amr support in gstreamer will be available in lucid thru the ugly plugin and the opencore libs though I wouldn't expect jaunty or karmic to be updated there.
    Ironically the lucid ffmpeg does not support amr and unless some changes are made won't.

    Is is quite easy and possible to build the new ugly plugin in karmic, just did and totem/rhythmbox now plays amr audio (3gp) with no issues


    (( very easy to build as a .deb and replace the current karmic ver.
    By all means, please give instructions on how to do this.

  2. #12
    Join Date
    Jun 2007
    Beans
    17,337

    Re: Adaptive Multi Rate (AMR) decoder

    give instructions on how to do this.
    Note edit - gstreamer ppa

    Note that I haven't bothered to see if there were any ill/unexpected results though all seems fine. If for any reason seems unsuitable then just remove and re-install karmic package.

    ( over the last day or so, while testing some ways to keep totem-xine alive in karmic and lucid, have come to dislike totem-gstreamer and gstreamer in general even more than before, if that's even possible. ( do have totem-xine going good in karmic and for the moment lucid

    Anyway...
    As far as build-deps you're a bit on your own, never hurts to run
    Code:
    sudo apt-get install build-essential
    this should help add a bit more
    Code:
    sudo apt-get build-dep gstreamer0.10-plugins-ugly
    Also install if not already
    Code:
    sudo apt-get install dpkg-dev fakeroot libopencore-amrnb-dev libopencore-amrwb-dev
    Once you have the source look in /debian/control and or /debian/build-deps for list if needed to d.ck.

    Code:
    mkdir gstugly && cd gstugly
    Code:
    wget http://archive.ubuntu.com/ubuntu/pool/universe/g/gst-plugins-ugly0.10/gst-plugins-ugly0.10_0.10.13.orig.tar.gz
    Edit: the next 2 wgets are good till the plugin updates in lucid, if it does, ck. ver. #'s here

    Code:
    wget http://archive.ubuntu.com/ubuntu/pool/universe/g/gst-plugins-ugly0.10/gst-plugins-ugly0.10_0.10.13-2.dsc
    Code:
    wget http://archive.ubuntu.com/ubuntu/pool/universe/g/gst-plugins-ugly0.10/gst-plugins-ugly0.10_0.10.13-2.diff.gz
    Code:
    dpkg-source -x *.dsc
    Code:
    cd gst-plugins-ugly0.10-0.10.13
    double ck. your build-deps, then (I use debuild, but this should suffice

    Code:
    dpkg-buildpackage -rfakeroot -D -us -uc
    If there are any errors than you are missing some build-dep(s), correct and try again

    from my build log (see no point in the x264 plugin (encoding
    configure: *** Plug-ins without external dependencies that will be built:
    asfdemux
    dvdlpcmdec
    dvdsub
    iec958
    mpegaudioparse
    mpegstream
    realmedia

    configure: *** Plug-ins without external dependencies that will NOT be built:
    synaesthesia

    configure: *** Plug-ins with dependencies that will be built:
    a52dec
    amrnb
    amrwbdec
    cdio
    dvdreadsrc
    lame
    mad
    mpeg2dec
    sid
    twolame

    configure: *** Plug-ins with dependencies that will NOT be built:
    x264
    If the build fails (shouldn't if all deps are installed ) then you could after squaring away the debs, either try the final build command again, or run a make distclean first or just delete the gst-plugins-ugly0.10-0.10.13 folder and at the ~/gstugly prompt start back at the dpkg-source command

    Just install (d.click on) the highlighted .deb in screen (did a quick test of commands here to ck.

    edit: karmic sometimes needs a restart for things to take effect

    no need to build - this ppa will give karmic the newer gstreamer plugins (inc. wma3

    https://launchpad.net/~gstreamer-dev...s/+archive/ppa
    Attached Images Attached Images
    Last edited by mc4man; March 16th, 2010 at 02:14 PM. Reason: ppa for karmic

  3. #13
    Join Date
    May 2007
    Beans
    3

    Re: Adaptive Multi Rate (AMR) decoder

    My solution for this problem is without compiling, backporting or apt-pinning.
    Install two packages from Lucid: libcdio10 & gstreamer0.10-plugins-ugly, following the next steps:

    1. Download these two packages for your architecture (i386/amd64):


    2. Installation
    a. (karmic)
    Code:
    sudo apt-get install libopencore-amrnb0 libopencore-amrwb0
    b. (lucid)
    Code:
    sudo dpkg -i libcdio10_0.81-4_amd64.deb
    sudo dpkg -i gstreamer0.10-plugins-ugly_0.10.13-2_amd64.deb
    regards
    Last edited by alveola; January 10th, 2010 at 02:24 PM. Reason: error corrected: libopencore-amrwb0 -> libopencore-amrnb0

  4. #14
    Join Date
    Sep 2009
    Beans
    2

    Re: Adaptive Multi Rate (AMR) decoder

    This worked for me. Thank you!! (64-bit karmic koala)

    ***********

    My solution for this problem is without compiling, backporting or apt-pinning.
    Install two packages from Lucid: libcdio10 & gstreamer0.10-plugins-ugly, following the next steps:

    1. Download these two packages for your architecture (i386/amd64):
    libcdio10
    gstreamer0.10-plugins-ugly

    2. Installation
    a. (karmic)
    Code:
    sudo apt-get install libopencore-amrnb0 libopencore-amrwb0
    b. (lucid)
    Code:
    sudo dpkg -i libcdio10_0.81-4_amd64.deb
    sudo dpkg -i gstreamer0.10-plugins-ugly_0.10.13-2_amd64.deb

  5. #15
    Join Date
    Nov 2009
    Location
    Croatia/Hrvatska
    Beans
    492
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: Adaptive Multi Rate (AMR) decoder

    thanks man!! this worked for me too (karmic x64)

  6. #16
    Join Date
    Jun 2007
    Beans
    14,793

    Re: Adaptive Multi Rate (AMR) decoder

    Easiest way to get updated gstreamer for karmic: https://launchpad.net/~gstreamer-dev...s/+archive/ppa

  7. #17
    Join Date
    Jan 2008
    Location
    Poland
    Beans
    117
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: Adaptive Multi Rate (AMR) decoder

    Thanks alveola!
    I tried all the other solutions and none helped, not even realplayer which either "played" the file with no sound, or crashed. I can now play my phone files in Totem (for the FIRST time, previously I converted them with Mobile Media Converter). And I'm going to remove realplayer and other trash . Even MPlayer, which I don't use (and don't particularly like, though it may sound like blasphemy to some .
    "Only those who risk going too far can possibly find out how far they can go"

  8. #18
    Join Date
    Dec 2006
    Beans
    7,349

    Re: Adaptive Multi Rate (AMR) decoder

    Hi boddhisatva,

    Quote Originally Posted by boddhisatva View Post
    Even MPlayer, which I don't use (and don't particularly like, though it may sound like blasphemy to some .
    Mind you it does not take much to get MPlayer to play these files:

    Code:
    andrew@skamandros~$ mplayer -ac help | grep amr
    ffamrnb     ffmpeg    working   AMR Narrowband  [libopencore_amrnb]
    ffamrwb     ffmpeg    working   AMR Wideband  [libopencore_amrwb]
    Andrew
    You think that's air you're breathing now?

  9. #19
    Join Date
    Jan 2008
    Location
    Poland
    Beans
    117
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: Adaptive Multi Rate (AMR) decoder

    Sorry Andrew, it ain't so, not here anyway.

    1. Code:
    Code:
    pawel@pawel-desktop:~$ mplayer -ac help | grep amr
    
    ffamrnb     ffmpeg    working   AMR Narrowband  [libamr_nb]
    ffamrwb     ffmpeg    working   AMR Wideband  [libamr_wb]
    2. MPlayer:

    "Only those who risk going too far can possibly find out how far they can go"

  10. #20
    Join Date
    Dec 2006
    Beans
    7,349

    Re: Adaptive Multi Rate (AMR) decoder

    Hi boddhisatva,

    Quote Originally Posted by boddhisatva View Post
    Sorry Andrew, it ain't so, not here anyway
    Try installing libavcodec-extra-52 from Medibuntu, this should enable amr playback for MPlayer under Karmic Koala. The following command will grab this package + MPlayer + SMPlayer:

    Code:
    sudo wget http://www.medibuntu.org/sources.list.d/$(lsb_release -cs).list \
     --output-document=/etc/apt/sources.list.d/medibuntu.list &&
    sudo apt-get -q update &&
    sudo apt-get --yes -q --allow-unauthenticated install medibuntu-keyring &&
    sudo apt-get -q update && \
    sudo apt-get -y install libavcodec-extra-52 mplayer-nogui smplayer
    You would be well advised to also grab either w32codecs or w64codecs depending on the architecture of your Ubuntu installation (not necessary for amr playback). I attach a screenshot of my Karmic system happily playing this 3gp file:

    Code:
    wget http://www.andrews-corner.org/samples/Rammstein_Du_Hast.3gp
    but I guess you have to imagine the sound

    All the best,

    Andrew
    Attached Images Attached Images
    Last edited by andrew.46; January 25th, 2010 at 07:30 AM.
    You think that's air you're breathing now?

Page 2 of 4 FirstFirst 1234 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •