I am using Intel media-for-mobile sample (https://github.com/INDExOS/media-for-mobile) to Trim/Cut video. However when I when i record video and goes to ComposerTranscodeCoreActivity some time the video is not loaded and it shows black screen and some time the video is showing there but when i click to start trim/Cut it give me Error "Failed to allocate component instance" Logcat shows error: "Unable to instantiate a decoder for type 'video/avc'."
I am attaching screen shots for reference.
This scenario arise for second and third attempt of video, first time it Trim the video succesfully.
Thanks
naeem