RTSP stream does not start VLC 3.0.3 on Mac and Windows
Hi, i notice that my RTSP stream is crashing all VLC version i tried on MAC and Windows, the latest one also have this issue, but nothing in the logs that retain my attention
VLC media player 3.0.3 Vetinari (revision 3.0.3-1-0-gc2bb759264)
[00007f99a2c042f0] main libvlc debug: VLC media player - 3.0.3 Vetinari
[00007f99a2c042f0] main libvlc debug: Copyright © 1996-2018 the VideoLAN team
[00007f99a2c042f0] main libvlc debug: revision 3.0.3-1-0-gc2bb759264
[00007f99a2c042f0] 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'
[00007f99a2c042f0] main libvlc debug: searching plug-in modules
[00007f99a2c042f0] main libvlc debug: loading plugins cache file /Applications/VLC.app/Contents/MacOS/plugins/plugins.dat
[00007f99a2c042f0] main libvlc debug: recursively browsing `/Applications/VLC.app/Contents/MacOS/plugins'
[00007f99a2c042f0] main libvlc debug: plug-ins loaded: 464 modules
[00007f99a2c042f0] main libvlc debug: opening config file (/Users/me/Library/Preferences/org.videolan.vlc/vlcrc)
[00007f99a2e03a00] main logger debug: looking for logger module matching "any": 3 candidates
[00007f99a2e03a00] main logger debug: using logger module "console"
[00007f99a2c042f0] main libvlc debug: translation test: code is "C"
[00007f99a2c0c3b0] main keystore debug: looking for keystore module matching "memory": 3 candidates
[00007f99a2c0c3b0] main keystore debug: using keystore module "memory"
[00007f99a2c042f0] main libvlc debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 FPU
[00007f99a2c042f0] main libvlc warning: Key "Command+0" bound to multiple actions
[00007f99a3009af0] main input debug: Creating an input for 'Media Library'
[00007f99a3009af0] main input debug: Input is a meta file: disabling unneeded options
[00007f99a3009af0] main input debug: using timeshift granularity of 50 MiB
[00007f99a3009af0] main input debug: using default timeshift path
[00007f99a3009af0] main input debug: `file/directory:///Users/me/Library/Application%20Support/org.videolan.vlc/ml.xspf' gives access `file' demux `directory' path `/Users/me/Library/Application%20Support/org.videolan.vlc/ml.xspf'
[00007f99a2c15ee0] main input source debug: creating demux: access='file' demux='directory' location='/Users/me/Library/Application%20Support/org.videolan.vlc/ml.xspf' file='/Users/me/Library/Application Support/org.videolan.vlc/ml.xspf'
[00007f99a2c160b0] main demux debug: looking for access_demux module matching "file": 13 candidates
[00007f99a2c160b0] main demux debug: no access_demux modules matched
[00007f99a2d0c930] main stream debug: creating access: file:///Users/me/Library/Application%20Support/org.videolan.vlc/ml.xspf
[00007f99a2d0c930] main stream debug: (path: /Users/me/Library/Application Support/org.videolan.vlc/ml.xspf)
[00007f99a2d0c930] main stream debug: looking for access module matching "file": 23 candidates
[00007f99a2d0c930] main stream debug: using access module "filesystem"
[00007f99a2d0caf0] main stream debug: looking for stream_filter module matching "prefetch,cache_read": 26 candidates
[00007f99a2d0caf0] cache_read stream debug: Using stream method for AStream*
[00007f99a2d0caf0] cache_read stream debug: starting pre-buffering
[00007f99a2d0caf0] cache_read stream debug: received first data after 0 ms
[00007f99a2d0caf0] cache_read stream debug: pre-buffering done 296 bytes in 0s - 4014 KiB/s
[00007f99a2d0caf0] main stream debug: using stream_filter module "cache_read"
[00007f99a2d0ccb0] main stream debug: looking for stream_filter module matching "any": 26 candidates
[00007f99a2d0ccb0] playlist stream debug: using XSPF playlist reader
[00007f99a2d0ccb0] main stream debug: using stream_filter module "playlist"
[00007f99a2d0ccb0] main stream debug: stream filter added to 0x7f99a2d0caf0
[00007f99a2d0ce70] main stream debug: looking for stream_filter module matching "any": 26 candidates
[00007f99a2d0ce70] main stream debug: no stream_filter modules matched
[00007f99a2e4ee20] main stream_directory debug: looking for stream_directory module matching "any": 1 candidates
[00007f99a2e4ee20] main stream_directory debug: no stream_directory modules matched
[00007f99a2c15ee0] main input source debug: attachment of directory-extractor failed for file:///Users/me/Library/Application%20Support/org.videolan.vlc/ml.xspf
[00007f99a2d0ce70] main stream debug: looking for stream_filter module matching "record": 26 candidates
[00007f99a2d0ce70] main stream debug: using stream_filter module "record"
[00007f99a2c15ee0] main input source debug: creating demux: access='file' demux='directory' location='/Users/me/Library/Application%20Support/org.videolan.vlc/ml.xspf' file='/Users/me/Library/Application Support/org.videolan.vlc/ml.xspf'
[00007f99a2e048b0] main demux debug: looking for demux module matching "directory": 55 candidates
[00007f99a2e048b0] main demux debug: using demux module "directory"
[00007f99a2d0d360] main demux meta debug: looking for meta reader module matching "any": 2 candidates
[00007f99a2d0d360] lua demux meta debug: Trying Lua scripts in /Users/me/Library/Application Support/org.videolan.vlc/lua/meta/reader
[00007f99a2d0d360] lua demux meta debug: Trying Lua scripts in /Applications/VLC.app/Contents/MacOS/lua/meta/reader
[00007f99a2d0d360] lua demux meta debug: Trying Lua scripts in /Applications/VLC.app/Contents/MacOS/share/lua/meta/reader
[00007f99a2d0d360] lua demux meta debug: Trying Lua playlist script /Applications/VLC.app/Contents/MacOS/share/lua/meta/reader/filename.luac
[00007f99a2d0d360] main demux meta debug: no meta reader modules matched
[00007f99a3009af0] main input debug: `file/directory:///Users/me/Library/Application%20Support/org.videolan.vlc/ml.xspf' successfully opened
[00007f99a2e589e0] main xml reader debug: looking for xml reader module matching "any": 1 candidates
[00007f99a2e589e0] main xml reader debug: using xml reader module "xml"
[00007f99a3009af0] main input debug: EOF reached
[00007f99a2e048b0] main demux debug: removing module "directory"
[00007f99a2d0ce70] main stream debug: removing module "record"
[00007f99a2d0ccb0] main stream debug: removing module "playlist"
[00007f99a2d0caf0] main stream debug: removing module "cache_read"
[00007f99a2d0c930] main stream debug: removing module "filesystem"
[00007f99a2c0f5d0] main playlist debug: creating audio output
[00007f99a2c16ac0] main audio output debug: looking for audio output module matching "any": 4 candidates
[00007f99a2c16ac0] auhal audio output debug: Rebuild device list
[00007f99a2c16ac0] auhal audio output debug: found 4 audio device(s)
[00007f99a2c16ac0] auhal audio output debug: DevID: 190 DevName: Built-in Microphone
[00007f99a2c16ac0] auhal audio output debug: this 'Built-in Microphone' is INPUT only. skipping...
[00007f99a2c16ac0] auhal audio output debug: DevID: 197 DevName: Built-in Output
[00007f99a2c16ac0] auhal audio output debug: DevID: 41 DevName: Soundflower (2ch)
[00007f99a2c16ac0] auhal audio output debug: DevID: 55 DevName: Soundflower (64ch)
[00007f99a2c16ac0] main audio output debug: using audio output module "auhal"
[00007f99a2c0f5d0] main playlist debug: keeping audio output
[00007f99a2f2e180] main interface debug: looking for interface module matching "hotkeys,none": 15 candidates
[00007f99a2f2e180] main interface debug: using interface module "hotkeys"
[00007f99a2c042f0] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[00007f99a2e65380] main interface debug: looking for interface module matching "any": 15 candidates
[00007f99a2e65380] macosx interface debug: Starting macosx interface
[00007f99a2e65380] macosx interface debug: Initializing input manager
[00007f99a2e65380] macosx interface debug: Register dialog provider
[00007f99a2e65380] macosx interface debug: Loading VLCStatusBarIcon
[00007f99a2c67690] main probe debug: looking for renderer probe module matching "any": 1 candidates
[00007f99a2c67690] main probe debug: no renderer probe modules matched
[00007f99a8407d70] main generic debug: looking for extension module matching "any": 1 candidates
[00007f99a8407d70] lua generic debug: Opening Lua Extension module
[00007f99a8407d70] lua generic debug: Trying Lua scripts in /Users/me/Library/Application Support/org.videolan.vlc/lua/extensions
[00007f99a8407d70] lua generic debug: Trying Lua scripts in /Applications/VLC.app/Contents/MacOS/lua/extensions
[00007f99a8407d70] lua generic debug: Trying Lua scripts in /Applications/VLC.app/Contents/MacOS/share/lua/extensions
[00007f99a8407d70] lua generic debug: Trying Lua playlist script /Applications/VLC.app/Contents/MacOS/share/lua/extensions/VLSub.luac
[00007f99a8407d70] lua generic debug: Scanning Lua script /Applications/VLC.app/Contents/MacOS/share/lua/extensions/VLSub.luac
[00007f99a8407d70] lua generic debug: Script /Applications/VLC.app/Contents/MacOS/share/lua/extensions/VLSub.luac has the following capability flags: 0x5
[00007f99a8407d70] main generic debug: using extension module "lua"
[00007f99a2e65380] macosx interface debug: Initializing playlist model
[00007f99a8466670] main probe debug: looking for services probe module matching "any": 6 candidates
[00007f99a8466670] main probe debug: no services probe modules matched
[00007f99a2e65380] macosx interface debug: Enable media key support
[00007f99a2e65380] macosx interface debug: Finished loading macosx interface
[00007f99a2e65380] main interface debug: using interface module "macosx"
[00007f99a2c0f5d0] main playlist debug: processing request item: null, node: Playlist, skip: 0
[00007f99a2c0f5d0] main playlist debug: rebuilding array of current - root Playlist
[00007f99a2c0f5d0] main playlist debug: rebuild done - 1 items, index -1
[00007f99a2c0f5d0] main playlist debug: starting playback of new item
[00007f99a2c0f5d0] main playlist debug: resyncing on rtsp://<SERVER_IP>:8554/live/people_stream
[00007f99a2c0f5d0] main playlist debug: rtsp://<SERVER_IP>:8554/live/people_stream is at 0
[00007f99a2c0f5d0] main playlist debug: creating new input thread
[00007f99a384ecf0] main input debug: Creating an input for 'rtsp://<SERVER_IP>:8554/live/people_stream'
[00007f99a2c0f5d0] main playlist debug: requesting art for new input thread
[00007f99a384ecf0] main input debug: using timeshift granularity of 50 MiB
[00007f99a384ecf0] main input debug: using default timeshift path
[00007f99a384ecf0] main input debug: `rtsp://<SERVER_IP>:8554/live/people_stream' gives access `rtsp' demux `any' path `<SERVER_IP>:8554/live/people_stream'
[00007f99a2ff5a50] main input source debug: creating demux: access='rtsp' demux='any' location='<SERVER_IP>:8554/live/people_stream' file='(null)'
[00007f99a84572d0] main demux debug: looking for access_demux module matching "rtsp": 13 candidates
[00007f99a4918a40] main meta fetcher debug: looking for meta fetcher module matching "any": 1 candidates
[00007f99a4918a40] lua meta fetcher debug: Trying Lua scripts in /Users/me/Library/Application Support/org.videolan.vlc/lua/meta/fetcher
[00007f99a4918a40] lua meta fetcher debug: Trying Lua scripts in /Applications/VLC.app/Contents/MacOS/lua/meta/fetcher
[00007f99a4918a40] lua meta fetcher debug: Trying Lua scripts in /Applications/VLC.app/Contents/MacOS/share/lua/meta/fetcher
[00007f99a4918a40] main meta fetcher debug: no meta fetcher modules matched
[00007f99a2d8cd20] main art finder debug: looking for art finder module matching "any": 2 candidates
[00007f99a84572d0] live555 demux debug: version 2016.11.28
[00007f99a2d8cd20] lua art finder debug: Trying Lua scripts in /Users/me/Library/Application Support/org.videolan.vlc/lua/meta/art
[00007f99a2d8cd20] lua art finder debug: Trying Lua scripts in /Applications/VLC.app/Contents/MacOS/lua/meta/art
[00007f99a2d8cd20] lua art finder debug: Trying Lua scripts in /Applications/VLC.app/Contents/MacOS/share/lua/meta/art
[00007f99a2d8cd20] lua art finder debug: Trying Lua playlist script /Applications/VLC.app/Contents/MacOS/share/lua/meta/art/00_musicbrainz.luac
Opening connection to <SERVER_IP>, port 8554...
[00007f99a2d8cd20] lua art finder debug: skipping script (unmatched scope) /Applications/VLC.app/Contents/MacOS/share/lua/meta/art/00_musicbrainz.luac
[00007f99a2d8cd20] lua art finder debug: Trying Lua playlist script /Applications/VLC.app/Contents/MacOS/share/lua/meta/art/01_googleimage.luac
[00007f99a2d8cd20] lua art finder debug: skipping script (unmatched scope) /Applications/VLC.app/Contents/MacOS/share/lua/meta/art/01_googleimage.luac
[00007f99a2d8cd20] lua art finder debug: Trying Lua playlist script /Applications/VLC.app/Contents/MacOS/share/lua/meta/art/02_frenchtv.luac
[00007f99a2d8cd20] lua art finder debug: skipping script (unmatched scope) /Applications/VLC.app/Contents/MacOS/share/lua/meta/art/02_frenchtv.luac
[00007f99a2d8cd20] lua art finder debug: Trying Lua playlist script /Applications/VLC.app/Contents/MacOS/share/lua/meta/art/03_lastfm.luac
[00007f99a2d8cd20] lua art finder debug: skipping script (unmatched scope) /Applications/VLC.app/Contents/MacOS/share/lua/meta/art/03_lastfm.luac
[00007f99a2d8cd20] main art finder debug: no art finder modules matched
...remote connection opened
Sending request: OPTIONS rtsp://<SERVER_IP>:8554/live/people_stream RTSP/1.0
CSeq: 2
User-Agent: LibVLC/3.0.3 (LIVE555 Streaming Media v2016.11.28)
Received 114 new bytes of response data.
Received a complete OPTIONS response:
RTSP/1.0 200 OK
CSeq: 2
Date: Sat, Aug 11 2018 9:31:50 GMT
Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY
Sending request: DESCRIBE rtsp://<SERVER_IP>:8554/live/people_stream RTSP/1.0
CSeq: 3
User-Agent: LibVLC/3.0.3 (LIVE555 Streaming Media v2016.11.28)
Accept: application/sdp
Received 794 new bytes of response data.
Received a complete DESCRIBE response:
RTSP/1.0 200 OK
CSeq: 3
Date: Sat, Aug 11 2018 9:31:50 GMT
Content-Base: rtsp://<SERVER_IP>:8554/live/people_stream
Content-Type: application/sdp
Content-Length: 618
v=0
s=people_stream
c=IN IP4 <SERVER_IP>
b=as:169.90894061761514
a=metadata:duration=0.0;fileSize=0.0;width=960.0;height=540.0;videocodecid=avc1;videodatarate=1500.0;framerate=30.0;audiocodecid=mp4a;
m=audio 0 RTP/AVP 96
a=rtpmap:96 MPEG4-GENERIC/44100/2
a=fmtp:96 mode=AAC-hbr; constantDuration=1024; sizelength=13; indexdeltalength=3; config=121056e50000; indexlength=3; MPS-asc=121056e50000;
a=control:audio
m=video 0 RTP/AVP 97
a=rtpmap:97 H264/90000
a=fmtp:97 profile-level-id=42c01f; sprop-parameter-sets=Z0LAH9oDwEX7hAAAAwAEAAADAPI8YMqA,aM4PyA==; packetization-mode=1;
a=control:video
[00007f99a84572d0] live555 demux debug: RTP subsession 'audio/MPEG4-GENERIC'
Sending request: SETUP rtsp://<SERVER_IP>:8554/live/people_stream/audio RTSP/1.0
CSeq: 4
User-Agent: LibVLC/3.0.3 (LIVE555 Streaming Media v2016.11.28)
Transport: RTP/AVP/TCP;unicast;interleaved=0-1
Received 133 new bytes of response data.
Received a complete SETUP response:
RTSP/1.0 200 OK
CSeq: 4
Date: Sat, Aug 11 2018 9:31:50 GMT
Transport: RTP/AVP/TCP;unicast;interleaved=0-1
Session: 1578480978
[00007f99a384ecf0] main input debug: selecting program id=0
[00007f99a84572d0] live555 demux debug: RTP subsession 'video/H264'
Sending request: SETUP rtsp://<SERVER_IP>:8554/live/people_stream/video RTSP/1.0
CSeq: 5
User-Agent: LibVLC/3.0.3 (LIVE555 Streaming Media v2016.11.28)
Transport: RTP/AVP/TCP;unicast;interleaved=2-3
Session: 1578480978
[00007f99a2e65380] macosx interface debug: Activated assertion NoIdleSleepAssertion through IOKit (33932)
Received a complete SETUP response:
RTSP/1.0 200 OK
CSeq: 5
Date: Sat, Aug 11 2018 9:31:50 GMT
Transport: RTP/AVP/TCP;unicast;interleaved=2-3
Session: 1578480978
[00007f99a84572d0] live555 demux debug: setup start: 0.000000 stop:0.000000
Sending request: PLAY rtsp://<SERVER_IP>:8554/live/people_stream RTSP/1.0
CSeq: 6
User-Agent: LibVLC/3.0.3 (LIVE555 Streaming Media v2016.11.28)
Session: 1578480978
Range: npt=0.000-
After that, VLC is unresponsive and the only way to kill it is a kill -9 :/ I can play the stream perfectly with ffplay or omxplayer on rpi for example, no idea why VLC refuse it.
Thanks for your ideas :)