[M4IF Technotes] Re: including videos into my mp4scene
Jean-Claude Dufourd
jean-claude.dufourd enst.fr
Sun Apr 20 19:38:16 EDT 2003
tm991058 wrote:
>MP4 Error INVALID_STREAM_TYPE
>
This means the streamType field of the DecoderConfigDescriptor is not 4
>MP4 Error UNKNOWN_DECODER_TYPE
>
This means the objectTypeIndication field of the DecoderConfigDescriptor
is not 32 (0x20) or whatever the video decoder expects (registry key
called ..../Decoders/Visual-20)
The content may be OK but the signalling is off.
>2nd method:
>
>I also tried to use the mpeg4ip tool (the binaries) to get from an avi to a
>mp4 file..
>finaly I could really produce a mp4 file but moreover I cannot play it in my
>player ..there is the failure
>MP4 Error BUFFER_TOO_SMALL
>
This means bufferSizeDB is too small (typically 0). This should be
bigger than any AU in the stream.
*** But it could also mean the player is totally confused.
Please check the values with mp4edit (Info view)
>I did it like this: (with the binaries from mpeg4ip:
>avi to raw video (avi2raw60.exe) - then raw video to cmp (encoder60.exe)-
>then cmp to mp4 (mp4creator.exe))
>I didn't not know if it is the parameter file I need for the mp4-encoder
>(raw video to cmp) which is not correct .. and if this is the reason for the
>failure
>MP4 Error BUFFER_TOO_SMALL
>
No, the problem is in the packaging tool.(unless the player is confused)
>But then I found a cmp file and so I did only the last step: cmp to mp4
>(with mp4creator from mpeg4ip)
>There I also gain the failure "MP4 Error BUFFER_TOO_SMALL" when I try to
>play it in my player...
>
>so I still do not know how to create a mp4 file out of an avi file...
>
Why don't you try the content with Osmo4 ?
>I use the GUI version of mp4tool...
>
Do not use the GUI version: it is an older version that I cannot easily
update. Use the latest mp4tool.exe (if you want support).
>there I did like this:
>Stream Extractors
>->Expand From (here the path for my mp4 file)
>->Expand To (here I type "test.media" where the mp4tool should write the
>media file)
>..I don't know how to produce the nhnt file... maybe the same way:
>->Expand From (here the path for my mp4 file)
>->Expand To (here I type "test.nhnt" where the mp4tool should write the nhnt
>file)
>
Use:
mp4tool -info foo.mp4
to see the info about the tracks. If the video is track 6, use:
mp4tool -export foo.mp4 6 video
This produces video.media, video.nhnt and video.info
Best regards
JC
More information about the Mp4-tech
mailing list