Opened 11 years ago

Closed 11 years ago

#1773 closed defect (invalid)

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

Description

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.

Attachments (2)

Android.mk (446 bytes ) - added by neelima 11 years ago.
vidapi.c (18.3 KB ) - added by neelima 11 years ago.

Download all attachments as: .zip

Change History (4)

by neelima, 11 years ago

Attachment: Android.mk added

by neelima, 11 years ago

Attachment: vidapi.c added

comment:1 by neelima, 11 years ago

Version: unspecified0.8.12

comment:2 by Carl Eugen Hoyos, 11 years ago

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.