[FFmpeg-trac] #7609(avutil:new): rw_timeout dont work in RTSP
FFmpeg
trac at avcodec.org
Wed Dec 12 08:16:09 EET 2018
#7609: rw_timeout dont work in RTSP
-------------------------------------+-------------------------------------
Reporter: jidckii | Type: defect
Status: new | Priority: critical
Component: avutil | Version:
Keywords: rtsp | unspecified
rw_timeout | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
The rw_timeout option does not work with the rtsp protocol
ffmpeg version:
{{{
ffprobe version 4.1 Copyright (c) 2007-2018 the FFmpeg developers
built with gcc 6.3.0 (Debian 6.3.0-18+deb9u1) 20170516
configuration: --arch=amd64 --disable-debug --disable-doc --disable-ffplay
--enable-shared --enable-avresample --enable-libopencore-amrnb --enable-
libopencore-amrwb --enable-gpl --enable-libass --enable-libfreetype
--enable-libvidstab --enable-libmp3lame --enable-libopenjpeg --enable-
libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-
libx265 --enable-libxvid --enable-libx264 --enable-nonfree --enable-
openssl --enable-libfdk_aac --enable-libkvazaar --enable-postproc
--enable-small --enable-version3 --extra-cflags=-I/usr/local/include
--extra-ldflags=-L/usr/local/lib --extra-libs=-ldl --prefix=/usr/local
libavutil 56. 22.100 / 56. 22.100
libavcodec 58. 35.100 / 58. 35.100
libavformat 58. 20.100 / 58. 20.100
libavdevice 58. 5.100 / 58. 5.100
libavfilter 7. 40.101 / 7. 40.101
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 3.100 / 5. 3.100
libswresample 3. 3.100 / 3. 3.100
libpostproc 55. 3.100 / 55. 3.100
}}}
playback example:
{{{
# ffprobe -rw_timeout 20000000 http://example.com/hls/camera1.m3u8
[hls,applehttp @ 0x559fd994b640] Opening
'http://example.com/hls/camera1-1544594784.ts' for reading
[hls,applehttp @ 0x559fd994b640] Opening
'http://example.com/hls/camera1-1544594787.ts' for reading
Input #0, hls,applehttp, from 'http://example.com/hls/camera1.m3u8':
Duration: N/A, start: 41406.580044, bitrate: N/A
Program 0
Metadata:
variant_bitrate : 0
Stream #0:0: Video: h264 ([27][0][0][0] / 0x001B), yuvj420p(pc,
bt709), 1920x1080, 25 fps, 25 tbr, 90k tbn, 180k tbc
Metadata:
variant_bitrate : 0
ffprobe -rw_timeout 20000000 rtmp://camera3_restreamer/live/camera3
Input #0, flv, from 'rtmp://camera3_restreamer/live/camera3':
Metadata:
encoder : Lavf58.20.100
Duration: N/A, start: 1122798.806000, bitrate: N/A
Stream #0:0: Subtitle: text
Stream #0:1: Video: h264, yuvj420p(pc, bt709, progressive), 1920x1080,
23.67 fps, 23.67 tbr, 1k tbn
# ffprobe -rw_timeout 20000000 rtsp://192.168.0.101
Option rw_timeout not found.
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/7609>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list