[FFmpeg-user] RTSP input re-encoded/copied to RTSP output stream
mikeshaffer at gmail.com
Mon Sep 17 04:55:12 EEST 2018
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
Also when I stream my IP cameras I put these two switches at the front of
ffmpeg -re -rtsp_transport -i rtsp://172.x.x.x -c:v copy
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 <galrath at gmail.com> 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
> 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!
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
More information about the ffmpeg-user