[Ffmpeg-devel] Re: ffmpeg mp4 demuxer doesnt handle 64bit

bond b-o-n-d
Sun Jan 1 16:06:22 CET 2006


> > I tried to fix it but I don't know if it works as I don't have any test
> > file with version1 mdhd that I know of.
> >
> > plese cvs up and test.
>
> great i will try it asap

ok i now tried it and mplayer now plays the file with latest ffmpeg demuxer,
still there is a problem: the framerate is far off, it should be 29.97 but
15712911.000 fps get used. i guess thats maybe because the duration is not
recognized as being 64bit too (timescale is always 32bit)?


> > >    type mdia
> > >     type mdhd
> > >      version = 1 (0x01)
> > >      flags = 0 (0x000000)
> > >      creationTime = 3218293987 (0x00000000bfd344e3)
> > >      modificationTime = 3218295051 (0x00000000bfd3490b)
> > >      timeScale = 15712911 (0x00efc28f)
> >
> > So is it 32 or 64 bits here ??
> >
> > >      duration = 4525654016 (0x000000010dc00000)
>
> creation/modtime and duration is 64bit, as mentioned in the specs
>
> > >      language = 21956 (0x55c4)
> >
> > That doesn't look like a valid language code (< 138, though the table I
> > have is partial)
>
> its valid and means "und" for undefined. you can use quicktime or mp4box
for
> setting the language tags on mp4 files

is "und" supported by ffmpeg?





More information about the ffmpeg-devel mailing list