Hi pskink,

In my case 

 normal .3gp (written by my MediaRecorder) file header, for
instance:
# hexdump  -C normal_file.3gp

00000000 0000001C66747970 3367703400000300 |....ftyp3gp4....|
00000010 336770346D703431 3367703600090CFB |3gp4mp413gp6....|
00000020 6D6461743C911716 BE6679E1E001E7AF |mdat<....fy.....|
.
.

 and i compare it to the file written by my server:
# hexdump -C server_file.3gp | less
00000000  3030203030203030 2030302030302030  |................|
00000010  3020303020303020 3030203030203030  |................|
00000020  2030302030302030 3020303020303020  |................|
00000030  3030203030203030 2030302030302030  |................| 
00000040  3020303020303020 3030203030203030  |................|
00000050  2030302020202020 2020202020202020  |..              |
00000060  2020202020202020 2020202020202020  |                |
00000070  2020086D64617420 2020202020202020  |  .mdat     |
00000080  2020202020202020 2020202020202020  |                |
00000090  202020202020086D 646174202001B610  |     .mdat...|
.
.
.

you said in previous discussion that i have to modify first 32 bytes
where i have to copy byts[0- 27] to the file.
1) what it mean? like this all 

00000000 0000001C66747970 3367703400000300 |....ftyp3gp4....|
00000010 336770346D703431 3367703600090CFB |3gp4mp413gp6....|
00000020 6D6461743C911716 BE6679E1E001E7AF |mdat<....fy.....|
.
.
.
00000270

or only the middle part (-C)(0000001C66747970 3367703400000300) of it. 



2) how to copy, Is it in the form of string?

3)and i don't understand about bytes [28..31]. where from the moov atom starts. 
what is 
paython?

Please clear me all these things then i will able to write the file.

Regards,

umer


> Date: Sat, 28 Jan 2012 07:27:07 -0800
> Subject: Re: [android-developers] Re: Encoder???
> From: [email protected]
> To: [email protected]
> 
> Use writeInt(int v)
> 
> pskink
> 
> -- 
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
                                          

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to