I was working with a android project in which it captures live feed from a cam and saves it as a mp4 file. My target is to to decode this mp4 video file using media-codecs ( android internal software decoder) and dump this raw data. Using the CameraX api, i was able to save the mp4 file to storage. I wasn't able to load the recorded video file to media codecs for decoding. I won't be able to use any modules like opencv, ffmpeg.
Any help is appreciated.
I have no idea how to load file data to decoder. All the tutorials are loading it from surface textures.