Comments (9)
AFAIK, no one knows a solution to this. havlena itself said that he was at this point, too.
from ffmpeg.
here is tutorial: http://dranger.com/ffmpeg/tutorial05.html but is pretty hard to understand, I will try to implement it, but someone could try it too and send me patch
from ffmpeg.
i am trying to add H.264 support to your project. once completed, if you want, you can integrate my work with yours. after that i will try to solve the synch issue. it seems, though, that method invocations (setFrameSkip, setFrameSize, ..) don't affect the video playback at all; is it just me or even you?
from ffmpeg.
I hope you ffmpeg completed ,send me .email: [email protected]
thank you
from ffmpeg.
Dear dextorer,
I would like to compile havlenapetr's FFMpeg with my own compiled x264 in cygwin.
I saw the following errors
Compile thumb : ffmpeg_jni <= cmdutils.c
SharedLibrary : libffmpeg_jni.so
C:/fm/ffmpeg/obj/local/armeabi-v7a/libavcodec.a(libx264.o): In function X264_close': C:/fm/ffmpeg/jni/libffmpeg/libavcodec/libx264.c:146: undefined reference to
x264_encoder_close'
C:/fm/ffmpeg/obj/local/armeabi-v7a/libavcodec.a(libx264.o): In function X264_frame': C:/fm/ffmpeg/jni/libffmpeg/libavcodec/libx264.c:92: undefined reference to
x264_picture_init'
C:/fm/ffmpeg/jni/libffmpeg/libavcodec/libx264.c:107: undefined reference to x264_encoder_encode' C:/fm/ffmpeg/jni/libffmpeg/libavcodec/libx264.c:113: undefined reference to
x264_encoder_delayed_frames'
C:/fm/ffmpeg/obj/local/armeabi-v7a/libavcodec.a(libx264.o): In function X264_init': C:/fm/ffmpeg/jni/libffmpeg/libavcodec/libx264.c:156: undefined reference to
x264_param_default'
C:/fm/ffmpeg/jni/libffmpeg/libavcodec/libx264.c:300: undefined reference to x264_encoder_open_116' C:/fm/ffmpeg/jni/libffmpeg/libavcodec/libx264.c:310: undefined reference to
x264_encoder_headers'
collect2: ld returned 1 exit status
make: *** [/cygdrive/c/fm/ffmpeg/obj/local/armeabi-v7a/libffmpeg_jni.so] Error 1
belows is my android.mk
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
IN_NDK := true
LOCAL_CFLAGS := -D__STDC_CONSTANT_MACROS
WITH_CONVERTOR := true
WITH_PLAYER := false
ifeq ($(WITH_PLAYER),true)
LOCAL_CFLAGS += -DBUILD_WITH_PLAYER
endif
ifeq ($(WITH_CONVERTOR),true)
LOCAL_CFLAGS += -DBUILD_WITH_CONVERTOR
endif
LOCAL_C_INCLUDES +=
$(LOCAL_PATH)/../libffmpeg
$(LOCAL_PATH)/../libx264
$(LOCAL_PATH)/../libmediaplayer
$(LOCAL_PATH)/../include
LOCAL_SRC_FILES :=
onLoad.cpp
com_media_ffmpeg_FFMpegAVFrame.cpp
com_media_ffmpeg_FFMpegAVInputFormat.c
com_media_ffmpeg_FFMpegAVRational.c
com_media_ffmpeg_FFMpegAVFormatContext.c
com_media_ffmpeg_FFMpegAVCodecContext.cpp
com_media_ffmpeg_FFMpegUtils.cpp
ifeq ($(WITH_CONVERTOR),true)
LOCAL_SRC_FILES +=
com_media_ffmpeg_FFMpeg.c
../libffmpeg/cmdutils.c
endif
ifeq ($(WITH_PLAYER),true)
LOCAL_SRC_FILES +=
com_media_ffmpeg_FFMpegPlayer.cpp
#com_media_ffmpeg_android_FFMpegPlayerAndroid.cpp
endif
ifeq ($(IN_NDK),true)
LOCAL_LDLIBS := -llog
else
LOCAL_PRELINK_MODULE := false
LOCAL_SHARED_LIBRARIES := liblog
endif
#LOCAL_SHARED_LIBRARIES := libjniaudio libjnivideo
#LOCAL_STATIC_LIBRARIES := libavcodec libavformat libavutil libpostproc libswscale libmediaplayer
LOCAL_STATIC_LIBRARIES := libx264 libavcodec libavformat libavutil libpostproc libswscale
LOCAL_MODULE := libffmpeg_jni
include $(BUILD_SHARED_LIBRARY)
any hint to help me to get out of these problems
Thank you
from ffmpeg.
i tried many times to add the x264 support on this project. i was successful in compiling, but i couldn't see no changes in the player's behaviour: that is to say, i was still unable to playback .H264 video files. sorry mate.
from ffmpeg.
@dextorer can you tell me the way to get the frames of video and audio , I want to get video frames all in bitmap array
from ffmpeg.
Hi
I want to run HD file through FFMPEG and X264 . Pls Could you tell or guide to me how to integrate X264 with FFMPEG . Thanx to u
from ffmpeg.
check ffmpeg project (in config.h enable x264 flag)
from ffmpeg.
Related Issues (20)
- Unable to find JNI Methods
- Go far ? HOT 2
- how to play m3u8? HOT 1
- No Picture HOT 2
- av_read_frame not work, return -110 HOT 3
- call the method of " setDataSource() " before call the method of "prepare()" maybe happen
- ffmpeg for android HOT 1
- give error
- There is a issue ,why is it? HOT 6
- android4.0 or higher HOT 3
- Does this project contain muxer part?
- Couldn't load lib HOT 4
- dlopen failed: cannot locate symbol "_ZN7android10AudioTrack12sharedBufferEv" referenced by "libjniaudio.so"...
- Not a good compilation of links
- ffmpeg: Application provided invalid, non monotonically increasing dts to muxer in stream 1: 93840 >= 93690
- java.lang.UnsatisfiedLinkError: dlopen failed: library "libavutil-55.so" not found
- 能否提供一个Android Studio 版本
- FFMpeg读取内存数据NSData用了AVIOContext * avio_in =avio_alloc_context(inbuffer,32768*20,0,NULL,read_buffer,NULL,NULL);里的read_buffer方法
- Issue in multicast
- Multicast not playing on network
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ffmpeg.