Hi, thanks for the response and clarification on the rtsp being a demuxer (not 
sure how I missed that).



I’ve been able to get an rtsp stream working from the command line using the 
following command



.\ffmpeg.exe -rtbufsize 1500M -f dshow -i video="screen-capture-recorder" 
-pix_fmt yuv420p -vsync 1 -vcodec libx264 -r 23.976 -threads 0 -b:v: 1024k 
-bufsize 1024k -preset veryfast -profile:v baseline -tune film -g 48 -x264opts 
no-scenecut -acodec aac -b:a 192k -ac 2 -ar 48000 -rtsp_transport tcp -f rtsp 
rtsp:/<server-ip><port>/live/myStream



I don’t currently have all of those options set in my AVDictionary (options) so 
I’m going to have a play with setting a few to see if I can get it running.



I’ll update later with any progress



________________________________
From: Libav-user <[email protected]> on behalf of Carl Eugen Hoyos 
<[email protected]>
Sent: Friday, July 20, 2018 9:08:27 PM
To: This list is about using libavcodec, libavformat, libavutil, libavdevice 
and libavfilter.
Subject: Re: [Libav-user] Missing RTSP protocol?

2018-07-20 21:58 GMT+02:00, Tim Lunt <[email protected]>:
> I’m trying to stream to an RTSP server but I’m getting a protocol not found
> error when trying to open the output.
>
> I’ve used the 4.0 builds from https://ffmpeg.zeranoe.com/builds/ and I cant
> see the RTSP protocol being disabled in the build flags (see below) so not
> sure what I’m missing – is RTSP still available in 4.0?

rtsp is a demuxer, it uses either the udp or the tcp protocol.

Does the stream work with the command line interface?

Carl Eugen
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to