vlc-android rtsp error

*nix specific usage questions
fangsong
Blank Cone
Blank Cone
Posts: 11
Joined: 26 Jan 2011 08:58

vlc-android rtsp error

Postby fangsong » 15 Feb 2011 09:30

To test the rtsp vlc-android features, I modify mLibVlc.readMedia ("/sdcard/test.mp4"); to mLibVlc.readMedia ("rtsp:// 59.56.174.206:8000/264.ts");
But it doesn't work,logs:
main input error: open of 'rtsp: / / 59.56.174.206:8000 / 264.ts' failed
main input error: Your input can't be opened
main input error: VLC is unable to open the MRL 'rtsp: / / 59.56.174.206:8000 / 264.ts'. Check the log for details

If anyone encountered the same problem, please help, thank you!

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: vlc-android rtsp error

Postby Jean-Baptiste Kempf » 15 Feb 2011 09:38

you need more logs, (-vvv)
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

fangsong
Blank Cone
Blank Cone
Posts: 11
Joined: 26 Jan 2011 08:58

Re: vlc-android rtsp error

Postby fangsong » 15 Feb 2011 09:47

more logs;

02-15 16:49:16.481: VERBOSE/LibVLC(10770): Reading rtsp://59.56.174.206:8000/264.ts
02-15 16:49:16.481: DEBUG/dalvikvm(10770): +++ not scanning '/system/lib/libwebcore.so' for 'readMedia' (wrong CL)
02-15 16:49:16.481: DEBUG/dalvikvm(10770): +++ not scanning '/system/lib/libmedia_jni.so' for 'readMedia' (wrong CL)
02-15 16:49:16.481: DEBUG/dalvikvm(10770): +++ not scanning '/system/lib/libexif.so' for 'readMedia' (wrong CL)
02-15 16:49:16.481: DEBUG/dalvikvm(10770): +++ not scanning '/system/lib/libsrec_jni.so' for 'readMedia' (wrong CL)
02-15 16:49:16.481: DEBUG/vlc(10770): [0x3d175c] main input debug: Creating an input for 'rtsp://59.56.174.206:8000/264.ts'
02-15 16:49:16.481: DEBUG/vlc(10770): [0x3d175c] main input debug: thread (input) created at priority 10 (../../src/input/input.c:215)
02-15 16:49:16.504: DEBUG/vlc(10770): [0x3d175c] main input debug: thread started
02-15 16:49:16.504: DEBUG/vlc(10770): [0x3d175c] main input debug: using timeshift granularity of 50 MiB
02-15 16:49:16.504: DEBUG/vlc(10770): [0x3d175c] main input debug: using timeshift path '/tmp'
02-15 16:49:16.504: DEBUG/vlc(10770): [0x3d175c] main input debug: `rtsp://59.56.174.206:8000/264.ts' gives access `rtsp' demux `' path `59.56.174.206:8000/264.ts'
02-15 16:49:16.504: DEBUG/vlc(10770): [0x3d175c] main input debug: creating demux: access='rtsp' demux='' location='59.56.174.206:8000/264.ts' file='(null)'
02-15 16:49:16.520: DEBUG/vlc(10770): [0x3d5124] main demux debug: looking for access_demux module: 0 candidates
02-15 16:49:16.520: DEBUG/vlc(10770): [0x3d5124] main demux debug: no access_demux module matched "rtsp"
02-15 16:49:16.520: DEBUG/vlc(10770): [0x3d5124] main demux debug: TIMER module_need() : 10.742 ms - Total 10.742 ms / 1 intvls (Avg 10.742 ms)
02-15 16:49:16.520: DEBUG/vlc(10770): [0x3d175c] main input debug: creating access 'rtsp' location='59.56.174.206:8000/264.ts', path='(null)'
02-15 16:49:16.520: DEBUG/vlc(10770): [0x3d5124] main access debug: looking for access module: 0 candidates
02-15 16:49:16.520: DEBUG/vlc(10770): [0x3d5124] main access debug: no access module matched "rtsp"
02-15 16:49:16.520: DEBUG/vlc(10770): [0x3d5124] main access debug: TIMER module_need() : 1.800 ms - Total 1.800 ms / 1 intvls (Avg 1.800 ms)
02-15 16:49:16.520: ERROR/vlc(10770): [0x3d175c] main input error: open of `rtsp://59.56.174.206:8000/264.ts' failed
02-15 16:49:16.520: ERROR/vlc(10770): [0x3d175c] main input error: Your input can't be opened
02-15 16:49:16.520: ERROR/vlc(10770): [0x3d175c] main input error: VLC is unable to open the MRL 'rtsp://59.56.174.206:8000/264.ts'. Check the log for details.
02-15 16:49:16.520: DEBUG/vlc(10770): [0x3d175c] main input debug: thread ended

Rémi Denis-Courmont
Developer
Developer
Posts: 15268
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: vlc-android rtsp error

Postby Rémi Denis-Courmont » 15 Feb 2011 18:50

Your VLC build has no RTSP client support whatsoever.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

