[Red5devs] MP4Reader Weirdness Paul's branch.

Steven Zimmer stevenlzimmer at gmail.com
Tue Jun 17 15:02:33 PDT 2008


Paul,

 

I've sorted through the application process, and understand the general
program now. 

 

My question is about MP4Reader,

 

First the key wasn't working, it was coming back with a NULL object because
it wasn't being converted into an Integer first.

 

Now that that is fixed the simplePosMap is going out of range on the second
call to readTag().

 

Can you give me a quick response on what you were working on before you quit
working on mp4 support. 

 

Also where did you get all the hex information about the mp4 codec for
example this line:

 

case 2: // video 2

tag = new Tag(IoConstants.TYPE_VIDEO, 0, 5, null, prevFrameSize);

body = ByteBuffer.allocate(tag.getBodySize());

body.put(new byte[]{(byte) 0x17, (byte) 0x02, (byte) 00, (byte) 00, (byte)
00});

body.flip();

tag.setBody(body);

initPackets++;

      break;

 

If you have time to point me in the right direction that would be great. If
not I'm sure

I can figure things out like I've done before but it was save me a lot of
time to know

where you left off and where you got your mp4 information.

 

Thanks,

   Steve

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/red5devs_osflash.org/attachments/20080617/8fa497f7/attachment-0001.html 


More information about the Red5devs mailing list