Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > General > Audio encoding

Reply
 
Thread Tools Search this Thread Display Modes
Old 7th July 2009, 14:25   #1  |  Link
bur
Registered User
 
Join Date: Jul 2005
Posts: 103
Lame only reads part of aac file

I have an m4b file that I wanted to convert to mp3 to be able to play it on my cellphone. I extracted the aac stream with YAMB and then tried to convert the aac file with lame, but the result was a small file with only about 23 min playtime instead of 8h 30min.

I also noticed that when playing the aac in Winamp the remaining playtime skips all the time and Winamp doesn't seem to know when the file will end. If just left playing it plays it to the end, you just can't fast forward to some regions.

Is that a known behaviour for aac files with variable bitrate (or do they all have variable bitrate)? And is there any way to transcode the file besides doing an "what-you-hear"-recording? Maybe the header needs fixing because the stream came from an m4b file?


edit: I told YAMB now to extract to mp4 instead of raw stream. The resulting file works in Winamp, playtime is shown properly, fast forward works, but still Lame only encodes the first 52xxx frames of the file.

Last edited by bur; 7th July 2009 at 14:29.
bur is offline   Reply With Quote
Old 7th July 2009, 14:30   #2  |  Link
buzzqw
HDConvertToX author
 
Join Date: Nov 2003
Location: Cesena,Italy
Posts: 6,552
lame support aac input ???

better to decode to wav first

BHH
__________________
HDConvertToX: your tool for BD backup
MultiX264: The quick gui for x264
AutoMen: The Mencoder GUI
AutoWebM: supporting WebM/VP8
buzzqw is offline   Reply With Quote
Old 7th July 2009, 14:34   #3  |  Link
smok3
brontosaurusrex
 
smok3's Avatar
 
Join Date: Oct 2001
Posts: 2,392
or use foobar2000, afaik you should be able to go directly from mp4 to mp3.
__________________
certain other member
smok3 is offline   Reply With Quote
Old 7th July 2009, 15:40   #4  |  Link
bur
Registered User
 
Join Date: Jul 2005
Posts: 103
Quote:
lame support aac input ???
It seems so, at least it accepts the input file and also produces a sort of proper output.

Quote:
or use foobar2000, afaik you should be able to go directly from mp4 to mp3.
Are all the mp3 encoding options like vbr available there?

Anyway I'd rather use a small tool for converting mp4 to wav instead of installing a whole audio player. Yes, I know foobar is better than WInamp...


edit 1: I saved the mp4 as wav with Winamp and am now encoding the wave file with lame. It seems like all works now.

edit 2: lame completed and the file seems okay, but it says 1142149/6734553 (17%) on the frame count. I don't know why this happened, but it doesn't seem to have any impact on the result...

Last edited by bur; 7th July 2009 at 16:17.
bur is offline   Reply With Quote
Old 14th January 2012, 15:24   #5  |  Link
Gew
Observer
 
Gew's Avatar
 
Join Date: Jul 2008
Location: Kingston, Jamaica.
Posts: 113
Pretty much the same issue with recent LAME.

I know this is somewhat a long bump, yet it seems this is still an issue. I'm sitting here with the Win32 build that comes out of lame3.98.4-libsndfile.zip (RareWares). I know this build is officially supporting FLAC input. That was also all I thought it would do. Anyway, just for kicks, I tried a fool's game:
Code:
lame.exe -v input.mp4 output.mp3
I was expecting something like "Unsupported input", but it actually went on with the encode, read sample rate and all. However, my input AAC stream was almost half an hour, but the produced MP3 was less than four minutes. Any ideas why this is?

Cheers!
Gew is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 20:56.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.