[MEncoder-users] How extract audio stream from a mpeg file and convert the audio to adpcm?

sigsegv11 sigsegv11 at gmail.com
Thu Dec 8 03:09:53 CET 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Corey Hickey wrote:
> sigsegv11 wrote:
>> Hi, all:
>> 	I want to extract audio stream from a mpeg file(such as test.avi) and
>> convert the audio stream to IMA adpcm wav. How can I do this with
>> mencoder? thanks!
> 
> If you want to just extract the audio stream and not re-mux it into a
> video file, then you should use mplayer:
> 
> $ mplayer -vc null -vo null -ao pcm -benchmark
> 
> Then you can probably use sox to convert audiodump.wav into IMA ADPCM.
> 
> Note that I haven't tried this and there might be a better way... you
> should be able to make it work, though.
> 
> -Corey
> 
> _______________________________________________
> MEncoder-users mailing list
> MEncoder-users at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mencoder-users
> 

It works, thanks Corey!

p.s, the shell command:

	$ mplayer -vc null -vo null -ao pcm -benchmark test.avi
	$ sox  audiodump.wav -i -b -r 8000 -c 1 testo.wav


- --
- - sigsegv
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)

iD8DBQFDl5Xxzm46SfqoYmQRAogiAJ4/BHYM8HZsgP2dLglk/OW8WXdhAQCfZC3m
4rWGxG67T0AFt5u9U4bKUCk=
=eUsZ
-----END PGP SIGNATURE-----




More information about the MEncoder-users mailing list