FSL_GM_PLAYER appending 1235 bytes at the end of the file

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

FSL_GM_PLAYER appending 1235 bytes at the end of the file

789 Views
benoy
Contributor I

Hi,

   I was developing a sample video recorder application on  imx6 sabresd board (using android_jb4.2.2_1.1.0-ga), but the file saved by the application seems to have added 1235 bytes (always) of zeroes at the end of the file. However this problem is not there if I disable FSL_GM_PLAYER in libstagefright and libmediaplayerservice (ie, use stagefright recorder instead of GM Recorder).

As a starting point I have used the sample code given in developer.android.com for video recording (http://developer.android.com/guide/topics/media/camera.html).

PS: if required I can attach the recorded files....

Looking forward to hear from you...

Thanks in advance,

Benoy

Labels (3)
0 Kudos
6 Replies

623 Views
YixingKong
Senior Contributor IV

Benoy

This discussion is closed since no activity. If you still need help, please feel free to reply with an update to this discussion, or create another discussion.

Thanks,

Yixing

0 Kudos

623 Views
LeonardoSandova
Specialist I

Strange. are the recorded files (the ones with extra zeros) playable?

Leo

0 Kudos

623 Views
benoy
Contributor I


Hi Mr Leo,

   Indeed it is strange. Yes the files are playable. However, if I try to trim those files(using the native gallery application) it fails "Unfortunately gallery has stopped" error is popped up.

Best Regards,
Benoy

0 Kudos

623 Views
YixingKong
Senior Contributor IV

Benoy

We have not got your response yet and will close the discussion in 3 days. If you still need help, please feel free to

reply with an update to this discussion.
Thanks,
Yixing

0 Kudos

623 Views
YixingKong
Senior Contributor IV

Benoy


We are sorry for getting back to you so late. Are you still stuck with the issue? If you have somehow to resolved the issue, can we close the discussion? If you still need Freescale help, please feel free to contact us.

Thanks,
Yixing

0 Kudos

623 Views
admin
Specialist II

Benoy, did you ever get this issue resolved?

0 Kudos