Audio/video stream recording forums
|
Attention Visitor: |
You may have to register or log in before you can post:
|
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
rtmpdump+ilive fails on openwrt routerHi, i got rtmpdump 2.4 + KSV .diff file but i am still unable to watch ilive streams with my compiled rtmpgw. They play just fine on SimpleTV for Windows.
Where should i get a working rtmpdump source code for ilive? Connecting ... port: 1935, app: iguide ERROR: RTMP_ReadPacket, failed to read RTMP packet header Closing connection... done! Last edited by snuky : 03-15-2015 at 04:59 AM. |
#2
|
|||
|
|||
Re: Sources for a working rtmpdump+ilive?Quote:
can you post a link to try with my compiled rtmpsrv thanks |
#3
|
|||
|
|||
Re: Sources for a working rtmpdump+ilive?for debian x64 compiled rtmpdump works
Quote:
Quote:
|
#4
|
|||
|
|||
Re: Sources for a working rtmpdump+ilive?maybe with -V option you can learn more why it crashes
|
#5
|
|||
|
|||
Re: Sources for a working rtmpdump+ilive?My output to make V=s
Code:
make[1]: Entering directory `/home/user/wrt/trunk' make[2]: Entering directory `/home/user/wrt/trunk/package/libs/toolchain' if [ -f /home/user/wrt/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/pkginfo/toolchain.default.install.clean ]; then rm -f /home/user/wrt/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/pkginfo/toolchain.default.install /home/user/wrt/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/pkginfo/toolchain.default.install.clean; fi; echo "libc" >> /home/user/wrt/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/pkginfo/toolchain.default.install if [ -f /home/user/wrt/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/pkginfo/toolchain.default.install.clean ]; then rm -f /home/user/wrt/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/pkginfo/toolchain.default.install /home/user/wrt/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/pkginfo/toolchain.default.install.clean; fi; echo "libgcc" >> /home/user/wrt/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/pkginfo/toolchain.default.install make[2]: Leaving directory `/home/user/wrt/trunk/package/libs/toolchain' make[2]: Entering directory `/home/user/wrt/trunk/package/libs/ocf-crypto-headers' make[2]: Leaving directory `/home/user/wrt/trunk/package/libs/ocf-crypto-headers' make[2]: Entering directory `/home/user/wrt/trunk/package/libs/zlib' if [ -f /home/user/wrt/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/pkginfo/zlib.default.install.clean ]; then rm -f /home/user/wrt/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/pkginfo/zlib.default.install /home/user/wrt/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/pkginfo/zlib.default.install.clean; fi; echo "zlib" >> /home/user/wrt/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/pkginfo/zlib.default.install make[2]: Leaving directory `/home/user/wrt/trunk/package/libs/zlib' make[2]: Entering directory `/home/user/wrt/trunk/package/libs/openssl' if [ -f /home/user/wrt/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/pkginfo/openssl.default.install.clean ]; then rm -f /home/user/wrt/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/pkginfo/openssl.default.install /home/user/wrt/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/pkginfo/openssl.default.install.clean; fi; echo "libopenssl" >> /home/user/wrt/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/pkginfo/openssl.default.install make[2]: Leaving directory `/home/user/wrt/trunk/package/libs/openssl' make[2]: Entering directory `/home/user/wrt/trunk/feeds/mediawrt/utils/rtmpdump' CFLAGS="-Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -mips16 -minterlink-mips16 -I/home/user/wrt/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/include -I/home/user/wrt/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/include -I/home/user/wrt/trunk/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/usr/include -I/home/user/wrt/trunk/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include " CXXFLAGS="-Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -mips16 -minterlink-mips16 -I/home/user/wrt/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/include -I/home/user/wrt/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/include -I/home/user/wrt/trunk/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/usr/include -I/home/user/wrt/trunk/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include " LDFLAGS="-L/home/user/wrt/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/lib -L/home/user/wrt/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/lib -L/home/user/wrt/trunk/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/usr/lib -L/home/user/wrt/trunk/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/lib " make -j1 -C /home/user/wrt/trunk/build_dir/target-mips_34kc_uClibc-0.9.33.2/rtmpdump-2.3/. AR="mips-openwrt-linux-uclibc-gcc-ar" AS="mips-openwrt-linux-uclibc-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float" LD=mips-openwrt-linux-uclibc-ld NM="mips-openwrt-linux-uclibc-gcc-nm" CC="mips-openwrt-linux-uclibc-gcc" GCC="mips-openwrt-linux-uclibc-gcc" CXX="mips-openwrt-linux-uclibc-g++" RANLIB="mips-openwrt-linux-uclibc-gcc-ranlib" STRIP=mips-openwrt-linux-uclibc-strip OBJCOPY=mips-openwrt-linux-uclibc-objcopy OBJDUMP=mips-openwrt-linux-uclibc-objdump SIZE=mips-openwrt-linux-uclibc-size CROSS="mips-openwrt-linux-uclibc-" ARCH="mips" INC="-I/home/user/wrt/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/include -I/home/user/wrt/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/include -I/home/user/wrt/trunk/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/usr/include -I/home/user/wrt/trunk/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include" XLDFLAGS="-L/home/user/wrt/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/lib -L/home/user/wrt/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/lib -L/home/user/wrt/trunk/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/usr/lib -L/home/user/wrt/trunk/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/lib" ; make[3]: Entering directory `/home/user/wrt/trunk/build_dir/target-mips_34kc_uClibc-0.9.33.2/rtmpdump-2.3' make[4]: Entering directory `/home/user/wrt/trunk/build_dir/target-mips_34kc_uClibc-0.9.33.2/rtmpdump-2.3/librtmp' make[4]: Nothing to be done for `all'. make[4]: Leaving directory `/home/user/wrt/trunk/build_dir/target-mips_34kc_uClibc-0.9.33.2/rtmpdump-2.3/librtmp' mips-openwrt-linux-uclibc-gcc -Wall -I/home/user/wrt/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/include -I/home/user/wrt/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/include -I/home/user/wrt/trunk/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/usr/include -I/home/user/wrt/trunk/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include -DRTMPDUMP_VERSION=\"v2.4\" -O2 -c -o rtmpdump.o rtmpdump.c cc1: note: someone does not honour COPTS correctly, passed 0 times mips-openwrt-linux-uclibc-gcc -Wall -L/home/user/wrt/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/lib -L/home/user/wrt/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/lib -L/home/user/wrt/trunk/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/usr/lib -L/home/user/wrt/trunk/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/lib -o rtmpdump rtmpdump.o -Llibrtmp -lrtmp -lssl -lcrypto -lz -lm /home/user/wrt/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/lib/librtmp.so: warning: gethostbyname is obsolescent, use getnameinfo() instead. rtmpdump.o: In function `main': rtmpdump.c:(.text.startup+0xf38): undefined reference to `AVcopy' collect2: error: ld returned 1 exit status make[3]: *** [rtmpdump] Error 1 make[3]: Leaving directory `/home/user/wrt/trunk/build_dir/target-mips_34kc_uClibc-0.9.33.2/rtmpdump-2.3' make[2]: *** [/home/user/wrt/trunk/build_dir/target-mips_34kc_uClibc-0.9.33.2/rtmpdump-2.3/.built] Error 2 make[2]: Leaving directory `/home/user/wrt/trunk/feeds/mediawrt/utils/rtmpdump' make[1]: *** [package/feeds/mediawrt/rtmpdump/compile] Error 2 make[1]: Leaving directory `/home/user/wrt/trunk Code:
if (playpath.av_len == 0 && parsedPlaypath.av_len) { playpath = AVcopy(parsedPlaypath); } http://192.168.1.133:8080/?r=rtmp:%2...jsda6523 lDGD i get Code:
Connecting ... port: 1935, app: redirect ERROR: RTMP_ReadPacket, failed to read RTMP packet header Closing connection... done! Connecting ... port: 1935, app: redirect ERROR: RTMP_ReadPacket, failed to read RTMP packet header Closing connection... done! |
#6
|
|||
|
|||
Re: rtmpdump+ilive fails on openwrt routerOkay I fixed it but when I do x64 compilation ilive works but with mips platform it fails just like rtmpdump without patches.
KSV fixes are ignored on mips platform My build options Code:
CFLAGS="-Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -mips16 -minterlink-mips16 -I/home/arufl/wrt/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/include -I/home/arufl/wrt/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/include -I/home/arufl/wrt/trunk/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/usr/include -I/home/arufl/wrt/trunk/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include " CXXFLAGS="-Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -mips16 -minterlink-mips16 -I/home/arufl/wrt/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/include -I/home/arufl/wrt/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/include -I/home/arufl/wrt/trunk/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/usr/include -I/home/arufl/wrt/trunk/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include " LDFLAGS="-L/home/arufl/wrt/trun~/rtmp/rtmpdump $ k/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/lib -L/home/arufl/wrt/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/lib -L/home/arufl/wrt/trunk/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/usr/lib -L/home/arufl/wrt/trunk/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/lib " make -j1 -C ./. AR="mips-openwrt-linux-uclibc-gcc-ar" AS="mips-openwrt-linux-uclibc-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float" LD=mips-openwrt-linux-uclibc-ld NM="mips-openwrt-linux-uclibc-gcc-nm" CC="mips-openwrt-linux-uclibc-gcc" GCC="mips-openwrt-linux-uclibc-gcc" CXX="mips-openwrt-linux-uclibc-g++" RANLIB="mips-openwrt-linux-uclibc-gcc-ranlib" STRIP=mips-openwrt-linux-uclibc-strip OBJCOPY=mips-openwrt-linux-uclibc-objcopy OBJDUMP=mips-openwrt-linux-uclibc-objdump SIZE=mips-openwrt-linux-uclibc-size CROSS="mips-openwrt-linux-uclibc-" ARCH="mips" INC="-I/home/arufl/wrt/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/include -I/home/arufl/wrt/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/include -I/home/arufl/wrt/trunk/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/usr/include -I/home/arufl/wrt/trunk/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include" XLDFLAGS="-L/home/arufl/wrt/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/lib -L/home/arufl/wrt/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/lib -L/home/arufl/wrt/trunk/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/usr/lib -L/home/arufl/wrt/trunk/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/lib" Last edited by snuky : 03-16-2015 at 02:34 AM. |
Tags: ilive |
Thread Tools | |
Display Modes | |
|
|