[FFmpeg-devel] [PATCH] als in mp4

Jai Menon jmenon86
Sat Mar 21 09:28:27 CET 2009


On 3/21/09, Jai Menon <jmenon86 at gmail.com> wrote:
> On Sat, Mar 21, 2009 at 11:52 AM, Baptiste Coudurier
>
> <baptiste.coudurier at gmail.com> wrote:
>  > Jai Menon wrote:
>  >> On Sat, Mar 21, 2009 at 11:24 AM, Baptiste Coudurier
>  >> <baptiste.coudurier at gmail.com> wrote:
>  >>> Hi Jai,
>  >>>
>  >>> Jai Menon wrote:
>  >>>> Hi,
>  >>>>
>  >>>> Attached :
>  >>>>
>  >>>> 1) demux als streams from mp4, als codec id and minor lavc version bump
>  >>>> 2) mux als in to mp4, add isomedia type
>  >>>>
>  >>>> [...]
>  >>>>
>  >>>> @@ -1381,7 +1385,8 @@
>  >>>>      uint8_t *buf;
>  >>>>
>  >>>>      for (i = 0; i < s->nb_streams; i++)
>  >>>> -        if (mov->tracks[i].enc->flags & CODEC_FLAG_BITEXACT) {
>  >>>> +        if (mov->tracks[i].enc->flags & CODEC_FLAG_BITEXACT ||
>  >>>> +            mov->tracks[i].enc->codec_id == CODEC_ID_MP4ALS) {
>  >>>>              return 0;
>  >>>>          }
>  >>>>
>  >>> ???? Please explain :>
>  >>
>  >> ok :)
>  >> the muxer currently writes out a userdata box, with a meta box inside
>  >> (mp4 mode).
>  >> The meta box has a itunes hdlr tag which again leads to problems. So the patch
>  >> skips writing a udta box. maybe instead of this, we could write mov style udta.
>  >> what do you suggest?
>  >>
>  >> btw, very sorry most of this looks like a hack, the reference codec
>  >> mp4 parser has
>  >> limitations.
>  >>
>  >
>  > Humm, sorry too hackish, where can I get this reference codec mp4 parser ?
>
>
> http://www.nue.tu-berlin.de/forschung/projekte/lossless/mp4alsRM22.zip
>
>  i dunno if there is a newer version which is publicly available.
>  maybe Justin knows?

anyway, heres the updated patchset.

-- 
Regards,

Jai
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1_als_mp4_demux.patch
Type: text/x-patch
Size: 1440 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090321/1b332e1d/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2_als_mp4_mux.patch
Type: text/x-patch
Size: 1573 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090321/1b332e1d/attachment-0001.bin>



More information about the ffmpeg-devel mailing list