File tree 5 files changed +26
-7
lines changed
5 files changed +26
-7
lines changed Original file line number Diff line number Diff line change @@ -49,10 +49,12 @@ function build_ffmpeg {
49
49
make >> ${build_log} 2>&1 || die " Couldn't build ffmpeg!"
50
50
make install >> ${build_log} 2>&1 || die " Couldn't install ffmpeg!"
51
51
52
- # copy the versioned libraries and executables
53
- # lib*.so.+([0-9])
54
- cp ${src_root} /ffmpeg/android/arm/lib/lib* -+ ([0-9]).so ${dist_root} /.
55
- cp ${src_root} /ffmpeg/android/arm/bin/ff* ${dist_root} /.
52
+ # copy the versioned libraries
53
+ cp ${prefix} /lib/lib* -+ ([0-9]).so ${dist_lib_root} /.
54
+ # copy the executables
55
+ cp ${prefix} /bin/ff* ${dist_bin_root} /.
56
+ # copy the headers
57
+ cp -r ${prefix} /include/* ${dist_include_root} /.
56
58
57
59
cd ${top_root}
58
60
}
Original file line number Diff line number Diff line change @@ -26,7 +26,9 @@ function build_librtmp {
26
26
die " Couldn't build librtmp for android!"
27
27
28
28
# copy the versioned libraries
29
- cp ${src_root} /rtmpdump/librtmp/android/arm/lib/lib* -+ ([0-9]).so ${dist_root} /.
29
+ cp ${prefix} /lib/lib* -+ ([0-9]).so ${dist_lib_root} /.
30
+ # copy the headers
31
+ cp -r ${prefix} /include/* ${dist_include_root} /.
30
32
31
33
cd ${top_root}
32
34
}
Original file line number Diff line number Diff line change @@ -7,8 +7,13 @@ function build_openssl {
7
7
cd ${src_root} /openssl-android
8
8
${NDK} /ndk-build >> ${build_log} 2>&1 || die " Couldn't build openssl-android!"
9
9
10
- # copy the versioned libraries and executables
11
- cp ${src_root} /openssl-android/libs/armeabi/* ${dist_root} /.
10
+ # copy the versioned libraries
11
+ cp ${src_root} /openssl-android/libs/armeabi/lib* .so ${dist_lib_root} /.
12
+ # copy the executables
13
+ cp ${src_root} /openssl-android/libs/armeabi/openssl ${dist_bin_root} /.
14
+ cp ${src_root} /openssl-android/libs/armeabi/ssltest ${dist_bin_root} /.
15
+ # copy the headers
16
+ cp -r ${src_root} /openssl-android/include/* ${dist_include_root} /.
12
17
13
18
cd ${top_root}
14
19
}
Original file line number Diff line number Diff line change @@ -41,6 +41,9 @@ function initialize {
41
41
build_root=${top_root} /build
42
42
patch_root=${top_root} /patches
43
43
dist_root=${top_root} /build/dist
44
+ dist_bin_root=${dist_root} /bin
45
+ dist_include_root=${dist_root} /include
46
+ dist_lib_root=${dist_root} /lib
44
47
build_log=${top_root} /build/build.log
45
48
config_file=${top_root} /.build-config.sh
46
49
@@ -49,6 +52,9 @@ function initialize {
49
52
test -d ${src_root} || mkdir -p ${src_root}
50
53
test -d ${build_root} || mkdir -p ${build_root}
51
54
test -d ${dist_root} || mkdir -p ${dist_root}
55
+ test -d ${dist_bin_root} || mkdir -p ${dist_bin_root}
56
+ test -d ${dist_include_root} || mkdir -p ${dist_include_root}
57
+ test -d ${dist_lib_root} || mkdir -p ${dist_lib_root}
52
58
touch ${build_log}
53
59
54
60
rm -f ${build_log}
Original file line number Diff line number Diff line change
1
+ rtmp://www.planeta-online.tv:1936/live/channel_4
2
+ rtmp://stream.lax.cine.io/20C45E/cines/cine20?prelude49&adbe-live-event=cine20
3
+
4
+ ffmpeg -i rtmp://www.planeta-online.tv:1936/live/channel_4 -acodec copy -vcodec copy -f flv rtmp://stream.lax.cine.io/20C45E/cines/cine20?prelude49\&adbe-live-event=cine20
You can’t perform that action at this time.
0 commit comments