[Libav-user] Missing RTSP protocol?

Tim Lunt timlunt at msn.com
Thu Jul 26 16:57:18 EEST 2018


Hi still no joy – I’ve tried numerous combinations of options and a few different transcoding / muxing examples and I’m still getting the same output

Output #0, rtsp, to 'rtsp:// ###.###.###.###:554/live/stream':
True
    Stream #0:0True
, 1, 1/10000000True
: Video: rawvideo, 1 reference frame, bgr0, 2048x1152, 0/1, q=2-31True
, True
30 fps, True
30 tbr, True
10000k tbn, True
10000k tbcTrue

True
    Stream #0:1True
, 0, 1/25True
: Video: h264, 1 reference frame, yuv420p, 352x288 (0x0), 0/1, q=2-31, 400 kb/sTrue
, True
25 tbnTrue

Could not open 'rtsp://###.###.###.###:554/live/stream': Protocol not found

Still having similar issues with the protocol not found error message

I’ve also tried to just call - avio_check with the following and that’s giving me the same ‘Protocol not found’ output

const char *fname = "rtsp://###.###.###.###:554/live/stream";

ret = avio_check(fname, AVIO_FLAG_WRITE);

Do you think there is something wrong with the build files I’m using?

Any help much appreciated

Tim

________________________________
From: Libav-user <libav-user-bounces at ffmpeg.org> on behalf of Tim Lunt <timlunt at msn.com>
Sent: Monday, July 23, 2018 11:12:02 AM
To: This list is about using libavcodec, libavformat, libavutil, libavdevice and libavfilter.
Subject: Re: [Libav-user] Missing RTSP protocol?


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/20180726/a2cb08b9/attachment.html>


More information about the Libav-user mailing list