Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

Forums:

hi all,

        I making an aplication in which i have to record a video in buffer and have to send the frames over the network(to the server) while recording.i have gone through all the post but i didn't  get the suitable answer for this application.right now i am using ICamer function for record movie but wont understand how to send the frames to the server while recording(means i hv to record n send frames simulatenously). plss help me...

regards,

ryantech

while recording the video in a buffer you will not be able to identify how much data has been stored in the buffer.
so record it in a file & try to open the file using into different IFile object & then read the data into a buffer & send it using ISocket or IWeb.
not sure but it may work out.

while recording the video in a buffer you will not be able to identify how much data has been stored in the buffer.
so record it in a file & try to open the file using into different IFile object & then read the data into a buffer & send it using ISocket or IWeb.
not sure but it may work out.

thnx for the reply...bt can it be possible to overwrite the data of file everytime.it means i record 10 bytes in file n read it from buffer n send it to the server then again when it record 10 bytes it overwrite that file.is it possible through this method which u hv given.

thnx for the reply...bt can it be possible to overwrite the data of file everytime.it means i record 10 bytes in file n read it from buffer n send it to the server then again when it record 10 bytes it overwrite that file.is it possible through this method which u hv given.

did not get ur question.
when u read a File using IFile, the file pointer moves forward by the amount of data read. So the next time u read , it reads forward from the location of file pointer.

did not get ur question.
when u read a File using IFile, the file pointer moves forward by the amount of data read. So the next time u read , it reads forward from the location of file pointer.

i am asking i dont want save file in phone.bt whn i start recording the file will saved automaticaly in my phone. In my application i have to record the movie and parllelly i hv to send the chunks to the server.

i am asking i dont want save file in phone.bt whn i start recording the file will saved automaticaly in my phone. In my application i have to record the movie and parllelly i hv to send the chunks to the server.

if u want to send the encoded Video file, u will need to save the file. i see no other option.
Though if u want to only send indivisual frames(without audio), u can send the data u get as Bitmap in Frame Callbacks.

if u want to send the encoded Video file, u will need to save the file. i see no other option.
Though if u want to only send indivisual frames(without audio), u can send the data u get as Bitmap in Frame Callbacks.

hi shivendra,
                    i have sent the video file which i saved in my phone to the server through isocket but it is not playing there in server.

hi shivendra,
                    i have sent the video file which i saved in my phone to the server through isocket but it is not playing there in server.

Is the data being sent been written by the server correctly.
 
take a small sample file & send it to the server & then compare the orignal & the one on server to see the difference.

Is the data being sent been written by the server correctly.
 
take a small sample file & send it to the server & then compare the orignal & the one on server to see the difference.

thnx shivendra now m able to send the whole file to the server.but now i got stuck in thread.

thnx shivendra now m able to send the whole file to the server.but now i got stuck in thread.

hi shivendra,
                 i am able to send the movie file to the server...in my application i have to invoke camera and record movie for sometime then i have to call icamera_stop n send the movie file to the server then again i have to invoke camera n follow the same procedure. but whn i do it for the first time it works fine n again i call icamera_start my applicaion got hanged and it gives me an error.shall i hv to release icamera instance???

hi shivendra,
                 i am able to send the movie file to the server...in my application i have to invoke camera and record movie for sometime then i have to call icamera_stop n send the movie file to the server then again i have to invoke camera n follow the same procedure. but whn i do it for the first time it works fine n again i call icamera_start my applicaion got hanged and it gives me an error.shall i hv to release icamera instance???