fangsong
Blank Cone
Blank Cone
Posts: 11
Joined: 26 Jan 2011 08:58

Re: vlc-android rtsp error

Postby fangsong » 16 Feb 2011 03:04

Your VLC build has no RTSP client support whatsoever.
thank you for your reply!
I modified (extras / package / android / configure.sh), add - enable-realrtsp - enable-live555, and re-compiled result is the same. Did I miss something?, please advice, thank you.

my configure info:
./configure --host=arm-eabi-linux --build=x86_64-unknown-linux \
--enable-static-modules \
--enable-debug \
--disable-qt4 \
--disable-skins2 \
--disable-mad \
--disable-mkv \
--enable-realrtsp \
--enable-live555 \
--disable-libgcrypt \
--disable-remoteosd \
--disable-lua \
--enable-swscale \
--enable-avcodec \
--enable-avformat \
--disable-xcb \
--disable-dbus \
--disable-vcd \
--disable-v4l2 \
--disable-atmo \
--disable-vlc \
--disable-opensles \
--enable-android \
--disable-egl-android

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: vlc-android rtsp error

Postby Jean-Baptiste Kempf » 17 Feb 2011 01:09

Was it compiled?
Was it linked in the binary, at the end?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

fangsong
Blank Cone
Blank Cone
Posts: 11
Joined: 26 Jan 2011 08:58

Re: vlc-android rtsp error

Postby fangsong » 18 Feb 2011 03:50

Was it compiled?
Was it linked in the binary, at the end?
my mistake,I just re-compiled (vlc-android/builddir/).
but i add live555 to (extras/contrib), and re-build contrib, but compile live555 failed.
compile info:

"/usr/bin/wget" -c --passive http://live555.com/liveMedia/public/liv ... est.tar.gz
--2011-02-17 18:36:01-- http://live555.com/liveMedia/public/liv ... est.tar.gz
Resolving live555.com... 4.79.217.242
Connecting to live555.com|4.79.217.242|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 480478 (469K) [application/x-tar]
Saving to: `live555-latest.tar.gz'

100%[==========================================================================================>] 480,478 26.9K/s in 12s

2011-02-17 18:36:15 (39.2 KB/s) - `live555-latest.tar.gz' saved [480478/480478]

rm -rf live || true
gunzip -c live555-latest.tar.gz | tar xf - --exclude='[*?:<>\|]'
mv live555-latest live || true
mv: cannot stat `live555-latest': No such file or directory
touch live
patch -p0 < Patches/live-uselocale.patch
patching file live/liveMedia/include/Locale.hh
patching file live/liveMedia/Locale.cpp
patching file live/liveMedia/RTSPClient.cpp
Hunk #1 succeeded at 469 (offset -550 lines).
Hunk #2 succeeded at 483 (offset -550 lines).
patching file live/liveMedia/RTSPClient.cpp
Hunk #1 succeeded at 919 (offset -16 lines).
patching file live/liveMedia/RTSPCommon.cpp
Hunk #1 FAILED at 136.
1 out of 1 hunk FAILED -- saving rejects to file live/liveMedia/RTSPCommon.cpp.rej
make[1]: *** [live] Error 1
make[1]: Leaving directory `/home/fs/vlc-android/extras/contrib/build-src'
make: *** [using-src] Error 2

Sébastien Escudier
Big Cone-huna
Big Cone-huna
Posts: 853
Joined: 06 Nov 2008 08:38
Operating System: linux

Re: vlc-android rtsp error

Postby Sébastien Escudier » 18 Feb 2011 11:47

get latest git version of vlc (1.1 or 1.2 branch), the live555 patch should work now.

fangsong
Blank Cone
Blank Cone
Posts: 11
Joined: 26 Jan 2011 08:58

Re: vlc-android rtsp error

Postby fangsong » 21 Feb 2011 06:32

get latest git version of vlc (1.1 or 1.2 branch), the live555 patch should work now.
I am using vlc-android.

Sébastien Escudier
Big Cone-huna
Big Cone-huna
Posts: 853
Joined: 06 Nov 2008 08:38
Operating System: linux

Re: vlc-android rtsp error

Postby Sébastien Escudier » 21 Feb 2011 10:32

ok, so you could take this patch from 1.1-bugfix branch, or wait until tomorrow, android branch should be updated.

fangsong
Blank Cone
Blank Cone
Posts: 11
Joined: 26 Jan 2011 08:58

Re: vlc-android rtsp error

Postby fangsong » 22 Feb 2011 03:13

ok, so you could take this patch from 1.1-bugfix branch, or wait until tomorrow, android branch should be updated.
Thank you very much for your help, live555 patch works.and then I modified the config.armlinux, cross-compile live555 ok in(extra / contrib) directory. and Build the contribs okay.

I modified /extra/package/android/configure.sh,add (--enable-live555 --with-live555-tree=/home/fs/vlc-android/extras/contrib/build-src/live)
and I start the VLC compilation,but fail.
compile error info:

