Results 1 to 7 of 7

Thread: Audo Recorder shows wrong song time

  1. #1
    Join Date
    Jan 2009
    Beans
    4

    Audo Recorder shows wrong song time

    I use Audio Recorder to record audio from utube. The last few times I have used it, it comes up with the wrong time length for the song. The song might be 3 min. and it will show 25 min. song length in Audacious. Is there any way to change this. It used to work right but now it doesn’t. I can not find a version #. When I play in Audacious it shows the correct play time, but the total time for the play list is way off. Any Ideas.
    JIm

  2. #2
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Audo Recorder shows wrong song time

    Skip the recording. Use youtube-dl to grab just the audio, then edit the files using whatever audio ending you want. Best to get youtube-dl from github, not the Ubuntu repos, since it will need to be updated with every change to youtube.

  3. #3
    Join Date
    Jan 2006
    Location
    Palmela, Portugal
    Beans
    660

    Re: Audo Recorder shows wrong song time

    Hello,
    Audio-recorder uses Gstreamer to do the recording job.

    You can easily debug and test the actual recording command.
    1) Start Audio-recorder and go to [Additional settings] and select "Recording commands" tab.

    2) Press the [Show Cmd] button to see the selected recording command.

    3) Then run the presented "gst-launch-1.0 -e pulsesrc... bla.. bla..." command in a terminal window (press Cntr + T) to test if it works right with timing and timestamps.

    You may need to install "gstreamer1.0-tools" package first. It contains the gst-launch-1.0 command. Run:
    sudo apt install gst-launch-1.0

    Let us know.
    I am the programmer of Ar.
    Ref: https://launchpad.net/~audio-recorder
    Last edited by moma; October 22nd, 2017 at 05:57 PM.

  4. #4
    Join Date
    Jan 2006
    Location
    Palmela, Portugal
    Beans
    660

    Re: Audo Recorder shows wrong song time

    Re-hello,
    Edit the MP3 pipeline and remove "! xingmux ! id3mux" from the tail. Press save.
    The xingmux may be the cause of erroneous recording length.

    Do this:
    Start Audio-recorder and go to [Additional settings] and select "Recording commands" tab.
    Select mp3 and edit the pipeline. Remove "! xingmux ! id3mux" and save.

  5. #5
    Join Date
    Mar 2018
    Beans
    2

    Re: Audo Recorder shows wrong song time

    I tried removing the xingmux and id3mux and that didnt work. I increased quality from 2 to 0 while I was there. The problem is audio-recorder uses vbr but isnt sure how long the file will last while you are recording. When you hit the stop button it stops instantly but doesnt update the length properly and the length is determined incorrectly because of vbr somehow. I used to fix this on my windows box using a vb app called vbrfix, but there is a linux version in the universe repository now. The instructions are as follows.

    sudo apt-get install vbrfix

    vbrfix is a command line tool. To use it, open a terminal window and navigate to the directory containing the files that you want to fix. Then, issue the command:
    vbrfix in-file.mp3 out-file.mp3

    Where in-file.mp3 is the file to be fixed and out-file.mp3 is the fixed version of that file. You can also allow it to overwrite the old file with the newer, fixed version. Simply use the same file name for output as you use for input.
    vbrfix file-name.mp3 file-name.mp3

    Now, if you would like to fix and overwrite all of the MP3 files in your working directory, you can use a loop like this. Note: this assumes your file extensions are all in lower case (.mp3).
    for i in *.mp3; do vbrfix $i $i; done

    I've never had a problem with vbrfix, but you might consider first copying your files to another directory make sure you don't screw up your original files.

    That was a copy paste from tuxtweaks. It is working for me now on both windows and linux. Still using winamp. Still whips the llamas ass.
    http://tuxtweaks.com/2012/03/fixing-variable-bit-rate-mp3s-with-vbrfix/


    Last edited by bigmell3; March 11th, 2018 at 01:08 PM.

  6. #6
    Join Date
    Mar 2018
    Beans
    2

    Re: Audo Recorder shows wrong song time

    well you can try this software:
    https://audio-recorder.en.softonic.com/

  7. #7
    Join Date
    Jun 2007
    Beans
    17,337

    Re: gstreamer shows wrong song time in mp3

    Nothing to do with audio-recorder, it's a longstanding flaw in gstreamer. At this point removing xingmux ! id3mux is ineffectual.
    Best way to get good mp3 thru ar is to record to .wav or flac, then use lame to encode which has no such issues.

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
  •