[FFmpeg-user] Which format and vcodec to use for watching live Streaming in Android Mobile

Dennis Mungai dmngaie at gmail.com
Thu Nov 1 16:04:02 EET 2018


You may want to look into using hls.

For usage reference, see:

ffmpeg -h muxer=hls

On Thu, Nov 1, 2018, 16:38 Abhisek Techie <abhisek.study2016 at gmail.com
wrote:

> Hi,
> Since , ffserver is not supported I configured rtmp module in nginx .But
> still want to know which format to use for watching live stream in android
> mobile.
>
> flv is seekable but not supported by android.
>
> mp4 and 3gp are not seekable but supported by android.
>
> Hence, I am not able to use any of the above formats for live streaming.
>
>
>
> On Tue, 30 Oct 2018, 11:38 Abhisek Techie <abhisek.study2016 at gmail.com
> wrote:
>
> > Hi,
> >
> > I am trying to watch live feeds from remote camera through  android
> mobile
> > by connecting to ffserver .
> >
> > I have  tried using 3GP and MP4 containers , *but for both I am getting
> > "muxer does not support non seekable output" .*
> >
> > *I would like to know which format should  I use for watching live feeds
> > in mobile* .
> > I did a web search and found that MP4 and 3GP formats are most widely
> used
> > but using these formats give me error .
> >
> > Below are few more details  for your reference :
> >
> > 1.Command used by me to post the live feeds to ffserver -
> > ffmpeg -f v4l2 -r 25 -s 320*240 -i /dev/video0 -b:v 215k
> > http://myserverip:port/feed1.ffm
> >
> > 2.ffserver feed and stream details
> > <Feed feed1.ffm>
> > File /tmp/feed1.ffm
> > FileMaxSize 20M
> > </Feed>
> >
> > <Stream Live.h264>
> > Feed feed1.ffm
> > Format 3gp
> > VideoCodec libx264
> > VideoFrameRate 25
> > VideoBitRate 215
> > VideoQMin 1
> > VideoQMax 5
> > VideoSize 320*240
> > VideoIntraOnly
> > NoAudio
> > PreRoll 0
> > </Stream>
> >
> >
> >
> >
> >
> >
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-user mailing list