LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-06-2004, 01:49 AM   #1
bendeco13
Member
 
Registered: Oct 2004
Distribution: Fedora 7
Posts: 232

Rep: Reputation: 30
mplayer .ra (lame enc error bitrates>160kb/s)


When I use mplayer to decode .ra files,
They decode and play perfectly, but when I go to encode this with lame (at 192kb/s) I get an error message and the created files have a filesize of 0. I tried to encode at different bitrates and it seemed as if everything below 160kb/s worked...

Does it have something to do with this...

MPEG-1 layer III sample frequencies (kHz): 32 48 44.1
bitrates (kbps): 32 40 48 56 64 80 96 112 128 160 192 224 256 320

MPEG-2 layer III sample frequencies (kHz): 16 24 22.05
bitrates (kbps): 8 16 24 32 40 48 56 64 80 96 112 128 144 160

MPEG-2.5 layer III sample frequencies (kHz): 8 12 11.025
bitrates (kbps): 8 16 24 32 40 48 56 64 80 96 112 128 144 160

When I decode .wma files with mplayer the .wav file will encode with lame at bitrates greater than 160kb/s, so why won't .ra files.....
all I can think of is the codecs.....
Could it be anything else?
I'm gonna try a reinstallation of mplayer and see if that helps...

Thanks in advance
 
Old 11-06-2004, 03:01 AM   #2
bendeco13
Member
 
Registered: Oct 2004
Distribution: Fedora 7
Posts: 232

Original Poster
Rep: Reputation: 30
Well... I recompiled mplayer and it still don't work....
any ideas?

oh yea....guess this might help...

here's the commands I'm using:

mplayer -really-quiet -nojoystick -noconsolecontrols "$list" -ao pcm -aofile "${list%%.*}.wav"
lame -b $BITRATE -h -t "${list%%.*}.wav" "${list%%.*}.mp3"
 
Old 11-06-2004, 06:28 AM   #3
bendeco13
Member
 
Registered: Oct 2004
Distribution: Fedora 7
Posts: 232

Original Poster
Rep: Reputation: 30
Alright....
I found a solution to my problem....
I quit trying to decode/encode with mplayer and moved on to ffmpeg....
It's awesome...it can encode/decode pretty much anything....
I'm not a big fan of .wma files...but it would be a nice feature to add to my script and ffmpeg is very close (if not already) to releasing this encoder, but as of now it thankfully decodes them....
It also encodes .ra files (which I'm also not a great fan of)....but I don't think there's any other linux program that uses/provieds a codec that can encode .ra files.

Thanks anyways....
If you find a solution to the mplayer thing....
I'd still like to know it....

Thanks...
cheers
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Video capture card (possibly with MPEG 2 HW enc.) Tarrasque Linux - Hardware 6 08-12-2005 12:39 AM
KAudioCreator LAME error xTheLostx Linux - Software 3 05-27-2005 09:15 PM
Caching DNS server error (lame server resolving) Iggyboo Linux - Networking 1 02-24-2005 03:43 AM
Mplayer/Lame on 64 bit AhYup SUSE / openSUSE 2 02-17-2005 12:53 PM
conflict with get-apt install mplayer and lame-libs illtbagu Linux - Software 4 02-14-2003 12:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration