Re: [newbie] What is .mpga

2003-02-23 Thread David E. Fox
 Well, nope. I was talking about MPlayer because it can play all kinds of
 MPEG streams. This means .mpg files,  and audio .mp3 files,

Sure. But I and probably most people don't associate mplayer with .mp3
files, but xmms, noatun, mpg123, etc. The OPs mention of mplayer
possibly incorrectly suggested he was confusing mpg's with mp3's.

 And audio.

So then is .mp3 a special form of .mpg? It would seem so. One can
record only audio on a VHS too. :)

 Umm.. i think i lost you here.. i don't see how this would help to
 store the audio stream in PCM (wav) which is what the original
 poster of this thread wanted.

It wouldn't - ahother point of confusion over what the OP wanted.
 
 Frankly, i never liked VCD, and i always preferred an ffmpeg-encoded
 AVI simply burnt in a CD to store my movies. VCDs don't look any better,
 and they take up much more space.

Yeah, vcd is wierd. I can play them in my computer but my bare-bones 
DVD has it disabled supposedly of piracy and licensing issues. Used to
be commonplace when there were limited ways to copy DVDs like divx or
VCD or what have you but nowadays one can just copy DVD to DVD so why
bother?

 AVI? Are you sure? I would have sworn it's MPEG2 or something..

It very well could be. I haven't looked at too many VCDs. Maybe i'm 
confusing VCD with divx videos on CD.
 
 Naah. It can't fetch the newspaper yet. Or make me some coffee :o)

your coffee maker isn't on the net? well, neither is mine :(

   breakfast  toasts [butter|jam]; coffee [black|cappuchino]
   NOTE: If you ask MPlayer to put sugar in your coffee,
   MPlayer will exit with output Go RTFM DOCS/sugar.htm
   and do it yourself and exit status 2.

ROTFL :)

 
 Waaay too complex :o)
 
 mplayer -ao pcm inputfile.mpga -aofile outputfile.wav

Hmm. I'll have to play with that some. 

 Sox is a great program, but i haven't taken the time to learn about it,
 because, so far, i never needed it...

Nowadays there are better methods, but sox has been around for a
while. Its syntax is rather difficult though. I've been using it some
to record right off of the soundcard while listening to streams etc. 
That's pretty cool.


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] What is .mpga

2003-02-22 Thread David E. Fox
 What is your usual way to convert mpg files to wav? Have you tried
  xmms-diskwriter? (I suggested MPlayer as a solution because i 

Are you perhaps confusing .mpg (motion picture files) with .mp3 
(compressed sound files)? While both have similarities, .mp3 are
strictly sound files (mpeg 1 layer III) and .mpg is one way to store 
video.

I'm thinking that if they are in fact video files yuo could put these
files on a VCD which is video on a standard CD. But I haven't explored
this on Linux, altthough my brother does this routinely under
Windows. Frankly, I'm not aware of any software to create the needed
files that make the VCD a VCD, although surely scripts must exist to
do that. There's more to a VCD than just a base file with the video.

Usually this data is in AVI format and there likely exists software to
do this type of conversion. For instance, mplayer (which you mention)
has an mencoder component that seems to do everything :). 

If you are referring to *sound* files specifically (mp3) then if you
are converting to wav, I would try mpg123 -s to write the mp3 to
stdout and then pipe it to sox to turn it into a wav. I wrote a simple
script:

#! /bin/sh
# basic mpeg to WAV format file conversion
# $1 is name of file - assumes 44.1 kilohertz cd type input
# wav as ext on sox determines file type of output
# mpg123 outputs (stdout) headerless 16 bit audio data (-sw)
mpg123 -s $1 | sox -t raw -r 44100 -sw - `basename $1 .mp3`.wav

This may be overkill as there may be a way to write directly to .wav, 
without sox doing the transform.




 assumed you could not play these files in xmms or other players..)
 
 
 Damian
 -- 
 --
 I don't want Windows to be only for the 31173. Yes, we've come a long way from
 all those security holes, virii, and cryptic commands like Edit textfile.txt
 (what in the hell is that supposed to mean?)
 
 
 =_1045841414-10490-870
 Content-Type: text/plain; name=message.footer
 Content-Disposition: inline; filename=message.footer
 Content-Transfer-Encoding: 8bit
 
 Want to buy your Pack or Services from MandrakeSoft? 
 Go to http://www.mandrakestore.com
 
 =_1045841414-10490-870--
 


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] What is .mpga

