[Android] RTSP Stream not playing

Thomas Guillem thomas at gllm.fr
Fri Jan 23 11:02:46 CET 2015



On Fri, Jan 23, 2015, at 10:55, pankaj bansal wrote:
> Hi
>
> Yes its working. Now I want to compile it and run it. How can I
> do that?

Look at the wiki for an android build:
https://wiki.videolan.org/AndroidCompile/

>
> Basically Thomas I wan to achieve minimum latency possible. I think
> for that I need to reduce the initial buffer size. I think I will have
> to configure some flags and then compile it. Do you know if how can I
> reduce latency to minimum. You can assume I am not very good network.
> I am using vlc npapi plugin to do this on web.

You can have a look at ":network-caching=1500" in getMediaOptions method
in LibVLC.


>
> Regadrs Pankaj Bansal
>
> On Fri, Jan 23, 2015 at 3:10 PM, Thomas Guillem
> <thomas at gllm.fr> wrote:
>> __
>>
>>
>>
>> On Fri, Jan 23, 2015, at 10:09, pankaj bansal wrote:
>>> Hi
>>>
>>> Thanks for the reply. I am but curious that the vlc Android fro
>>> playstore is able to play everything but the vlc I compiled is not
>>> streaming. Is it not the same code ? Can you tell me the vlc android
>>> repo tag or branch and vlc repo tag or branch in git used to compile
>>> the vlc android in play store so that I can try to compile the same.
>>
>>
>>
>> I just fixed it, can you try with a nighly ? that one
>> http://nightlies.videolan.org/build/android-armv7/VLC-debug-20150123-0103.apk
>> for example.
>>
>>>
>>> Regards Pankaj Bansal
>>>
>>> On Wed, Jan 21, 2015 at 2:53 PM, Thomas Guillem <thomas at gllm.fr>
>>> wrote:
>>>> __
>>>> Thanks for you bug report. I'm currently trying to fix this issue,
>>>> I'll keep you in touch.
>>>>
>>>>
>>>> On Wed, Jan 21, 2015, at 08:20, pankaj bansal wrote:
>>>>> Hi
>>>>>
>>>>> Any help? Can someone please look at logs I have attached in
>>>>> previous mail. I am attaching the logs again. I am still stuck
>>>>> here
>>>>>
>>>>> Regards Pankaj Bansal
>>>>>
>>>>> On Tue, Jan 20, 2015 at 4:13 PM, pankaj bansal
>>>>> <pankaj.bansal.jiit at gmail.com> wrote:
>>>>>>
>>>>>> Hi
>>>>>>
>>>>>> I saw the logs. I feel the problem is with creating winodw to
>>>>>> start displaying the stream. The rtsp stream comes, its decoded,
>>>>>> but it tries to display it, its not able to create the
>>>>>> "androidwindow". In all 3 cases, it shows this error
>>>>>>
>>>>>> 01-20 12:17:25.277: D/VLC(28113): core vout display: looking for
>>>>>> vout display module matching "androidwindow": 4 candidates
>>>>>>
>>>>>> Any Help?
>>>>>>
>>>>>> Regards
>>>>>>
>>>>>> Pankaj Bansal
>>>>>>
>>>>>>
>>>>>> On Tue, Jan 20, 2015 at 12:58 PM, pankaj bansal
>>>>>> <pankaj.bansal.jiit at gmail.com> wrote:
>>>>>>> Hi
>>>>>>>
>>>>>>> I have build the vlc for android on Ubuntu 14.10. I am able play
>>>>>>> the local videos on my tab, but when I try play rtsp stream of
>>>>>>> h264 data, nothing plays back.I tried it two different local
>>>>>>> streams and one rtsp test link
>>>>>>> rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov
>>>>>>>
>>>>>>> I was able to play all these in vlc android I got from play
>>>>>>> store. I saw the logs, there are some errors like
>>>>>>>
>>>>>>> 01-20 11:38:28.687: E/ACodec(25471): Failed to allocate buffers
>>>>>>> after transitioning to IDLE state (error 0x80000000) 01-20
>>>>>>> 11:38:28.687: E/MediaCodec(25471): Codec reported an error. (omx
>>>>>>> error 0x80001001, internalError -2147483648) 01-20 11:38:28.687:
>>>>>>> I/ACodec(25471): [OMX.MARVELL.VIDEO.HW.CODA7542DECODER] Now
>>>>>>> Loaded 01-20 11:38:28.687: W/VLC(25471): mediacodec decoder:
>>>>>>> Exception occurred in MediaCodec.start
>>>>>>>
>>>>>>>
>>>>>>> 01-20 12:21:21.548: D/VLC(28192): core libvlc: art not found for
>>>>>>> rtsp://192.168.0.137/gstream.264
>>>>>>>
>>>>>>> 01-20 12:45:46.687: D/VLC(28728): core libvlc: art not found for
>>>>>>> rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov
>>>>>>>
>>>>>>>
>>>>>>> Any help? I am attaching the logs
>>>>>>>
>>>>>>> Device Samsung Tab 4 Android version 4.4.2
>>>>>>>
>>>>>>> Regards
>>>>>>>
>>>>>>> Pankaj Bansal
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>> _________________________________________________
>>>>> Android mailing list Android at videolan.org
>>>>> https://mailman.videolan.org/listinfo/android Email had 3
>>>>> attachments:


>>>>>  * Test link Wowza.txt 32k (text/plain)
>>>>>  * local 1.txt 21k (text/plain)
>>>>>  * local 2.txt 29k (text/plain)
>>>>
>>>>
>>>> _______________________________________________
>>>> Android mailing list Android at videolan.org
>>>> https://mailman.videolan.org/listinfo/android
>>>>
>>>
>>> _________________________________________________
>>> Android mailing list Android at videolan.org
>>> https://mailman.videolan.org/listinfo/android
>>
>>
>> _______________________________________________
>>
Android mailing list
>> Android at videolan.org https://mailman.videolan.org/listinfo/android
>>
>
> _________________________________________________
> Android mailing list Android at videolan.org
> https://mailman.videolan.org/listinfo/android

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/android/attachments/20150123/4510d435/attachment-0001.html>


More information about the Android mailing list