From 6c799e4a2ec32ff8fc3a556e5dc7d0511113b1f5 Mon Sep 17 00:00:00 2001 From: Taner Sener Date: Tue, 11 Dec 2018 02:53:11 +0300 Subject: [PATCH] fix github page errors --- README.md | 10 +++++----- docs/.gitignore | 3 +++ docs/index.md | 22 ++++++---------------- 3 files changed, 14 insertions(+), 21 deletions(-) diff --git a/README.md b/README.md index 662285988..82f4dc486 100644 --- a/README.md +++ b/README.md @@ -210,29 +210,29 @@ There are eight different binary packages. Below you can see which system librar 7. List enabled external libraries. ``` - NASArray *externalLibraries = [MobileFFmpegConfig getExternalLibraries]; + NSArray *externalLibraries = [MobileFFmpegConfig getExternalLibraries]; ``` 8. Enable log callback. ``` + [MobileFFmpegConfig setLogDelegate:self]; + - (void)logCallback: (int)level :(NSString*)message { dispatch_async(dispatch_get_main_queue(), ^{ NSLog(@"%@", message); }); } - ... - [MobileFFmpegConfig setLogDelegate:self]; ``` 9. Enable statistics callback. ``` + [MobileFFmpegConfig setStatisticsDelegate:self]; + - (void)statisticsCallback:(Statistics *)newStatistics { dispatch_async(dispatch_get_main_queue(), ^{ NSLog(@"frame: %d, time: %d\n", newStatistics.getVideoFrameNumber, newStatistics.getTime); }); } - ... - [MobileFFmpegConfig setStatisticsDelegate:self]; ``` 10. Set log level. diff --git a/docs/.gitignore b/docs/.gitignore index bd3f1fa9e..3d6ecbb9a 100644 --- a/docs/.gitignore +++ b/docs/.gitignore @@ -1 +1,4 @@ /_site/ +/Gemfile +/Gemfile.lock +/.jekyll-metadata diff --git a/docs/index.md b/docs/index.md index 7187e8c60..2d8d9b88e 100644 --- a/docs/index.md +++ b/docs/index.md @@ -3,7 +3,7 @@ layout: default --- FFmpeg for Android and IOS - + ### 1. Features - Supports FFmpeg `v3.4.x`, `v4.0.x` and `v4.1` releases @@ -33,7 +33,6 @@ There are eight different prebuilt packages. Below you can see which external li - @@ -46,7 +45,6 @@ There are eight different prebuilt packages. Below you can see which external li - @@ -56,14 +54,6 @@ There are eight different prebuilt packages. Below you can see which external li - - - - - - - -
min min-gpl https
external libraries - vid.stab
x264
x265
xvidcore
gmp
gnutls
chromaprint
fontconfig
freetype
fribidi
gmp
gnutls
kvazaar
lame
libaom
libass
libiconv
libilbc
libtheora
libvorbis
libvpx
libwebp
libxml2
opencore-amr
opus
sdl
shine
snappy
soxr
speex
tesseract
twolame
wavpack
chromaprint
fontconfig
freetype
fribidi
gmp
gnutls
kvazaar
lame
libaom
libass
libiconv
libilbc
libtheora
libvorbis
libvpx
libwebp
libxml2
opencore-amr
opus
sdl
shine
snappy
soxr
speex
tesseract
twolame
vid.stab
wavpack
x264
x265
xvidcore
android system librarieszlib
MediaCodec
ios system librarieszlib
AudioToolbox
AVFoundation
CoreImage
VideoToolbox
bzip2
@@ -192,29 +182,29 @@ There are eight different prebuilt packages. Below you can see which external li 7. List enabled external libraries. ``` - NASArray *externalLibraries = [MobileFFmpegConfig getExternalLibraries]; + NSArray *externalLibraries = [MobileFFmpegConfig getExternalLibraries]; ``` 8. Enable log callback. ``` + [MobileFFmpegConfig setLogDelegate:self]; + - (void)logCallback: (int)level :(NSString*)message { dispatch_async(dispatch_get_main_queue(), ^{ NSLog(@"%@", message); }); } - ... - [MobileFFmpegConfig setLogDelegate:self]; ``` 9. Enable statistics callback. ``` + [MobileFFmpegConfig setStatisticsDelegate:self]; + - (void)statisticsCallback:(Statistics *)newStatistics { dispatch_async(dispatch_get_main_queue(), ^{ NSLog(@"frame: %d, time: %d\n", newStatistics.getVideoFrameNumber, newStatistics.getTime); }); } - ... - [MobileFFmpegConfig setStatisticsDelegate:self]; ``` 10. Set log level.