OPUS RTSP support
Posted: 16 Dec 2015 18:31
I found a similar post (here: https://forum.videolan.org/viewtopic.ph ... us#p381247) but there was no clear solution and it has not been updated in over 2 years. I am sorry if my issue is addressed somewhere else.
I am trying to stream OPUS encoded audio data via RTSP and would like to use the VLC player to play the audio. When I connect VLC to my server (via Media->Open Network Stream) I receive the expected RTSP setup commands from VLC and I return the following SDP formatted information for the OPUS session:
A popup appears in VLC indicating that the audio codec could not be found. The detailed message log (generated with the "-vvv" command line argument) shows the following:
I understand the final error ("TCP rollover failed, aborting") because my server does not currently support TCP streaming. However, I do not understand why VLC cannot find an opus codec as it is one of the formats that is supported by the player.
Any help on this would be greatly appreciated. If it matters, I am running VLC on a Windows 7 64-bit computer.
I am trying to stream OPUS encoded audio data via RTSP and would like to use the VLC player to play the audio. When I connect VLC to my server (via Media->Open Network Stream) I receive the expected RTSP setup commands from VLC and I return the following SDP formatted information for the OPUS session:
Code: Select all
m=audio 5006 RTP/AVP 101
a=rtpmap:101 opus/48000/2
a=control:session=0
Code: Select all
core debug: VLC media player - 2.2.1 Terry Pratchett (Weatherwax)
core debug: Copyright © 1996-2015 the VideoLAN team
core debug: revision 2.2.1-0-ga425c42
core debug: configured with ../extras/package/win32/../../../configure '--enable-update-check' '--enable-lua' '--enable-faad' '--enable-flac' '--enable-theora' '--enable-twolame' '--enable-quicktime' '--enable-avcodec' '--enable-merge-ffmpeg' '--enable-dca' '--enable-mpc' '--enable-libass' '--enable-x264' '--enable-schroedinger' '--enable-realrtsp' '--enable-live555' '--enable-dvdread' '--enable-shout' '--enable-goom' '--enable-caca' '--disable-sdl' '--enable-qt' '--enable-skins2' '--enable-sse' '--enable-mmx' '--enable-libcddb' '--enable-zvbi' '--disable-telx' '--enable-nls' '--host=i686-w64-mingw32' '--disable-debug' 'host_alias=i686-w64-mingw32'
core debug: adding item `rtsp://192.168.0.5:8554/session=0' ( rtsp://192.168.0.5:8554/session=0 )
core debug: processing request item: rtsp://192.168.0.5:8554/session=0, node: null, skip: 0
core debug: rebuilding array of current - root Playlist
core debug: meta ok for (null), need to fetch art
core debug: rebuild done - 1 items, index 0
core debug: starting playback of the new playlist item
core debug: resyncing on rtsp://192.168.0.5:8554/session=0
core debug: looking for meta fetcher module matching "any": 1 candidates
core debug: rtsp://192.168.0.5:8554/session=0 is at 0
core debug: creating new input thread
core debug: Creating an input for 'rtsp://192.168.0.5:8554/session=0'
core debug: requesting art for rtsp://192.168.0.5:8554/session=0
core debug: using timeshift granularity of 50 MiB, in path 'C:\Users\curob\AppData\Local\Temp'
core debug: `rtsp://192.168.0.5:8554/session=0' gives access `rtsp' demux `' path `192.168.0.5:8554/session=0'
core debug: looking for meta fetcher module matching "any": 1 candidates
core debug: specified demux `any'
core debug: creating demux: access='rtsp' demux='any' location='192.168.0.5:8554/session=0' file='\\192.168.0.5:8554\session=0'
core debug: looking for access_demux module matching "rtsp": 12 candidates
live555 debug: version 2014.07.25
lua debug: Trying Lua scripts in C:\Users\curob\AppData\Roaming\vlc\lua\meta\fetcher
lua debug: Trying Lua scripts in C:\Users\curob\AppData\Roaming\vlc\lua\meta\fetcher
lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher
lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher\tvrage.luac
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher\tvrage.luac
lua debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher\tvrage.luac
core debug: no meta fetcher modules matched
core debug: searching art for rtsp://192.168.0.5:8554/session=0
lua debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher\tvrage.luac
core debug: looking for art finder module matching "any": 2 candidates
core debug: no meta fetcher modules matched
core debug: searching art for rtsp://192.168.0.5:8554/session=0
core debug: looking for art finder module matching "any": 2 candidates
lua debug: Trying Lua scripts in C:\Users\curob\AppData\Roaming\vlc\lua\meta\art
lua debug: Trying Lua scripts in C:\Users\curob\AppData\Roaming\vlc\lua\meta\art
lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art
lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art
qt4 debug: IM: Setting an input
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac
lua debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\01_googleimage.luac
lua debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\01_googleimage.luac
lua debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\01_googleimage.luac
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac
lua debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\01_googleimage.luac
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac
lua debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\03_lastfm.luac
lua debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac
lua debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\03_lastfm.luac
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\03_lastfm.luac
core debug: no art finder modules matched
core debug: art not found for rtsp://192.168.0.5:8554/session=0
lua debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\03_lastfm.luac
core debug: no art finder modules matched
core debug: art not found for rtsp://192.168.0.5:8554/session=0
live555 debug: RTP subsession 'audio/OPUS'
core debug: selecting program id=0
live555 debug: setup start: 0.000000 stop:0.000000
live555 debug: play start: 0.000000 stop:0.000000
core debug: using access_demux module "live555"
core debug: looking for decoder module matching "any": 43 candidates
mft error: Could not find suitable MFT decoder
core debug: no decoder modules matched
core error: could not identify codec
core debug: killing decoder fourcc `undf', 0 PES in FIFO
core debug: looking for meta reader module matching "any": 2 candidates
lua debug: Trying Lua scripts in C:\Users\curob\AppData\Roaming\vlc\lua\meta\reader
lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\reader
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\reader\filename.luac
core debug: no meta reader modules matched
core debug: `rtsp://192.168.0.5:8554/session=0' successfully opened
live555 error: SETUP of'audio/OPUS' failed 400 Bad Request
live555 error: Nothing to play for rtsp://192.168.0.5:8554/session=0
live555 error: TCP rollover failed, aborting
Any help on this would be greatly appreciated. If it matters, I am running VLC on a Windows 7 64-bit computer.