VLC plays the first frame from rtsp stream then it stops

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
ronluna
New Cone
New Cone
Posts: 2
Joined: 20 Aug 2018 17:56

VLC plays the first frame from rtsp stream then it stops

Postby ronluna » 20 Aug 2018 18:15

VLC plays the first frame from rtsp stream then it stops,
We are trying to get VLC to play a low bandwidth rtsp stream from our NVR (bluecherrydvr.com). This NVR allows a regular stream (VLC can play this stream perfectly fine) and a Low Bandwidth Stream which in this case VLC is unable to play, It only get the first frame and then it just stops.

I have attached the logs for when vlc tries to play the low bandwidth streams which after comparing with the regular stream I can only see one difference which is :

main decoder error: buffer deadlock prevented

another difference is that this stream since is sends less frames per second the headers looks different:

Transport: RTP/AVP/TCP;unicast;interleaved=0-1

google everywhere what could be the cause but I have not been able to figure it out...

anyone around might have an idea on how can I get VLC to play this stream correctly?

Code: Select all

VLC media player 3.0.3 Vetinari (revision 3.0.3-1-0-gc2bb759264) [00007fce71516230] main libvlc debug: VLC media player - 3.0.3 Vetinari [00007fce71516230] main libvlc debug: Copyright © 1996-2018 the VideoLAN team [00007fce71516230] main libvlc debug: revision 3.0.3-1-0-gc2bb759264 [00007fce71516230] main libvlc debug: configured with /Users/d-fu/vlc-3.0/extras/package/macosx/../../../configure '--prefix=/Users/d-fu/vlc-3.0/build/vlc_install_dir' '--enable-macosx' '--enable-merge-ffmpeg' '--enable-osx-notifications' '--enable-faad' '--enable-flac' '--enable-theora' '--enable-shout' '--enable-ncurses' '--enable-twolame' '--enable-realrtsp' '--enable-libass' '--enable-macosx-qtkit' '--enable-macosx-avfoundation' '--disable-skins2' '--disable-xcb' '--disable-caca' '--disable-pulse' '--disable-sdl-image' '--disable-vnc' '--build=x86_64-apple-darwin17' '--host=x86_64-apple-darwin17' '--with-macosx-version-min=10.7' '--with-macosx-sdk=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk' '--with-breakpad=https://mac.crashes.videolan.org' 'build_alias=x86_64-apple-darwin17' 'host_alias=x86_64-apple-darwin17' 'CC=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang' 'CFLAGS=-g' 'LDFLAGS=' 'CXX=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++' 'CXXFLAGS=-g' 'OBJC=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang' 'OBJCFLAGS=-g' [00007fce71516230] main libvlc debug: searching plug-in modules [00007fce71516230] main libvlc debug: loading plugins cache file /Applications/VLC.app/Contents/MacOS/./plugins/plugins.dat [00007fce71516230] main libvlc debug: recursively browsing `/Applications/VLC.app/Contents/MacOS/./plugins' [00007fce71516230] main libvlc debug: plug-ins loaded: 464 modules [00007fce71516230] main libvlc debug: opening config file (/Users/ronluna/Library/Preferences/org.videolan.vlc/vlcrc) [00007fce715163e0] main logger debug: looking for logger module matching "any": 3 candidates [00007fce715163e0] main logger debug: using logger module "console" [00007fce71516230] main libvlc debug: translation test: code is "C" [00007fce71431dd0] main keystore debug: looking for keystore module matching "memory": 3 candidates [00007fce71431dd0] main keystore debug: using keystore module "memory" [00007fce71516230] main libvlc debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 FPU [00007fce71516230] main libvlc warning: Key "Command+0" bound to multiple actions [00007fce718084f0] main input debug: Creating an input for 'Media Library' [00007fce718084f0] main input debug: Input is a meta file: disabling unneeded options [00007fce718084f0] main input debug: using timeshift granularity of 50 MiB [00007fce718084f0] main input debug: using default timeshift path [00007fce718084f0] main input debug: `file/directory:///Users/ronluna/Library/Application%20Support/org.videolan.vlc/ml.xspf' gives access `file' demux `directory' path `/Users/ronluna/Library/Application%20Support/org.videolan.vlc/ml.xspf' [00007fce7143bab0] main input source debug: creating demux: access='file' demux='directory' location='/Users/ronluna/Library/Application%20Support/org.videolan.vlc/ml.xspf' file='/Users/ronluna/Library/Application Support/org.videolan.vlc/ml.xspf' [00007fce7143bc80] main demux debug: looking for access_demux module matching "file": 13 candidates [00007fce7143bc80] main demux debug: no access_demux modules matched [00007fce7143c390] main stream debug: creating access: file:///Users/ronluna/Library/Application%20Support/org.videolan.vlc/ml.xspf [00007fce7143c390] main stream debug: (path: /Users/ronluna/Library/Application Support/org.videolan.vlc/ml.xspf) [00007fce7143c390] main stream debug: looking for access module matching "file": 23 candidates [00007fce7143c390] main stream debug: using access module "filesystem" [00007fce7143cbf0] main stream debug: looking for stream_filter module matching "prefetch,cache_read": 26 candidates [00007fce7143cbf0] cache_read stream debug: Using stream method for AStream* [00007fce7143cbf0] cache_read stream debug: starting pre-buffering [00007fce7143cbf0] cache_read stream debug: received first data after 0 ms [00007fce7143cbf0] cache_read stream debug: pre-buffering done 296 bytes in 0s - 9635 KiB/s [00007fce7143cbf0] main stream debug: using stream_filter module "cache_read" [00007fce7143d200] main stream debug: looking for stream_filter module matching "any": 26 candidates [00007fce7143d200] playlist stream debug: using XSPF playlist reader [00007fce7143d200] main stream debug: using stream_filter module "playlist" [00007fce7143d200] main stream debug: stream filter added to 0x7fce7143cbf0 [00007fce7143e1f0] main stream debug: looking for stream_filter module matching "any": 26 candidates [00007fce7143e1f0] main stream debug: no stream_filter modules matched [00007fce7143e1f0] main stream_directory debug: looking for stream_directory module matching "any": 1 candidates [00007fce7143e1f0] main stream_directory debug: no stream_directory modules matched [00007fce7143bab0] main input source debug: attachment of directory-extractor failed for file:///Users/ronluna/Library/Application%20Support/org.videolan.vlc/ml.xspf [00007fce7143e1f0] main stream debug: looking for stream_filter module matching "record": 26 candidates [00007fce7143e1f0] main stream debug: using stream_filter module "record" [00007fce7143bab0] main input source debug: creating demux: access='file' demux='directory' location='/Users/ronluna/Library/Application%20Support/org.videolan.vlc/ml.xspf' file='/Users/ronluna/Library/Application Support/org.videolan.vlc/ml.xspf' [00007fce7151c970] main demux debug: looking for demux module matching "directory": 55 candidates [00007fce7151c970] main demux debug: using demux module "directory" [00007fce71602d90] main demux meta debug: looking for meta reader module matching "any": 2 candidates [00007fce71602d90] lua demux meta debug: Trying Lua scripts in /Users/ronluna/Library/Application Support/org.videolan.vlc/lua/meta/reader [00007fce71602d90] lua demux meta debug: Trying Lua scripts in /Applications/VLC.app/Contents/MacOS/./lua/meta/reader [00007fce71602d90] lua demux meta debug: Trying Lua scripts in /Applications/VLC.app/Contents/MacOS/./share/lua/meta/reader [00007fce71602d90] lua demux meta debug: Trying Lua playlist script /Applications/VLC.app/Contents/MacOS/./share/lua/meta/reader/filename.luac [00007fce71602d90] main demux meta debug: no meta reader modules matched [00007fce718084f0] main input debug: `file/directory:///Users/ronluna/Library/Application%20Support/org.videolan.vlc/ml.xspf' successfully opened [00007fce71577ec0] main xml reader debug: looking for xml reader module matching "any": 1 candidates [00007fce71577ec0] main xml reader debug: using xml reader module "xml" [00007fce718084f0] main input debug: EOF reached [00007fce7151c970] main demux debug: removing module "directory" [00007fce7143e1f0] main stream debug: removing module "record" [00007fce7143d200] main stream debug: removing module "playlist" [00007fce7143cbf0] main stream debug: removing module "cache_read" [00007fce7143c390] main stream debug: removing module "filesystem" [00007fce71435190] main playlist debug: creating audio output [00007fce717057e0] main audio output debug: looking for audio output module matching "any": 4 candidates [00007fce717057e0] auhal audio output debug: Rebuild device list [00007fce717057e0] auhal audio output debug: found 12 audio device(s) [00007fce717057e0] auhal audio output debug: DevID: 126 DevName: AirPlay [00007fce717057e0] auhal audio output debug: DevID: 88 DevName: Logitech Camera [00007fce717057e0] auhal audio output debug: this 'Logitech Camera' is INPUT only. skipping... [00007fce717057e0] auhal audio output debug: DevID: 77 DevName: Soundflower (2ch) [00007fce717057e0] auhal audio output debug: DevID: 38 DevName: Soundflower (16ch) [00007fce717057e0] auhal audio output debug: DevID: 116 DevName: Line-out (Green Rear) [00007fce717057e0] auhal audio output debug: DevID: 110 DevName: Headphones (Green Front) [00007fce717057e0] auhal audio output debug: DevID: 107 DevName: SPDIF-out (ATAPI) [00007fce717057e0] auhal audio output debug: 'SPDIF-out (ATAPI)' supports digital output [00007fce717057e0] auhal audio output debug: DevID: 104 DevName: SPDIF-out (Grey Rear) [00007fce717057e0] auhal audio output debug: 'SPDIF-out (Grey Rear)' supports digital output [00007fce717057e0] auhal audio output debug: DevID: 98 DevName: Microphone (Pink Rear) [00007fce717057e0] auhal audio output debug: this 'Microphone (Pink Rear)' is INPUT only. skipping... [00007fce717057e0] auhal audio output debug: DevID: 92 DevName: Microphone (Pink Front) [00007fce717057e0] auhal audio output debug: this 'Microphone (Pink Front)' is INPUT only. skipping... [00007fce717057e0] auhal audio output debug: DevID: 122 DevName: Digital-out (HDMI) [00007fce717057e0] auhal audio output debug: 'Digital-out (HDMI)' supports digital output [00007fce717057e0] auhal audio output debug: DevID: 125 DevName: Premiere Pro 6.0 [00007fce717057e0] auhal audio output debug: this 'Premiere Pro 6.0' is INPUT only. skipping... [00007fce717057e0] main audio output debug: using audio output module "auhal" [00007fce71435190] main playlist debug: keeping audio output [00007fce71439f60] main interface debug: looking for interface module matching "hotkeys,none": 15 candidates [00007fce71439f60] main interface debug: using interface module "hotkeys" [00007fce71516230] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. [00007fce7143a4f0] main interface debug: looking for interface module matching "any": 15 candidates [00007fce7143a4f0] macosx interface debug: Starting macosx interface [00007fce7143a4f0] macosx interface debug: Initializing input manager [00007fce7143a4f0] macosx interface debug: Register dialog provider [00007fce7143a4f0] macosx interface debug: Loading VLCStatusBarIcon [00007fce715dd750] main probe debug: looking for renderer probe module matching "any": 1 candidates [00007fce715dd750] main probe debug: no renderer probe modules matched [00007fce715ed790] main generic debug: looking for extension module matching "any": 1 candidates [00007fce715ed790] lua generic debug: Opening Lua Extension module [00007fce715ed790] lua generic debug: Trying Lua scripts in /Users/ronluna/Library/Application Support/org.videolan.vlc/lua/extensions [00007fce715ed790] lua generic debug: Trying Lua scripts in /Applications/VLC.app/Contents/MacOS/./lua/extensions [00007fce715ed790] lua generic debug: Trying Lua scripts in /Applications/VLC.app/Contents/MacOS/./share/lua/extensions [00007fce715ed790] lua generic debug: Trying Lua playlist script /Applications/VLC.app/Contents/MacOS/./share/lua/extensions/VLSub.luac [00007fce715ed790] lua generic debug: Scanning Lua script /Applications/VLC.app/Contents/MacOS/./share/lua/extensions/VLSub.luac [00007fce715ed790] lua generic debug: Script /Applications/VLC.app/Contents/MacOS/./share/lua/extensions/VLSub.luac has the following capability flags: 0x5 [00007fce715ed790] main generic debug: using extension module "lua" [00007fce7143a4f0] macosx interface debug: Initializing playlist model [00007fce717aa110] main probe debug: looking for services probe module matching "any": 6 candidates [00007fce717aa110] main probe debug: no services probe modules matched [00007fce7143a4f0] macosx interface debug: Enable media key support [00007fce7143a4f0] macosx interface debug: Finished loading macosx interface [00007fce7143a4f0] main interface debug: using interface module "macosx" [00007fce71435190] main playlist debug: processing request item: null, node: Playlist, skip: 0 [00007fce71435190] main playlist debug: rebuilding array of current - root Playlist [00007fce71435190] main playlist debug: rebuild done - 1 items, index -1 [00007fce71435190] main playlist debug: starting playback of new item [00007fce71435190] main playlist debug: resyncing on rtsp://Homely.intvelt.com:7002/live/1/mode=keyframe [00007fce71435190] main playlist debug: rtsp://Homely.intvelt.com:7002/live/1/mode=keyframe is at 0 [00007fce71435190] main playlist debug: creating new input thread [00007fce729a70f0] main input debug: Creating an input for 'rtsp://Homely.intvelt.com:7002/live/1/mode=keyframe' [00007fce71435190] main playlist debug: requesting art for new input thread [00007fce729a70f0] main input debug: using timeshift granularity of 50 MiB [00007fce714f64f0] main meta fetcher debug: looking for meta fetcher module matching "any": 1 candidates [00007fce729a70f0] main input debug: using default timeshift path [00007fce714f64f0] lua meta fetcher debug: Trying Lua scripts in /Users/ronluna/Library/Application Support/org.videolan.vlc/lua/meta/fetcher [00007fce729a70f0] main input debug: `rtsp://admin:chaikA66@Homely.intvelt.com:7002/live/1/mode=keyframe' gives access `rtsp' demux `any' path `admin:chaikA66@Homely.intvelt.com:7002/live/1/mode=keyframe' [00007fce714cf370] main input source debug: creating demux: access='rtsp' demux='any' location='admin:chaikA66@Homely.intvelt.com:7002/live/1/mode=keyframe' file='(null)' [00007fce714f5a00] main demux debug: looking for access_demux module matching "rtsp": 13 candidates [00007fce714f64f0] lua meta fetcher debug: Trying Lua scripts in /Applications/VLC.app/Contents/MacOS/./lua/meta/fetcher [00007fce714f64f0] lua meta fetcher debug: Trying Lua scripts in /Applications/VLC.app/Contents/MacOS/./share/lua/meta/fetcher [00007fce714f64f0] main meta fetcher debug: no meta fetcher modules matched [00007fce717b9f80] main art finder debug: looking for art finder module matching "any": 2 candidates [00007fce717b9f80] lua art finder debug: Trying Lua scripts in /Users/ronluna/Library/Application Support/org.videolan.vlc/lua/meta/art [00007fce714f5a00] live555 demux debug: version 2016.11.28 [00007fce717b9f80] lua art finder debug: Trying Lua scripts in /Applications/VLC.app/Contents/MacOS/./lua/meta/art [00007fce717b9f80] lua art finder debug: Trying Lua scripts in /Applications/VLC.app/Contents/MacOS/./share/lua/meta/art [00007fce714f5a00] main demux warning: Password in a URI is DEPRECATED [00007fce717b9f80] lua art finder debug: Trying Lua playlist script /Applications/VLC.app/Contents/MacOS/./share/lua/meta/art/00_musicbrainz.luac Opening connection to 31.201.243.223, port 7002... [00007fce717b9f80] lua art finder debug: skipping script (unmatched scope) /Applications/VLC.app/Contents/MacOS/./share/lua/meta/art/00_musicbrainz.luac [00007fce717b9f80] lua art finder debug: Trying Lua playlist script /Applications/VLC.app/Contents/MacOS/./share/lua/meta/art/01_googleimage.luac [00007fce717b9f80] lua art finder debug: skipping script (unmatched scope) /Applications/VLC.app/Contents/MacOS/./share/lua/meta/art/01_googleimage.luac [00007fce717b9f80] lua art finder debug: Trying Lua playlist script /Applications/VLC.app/Contents/MacOS/./share/lua/meta/art/02_frenchtv.luac ...remote connection opened Sending request: OPTIONS rtsp://Homely.intvelt.com:7002/live/1/mode=keyframe RTSP/1.0 CSeq: 2 User-Agent: LibVLC/3.0.3 (LIVE555 Streaming Media v2016.11.28) [00007fce717b9f80] lua art finder debug: skipping script (unmatched scope) /Applications/VLC.app/Contents/MacOS/./share/lua/meta/art/02_frenchtv.luac [00007fce717b9f80] lua art finder debug: Trying Lua playlist script /Applications/VLC.app/Contents/MacOS/./share/lua/meta/art/03_lastfm.luac [00007fce717b9f80] lua art finder debug: skipping script (unmatched scope) /Applications/VLC.app/Contents/MacOS/./share/lua/meta/art/03_lastfm.luac [00007fce717b9f80] main art finder debug: no art finder modules matched Received 104 new bytes of response data. Received a complete OPTIONS response: RTSP/1.0 200 OK CSeq: 2 Content-Length: 0 Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE Sending request: DESCRIBE rtsp://Homely.intvelt.com:7002/live/1/mode=keyframe RTSP/1.0 CSeq: 3 User-Agent: LibVLC/3.0.3 (LIVE555 Streaming Media v2016.11.28) Accept: application/sdp Received 112 new bytes of response data. Received a complete DESCRIBE response: RTSP/1.0 401 Authorization Required CSeq: 3 Content-Length: 0 WWW-Authenticate: Basic realm="RTSP Server" Resending... Sending request: DESCRIBE rtsp://Homely.intvelt.com:7002/live/1/mode=keyframe RTSP/1.0 CSeq: 4 Authorization: Basic YWRtaW46Y2hhaWtBNjY= User-Agent: LibVLC/3.0.3 (LIVE555 Streaming Media v2016.11.28) Accept: application/sdp Received 80 new bytes of response data. Have received 80 total bytes of a DESCRIBE RTSP response; awaiting 262 bytes more. Received 262 new bytes of response data. Received a complete DESCRIBE response: RTSP/1.0 200 OK CSeq: 4 Content-Length: 262 Content-Type: application/sdp v=0 o=- 0 0 IN IP4 127.0.0.1 s=No Name t=0 0 a=tool:libavformat 57.25.100 m=video 0 RTP/AVP 96 b=AS:128 a=rtpmap:96 H264/90000 a=fmtp:96 packetization-mode=1; sprop-parameter-sets=Z00AKpWoHgCJ+VA=,aO48gA==; profile-level-id=4D002A a=control:streamid=0 [00007fce714f5a00] live555 demux debug: RTP subsession 'video/H264' Sending request: SETUP rtsp://Homely.intvelt.com:7002/live/1/mode=keyframe/streamid=0 RTSP/1.0 CSeq: 5 Authorization: Basic YWRtaW46Y2hhaWtBNjY= User-Agent: LibVLC/3.0.3 (LIVE555 Streaming Media v2016.11.28) Transport: RTP/AVP/TCP;unicast;interleaved=0-1 Received 120 new bytes of response data. Received a complete SETUP response: RTSP/1.0 200 OK CSeq: 5 Content-Length: 0 Session: 1468728465 Transport: RTP/AVP/TCP;mode="PLAY";interleaved=0-1 [00007fce729a70f0] main input debug: selecting program id=0 [00007fce714f5a00] live555 demux debug: setup start: 0.000000 stop:0.000000 Sending request: PLAY rtsp://Homely.intvelt.com:7002/live/1/mode=keyframe RTSP/1.0 CSeq: 6 Authorization: Basic YWRtaW46Y2hhaWtBNjY= User-Agent: LibVLC/3.0.3 (LIVE555 Streaming Media v2016.11.28) Session: 1468728465 Range: npt=0.000- Received a complete PLAY response: RTSP/1.0 200 OK CSeq: 6 Content-Length: 0 [00007fce714f5a00] live555 demux debug: We have a timeout of 60 seconds [00007fce714f5a00] live555 demux debug: play start: 0.000000 stop:0.000000 [00007fce714f5a00] main demux debug: using access_demux module "live555" [00007fce717a2710] main packetizer debug: looking for packetizer module matching "any": 24 candidates [00007fce717a2710] h264 packetizer debug: found NAL_SPS (sps_id=0) [00007fce717a2710] h264 packetizer debug: found NAL_PPS (pps_id=0 sps_id=0) [00007fce717a2710] main packetizer debug: using packetizer module "h264" [00007fce717a2330] main decoder debug: looking for video decoder module matching "any": 14 candidates [00007fce717a2330] videotoolbox decoder debug: new SPS parsed: 0 [00007fce717a2330] videotoolbox decoder debug: new PPS parsed: 0 [00007fce717a2330] videotoolbox decoder warning: forcing CVPX format: 420v [11:38:49.691] vtDecompressionDuctCreate signalled err=-8973 (err) (Could not select and open decoder instance) at /SourceCache/CoreMedia_frameworks/CoreMedia-1562.238/Sources/VideoToolbox/VTDecompressionSession.c line 1181 [00007fce717a2330] videotoolbox decoder warning: unknown vt session error (-8973) [00007fce717a2330] avcodec decoder debug: using ffmpeg Lavc58.6.103 [00007fce717a2330] avcodec decoder debug: CPU flags: 0x000fd3db [00007fce717a2330] avcodec decoder debug: allowing 5 thread(s) for decoding [h264 @ 0x7fce729cb400] nal_unit_type: 7, nal_ref_idc: 3 [h264 @ 0x7fce729cb400] nal_unit_type: 8, nal_ref_idc: 3 [00007fce717a2330] avcodec decoder debug: codec (h264) started [00007fce717a2330] avcodec decoder debug: using frame thread mode with 5 threads [00007fce717a2330] main decoder debug: using video decoder module "avcodec" [00007fce73923910] main demux meta debug: looking for meta reader module matching "any": 2 candidates [00007fce73923910] lua demux meta debug: Trying Lua scripts in /Users/ronluna/Library/Application Support/org.videolan.vlc/lua/meta/reader [00007fce73923910] lua demux meta debug: Trying Lua scripts in /Applications/VLC.app/Contents/MacOS/./lua/meta/reader [00007fce73923910] lua demux meta debug: Trying Lua scripts in /Applications/VLC.app/Contents/MacOS/./share/lua/meta/reader [00007fce73923910] lua demux meta debug: Trying Lua playlist script /Applications/VLC.app/Contents/MacOS/./share/lua/meta/reader/filename.luac [00007fce73923910] main demux meta debug: no meta reader modules matched [00007fce729a70f0] main input debug: `rtsp://admin:chaikA66@Homely.intvelt.com:7002/live/1/mode=keyframe' successfully opened [00007fce729a70f0] main input debug: Buffering 0% [00007fce7143a4f0] macosx interface debug: Activated assertion NoIdleSleepAssertion through IOKit (4473) [00007fce729a70f0] main input debug: Stream buffering done (1002 ms in 1007 ms) [00007fce717a2330] main decoder error: buffer deadlock prevented [00007fce729a70f0] main input debug: Decoder wait done in 0 ms [00007fce717a2330] main decoder debug: restarting module due to input format change [00007fce717a2330] main decoder debug: removing module "avcodec" [00007fce717a2330] main decoder debug: looking for video decoder module matching "any": 14 candidates [00007fce717a2330] videotoolbox decoder debug: new SPS parsed: 0 [00007fce717a2330] videotoolbox decoder debug: new PPS parsed: 0 [00007fce717a2330] videotoolbox decoder warning: forcing CVPX format: 420v [11:38:50.831] vtDecompressionDuctCreate signalled err=-8973 (err) (Could not select and open decoder instance) at /SourceCache/CoreMedia_frameworks/CoreMedia-1562.238/Sources/VideoToolbox/VTDecompressionSession.c line 1181 [00007fce717a2330] videotoolbox decoder warning: unknown vt session error (-8973) [00007fce717a2330] avcodec decoder debug: using ffmpeg Lavc58.6.103 [00007fce717a2330] avcodec decoder debug: CPU flags: 0x000fd3db [00007fce717a2330] avcodec decoder debug: allowing 5 thread(s) for decoding [h264 @ 0x7fce72043c00] nal_unit_type: 7, nal_ref_idc: 3 [h264 @ 0x7fce72043c00] nal_unit_type: 8, nal_ref_idc: 3 [00007fce717a2330] avcodec decoder debug: codec (h264) started [00007fce717a2330] avcodec decoder debug: using frame thread mode with 5 threads [00007fce717a2330] main decoder debug: using video decoder module "avcodec" [h264 @ 0x7fce72043c00] nal_unit_type: 7, nal_ref_idc: 3 [h264 @ 0x7fce72043c00] nal_unit_type: 8, nal_ref_idc: 3 [h264 @ 0x7fce72043c00] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 0x7fce72043c00] nal_unit_type: 5, nal_ref_idc: 3 [h264 @ 0x7fce72043c00] unknown SEI type 229 [00007fce717a2330] avcodec decoder debug: available software decoder output format 0 (yuv420p) [h264 @ 0x7fce72043c00] Format yuv420p chosen by get_format(). [h264 @ 0x7fce72043c00] Reinit context to 1920x1088, pix_fmt: yuv420p [00007fce73b65170] main spu text debug: looking for text renderer module matching "any": 3 candidates [00007fce73b65170] main spu text debug: using text renderer module "freetype" [00007fce73b67050] main scale debug: looking for video converter module matching "any": 22 candidates [00007fce73b67050] swscale scale debug: 32x32 (32x32) chroma: YUVA -> 16x16 (16x16) chroma: RGBA with scaling using Bicubic (good quality) [00007fce73b67050] main scale debug: using video converter module "swscale" [00007fce739bafc0] main scale debug: looking for video converter module matching "any": 22 candidates [00007fce739bafc0] yuvp scale debug: YUVP to YUVA converter [00007fce739bafc0] main scale debug: using video converter module "yuvp" [00007fce73071ef0] main video output debug: Deinterlacing available [00007fce73071ef0] main video output debug: deinterlace -1, mode auto, is_needed 0 [00007fce73b6b090] main window debug: looking for vout window module matching "any": 1 candidates [00007fce73b6b090] macosx window debug: Opening video window [00007fce7143a4f0] macosx interface debug: Releasing old IOKit other assertion (4473) [00007fce7143a4f0] macosx interface debug: Activated assertion NoDisplaySleepAssertion through IOKit (4476) [00007fce7143a4f0] macosx interface debug: toggle playlist from state: removed splitview 0, minimized view 0. Event 2 [00007fce7143a4f0] macosx interface debug: toggle playlist to state: removed splitview 0, minimized view 0 [00007fce7143a4f0] macosx interface debug: returning videoview with proposed position x=0, y=0, width=1920, height=1080 [00007fce73b6b090] main window debug: using vout window module "macosx" [00007fce73071ef0] main video output debug: Opening vout display wrapper [00007fce739bbb20] main vout display debug: looking for vout display module matching "any": 7 candidates [00007fce739bbb20] main vout display debug: VoutDisplayEvent 'resize' 1920x1080 [00007fce717d92b0] macosx generic debug: PBO support enabled [00007fce739bbb20] main vout display debug: VoutDisplayEvent 'resize' 1920x1080 [00007fce739bbb20] main vout display debug: using vout display module "macosx" [00007fce73071ef0] main video output debug: original format sz 1920x1090, of (0,0), vsz 1920x1080, 4cc I420, sar 1:1, msk r0x0 g0x0 b0x0 [00007fce73b65170] main spu text debug: removing module "freetype" [00007fce7386ee60] main spu text debug: looking for text renderer module matching "any": 3 candidates [00007fce7386ee60] main spu text debug: using text renderer module "freetype" [h264 @ 0x7fce720adc00] nal_unit_type: 7, nal_ref_idc: 3 [h264 @ 0x7fce720adc00] nal_unit_type: 8, nal_ref_idc: 3 [h264 @ 0x7fce720adc00] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 0x7fce720adc00] nal_unit_type: 5, nal_ref_idc: 3 [h264 @ 0x7fce720adc00] unknown SEI type 229 [00007fce739bbb20] main vout display debug: VoutDisplayEvent 'resize' 1266x571 [00007fce739bbb20] main vout display debug: VoutDisplayEvent 'resize' 1266x571 [00007fce739bbb20] main vout display debug: VoutDisplayEvent 'resize' 1399x648 [00007fce739bbb20] main vout display debug: VoutDisplayEvent 'resize' 1399x648 [00007fce739bbb20] main vout display debug: VoutDisplayEvent 'resize' 1617x775 [00007fce739bbb20] main vout display debug: VoutDisplayEvent 'resize' 1617x775 [00007fce739bbb20] main vout display debug: VoutDisplayEvent 'resize' 1791x876 [00007fce739bbb20] main vout display debug: VoutDisplayEvent 'resize' 1791x876 [00007fce739bbb20] main vout display debug: VoutDisplayEvent 'resize' 1920x950 [00007fce739bbb20] main vout display debug: VoutDisplayEvent 'resize' 1920x950 [h264 @ 0x7fce720dee00] nal_unit_type: 7, nal_ref_idc: 3 [h264 @ 0x7fce720dee00] nal_unit_type: 8, nal_ref_idc: 3 [h264 @ 0x7fce720dee00] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 0x7fce720dee00] nal_unit_type: 5, nal_ref_idc: 3 [h264 @ 0x7fce720dee00] unknown SEI type 229 [00007fce739bbb20] main vout display debug: auto hiding mouse cursor [h264 @ 0x7fce7207c200] nal_unit_type: 7, nal_ref_idc: 3 [h264 @ 0x7fce7207c200] nal_unit_type: 8, nal_ref_idc: 3 [h264 @ 0x7fce7207c200] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 0x7fce7207c200] nal_unit_type: 5, nal_ref_idc: 3 [h264 @ 0x7fce7207c200] unknown SEI type 229 [h264 @ 0x7fce720b0400] nal_unit_type: 7, nal_ref_idc: 3 [h264 @ 0x7fce720b0400] nal_unit_type: 8, nal_ref_idc: 3 [h264 @ 0x7fce720b0400] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 0x7fce720b0400] nal_unit_type: 5, nal_ref_idc: 3 [h264 @ 0x7fce720b0400] unknown SEI type 229 [00007fce73071ef0] main video output warning: picture is too late to be displayed (missing 3759 ms) [h264 @ 0x7fce72043c00] nal_unit_type: 7, nal_ref_idc: 3 [h264 @ 0x7fce72043c00] nal_unit_type: 8, nal_ref_idc: 3 [h264 @ 0x7fce72043c00] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 0x7fce72043c00] nal_unit_type: 5, nal_ref_idc: 3 [h264 @ 0x7fce72043c00] unknown SEI type 229 [00007fce73071ef0] main video output warning: picture is too late to be displayed (missing 3760 ms) [h264 @ 0x7fce720adc00] nal_unit_type: 7, nal_ref_idc: 3 [h264 @ 0x7fce720adc00] nal_unit_type: 8, nal_ref_idc: 3 [h264 @ 0x7fce720adc00] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 0x7fce720adc00] nal_unit_type: 5, nal_ref_idc: 3 [h264 @ 0x7fce720adc00] unknown SEI type 229 [h264 @ 0x7fce720dee00] [00007fce73071ef0] main video output warning: picture is too late to be displayed (missing 3760 ms) nal_unit_type: 7, nal_ref_idc: 3 [h264 @ 0x7fce720dee00] nal_unit_type: 8, nal_ref_idc: 3 [h264 @ 0x7fce720dee00] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 0x7fce720dee00] nal_unit_type: 5, nal_ref_idc: 3 [h264 @ 0x7fce720dee00] unknown SEI type 229 [00007fce73071ef0] main video output warning: picture is too late to be displayed (missing 3759 ms) [h264 @ 0x7fce7207c200] nal_unit_type: 7, nal_ref_idc: 3 [h264 @ 0x7fce7207c200] nal_unit_type: 8, nal_ref_idc: 3 [h264 @ 0x7fce7207c200] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 0x7fce7207c200] nal_unit_type: 5, nal_ref_idc: 3 [h264 @ 0x7fce7207c200] unknown SEI type 229 [h264 @ 0x7fce720b0400] [00007fce73071ef0] main video output warning: picture is too late to be displayed (missing 3760 ms) nal_unit_type: 7, nal_ref_idc: 3 [h264 @ 0x7fce720b0400] nal_unit_type: 8, nal_ref_idc: 3 [h264 @ 0x7fce720b0400] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 0x7fce720b0400] nal_unit_type: 5, nal_ref_idc: 3 [h264 @ 0x7fce720b0400] unknown SEI type 229 [00007fce717a2330] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [00007fce717a2330] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [00007fce717a2330] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [00007fce717a2330] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [00007fce717a2330] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [00007fce71435190] main playlist debug: incoming request - stopping current input [00007fce739bbb20] main vout display debug: auto hiding mouse cursor [00007fce717a2330] main decoder debug: killing decoder fourcc `h264' [00007fce717a2330] main decoder debug: removing module "avcodec" [00007fce71435190] main playlist debug: saving a free vout [00007fce71435190] main playlist debug: reusing provided vout [00007fce717a2710] main packetizer debug: removing module "h264" [00007fce714f5a00] main demux debug: removing module "live555" Sending request: TEARDOWN rtsp://Homely.intvelt.com:7002/live/1/mode=keyframe RTSP/1.0 CSeq: 7 Authorization: Basic YWRtaW46Y2hhaWtBNjY= User-Agent: LibVLC/3.0.3 (LIVE555 Streaming Media v2016.11.28) Session: 1468728465 [00007fce729a70f0] main input debug: Program doesn't contain anymore ES [00007fce71435190] main playlist debug: dead input [00007fce71435190] main playlist debug: nothing to play [00007fce73071ef0] main video output debug: destroying useless vout [00007fce739bbb20] main vout display debug: removing module "macosx" [00007fce7386ee60] main spu text debug: removing module "freetype" [00007fce739bafc0] main scale debug: removing module "yuvp" [00007fce73b67050] main scale debug: removing module "swscale"

