Opened 3 years ago

#9041 new enhancement

Support for MSU1 format PCM files

Reported by: edale Owned by:
Priority: wish Component: avformat
Version: unspecified Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

I'm hoping to get support for MSU1 format .PCM files implemented into FFmpeg.

MSU1 format .PCM files all have the same encoding, being:

16-bit signed PCM
Little Endian
2-Channel Stereo
44100 Hz

MSU1 format .PCMs all have the same 8-byte header:
MSU1#### (Hex for the first 4 bytes: "4D 53 55 31")

Where #### is the loop point. (tracks loop from the last sample to the sample number pointed to in the loop point seamlessly, with no pause)

Image of the MSU1 header highlighted in a hex editor:
https://user-images.githubusercontent.com/20962345/102788737-1b1a3580-4371-11eb-8321-7dc9b57ed6c7.png
(it's a non-looping track, which is why the loop point is all zeros)

Small non-looping track for testing (3 MB):
https://github.com/audacity/audacity/files/5724906/alttp_msu-1.zip

Small looping track for testing (18 MB):
https://mega.nz/file/jUYzwa6T#I1vUeCIawbwzO0iWoHhe5uGXYpnP-afypC0wRGYDYZw

A Foobar2000 plugin which allows the playback of MSU1 format .PCMs:
https://github.com/qwertymodo/foo_input_msu
(I have no clue if this will help with FFmpeg, but figured it couldn't hurt to include)

My end-goal is to allow drag-and-drop importing of MSU1 format .PCMs into Audacity. They suggested this would best be accomplished through FFmpeg. For my uses, the looping info is not needed, but I included it for cases where an audio player that uses FFmpeg would try and play the file.

Change History (0)

Note: See TracTickets for help on using tickets.