[FFmpeg-devel] [PATCH v3 1/2] avformat/rtsp: load the sdp file with avio_read_to_bprint()
Michael Niedermayer
michael at niedermayer.cc
Fri Dec 3 00:52:23 EET 2021
On Thu, Dec 02, 2021 at 06:37:38PM +0800, lance.lmwang at gmail.com wrote:
> From: Limin Wang <lance.lmwang at gmail.com>
>
> this allows getting rid of the hardcoded max size of SDP.
>
> Reviewed-by: Martin Storsjö <martin at martin.st>
> Signed-off-by: Limin Wang <lance.lmwang at gmail.com>
> ---
> libavformat/rtsp.c | 25 +++++++++----------------
> 1 file changed, 9 insertions(+), 16 deletions(-)
This seems to break things
cvlc --play-and-exit ~/videos/stream2962.ts --sout="#rtp{dst=127.0.0.1,port=4414,sdp=rtsp://127.0.0.1:9180/test.sdp, mux=ts}" > /tmp/log.1 2> /tmp/log.2 & ./ffmpeg -i rtp://127.0.0.1:4414 -t 1 -bitexact -y out2962.avi
before this patch
frame= 14 fps=0.0 q=2.0 Lsize= 38kB time=00:00:01.00 bitrate= 309.2kbits/s speed= 117x
video:32kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 19.610027%
after:
rtp://127.0.0.1:4414: Invalid argument
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
What does censorship reveal? It reveals fear. -- Julian Assange
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20211202/06811a70/attachment.sig>
More information about the ffmpeg-devel
mailing list