RE: [android-developers] Re: Encoder???
Hi skink, I want to ask some questions, I know this is not a personal discussion forum, but i have to ask. 1) I am new to android, and android camera to server live video streaming is my first application. please can you tell me that Can I sale out this application and how? 2) I want some new project, can you please tell me how can i get the new project. thanks and Regards. umer Date: Mon, 13 Feb 2012 08:20:22 -0800 Subject: [android-developers] Re: Encoder??? From: psk...@gmail.com To: android-developers@googlegroups.com Muhammad UMER wrote: Hi pskink, Thank you for your kind help. I have done this app with your help. I have handle the file header on server side and now 3gp file is playable. You are such a great great great. man. Thanks and Regards, umer you are welcome, no problem pskink -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com 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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
RE: [android-developers] Re: Encoder???
hi pskink, I want Mediarecorder documantation or report on Mediarecorder can you provide me. Thanks From: muhammad.ume...@hotmail.com To: android-developers@googlegroups.com Subject: RE: [android-developers] Re: Encoder??? Date: Wed, 15 Feb 2012 17:56:24 +0500 Hi pskink, How are you, I am disturbing you again sorry for that. I want this application on at most 10 mobiles, so how can i apply the user authentication on this application to restrict the other user. that will not use this application also not connect to server. Thanks umer Date: Mon, 13 Feb 2012 08:20:22 -0800 Subject: [android-developers] Re: Encoder??? From: psk...@gmail.com To: android-developers@googlegroups.com Muhammad UMER wrote: Hi pskink, Thank you for your kind help. I have done this app with your help. I have handle the file header on server side and now 3gp file is playable. You are such a great great great. man. Thanks and Regards, umer you are welcome, no problem pskink -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com 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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com 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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
RE: [android-developers] Re: Encoder???
hi pskink, I want Mediarecorder documantation or report on Mediarecorder can you provide me. Thanks -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
RE: [android-developers] Re: Encoder???
Hi pskink, How are you, I am disturbing you again sorry for that. I want this application on at most 10 mobiles, so how can i apply the user authentication on this application to restrict the other user. that will not use this application also not connect to server. Thanks umer Date: Mon, 13 Feb 2012 08:20:22 -0800 Subject: [android-developers] Re: Encoder??? From: psk...@gmail.com To: android-developers@googlegroups.com Muhammad UMER wrote: Hi pskink, Thank you for your kind help. I have done this app with your help. I have handle the file header on server side and now 3gp file is playable. You are such a great great great. man. Thanks and Regards, umer you are welcome, no problem pskink -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com 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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
RE: [android-developers] Re: Encoder???
Hi pskink, Thank you for your kind help. I have done this app with your help. I have handle the file header on server side and now 3gp file is playable. You are such a great great great. man. Thanks and Regards, umer Date: Sat, 4 Feb 2012 05:10:40 -0800 Subject: [android-developers] Re: Encoder??? From: psk...@gmail.com To: android-developers@googlegroups.com Muhammad UMER wrote: I think, my server have to edit this file through RandomAccessFile after when the server handle the inputstream form android. So i have to put a condition to check the moov atom, when the moov atom find it get it's index. then edit the file through RandomAccessFile to write bytes [0..27] and the offset of moov atom at [28...31]. please tell me how can i copy these [0...27] bytes. is it in the form of string? Thanks Regards, umer http://docs.oracle.com/javase/tutorial/essential/io/ pskink -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com 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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Encoder???
Muhammad UMER wrote: Hi pskink, Thank you for your kind help. I have done this app with your help. I have handle the file header on server side and now 3gp file is playable. You are such a great great great. man. Thanks and Regards, umer you are welcome, no problem pskink -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Encoder???
Muhammad UMER wrote: Hi pskink, 4:ftyp 32:mdat 324042:ftyp 324070:moov Ok 4 is starting bytes of ftyp, 324070 is starting bytes of moov, 32 is starting bytes of mdat etc. so it means that subtract the starting position of mdat from starting position of moov. then converts the bytes to hexadecimal form. that is our offset. moov - mdat == offset 324070 - 32 == 0x0004f1c6 but if it is true, then our moov starting bytes changes every time how can find that? Regards, umer yes, it's true: you have to find moov index each time you write your file on the server side pskink -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
RE: [android-developers] Re: Encoder???
I think, my server have to edit this file through RandomAccessFile after when the server handle the inputstream form android. So i have to put a condition to check the moov atom, when the moov atom find it get it's index. then edit the file through RandomAccessFile to write bytes [0..27] and the offset of moov atom at [28...31]. please tell me how can i copy these [0...27] bytes. is it in the form of string? Thanks Regards, umer Date: Sat, 4 Feb 2012 04:03:46 -0800 Subject: [android-developers] Re: Encoder??? From: psk...@gmail.com To: android-developers@googlegroups.com Muhammad UMER wrote: Hi pskink, 4:ftyp 32:mdat 324042:ftyp 324070:moov Ok 4 is starting bytes of ftyp, 324070 is starting bytes of moov, 32 is starting bytes of mdat etc. so it means that subtract the starting position of mdat from starting position of moov. then converts the bytes to hexadecimal form. that is our offset. moov - mdat == offset 324070 - 32 == 0x0004f1c6 but if it is true, then our moov starting bytes changes every time how can find that? Regards, umer yes, it's true: you have to find moov index each time you write your file on the server side pskink -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com 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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Encoder???
Muhammad UMER wrote: I think, my server have to edit this file through RandomAccessFile after when the server handle the inputstream form android. So i have to put a condition to check the moov atom, when the moov atom find it get it's index. then edit the file through RandomAccessFile to write bytes [0..27] and the offset of moov atom at [28...31]. please tell me how can i copy these [0...27] bytes. is it in the form of string? Thanks Regards, umer http://docs.oracle.com/javase/tutorial/essential/io/ pskink -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
RE: [android-developers] Re: Encoder???
hi pskink, So as i understand that relative offset is the reference of the moov atom (where the moov atom starts in a file). isn't it? and How can you calculate this offset, 324070 - 32 == 0x0004f1c6 What is 32 and how 0x0004f1c6 comes? have you done this, through programming? Regards, umer Date: Thu, 2 Feb 2012 01:35:02 -0800 Subject: [android-developers] Re: Encoder??? From: psk...@gmail.com To: android-developers@googlegroups.com On 2 Lut, 08:32, Muhammad UMER muhammad.ume...@hotmail.com wrote: Hi pskink, I have searched the moov atoms, The moov atoms in the file (created by mediarecorder VIDEO0002.3GP) is at the end of the file and ftyp at the beginning. As I attached the image VIDEO0002.png And the moov atoms in the file (created by server) is also at the end of the file along with ftyp. As I attached the image VIDEO.png The 3gp file consists of ftyp-moov-mdat or ftyp-mdat-moov order. So I realize that my server have to write just ftyp at the beginning of the file. Please correct me if I am wrong. Regards, umer as i said before: as you can see you have to modify first 32 bytes: where bytes [0..27] you can just copy and bytes [28.. 31] should contain the offset where moov atom starts just copy first 28 bytes without any modifications and bytes [28.. 31] should contain the offset where moov atom starts - its relative to mdat atom e.g: this is after modification my server_file.3gp file: #grep -aobE ftyp|mdat|moov server_file.3gp 4:ftyp 32:mdat 324042:ftyp 324070:moov so bytes [28.. 31] - the relative offset should be: 324070 - 32 == 0x0004f1c6 #hexdump -C server_file.3gp | less 001c66747970336770340300 |ftyp3gp4| 0010 336770346d703431336770360004f1c6 |3gp4mp413gp6| see 0004f1c6 at the end - its your offset pskink -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com 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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Encoder???
Muhammad UMER wrote: hi pskink, So as i understand that relative offset is the reference of the moov atom (where the moov atom starts in a file). isn't it? and How can you calculate this offset, 324070 - 32 == 0x0004f1c6 What is 32 and how 0x0004f1c6 comes? have you done this, through programming? Regards, umer read my previous post, carefully pskink -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
RE: [android-developers] Re: Encoder???
Basically i don't understand perfectly this, 001c66747970 336770340300 |ftyp3gp4 | 0010 336770346d703431 336770360007a42f |3gp4mp413gp6.../| 0020 6d6461743c911716 be6679e1e001e7af |mdatfy. | can you please explain it. Thanks Regards, umer Date: Fri, 3 Feb 2012 08:37:49 -0800 Subject: [android-developers] Re: Encoder??? From: psk...@gmail.com To: android-developers@googlegroups.com Muhammad UMER wrote: hi pskink, So as i understand that relative offset is the reference of the moov atom (where the moov atom starts in a file). isn't it? and How can you calculate this offset, 324070 - 32 == 0x0004f1c6 What is 32 and how 0x0004f1c6 comes? have you done this, through programming? Regards, umer read my previous post, carefully pskink -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com 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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Encoder???
Muhammad UMER wrote: Basically i don't understand perfectly this, 001c66747970 336770340300 |ftyp3gp4 | 0010 336770346d703431 336770360007a42f |3gp4mp413gp6.../| 0020 6d6461743c911716 be6679e1e001e7af |mdatfy. | can you please explain it. Thanks Regards, umer this shows the complete header (32 bytes) of the modified file pskink -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
RE: [android-developers] Re: Encoder???
Hi pskink, 4:ftyp 32:mdat 324042:ftyp 324070:moov Ok 4 is starting bytes of ftyp, 324070 is starting bytes of moov, 32 is starting bytes of mdat etc. so it means that subtract the starting position of mdat from starting position of moov. then converts the bytes to hexadecimal form. that is our offset. moov - mdat == offset 324070 - 32 == 0x0004f1c6 but if it is true, then our moov starting bytes changes every time how can find that? Regards, umer Date: Fri, 3 Feb 2012 09:43:07 -0800 Subject: [android-developers] Re: Encoder??? From: psk...@gmail.com To: android-developers@googlegroups.com Muhammad UMER wrote: Basically i don't understand perfectly this, 001c66747970 336770340300 |ftyp3gp4 | 0010 336770346d703431 336770360007a42f |3gp4mp413gp6.../| 0020 6d6461743c911716 be6679e1e001e7af |mdatfy. | can you please explain it. Thanks Regards, umer this shows the complete header (32 bytes) of the modified file pskink -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com 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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Encoder???
On 2 Lut, 08:32, Muhammad UMER muhammad.ume...@hotmail.com wrote: Hi pskink, I have searched the moov atoms, The moov atoms in the file (created by mediarecorder VIDEO0002.3GP) is at the end of the file and ftyp at the beginning. As I attached the image VIDEO0002.png And the moov atoms in the file (created by server) is also at the end of the file along with ftyp. As I attached the image VIDEO.png The 3gp file consists of ftyp-moov-mdat or ftyp-mdat-moov order. So I realize that my server have to write just ftyp at the beginning of the file. Please correct me if I am wrong. Regards, umer as i said before: as you can see you have to modify first 32 bytes: where bytes [0..27] you can just copy and bytes [28.. 31] should contain the offset where moov atom starts just copy first 28 bytes without any modifications and bytes [28.. 31] should contain the offset where moov atom starts - its relative to mdat atom e.g: this is after modification my server_file.3gp file: #grep -aobE ftyp|mdat|moov server_file.3gp 4:ftyp 32:mdat 324042:ftyp 324070:moov so bytes [28.. 31] - the relative offset should be: 324070 - 32 == 0x0004f1c6 #hexdump -C server_file.3gp | less 001c66747970336770340300 |ftyp3gp4| 0010 336770346d703431336770360004f1c6 |3gp4mp413gp6| see 0004f1c6 at the end - its your offset pskink -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
RE: [android-developers] Re: Encoder???
Date: Mon, 30 Jan 2012 23:01:31 -0800 Subject: [android-developers] Re: Encoder??? From: psk...@gmail.com To: android-developers@googlegroups.com On Jan 31, 7:31 am, Muhammad UMER muhammad.ume...@hotmail.com wrote: What can i do, to start mdat from offset 0x20? your server side doesn't write your data correctly - you can use wireshark to see whats on the wire Thanks, i got my error and also i resolve it. now mdat at offset 0x20. you have to copy first 28 bytes from normal_file to the first 28 bytes of server_file Please can you pacify(highlight) these 28 bytes, that i have to copy? what to highlight? You have to copy bytes 0, 1, 2, .. 26, 27 of the normal_file to the beginning of the server_file, thats all Because i haven't write a video file before, that's why i say you to highlight these bytes. i mean to say how to get these bytes from normal file. may i have to hard code these bytes. like e.g String s = ftyp3gp4; byte data[] = s.getBytes(); and write this byte array to the file. I don't know from where the moov atom start? yes, but you have to find it in the file, just google about pattern search or something pskink -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com 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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
RE: [android-developers] Re: Encoder???
Hi pskink, In my case normal .3gp (written by my MediaRecorder) file header, for instance: # hexdump -C normal_file.3gp 001C66747970 336770340300 |ftyp3gp4| 0010 336770346D703431 3367703600090CFB |3gp4mp413gp6| 0020 6D6461743C911716 BE6679E1E001E7AF |mdatfy.| . . and i compare it to the file written by my server: # hexdump -C server_file.3gp | less 3030203030203030 2030302030302030 || 0010 3020303020303020 3030203030203030 || 0020 2030302030302030 3020303020303020 || 0030 3030203030203030 2030302030302030 || 0040 3020303020303020 3030203030203030 || 0050 2030302020202020 2020202020202020 |.. | 0060 2020202020202020 2020202020202020 || 0070 2020086D64617420 2020202020202020 | .mdat | 0080 2020202020202020 2020202020202020 || 0090 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 001C66747970 336770340300 |ftyp3gp4| 0010 336770346D703431 3367703600090CFB |3gp4mp413gp6| 0020 6D6461743C911716 BE6679E1E001E7AF |mdatfy.| . . . 0270 or only the middle part (-C)(001C66747970 336770340300) 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: psk...@gmail.com To: android-developers@googlegroups.com 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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com 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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Encoder???
On 30 Sty, 07:08, Muhammad UMER muhammad.ume...@hotmail.com wrote: Hi pskink, In my case normal .3gp (written by my MediaRecorder) file header, for instance: # hexdump -C normal_file.3gp 001C66747970 336770340300 |ftyp3gp4| 0010 336770346D703431 3367703600090CFB |3gp4mp413gp6| 0020 6D6461743C911716 BE6679E1E001E7AF |mdatfy.| . . this is ok - the header is exactly the same like mine and i compare it to the file written by my server: # hexdump -C server_file.3gp | less 3030203030203030 2030302030302030 || 0010 3020303020303020 3030203030203030 || 0020 2030302030302030 3020303020303020 || 0030 3030203030203030 2030302030302030 || 0040 3020303020303020 3030203030203030 || 0050 2030302020202020 2020202020202020 |.. | 0060 2020202020202020 2020202020202020 | | 0070 2020086D64617420 2020202020202020 | .mdat | 0080 2020202020202020 2020202020202020 | | 0090 202020202020086D 646174202001B610 | .mdat...| . . this is WRONG: mdat sequence should start from the offset 0x20 and not 0x73 . you said in previous discussion that i have to modify first 32 bytes where i have to copy byts[0- 27] to the file. you have to copy first 28 bytes from normal_file to the first 28 bytes of server_file 2) how to copy, Is it in the form of string? again, RandomAccessFile 3)and i don't understand about bytes [28..31]. where from the moov atom starts. what is paython? you have to find where the moov atom starts in your server_file, is it so difficult? pskink -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
RE: [android-developers] Re: Encoder???
Date: Mon, 30 Jan 2012 21:35:50 -0800 Subject: [android-developers] Re: Encoder??? From: psk...@gmail.com To: android-developers@googlegroups.com On 30 Sty, 07:08, Muhammad UMER muhammad.ume...@hotmail.com wrote: Hi pskink, In my case normal .3gp (written by my MediaRecorder) file header, for instance: # hexdump -C normal_file.3gp 001C66747970 336770340300 |ftyp3gp4| 0010 336770346D703431 3367703600090CFB |3gp4mp413gp6| 0020 6D6461743C911716 BE6679E1E001E7AF |mdatfy.| . . this is ok - the header is exactly the same like mine and i compare it to the file written by my server: # hexdump -C server_file.3gp | less 3030203030203030 2030302030302030 || 0010 3020303020303020 3030203030203030 || 0020 2030302030302030 3020303020303020 || 0030 3030203030203030 2030302030302030 || 0040 3020303020303020 3030203030203030 || 0050 2030302020202020 2020202020202020 |.. | 0060 2020202020202020 2020202020202020 || 0070 2020086D64617420 2020202020202020 | .mdat | 0080 2020202020202020 2020202020202020 || 0090 202020202020086D 646174202001B610 | .mdat...| . . this is WRONG: mdat sequence should start from the offset 0x20 and not 0x73 What can i do, to start mdat from offset 0x20? . you said in previous discussion that i have to modify first 32 bytes where i have to copy byts[0- 27] to the file. you have to copy first 28 bytes from normal_file to the first 28 bytes of server_file Please can you pacify(highlight) these 28 bytes, that i have to copy? 2) how to copy, Is it in the form of string? again, RandomAccessFile 3)and i don't understand about bytes [28..31]. where from the moov atom starts. whatt is paython? you have to find where the moov atom starts in your server_file, is it so difficult? I don't know from where the moov atom start? pskink umer -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com 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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Encoder???
On Jan 31, 7:31 am, Muhammad UMER muhammad.ume...@hotmail.com wrote: What can i do, to start mdat from offset 0x20? your server side doesn't write your data correctly - you can use wireshark to see whats on the wire you have to copy first 28 bytes from normal_file to the first 28 bytes of server_file Please can you pacify(highlight) these 28 bytes, that i have to copy? what to highlight? You have to copy bytes 0, 1, 2, .. 26, 27 of the normal_file to the beginning of the server_file, thats all I don't know from where the moov atom start? yes, but you have to find it in the file, just google about pattern search or something pskink -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
RE: [android-developers] Re: Encoder???
hi pskink, Sorry, you have give me the link of how to write the file, but i want the example, that show how to write the ftyp and moov atom to the file.Can you share me a link. Regards, umer Date: Fri, 27 Jan 2012 03:25:12 -0800 Subject: Re: [android-developers] Re: Encoder??? From: psk...@gmail.com To: android-developers@googlegroups.com Muhammad UMER wrote: hi pskink, Thanks for your help,It gives more concept. Please can you show me the example that how can i implement these moov atom and ftyp while writing the file to the server side. http://docs.oracle.com/javase/1.4.2/docs/api/java/io/RandomAccessFile.html pskink -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com 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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Encoder???
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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
RE: [android-developers] Re: Encoder???
hi pskink, Thanks for your help,It gives more concept. Please can you show me the example that how can i implement these moov atom and ftyp while writing the file to the server side. Regards,umer Date: Thu, 26 Jan 2012 11:26:35 -0800 Subject: Re: [android-developers] Re: Encoder??? From: psk...@gmail.com To: android-developers@googlegroups.com step #1: see normal .3gp (written by your MediaRecorder) file header, for instance: # hexdump -C normal_file.3gp | less 001c66747970 336770340300 |ftyp3gp4| 0010 336770346d703431 336770360007a42f |3gp4mp413gp6.../| 0020 6d6461743c911716 be6679e1e001e7af |mdatfy.| step #2: compare it to the file written by your server: # hexdump -C server_file.3gp | less || 0010 0008 || 0020 6d6461743c911716 be6679e1e001e7af |mdatfy.| as you can see you have to modify first 32 bytes: where bytes [0..27] you can just copy and bytes [28.. 31] should contain the offset where moov atom starts - you can learn how to find that offset by playing with python script called qtfaststart.py - run it with option --list, for example: # python qtfaststart.py --list normal_file.3gp ftyp 0 mdat 1c moov 7a44b it will show atoms and their sizes but it is trivial to change it to show atom's positions (like above): for atom, pos, size in index: print %s %x % (atom, pos) pskink -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com 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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Encoder???
Muhammad UMER wrote: hi pskink, Thanks for your help,It gives more concept. Please can you show me the example that how can i implement these moov atom and ftyp while writing the file to the server side. http://docs.oracle.com/javase/1.4.2/docs/api/java/io/RandomAccessFile.html pskink -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
RE: [android-developers] Re: Encoder???
hi skink, I google to much about the moov and mdat atoms and i found that the 3gp file consist of some atoms order by ftyp-moov-mdat or ftyp-mdat-moov, mdate are our orignal sound and video where moov atom are use to make the file playable. so as i found that my server have to write moov atoms atoumaticaly but i don't know how to write these moov atoms to my file. please help me because this is my part of the project and i have to submit it after 2 weeks. it's to much complected to me to write myself. Please show me some example of this or send me an appropriate link.You have helped me a lot and i hope you can help me again. thanks and Regards, umer Date: Wed, 25 Jan 2012 09:07:58 -0800 Subject: Re: [android-developers] Re: Encoder??? From: psk...@gmail.com To: android-developers@googlegroups.com Muhammad UMER wrote: hi skink, I read the link that you have posted. In a blog describe the mdat atoms that leave some spaces also not write the header. what is it, i haven't studied about it. How can i write the header of the file and the mdat atom spaces. you have to figure it out by yourself try googling pskink -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com 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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Encoder???
step #1: see normal .3gp (written by your MediaRecorder) file header, for instance: # hexdump -C normal_file.3gp | less 001c66747970 336770340300 |ftyp3gp4| 0010 336770346d703431 336770360007a42f |3gp4mp413gp6.../| 0020 6d6461743c911716 be6679e1e001e7af |mdatfy.| step #2: compare it to the file written by your server: # hexdump -C server_file.3gp | less || 0010 0008 || 0020 6d6461743c911716 be6679e1e001e7af |mdatfy.| as you can see you have to modify first 32 bytes: where bytes [0..27] you can just copy and bytes [28.. 31] should contain the offset where moov atom starts - you can learn how to find that offset by playing with python script called qtfaststart.py - run it with option --list, for example: # python qtfaststart.py --list normal_file.3gp ftyp 0 mdat 1c moov 7a44b it will show atoms and their sizes but it is trivial to change it to show atom's positions (like above): for atom, pos, size in index: print %s %x % (atom, pos) pskink -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Encoder???
Muhammad UMER wrote: hi, I go through this blog as you suggest, http://www.mattakis.com/blog/kisg/20090708/broadcasting-video-with-android-without-writing-to-the-file-system guy, just told how to send from android on network but doesn't told how to receive it on PC server. Thanks and Regards umer when you tried to send frame by frame as a Bitmap, did you have server side implemented? now there should be no difference: just write down to the file every bit if data you got from the android client pskink -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
RE: [android-developers] Re: Encoder???
hi skink, Thanks for your reply, I am using server side code to receive each frame is perfect. but when i use this server for mediaRecorder it gives the invalid stream header: , i am using ObjectInputStream to receive the data. on client side (android), i am using the ParcelFileDescriptor.fromSocket(socket), is ParcelFileDescriptor send video in object form? here is my server side code. try { // create stream to Network ois = new ObjectInputStream(clientSocket.getInputStream()); // create stream to file FileOutputStream fos = new FileOutputStream(video.3gp, true); ObjectOutputStream out = new ObjectOutputStream(fos); while(true) { // read data in object form from network byte [] byt = (byte[]) ois.readObject(); // write data to file out.write(byt); out.flush(); } } catch (Exception e) { System.out.println(e.getMessage()); } Thanks again, Date: Wed, 25 Jan 2012 00:17:28 -0800 Subject: Re: [android-developers] Re: Encoder??? From: psk...@gmail.com To: android-developers@googlegroups.com Muhammad UMER wrote: hi, I go through this blog as you suggest, http://www.mattakis.com/blog/kisg/20090708/broadcasting-video-with-android-without-writing-to-the-file-system guy, just told how to send from android on network but doesn't told how to receive it on PC server. Thanks and Regards umer when you tried to send frame by frame as a Bitmap, did you have server side implemented? now there should be no difference: just write down to the file every bit if data you got from the android client pskink -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com 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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Encoder???
Muhammad UMER wrote: hi skink, Thanks for your reply, I am using server side code to receive each frame is perfect. but when i use this server for mediaRecorder it gives the invalid stream header: , i am using ObjectInputStream to receive the data. on client side (android), i am using the ParcelFileDescriptor.fromSocket(socket), is ParcelFileDescriptor send video in object form? here is my server side code. try { // create stream to Network ois = new ObjectInputStream(clientSocket.getInputStream()); // create stream to file FileOutputStream fos = new FileOutputStream(video.3gp, true); ObjectOutputStream out = new ObjectOutputStream(fos); while(true) { // read data in object form from network byte [] byt = (byte[]) ois.readObject(); // write data to file out.write(byt); out.flush(); } } catch (Exception e) { System.out.println(e.getMessage()); } Dont use ObjectInputStream, just use InputStream pskink -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
RE: [android-developers] Re: Encoder???
hi skink, Now i have used inputstream but it give me Exeption (null) at while((bytesRead = is.read(buffer)) != -1) on server side. here server side code that i am using. try { // create stream to Network InputStream in = clientSocket.getInputStream(); // create stream to file OutputStream os = new FileOutputStream(video.3gp, true); byte[] buffer = new byte[4096]; int bytesRead; while((bytesRead = is.read(buffer)) != -1) { os.write(buffer, 0, bytesRead); } is.close(); os.close(); } catch (Exception e) { System.out.println(e.getMessage()); } Regards. Date: Wed, 25 Jan 2012 01:47:56 -0800 Subject: Re: [android-developers] Re: Encoder??? From: psk...@gmail.com To: android-developers@googlegroups.com Muhammad UMER wrote: hi skink, Thanks for your reply, I am using server side code to receive each frame is perfect. but when i use this server for mediaRecorder it gives the invalid stream header: , i am using ObjectInputStream to receive the data. on client side (android), i am using the ParcelFileDescriptor.fromSocket(socket), is ParcelFileDescriptor send video in object form? here is my server side code. try { // create stream to Network ois = new ObjectInputStream(clientSocket.getInputStream()); // create stream to file FileOutputStream fos = new FileOutputStream(video.3gp, true); ObjectOutputStream out = new ObjectOutputStream(fos); while(true) { // read data in object form from network byte [] byt = (byte[]) ois.readObject(); // write data to file out.write(byt); out.flush(); } } catch (Exception e) { System.out.println(e.getMessage()); } Dont use ObjectInputStream, just use InputStream pskink -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com 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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Encoder???
Muhammad UMER wrote: hi skink, Now i have used inputstream but it give me Exeption (null) at while((bytesRead = is.read(buffer)) != -1) on server side. here server side code that i am using. try { // create stream to Network InputStream in = clientSocket.getInputStream(); // create stream to file OutputStream os = new FileOutputStream(video.3gp, true); byte[] buffer = new byte[4096]; int bytesRead; while((bytesRead = is.read(buffer)) != -1) { os.write(buffer, 0, bytesRead); } is.close(); os.close(); } catch (Exception e) { System.out.println(e.getMessage()); } what's stack trace? tried to debug it? pskink -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
RE: [android-developers] Re: Encoder???
hi skink, Sorry it was my mistake at object of InputStream, that is 'is ' but i was using 'in'. Now it's receive the data and create a video.3gp file but it's not a playable(corrupted). Now what can you suggest me, and Thanks a lot for your kind help. Thanks and Regards, umer Date: Wed, 25 Jan 2012 03:58:29 -0800 Subject: Re: [android-developers] Re: Encoder??? From: psk...@gmail.com To: android-developers@googlegroups.com Muhammad UMER wrote: hi skink, Now i have used inputstream but it give me Exeption (null) at while((bytesRead = is.read(buffer)) != -1) on server side. here server side code that i am using. try { // create stream to Network InputStream in = clientSocket.getInputStream(); // create stream to file OutputStream os = new FileOutputStream(video.3gp, true); byte[] buffer = new byte[4096]; int bytesRead; while((bytesRead = is.read(buffer)) != -1) { os.write(buffer, 0, bytesRead); } is.close(); os.close(); } catch (Exception e) { System.out.println(e.getMessage()); } what's stack trace? tried to debug it? pskink -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com 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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Encoder???
Muhammad UMER wrote: hi skink, Sorry it was my mistake at object of InputStream, that is 'is ' but i was using 'in'. Now it's receive the data and create a video.3gp file but it's not a playable(corrupted). Now what can you suggest me, and Thanks a lot for your kind help. now read again the link I already posted in that thread - this time read it caredully pskinj -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
RE: [android-developers] Re: Encoder???
hi skink, I read the link that you have posted. In a blog describe the mdat atoms that leave some spaces also not write the header. what is it, i haven't studied about it. How can i write the header of the file and the mdat atom spaces. Thanks Date: Wed, 25 Jan 2012 06:34:11 -0800 Subject: Re: [android-developers] Re: Encoder??? From: psk...@gmail.com To: android-developers@googlegroups.com Muhammad UMER wrote: hi skink, Sorry it was my mistake at object of InputStream, that is 'is ' but i was using 'in'. Now it's receive the data and create a video.3gp file but it's not a playable(corrupted). Now what can you suggest me, and Thanks a lot for your kind help. now read again the link I already posted in that thread - this time read it caredully pskinj -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com 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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Encoder???
Muhammad UMER wrote: hi skink, I read the link that you have posted. In a blog describe the mdat atoms that leave some spaces also not write the header. what is it, i haven't studied about it. How can i write the header of the file and the mdat atom spaces. you have to figure it out by yourself try googling pskink -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Encoder???
muhammad.ume...@hotmail.com wrote: hi, Please anyone tell me that, which encoder i can use on onPreviewFrame to create a video, and i want to send this encoded video to network, please suggest me which encoder that android support. Thanks and Regards umer -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
RE: [android-developers] Re: Encoder???
hi, I recive your reply empty ,Please can you do it again. Thanks umer Date: Tue, 24 Jan 2012 00:35:18 -0800 Subject: [android-developers] Re: Encoder??? From: psk...@gmail.com To: android-developers@googlegroups.com muhammad.ume...@hotmail.com wrote: hi, Please anyone tell me that, which encoder i can use on onPreviewFrame to create a video, and i want to send this encoded video to network, please suggest me which encoder that android support. Thanks and Regards umer -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com 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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Encoder???
On Jan 24, 10:15 am, Muhammad UMER muhammad.ume...@hotmail.com wrote: hi, I recive your reply empty ,Please can you do it again. Thanks umer Date: Tue, 24 Jan 2012 00:35:18 -0800 Subject: [android-developers] Re: Encoder??? From: psk...@gmail.com To: android-developers@googlegroups.com muhammad.ume...@hotmail.com wrote: hi, Please anyone tell me that, which encoder i can use on onPreviewFrame to create a video, and i want to send this encoded video to network, please suggest me which encoder that android support. Thanks and Regards umer -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en sorry, I wanted to say to use MediaRecorder pskink -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
RE: [android-developers] Re: Encoder???
hi, Thanks for your kind reply, I studied about MediaRecorder to capture video, but i want to send video to my server (TCP socket) live. and save this video on a file. also i found that, the ParcelFileDescriptor.fromSocket(socket) can be use to send the video but i don't know, how to recieve it on server side. if you have any idea about please reply me. e.g, pfd = ParcelFileDescriptor.fromSocket(socket); recorder.setOutputFile(pfd.getFileDescriptor()); Thanks and Regards. umer Date: Tue, 24 Jan 2012 01:18:49 -0800 Subject: [android-developers] Re: Encoder??? From: psk...@gmail.com To: android-developers@googlegroups.com On Jan 24, 10:15 am, Muhammad UMER muhammad.ume...@hotmail.com wrote: hi, I recive your reply empty ,Please can you do it again. Thanks umer Date: Tue, 24 Jan 2012 00:35:18 -0800 Subject: [android-developers] Re: Encoder??? From: psk...@gmail.com To: android-developers@googlegroups.com muhammad.ume...@hotmail.com wrote: hi, Please anyone tell me that, which encoder i can use on onPreviewFrame to create a video, and i want to send this encoded video to network, please suggest me which encoder that android support. Thanks and Regards umer -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en sorry, I wanted to say to use MediaRecorder pskink -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com 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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Encoder???
Muhammad UMER wrote: hi, Thanks for your kind reply, I studied about MediaRecorder to capture video, but i want to send video to my server (TCP socket) live. and save this video on a file. also i found that, the ParcelFileDescriptor.fromSocket(socket) can be use to send the video but i don't know, how to recieve it on server side. if you have any idea about please reply me. e.g, pfd = ParcelFileDescriptor.fromSocket(socket); recorder.setOutputFile(pfd.getFileDescriptor()); http://mattakis.com/blog/kisg/20090708/broadcasting-video-with-android-without-writing-to-the-file-system pskink -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Encoder???
Muhammad UMER wrote: also i found that, the ParcelFileDescriptor.fromSocket(socket) can be use to send the video but i don't know, how to recieve it on server side. if you have any idea about please reply me. e.g, pfd = ParcelFileDescriptor.fromSocket(socket); recorder.setOutputFile(pfd.getFileDescriptor()); http://www.mattakis.com/blog/kisg/20090708/broadcasting-video-with-android-without-writing-to-the-file-system -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
RE: [android-developers] Re: Encoder???
hi, I go through this blog as you suggest, http://www.mattakis.com/blog/kisg/20090708/broadcasting-video-with-android-without-writing-to-the-file-system guy, just told how to send from android on network but doesn't told how to receive it on PC server. Thanks and Regards umer Date: Tue, 24 Jan 2012 01:52:23 -0800 Subject: Re: [android-developers] Re: Encoder??? From: psk...@gmail.com To: android-developers@googlegroups.com Muhammad UMER wrote: also i found that, the ParcelFileDescriptor.fromSocket(socket) can be use to send the video but i don't know, how to recieve it on server side. if you have any idea about please reply me. e.g, pfd = ParcelFileDescriptor.fromSocket(socket); recorder.setOutputFile(pfd.getFileDescriptor()); http://www.mattakis.com/blog/kisg/20090708/broadcasting-video-with-android-without-writing-to-the-file-system -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com 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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Encoder Mp3
On Tue, Dec 13, 2011 at 1:47 AM, Giuseppe porcelli.giuse...@gmail.comwrote: Hi TreKing, of course I tried Google Alright - you should always indicated this along with everything else you've tried to give people a understanding of what you've tried and what's not working for you. I found lame4android, tried with their app on the market and with their source code, no one can convert WAV file created by the Android encoder. I tried also to find something about FFMPEG porting, but nothing!! Any help? I can't help you, I don't know anything about this audio stuff, but if you would elaborate on what you're doing, what you have done so far, what specifically you're having trouble with, etc, you might get a better response. Narrowing down your problem to something very specific will help you get help. Good luck. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Encoder Mp3
I think mp3 encoder is hard to find, because mp3 encoding is got patent in some countries. On Tue, Dec 13, 2011 at 11:29 PM, TreKing treking...@gmail.com wrote: On Tue, Dec 13, 2011 at 1:47 AM, Giuseppe porcelli.giuse...@gmail.comwrote: Hi TreKing, of course I tried Google Alright - you should always indicated this along with everything else you've tried to give people a understanding of what you've tried and what's not working for you. I found lame4android, tried with their app on the market and with their source code, no one can convert WAV file created by the Android encoder. I tried also to find something about FFMPEG porting, but nothing!! Any help? I can't help you, I don't know anything about this audio stuff, but if you would elaborate on what you're doing, what you have done so far, what specifically you're having trouble with, etc, you might get a better response. Narrowing down your problem to something very specific will help you get help. Good luck. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Regards, Michael Leung http://www.itblogs.info - My IT Blog http://diary.skynovel.info - My Blog http://www.michaelleung.info - My Homepage -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Encoder Mp3
Hi TreKing, of course I tried Google, I found lame4android, tried with their app on the market and with their source code, no one can convert WAV file created by the Android encoder. I tried also to find something about FFMPEG porting, but nothing!! Any help? On Dec 13, 12:41 am, TreKing treking...@gmail.com wrote: On Mon, Dec 12, 2011 at 8:41 AM, Giuseppe porcelli.giuse...@gmail.comwrote: I am not able to understand how to convert local audio file from 3gp to Mp3 Have you tried Google? --- -- TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en