Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> My final diskettes will contain a single song, so the first thing I need to do is glue these 10 songs together into one. In other words, I need to concatenate them.

> To do that I'll use ffmpeg, a free and open source audio and video encoding suite.

> Superuser user, evilsoup, explains very clearly how to concatenate files using ffmpeg.

... or you can just issue

    copy input1.wav+input2.wav+input3.wav+input4.wav output.wav


Does that actually work? Won't it interpret the header data of all the files after input1 as samples, so you'll get a screech between each track?


The header length is 44 bytes.

1 second of 16-bit signed PCM is 88244 bytes at 44Khz.

44 / 88244 * 100 = 0.049

So it's extremely short, but on the default 16-bit PCM encoding it's an annoying click.

Not sure if the author workflow allows to save/export the raw data.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: