No support for SDP files / RTP streams!

VLC for Android and Chrome OS specific usage questions
MoSal
New Cone
New Cone
Posts: 4
Joined: 20 Jan 2014 16:18

No support for SDP files / RTP streams!

Postby MoSal » 11 Dec 2014 15:46

Hello.

SDP files which describe RTP streams seem to be unrecognized by
VLC for Android (2014.12.05 nightly). The format itself is unrecognized.
So, directing VLC to a URL that points to such a file does not help.

It would be great if someone added support for SDP.

Thank you for an otherwise great app.

harshalpatel
New Cone
New Cone
Posts: 9
Joined: 28 Oct 2014 00:42

ffmpeg RTP streaming to VLC on Android Linux

Postby harshalpatel » 15 Dec 2014 19:47

Hi,
I am trying to do RTP streaming from ffmpeg to Android VLC player on the tablet. I am able to do RTP streaming from ffmpeg to VLC player on other Linux systems using .sdp file. But how to do it on Android? Is there any GUI option available in Android VLC to use .sdp file? Is it possible to run VLC from Android command line and do it that way?

I also tested with MPEG-TS and no .sdp file and I am able to stream it to Android VLC, but my application needs use of RTP.

Thank you,
Harshal Patel
HPC Systems Engineer
Signalogic Inc.

shuyuan
New Cone
New Cone
Posts: 7
Joined: 16 Dec 2014 10:52

checkout old version of VLC-android,but not play rtsp media

Postby shuyuan » 17 Dec 2014 06:41

Hi everyone,
i download vlc use git clone git://git.videolan.org/vlc-ports/android.git, because build it need target=android-21, but i don't download ANDROID SDK 21, so i checkout to [commit: 1c4d466e55ec37753db92beadaa15d0fe60bca32 Author: Geoffrey Métais <geoffrey.metais@gmail.com> Date: Thu Oct 30 17:06:13 2014 +0100], then use NDK-r10 and ANDROID SDK 19 to build all the vlc-android and vlc source code, all the build progress is OK and it show "BUILD SUCCESSFUL" , then i install the VLC-debug.apk to my XIAOMI phone, it can disaply locate media, but can't display rtsp media[like rtsp://218.204.223.237:554/live/1/66251FC11353191F/e7ooqwcfbqjoo80j.sdp]

can anybody known how to solve problem?

shuyuan
New Cone
New Cone
Posts: 7
Joined: 16 Dec 2014 10:52

Re: checkout old version of VLC-android,but not play rtsp me

Postby shuyuan » 18 Dec 2014 08:58

anyone give a direction to me about how to build out a APK that can play rtsp media?

shuyuan
New Cone
New Cone
Posts: 7
Joined: 16 Dec 2014 10:52

Re: checkout old version of VLC-android,but not play rtsp me

Postby shuyuan » 19 Dec 2014 08:17

I have already successfully build out a VLC.apk with ANDROID APL-21, and play a rtsp media, the result is still can't play
build flow:
1.git clone git://git.videolan.org/vlc-ports/android.git
2.config
ANDROID_SDK : SDK API 21
ANDROID_NDK : android-ndk-r10
ANDROID_ABI : armeabi-v7a
2. run sh compile.sh
the last it show BUILD SUCCESSFUL

next is logcat Error message:
can someone can analysis the log? find a way that fix this bug.

12-19 14:35:13.243: I/VLC/MainActivity(15263): onOpenMRL() is click.[------>this is i added]
12-19 14:35:19.414: W/libOpenSLES(15263): class OutputMix interface 0 requested but unavailable MPH=43
12-19 14:35:33.202: E/VLC(15263): core input: ES_OUT_RESET_PCR called
12-19 14:35:34.130: E/VLC(15263): mediacodec decoder: color-format not recognized
12-19 14:37:36.068: E/VLC(15263): core input: ES_OUT_SET_(GROUP_)PCR is called too late (pts_delay increased to 1500 ms)
12-19 14:37:36.068: E/VLC(15263): core input: ES_OUT_RESET_PCR called
12-19 14:37:44.881: W/VLC(15263): live555 demux: no data received in 10s, eof ?
12-19 14:37:44.924: W/VLC/AudioService(15263): Warning: invalid next index, aborted !


next is detail message about Error meesag
12-19 14:35:33.188: D/VLC(15263): core input: `rtsp://218.204.223.237:554/live/1/66251FC11353191F/e7ooqwcfbqjoo80j.sdp' successfully opened
12-19 14:35:33.188: D/dalvikvm(15263): threadid=15: interp stack at 0x61bc1000
12-19 14:35:33.188: D/dalvikvm(15263): threadid=15: bye!
12-19 14:35:33.199: D/ACodec(15263): [OMX.MTK.VIDEO.DECODER.MPEG4] Now handling output port settings change
12-19 14:35:33.202: D/VLC(15263): live555 demux: tk->rtpSource->hasBeenSynchronizedUsingRTCP()
12-19 14:35:33.202: E/VLC(15263): core input: ES_OUT_RESET_PCR called
12-19 14:35:33.202: D/dalvikvm(15263): threadid=15: interp stack at 0x61bc1000
12-19 14:35:33.204: D/ACodec(15263): Input[0], 0x6242f000(0x6242f000)

12-19 14:35:34.000: I/SurfaceTextureClient(15263): [STC::queueBuffer] (this:0x5f94db00) fps:5.10, dur:1176.38, max:688.02, min:17.21
12-19 14:35:34.124: D/dalvikvm(15263): threadid=15: interp stack at 0x61bd1000
12-19 14:35:34.124: D/VLC(15263): core input: Buffering 38%
12-19 14:35:34.124: D/VLC(15263): core input: Buffering 49%
12-19 14:35:34.125: D/VLC(15263): core input: Buffering 50%
12-19 14:35:34.127: D/VLC(15263): core input: Buffering 63%
12-19 14:35:34.129: D/VLC(15263): mediacodec decoder: output format changed: {height=288, what=1869968451, color-format=2130706433, slice-height=288, crop-left=0, width=352, crop-bottom=287, crop-top=0, mime=video/raw, stride=352, crop-right=351}
12-19 14:35:34.130: E/VLC(15263): mediacodec decoder: color-format not recognized
12-19 14:35:34.130: D/dalvikvm(15263): threadid=15: bye!
12-19 14:35:34.144: D/VLC(15263): core input: Buffering 64%

12-19 14:37:35.099: D/dalvikvm(15263): threadid=15: bye!
12-19 14:37:35.389: I/SurfaceTextureClient(15263): [STC::queueBuffer] (this:0x5f94db00) fps:1.01, dur:1983.92, max:998.81, min:985.11
12-19 14:37:35.399: D/dalvikvm(15263): threadid=15: interp stack at 0x61c0a000
12-19 14:37:35.411: D/dalvikvm(15263): threadid=15: bye!
12-19 14:37:35.411: D/dalvikvm(15263): threadid=15: interp stack at 0x61c0a000
12-19 14:37:35.411: D/dalvikvm(15263): threadid=15: bye!
12-19 14:37:35.712: D/dalvikvm(15263): threadid=15: interp stack at 0x61c0a000
12-19 14:37:35.727: D/dalvikvm(15263): threadid=15: bye!
12-19 14:37:35.739: D/dalvikvm(15263): threadid=15: interp stack at 0x61c0a000
12-19 14:37:35.740: D/dalvikvm(15263): threadid=15: bye!
12-19 14:37:36.040: D/dalvikvm(15263): threadid=15: interp stack at 0x61c0a000
12-19 14:37:36.061: D/dalvikvm(15263): threadid=15: bye!
12-19 14:37:36.067: D/dalvikvm(15263): threadid=15: interp stack at 0x61c0a000
12-19 14:37:36.067: D/dalvikvm(15263): threadid=15: bye!
12-19 14:37:36.068: E/VLC(15263): core input: ES_OUT_SET_(GROUP_)PCR is called too late (pts_delay increased to 1500 ms)
12-19 14:37:36.068: E/VLC(15263): core input: ES_OUT_RESET_PCR called

12-19 14:37:36.376: D/VLC(15263): core input: Buffering 0%
12-19 14:37:36.395: I/SurfaceTextureClient(15263): [STC::queueBuffer] (this:0x5f94db00) fps:0.99, dur:1005.90, max:1005.90, min:1005.90


Return to “VLC for Android and Chrome OS”

Who is online

Users browsing this forum: No registered users and 15 guests