[Libav-user] Missing RTSP protocol?

Tim Lunt timlunt at msn.com
Mon Jul 23 13:12:02 EEST 2018


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 <libav-user-bounces at ffmpeg.org> on behalf of Carl Eugen Hoyos <ceffmpeg at gmail.com>
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 <timlunt at msn.com>:
> 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
Libav-user at ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20180723/9d7cb529/attachment.html>


More information about the Libav-user mailing list