forked from islem19/C-VideoPlayer-BasedSDL
-
Notifications
You must be signed in to change notification settings - Fork 0
ilongshan/C-VideoPlayer-BasedSDL
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
working audio in zip file compile cmd gcc -o videoplayer videoplayer.c -lswresample -lavformat -lavcodec -lswscale -lavutil -lSDL -lz -lm Use libswresampler in gcc: -D\_\_RESAMPLER\_\_ -D\_\_LIBAVRESAMPLE\_\_ videoplayer.c works just fine check #start of islem patch SDL: https://stackoverflow.com/questions/10772875/how-to-build-sdl-libraries-for-android SDL error: include <SDL/SDL.h> include <SDL/...> Android.mk LOCAL_PATH:= $(call my-dir) include $(CLEAR_VARS) LOCAL_SRC_FILES:= main.c LOCAL_CFLAGS := -D__RESAMPLER__ -D__LIBSWRESAMPLE__ LOCAL_CFLAGS := -lz -lm LOCAL_LDLIBS := -lz -lm LOCAL_MODULE := vidplayer LOCAL_SHARED_LIBRARIES := libswresample libavformat libavcodec libswscale libavutil SDL2 include $(BUILD_EXECUTABLE)
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- C 99.3%
- Makefile 0.7%