Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
i only want to encode audio in mencoder!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Soat
n00b
n00b


Joined: 30 May 2004
Posts: 53
Location: Glastonbury, CT

PostPosted: Sun May 30, 2004 11:51 am    Post subject: i only want to encode audio in mencoder! Reply with quote

Yep, its me again. Lets see if we can go two for two.

Special thanks to georwell for teaching me the ways of moving files effortlessly. Now to the ugly stuff. (I figure I'd make it a different thread in the rare event that this is a major issue a lot of other newbies need to deal with.)

As I stated in my last post, I'm trying to encode AAC to OGG, for use on my mp3 player. Mencoder can supposedly do this - but it keeps telling me a video file is mandatory for any of it to happen. Of course, I have no idea how I should be going about it, but

Code:
mencoder foo.m4a foo.ogg


gives me

Code:
MEncoder 1.0pre4-3.3.3 (C) 2000-2004 MPlayer Team
 
CPU: Intel Pentium 4/Xeon/Celeron Foster 2999 MHz (Family: 8, Stepping: 9)
Detected cache-line size is 64 bytes
MMX supported but disabled
MMX2 supported but disabled
SSE supported but disabled
SSE2 supported but disabled
CPUflags: Type: 8 MMX: 0 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions:
 
Reading /home/soat/.mplayer/codecs.conf: Can't open '/home/soat/.mplayer/codecs.conf': No such file or directory
Reading /usr/share/mplayer/codecs.conf: 66 audio & 176 video codecs
File not found: 'frameno.avi'
Failed to open frameno.avi
Reading config file /home/soat/.mplayer/mencoder: No such file or directory
font: can't open file: /home/soat/.mplayer/font/font.desc
Font /usr/share/mplayer/font/font.desc loaded successfully! (206 chars)
success: format: 0  data: 0x0 - 0x24385E
ISO: File Type Major Brand: Apple iTunes AAC-LC Audio
QuickTime/MOV file format detected.
--------------
MOV track #0: 397 chunks, 8336 samples
Audio bits: 16  chans: 2  rate: 44100
MOV: Found MPEG4 audio Elementary Stream Descriptor atom (51)!
Fourcc: mp4a
--------------
MOV: longest streams: A: #0 (8336 samples)  V: #-1 (0 samples)
Video stream is mandatory!
Exiting...


I've looked everywhere, and no site or past post has given me a clear cut way of encoding just audio. Should I be using something else (transcode perhaps) ?

As always, thanks for making my life easier.
_________________
If at first you don't succeed, complain to the nearest linux guru.
Back to top
View user's profile Send private message
Soat
n00b
n00b


Joined: 30 May 2004
Posts: 53
Location: Glastonbury, CT

PostPosted: Sun May 30, 2004 12:00 pm    Post subject: Reply with quote

Sorry, I just realized this is much more suited for Multimedia.
_________________
If at first you don't succeed, complain to the nearest linux guru.
Back to top
View user's profile Send private message
lbrtuk
l33t
l33t


Joined: 08 May 2003
Posts: 910

PostPosted: Sun May 30, 2004 9:07 pm    Post subject: Reply with quote

Mencoder really is meant for video. Using it for audio only really overcomplicates it for yourself.

The simplest way of doing it is using faad* to convert it into a wav and then oggenc to turn that wav into an ogg.

* - I don't know much about AAC, I just guess this is what to use.

ps- Converting a file from one lossy audio codec to another is not a recommended operation. You will lose a lot of quality.
Back to top
View user's profile Send private message
Soat
n00b
n00b


Joined: 30 May 2004
Posts: 53
Location: Glastonbury, CT

PostPosted: Mon May 31, 2004 4:08 am    Post subject: Reply with quote

I got dBPowerAmp working in wine, and it runs near-flawlessly (just a speed decrease on the file selection prompt). It works pretty fast for the amount of work I'm giving it. Thanks though; I'll play around with those tools and see if I can up my time.

I know the reencoding will drop generations in the audio, but for my intentive purposes, it won't really matter. dBPA has already gone through about half my music, and it sounds almost as good as it did before. On an mp3 player, it'll be even less noticible (thanks to the lovely headphones that come with the Neuros :D ).
_________________
If at first you don't succeed, complain to the nearest linux guru.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum