Thank you Michael,

I had read amongst the many pages that a copy would produce better results
and without re-encoding however until now I have had zero success with it
and went back to bare basics to try to get it to work at all.

With further testing and your additions, I am now able to get a decent
stream using simply using the string you first mentioned with the copy.

I tried using the -re rtsp_transport however it comes up with an error
about option re cannot be applied to output url rtsp_transport, I'm looking
into that now.

Unfortunately, I don't have an nvidia card as I am working with a virtual
machine for it at present, however this is good information for future
knowledge.

Thank you again =)

1 Step closer.

Dave

On Mon, Sep 17, 2018 at 11:55 AM Michael Shaffer <[email protected]>
wrote:

> I don't see why you aren't using
>
> ffmpeg -i rtsp://172.x.x.x -c:v copy http://127.0.0.1:8090/feed1.ffm
>
> Then it wouldn't even re-encode the video and would use less CPU and have
> higher quality.
>
> Also when I stream my IP cameras I put these two switches at the front of
> the command
>
> ffmpeg -re -rtsp_transport -i rtsp://172.x.x.x -c:v copy
> http://127.0.0.1:8090/feed1.ffm
>
> Also, if you happen to have an Nvidia graphics card you might be able to
> use nvenc instead of libx264 to shift the processing from your CPU to your
> GPU (wish I had realized this a while ago).
>
> I haven't used ffserver so I can't give any input about that.
>
> On Sun, Sep 16, 2018 at 5:01 PM, Dave Pritchard <[email protected]> wrote:
>
> > Hi all,
> > I am trying to use ffmpeg and ffserver on Ubuntu to take in an RTSP
> stream
> > and then send it back out where I will be ingesting it into a Genetec
> > Security Centre server.
> >
> > Short version as to why I want to do this is because the RTSP input
> source
> > does not handshake correctly with Genetec so it does not initiate the
> > stream, but I digress.
> >
> > I am trying to get the correct settings to make this work however have
> had
> > limited success.
> >
> > The input stream is 1440x1080 @ 25fps and I would like to keep as much
> > quality intact as possible, can anyone point me in the right direction as
> > to what my ffserver.conf and ffmpeg strings should be!?!  Thank you.
> >
> > My current ffmpeg command I use to run it is;
> > ffmpeg -i rtsp://172.x.x.x -vcodec libx264 -tune zerolatency -crf 18
> > http://127.0.0.1:8090/feed1.ffm
> >
> > My ffserver.conf has minimal configuration in it, specifying RTSP port
> and
> > ingest port.
> >
> > Any help would be amazing to get the config and commands right!
> >
> > Many thanks!
> >
> > Dave
> > _______________________________________________
> > ffmpeg-user mailing list
> > [email protected]
> > http://ffmpeg.org/mailman/listinfo/ffmpeg-user
> >
> > To unsubscribe, visit link above, or email
> > [email protected] with subject "unsubscribe".
> _______________________________________________
> ffmpeg-user mailing list
> [email protected]
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [email protected] with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

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

Reply via email to