User avatar
InTheWings
Developer
Developer
Posts: 1275
Joined: 07 Aug 2013 13:15
VLC version: crashing
Operating System: Linux
Contact:

Re: VLC plays the first frame from rtsp stream then it stops

Postby InTheWings » 20 Aug 2018 18:24

:!: If you want your problem to be solved :
* First read troubleshooting guide VSG:Main
* Always provide verbose LOGS ! (command line or from gui)
* Always check your issue against a developer build from Nightly Build of VLC
* Tell us when your problem is solved !

ronluna
New Cone
New Cone
Posts: 2
Joined: 20 Aug 2018 17:56

Re: VLC plays the first frame from rtsp stream then it stops

Postby ronluna » 20 Aug 2018 18:52

just tried the latest nightly build. but it didn't help.

User avatar
InTheWings
Developer
Developer
Posts: 1275
Joined: 07 Aug 2013 13:15
VLC version: crashing
Operating System: Linux
Contact:

Re: VLC plays the first frame from rtsp stream then it stops

Postby InTheWings » 23 Aug 2018 20:35

that's related to low fps and threading.
you can workaround for your stream by changing avcodec settings in adv prefs:
threads 0
force output
:!: If you want your problem to be solved :
* First read troubleshooting guide VSG:Main
* Always provide verbose LOGS ! (command line or from gui)
* Always check your issue against a developer build from Nightly Build of VLC
* Tell us when your problem is solved !

JulianApos
New Cone
New Cone
Posts: 1
Joined: 08 Dec 2018 15:36

Re: VLC plays the first frame from rtsp stream then it stops

Postby JulianApos » 08 Dec 2018 16:01

that's related to low fps and threading.
you can workaround for your stream by changing avcodec settings in adv prefs:
threads 0
force output
Hi,
Where is the "force output" setting located in Advanced Preferences? (I've searched Advanced Preferences => Input/Codecs => Video Codecs => FFmpeg, but can't find it).

User avatar
InTheWings
Developer
Developer
Posts: 1275
Joined: 07 Aug 2013 13:15
VLC version: crashing
Operating System: Linux
Contact:

Re: VLC plays the first frame from rtsp stream then it stops

Postby InTheWings » 14 Dec 2018 09:38

also named skip frames
:!: If you want your problem to be solved :
* First read troubleshooting guide VSG:Main
* Always provide verbose LOGS ! (command line or from gui)
* Always check your issue against a developer build from Nightly Build of VLC
* Tell us when your problem is solved !


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 60 guests