The output video was all green
Reported by: |
neelima |
Owned by: |
|
Priority:
|
critical
|
Component:
|
ffmpeg
|
Version:
|
0.8.12
|
Keywords:
|
|
Cc:
|
|
Blocked By:
|
|
Blocking:
|
|
Reproduced by developer:
|
no
|
Analyzed by developer:
|
no
|
|
|
This is the procedure we are following to Compile FFMPEG & Calling .c function
1)Downloaded ffmpeg from ffmpeg.org
2)Downloaded Android.mk file for that version and compiled from terminal.
3)This will generate .so and .a files
4)Those generated filed included in jni folder with respective header files.
packages are:
libavcodec
libavcore
libavdevice
libavfilter
libavformat
libavutil
libswscale
5)we have a .c file which will be invoked from the Android.mk file using above packages
In Android.mk file I was specifying
LOCAL_MODULE & LOCAL_SRC_FILES & LOCAL_C_INCLUDES & LOCAL_LDLIBS details
6)Here c file is response for generating video.
7)In Android Activity I am invoking jni c file .with an static function.
With in static function am loaded all library with respect method
Static{
System.loadLibrary(“localmodulename”);
}
and calling method .
Here i attached Android.mk file which i am using in project.
But here we are facing problem is from PPM files generated video but it will show green color video.
Can u please tell me how to do with .jpg files .and how to include more than audio file to generated Video file.
Change History
(4)
Version: |
unspecified → 0.8.12
|
Resolution: |
→ invalid
|
Status: |
new → closed
|