Which format and vcodec to use for watching live Streaming in Android Mobile

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Which format and vcodec to use for watching live Streaming in Android Mobile

Abhisek Techie
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
<a href="http://myserverip:port/feed1.ffm">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
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Which format and vcodec to use for watching live Streaming in Android Mobile

Abhisek Techie
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 <[hidden email]
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
> <a href="http://myserverip:port/feed1.ffm">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
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Which format and vcodec to use for watching live Streaming in Android Mobile

Brainiarc7
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 <[hidden email]
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 <[hidden email]
> 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
> > <a href="http://myserverip:port/feed1.ffm">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
> [hidden email]
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [hidden email] with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Which format and vcodec to use for watching live Streaming in Android Mobile

Abhisek Techie
Thanks for the pointer , will check

On Thu, Nov 1, 2018 at 10:09 AM Dennis Mungai <[hidden email]> wrote:

> 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 <[hidden email]
> 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 <[hidden email]
> > 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
> > > <a href="http://myserverip:port/feed1.ffm">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
> > [hidden email]
> > http://ffmpeg.org/mailman/listinfo/ffmpeg-user
> >
> > To unsubscribe, visit link above, or email
> > [hidden email] with subject "unsubscribe".
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [hidden email] with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".