/bin/bash ../../libtool --tag=CXX --mode=compile /home/fs/android-ndk-r5b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin//arm-linux-androideabi-g++ -DHAVE_CONFIG_H -I. -I../../../modules/demux -I../.. -I../../../include -I../../include -I/home/fs/android-ndk-r5b/platforms/android-8/arch-arm/usr/include -I/home/fs/vlc-android/builddir/../extras/contrib/hosts/arm-linux-androideabi/include -DSYS_LINUX `top_srcdir="../../.." top_builddir="../.." ../../vlc-config --cxxflags builtin liblive555_plugin_la-live555.lo` -nostdlib -I/home/fs/vlc-android/builddir/../extras/contrib/hosts/arm-linux-androideabi/include -MT liblive555_plugin_la-live555.lo -MD -MP -MF .deps/liblive555_plugin_la-live555.Tpo -c -o liblive555_plugin_la-live555.lo `test -f 'live555.cpp' || echo '../../../modules/demux/'`live555.cpp
ERROR : ../../../modules/demux/live555.cpp:50: 20: iostream: No such file or directory
../../../modules/demux/live555.cpp: In function 'int Control(demux_t*, int, va_list)':
../../../modules/demux/live555.cpp:1563: note: the mangling of 'va_list' has changed in GCC 4.4
make: *** [all] Error 2

Sébastien Escudier
Big Cone-huna
Big Cone-huna
Posts: 853
Joined: 06 Nov 2008 08:38
Operating System: linux

Re: vlc-android rtsp error

Postby Sébastien Escudier » 22 Feb 2011 08:48

I don't know about android, but it looks like you're missing some c++ header.

fangsong
Blank Cone
Blank Cone
Posts: 11
Joined: 26 Jan 2011 08:58

Re: vlc-android rtsp error

Postby fangsong » 22 Feb 2011 09:51

I don't know about android, but it looks like you're missing some c++ header.
anyway thank you for your help!

fangsong
Blank Cone
Blank Cone
Posts: 11
Joined: 26 Jan 2011 08:58

Re: vlc-android rtsp error

Postby fangsong » 23 Feb 2011 06:16

....
Last edited by fangsong on 23 Feb 2011 09:49, edited 1 time in total.

fangsong
Blank Cone
Blank Cone
Posts: 11
Joined: 26 Jan 2011 08:58

Re: vlc-android rtsp error

Postby fangsong » 23 Feb 2011 08:37

Problem solved, thank you for the help.

KeithJiang
New Cone
New Cone
Posts: 3
Joined: 22 Feb 2011 03:00

Re: vlc-android rtsp error

Postby KeithJiang » 11 Mar 2011 08:06

Was it compiled?
Was it linked in the binary, at the end?
my mistake,I just re-compiled (vlc-android/builddir/).
but i add live555 to (extras/contrib), and re-build contrib, but compile live555 failed.
compile info:

"/usr/bin/wget" -c --passive http://live555.com/liveMedia/public/liv ... est.tar.gz
--2011-02-17 18:36:01-- http://live555.com/liveMedia/public/liv ... est.tar.gz
Resolving live555.com... 4.79.217.242
Connecting to live555.com|4.79.217.242|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 480478 (469K) [application/x-tar]
Saving to: `live555-latest.tar.gz'

100%[==========================================================================================>] 480,478 26.9K/s in 12s

2011-02-17 18:36:15 (39.2 KB/s) - `live555-latest.tar.gz' saved [480478/480478]

rm -rf live || true
gunzip -c live555-latest.tar.gz | tar xf - --exclude='[*?:<>\|]'
mv live555-latest live || true
mv: cannot stat `live555-latest': No such file or directory
touch live
patch -p0 < Patches/live-uselocale.patch
patching file live/liveMedia/include/Locale.hh
patching file live/liveMedia/Locale.cpp
patching file live/liveMedia/RTSPClient.cpp
Hunk #1 succeeded at 469 (offset -550 lines).
Hunk #2 succeeded at 483 (offset -550 lines).
patching file live/liveMedia/RTSPClient.cpp
Hunk #1 succeeded at 919 (offset -16 lines).
patching file live/liveMedia/RTSPCommon.cpp
Hunk #1 FAILED at 136.
1 out of 1 hunk FAILED -- saving rejects to file live/liveMedia/RTSPCommon.cpp.rej
make[1]: *** [live] Error 1
make[1]: Leaving directory `/home/fs/vlc-android/extras/contrib/build-src'
make: *** [using-src] Error 2
Hello,fangsong!
I fell into troubles when compiling vlc-android whit rtsp surpported. Could you tell me how to add live555 to (extras/contrib)?
Thank you

khuchoangtuong
New Cone
New Cone
Posts: 5
Joined: 01 Apr 2011 10:40

Re: vlc-android rtsp error

Postby khuchoangtuong » 18 Apr 2011 09:32

Hi fangsong,
I have this issue too.
May you share your experiences about solving the problem? Or anyone else know?
Thx.
Besides, anyone know fangsong's email?


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 16 guests