[FFmpeg-user] Please streaming over nginx

Phat Nguyentan phatnguyentan0491 at gmail.com
Mon Aug 12 12:32:09 EEST 2019


Hi sirk98,
Thank you in advance, I  tried your solution and look like it's working
fine until the end(html play). m3u8 file is created, mpd file is created,
but those can't play. After little bit search I got:
https://github.com/arut/nginx-ts-module/issues/31
It's look like I always need libx264 encode. So I still use rtmp with flash
is acceptable solution right now.
Thanks

On Mon, Aug 12, 2019 at 3:49 AM sirk98 qwerty89 <sirk98mail at gmail.com>
wrote:

> Hello try to use this as nginx module server :
> https://github.com/arut/nginx-ts-module
>
> Using this module you don't need rtmp and flv container...
> A simple schema is this :
>
> ffmpeg -i some_file -f mpegts
> http://nginx_ts_module/hls_incoming_stream_dir/some_file
>
> ffplay -i
> http://nginx_ts_module/hls_outgoing_stream_dir/some_file/index.m3u8
>
>
> Il giorno sab 10 ago 2019 alle ore 16:19 Phat Nguyentan <
> phatnguyentan0491 at gmail.com> ha scritto:
>
> > Thank you, now we accept streaming rtmp without h264. we will improve it
> > later. Thanks all of you
> >
> > On Fri, Aug 9, 2019 at 6:41 PM Micael Silva <micaelsilva at gmail.com>
> wrote:
> >
> > > On Thu, 8 Aug 2019, 00:49 Phat Nguyentan, <phatnguyentan0491 at gmail.com
> >
> > > wrote:
> > >
> > > > Hi Micael Silva,
> > > > Thank you for your reply,
> > > > 1> There are some codec in ffmpeg in openwrt, but no h264 or libx264.
> > > Maybe
> > > > there is a way to compile for openwrt but it's complicated.
> > > > 2> codec flv1 for flv but not for nginx rtmp, like Moritz Barsnick
> > said:
> > > > nginx rtmp only support h246 and h263(not for flv),
> > > > So now I figure out how to streaming without go to server or I will
> get
> > > new
> > > > device to working with ffmpeg well. If you know what way correct to
> > video
> > > > streaming, please let me know.
> > > > Thank in advance.
> > > >
> > >
> > > The problem is that FLV1 is not compatible with HLS, as far as I know
> you
> > > cannot put a FLV1 inside a MPEG transport stream therfore nginx rtmp
> will
> > > be incompatible too. Maybe using RTMP only will work, HLS not.
> > >
> > > If HLS is really needed it will need a ffmpeg version with H264 or some
> > > sort of transcoder on the way.
> > >
> > > >
> > > _______________________________________________
> > > ffmpeg-user mailing list
> > > ffmpeg-user at ffmpeg.org
> > > https://ffmpeg.org/mailman/listinfo/ffmpeg-user
> > >
> > > To unsubscribe, visit link above, or email
> > > ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
> > _______________________________________________
> > ffmpeg-user mailing list
> > ffmpeg-user at ffmpeg.org
> > https://ffmpeg.org/mailman/listinfo/ffmpeg-user
> >
> > To unsubscribe, visit link above, or email
> > ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://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