2003-02-21 Thread Damian Gatabria

 No typo. My wife sings in a choir. One of the members downloaded bunch of
 music samples from the net and I promised to make a music cd out of them.
 XMMS or Noatun play them allright but when I tried to convert them to wav
 like usual mpg it failed.

What is your usual way to convert mpg files to wav? Have you tried
 xmms-diskwriter? (I suggested MPlayer as a solution because i 
assumed you could not play these files in xmms or other players..)


Damian
-- 
--
I don't want Windows to be only for the 31173. Yes, we've come a long way from
all those security holes, virii, and cryptic commands like Edit textfile.txt
(what in the hell is that supposed to mean?)


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[newbie] What is .mpga

2003-02-20 Thread Vahur Lokk
What files are .mpga files and how can I convert them into .wav or any other 
burnable format?

Wahur


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] What is .mpga

2003-02-20 Thread Damian Gatabria
On Thursday 20 February 2003 11:23, Vahur Lokk wrote:
 What files are .mpga files and how can I convert them into .wav or any
 other burnable format?

 Wahur

I don't know what mpga is (just a guess: an MPEG audio-only stream?)
but you can probably convert it to WAV with MPlayer. It's simple.

mplayer -ao pcm -aofile Outputfile.wav Inputfile.mpga

If you do not have mplayer installed, i recommend it to you very much.
www.mplayerhq.hu

HTH

Damian



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] What is .mpga

2003-02-20 Thread Tom Brinkman
On Thursday February 20 2003 08:23 am, Vahur Lokk wrote:
 What files are .mpga files and how can I convert them into .wav or
 any other burnable format?

 Wahur

Maybe someone made a typo? I suspect they're mpeg-2,3, or 4 files 
(.mpg, .mpeg, .m2v, etc), which are video files.  If you play one 
with mplayer from the CL, in the console ouput you'll see the actual 
file type. Mplayer, (maybe other players too?) ignores the file 
extension and auto detects the file type and uses the proper codec 
for it.
-- 
Tom Brinkman  Corpus Christi, Texas


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] What is .mpga

2003-02-20 Thread K. Spress
Tom,

What i went ahead and did was some sent me mpga file and i changed the
extension to mpg and they work just fine.


Kenneth E. Spress
[EMAIL PROTECTED]


Interested in a Home Based Buisness or saving money on your local, long
distance, internet or gas and electricity
please send me an e mail and I will get right back to you

go shopping without leaving your house http://www.acnmall.com/sirduron





 On Thursday February 20 2003 08:23 am, Vahur Lokk wrote:
  What files are .mpga files and how can I convert them into .wav or
  any other burnable format?
 
  Wahur

 Maybe someone made a typo? I suspect they're mpeg-2,3, or 4 files
 (.mpg, .mpeg, .m2v, etc), which are video files.  If you play one
 with mplayer from the CL, in the console ouput you'll see the actual
 file type. Mplayer, (maybe other players too?) ignores the file
 extension and auto detects the file type and uses the proper codec
 for it.
 --
 Tom Brinkman  Corpus Christi, Texas








 Want to buy your Pack or Services from MandrakeSoft?
 Go to http://www.mandrakestore.com





Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] What is .mpga

2003-02-20 Thread Tom Brinkman
On Thursday February 20 2003 10:50 am, K. Spress wrote:
 To: [EMAIL PROTECTED]

 Tom,

 What i went ahead and did was some sent me mpga file and i changed
 the extension to mpg and they work just fine.


 Kenneth E. Spress

That's why I mentioned 'typo'? ;)

-- 
Tom Brinkman  Corpus Christi, Texas


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] What is .mpga

2003-02-20 Thread Vahur Lokk
On Thursday 20 February 2003 18:12, you wrote:

 Maybe someone made a typo? I suspect they're mpeg-2,3, or 4 files
 (.mpg, .mpeg, .m2v, etc), which are video files.  If you play one
 with mplayer from the CL, in the console ouput you'll see the actual
 file type. Mplayer, (maybe other players too?) ignores the file
 extension and auto detects the file type and uses the proper codec
 for it.
No typo. My wife sings in a choir. One of the members downloaded bunch of 
music samples from the net and I promised to make a music cd out of them. 
XMMS or Noatun play them allright but when I tried to convert them to wav 
like usual mpg it failed. 
Will try mplayer if I find a way to download it.

Wahur


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com