Skip to main content

Topic: mpc in other containers (Read 3649 times) previous topic - next topic

0 Members and 1 Guest are viewing this topic.
mpc in other containers
Hi,

I saw in the release notes for MPC8 final that the format can be encapsulated in other containers such as MKV and NUT.  I have some questions regarding how this should be done.

  • Should the whole MPC8 packet be included inside the container packet or just the data inside each AP packet?
  • Currently, the FFmpeg MPC8 decoder uses the last 2 bytes of the SH packet as extradata or private data. Should that be used for the MKV CodecPrivate or would something more, like the whole SH packet, be better?
  • I have only seen a few unofficial references to FOURCCs and wFormatTag values.  Are there "official" values for MPC8 and/or MPC7?
  • Last Edit: 02 March, 2009, 11:15:31 AM by Justin Ruggles

  • r2d
  • [*]
  • Developer
mpc in other containers
Reply #1
  • Should the whole MPC8 packet be included inside the container packet or just the data inside each AP packet?
  • Currently, the FFmpeg MPC8 decoder uses the last 2 bytes of the SH packet as extradata or private data. Should that be used for the MKV CodecPrivate or would something more, like the whole SH packet, be better?
  • I have only seen a few unofficial references to FOURCCs and wFormatTag values.  Are there "official" values for MPC8 and/or MPC7?


  • The data inside is enough
  • All the informations (except CRC) in the SH packet are needed for a correct decoding. If your container can keep part of this information elsewhere and you don't want to duplicate it, that's fine (I think it's even better to not duplicate it, avoids conflicts). It's just that you will need all the fields (except CRC) to initialize the decoder.
  • To my knowledge there is no FOURCC for musepack. The sv8 container uses MPCK as magic number, maybe it can be used as FOURCC.