Android Media Player HLS - android

I am trying to run HLS on Android media player. I am using the code provided in this link.
The sample video URL runs but when I replace link with hls link it doesn't work.
Logcat output:
GPU monitor inactive - could not find libgpumonitor.so [(null)] or not enabled (debug.egl.hw.gpumonitor = 0)

Android media player does not support HLS playback. The NuPlayer (in 5.1.1) although streams HLS content, but the frame rendering is not as smooth as MP4 rendering.

Related

android Exoplayer the video is streaming without audio why?

I have an Exoplayer example in my android TV application which stream udp url like below
udp://232.196.x.x:xxxx
the streaming working well but the video is playing without any audio or any sound.
i need to select the default audio track using DefaultTrackSelector

Playing .m3u8 HLS live stream in Android

I am trying to achieve HLS streaming in Android.
I have setup the HLS streaming server (apache2) in Ubuntu desktop and able to play the stream using the VLC player on Desktop.
But when i try to play the stream using VLC player in Android, I am not play the video, nor I am getting any error.
If anyone has tried similar streaming, please provide your inputs.
Thanks
Following some further investigation, I've found the following information that can hopefully help other people get HLS streaming on Android working.
Encoding - The video encoding, and the segmentation setup can have a large impact on the Android versions that the video supports. I ended up creating a video using HandBrake, with the following settings:
MP4 File
H.264; Baseline Profile; Level 3
AAC Audio; 44.1k; 128bit (Note: I found that JellyBean was a lot more picky about the audio than ICS/Honeycomb. Some audio bitrates would create videos that Jellybean would not play at all. In general Mono and low bitrate audio seemed to work better on Jellybean).
Segmentation - Using the Apple MediaFileSegmenter, I found adding the "-no-floating-point-duration" and "-z none" flags allowed me to create a video that worked across Android 3.0->4.2
Gingerbread - I was unable to get Android 2.3 to work with HLS out of the box, but I did find that using the Vitamio library worked pretty well (see this question for further info)

Can flowplayer handle rtsp stream?

Flowplayer can play rtmp and http live stream but can i use the same player to play rtsp stream. I have rtsp stream for android which can be played using external player but it opens in fullscreen mode. I thought of putting it inside a frame but the external player opens outside of the frame in android device. So i want to use flowplayer to play rtsp stream in android. Is it possible and if not what to use.
I am fairly certain that Flowplayer, while a great solution for many things, cannot be extended to accept a straight RTSP stream. In any case, I don't believe there is a supported mobile version or plugin of Flowplayer for Android at this point. I have even seen reports that embedded flowplayers being viewed on Android have been sketchy at best.
I have, however, used ffserver and ffmpeg (http://ffmpeg.org/) to transcode the RTSP stream into .flv to be played with Flowplayer, but if a transcoded stream could be broadcast on your system, you'd be well on your way!
Mason

Default Media Player in Android phones

I understand that all Android phones will have the WebKit browser Application.
Is there a default Media Player that can perform RTSP stream in all Android phones?
It seems OpenCore supoprts RTSP streaming - but is there a Media Player Application by default?
Yes, the default videoplayer can stream RTSP, but your RTSP stream needs follow 3GPP PSS streaming spec.
There is some more information here

Can't correctly stream x264 video to mobile via RTSP

I'm creating mobile version of YouTube-like website. And i'm going to use Darwin Streaming Server for streaming low-res clips compressed with x264 and NeroAAC and hinted with MP4Box.
When i'm playing it with VLC player streaming works fine, as expected. When i'm trying to open URL with my HTC Hero, it switches to player mode, then starts "loading video" animation, then after some time it shows "unable to connect to server". Sample movies provided with DSS streamed fine regardless bitrate.
I tried few encoding options, but always the same result. I suspect nocabac and level=11 but it didn't changed nothing.
Is there some more specific encoding options for such type?
Thank You!
264 and AAC are supported, but is better to use:
a)RTSP streaming URL for mobile video playback. H.263 video and AMR audio.
or
b)RTSP streaming URL for mobile video playback. MPEG-4 SP video and AAC audio.
Android Streaming is only supported with 3gp format files
rtsp://myStreamingserver/myvideo.3gp

Categories

Resources