[MPlayer-users] Concatenating audio dumped streams

Ivan Kowalenko ivan.kowalenko at gmail.com
Wed Feb 7 16:16:02 CET 2007


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

On Feb 7, 2007, at 03.21, ACS wrote:

>> Under GNU/Linux you can do:
>>
>> cat input_file1 input_file2 ... input_filen > outputfile
>>
> A wav file has a header, containing length of the file and audio  
> data. Simply sticking wav files to each other won't result in a  
> valid wav file.
> Try using a playlist containing all input files

I'm pretty sure that's what's being done when:

>>> mplayer -ao pcm:file=.... file1.dump file2.dump ...

is used. A slightly roundabout way is to get Matroska involved (I'm  
having problems coming up with something else)

mkvmerge file1 +file2 -o merged-file.mka

Then run it through MPlayer with a dump. MPlayer will treat the whole  
thing as one file, thus dump one file. I'm fairly sure there has to  
be an easier way of doing this, I just don't know it.

> Adrian
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> http://lists.mplayerhq.hu/mailman/listinfo/mplayer-users

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFFye01h/R/wkI6oPQRAomuAJ4xBnqNLA2QJE57bQyMSx8aHRT2dACfZXkA
agImCrHc07kcT5v1lxHR+Wo=
=BOT+
-----END PGP SIGNATURE-----



More information about the MPlayer-users mailing list