How to load a video file(located in assets folder ) in NDK?
I am executing ffmpeg by android ndk, I am able to run an sample, here [https://github.com/ccggaass/android-ffmpeg-sample].

I want to put the video in android assets folder, so how to pass this file to the ffmpeg api:

av_open_input_file(&pFormatCtx, ***"file:/sdcard/vid.3gp"***, NULL, 0, NULL);

Does anyone know how to pass the file to av lib?
How to load a video file(located in assets folder ) in NDK?
===

I am executing ffmpeg by android ndk, I am able to run an sample, here [https://github.com/ccggaass/android-ffmpeg-sample].

I want to put the video in android assets folder, so how to pass this file to the ffmpeg api:

av_open_input_file(&pFormatCtx, ***"file:/sdcard/vid.3gp"***, NULL, 0, NULL);

Does anyone know how to pass the file to av lib?