FSL_GM_PLAYER appending 1235 bytes at the end of the file

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

FSL_GM_PLAYER appending 1235 bytes at the end of the file

1,256 次查看
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

标签 (3)
0 项奖励
回复
6 回复数

1,090 次查看
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 项奖励
回复

1,090 次查看
LeonardoSandova
Specialist I

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

Leo

0 项奖励
回复

1,090 次查看
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 项奖励
回复

1,090 次查看
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 项奖励
回复

1,090 次查看
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 项奖励
回复

1,090 次查看
admin
Specialist II

Benoy, did you ever get this issue resolved?

0 项奖励
回复