Hi!
I've been getting a similar behaviour with a slightly different setup (rtp instead of udp)
I tested a udp multicast screencast successfully on my Mac OS X 10.6.6 with VLC 1.1.7
But I still get these error messages when listing the sap of the udp stream, telling me about a multicast group join error:
Code: Select all
[0x1002b00c8] main services discovery debug: net: opening ff0E::2:7ffe datagram port 9875
[0x1002b00c8] main services discovery debug: IPV6_JOIN_GROUP multicast request
[0x1002b00c8] main services discovery error: cannot join IPv6 any-source multicast group (Can't assign requested address)
[0x1002b00c8] main services discovery error: Multicast group join error (Can't assign requested address)
[0x1002b00c8] main services discovery error: Multicast not supported
[0x100297928] main playlist debug: Adding tlf-screen in (null)
[0x100297928] main playlist debug: rebuilding array of current - root Wiedergabeliste
[0x100297928] main playlist debug: rebuild done - 1 items, index 0
Surprisingly though I still can open and view the live screencast and watch the video without any problems. The -vvv messages then of course go wild and show the following messages.
Code: Select all
[0x100297928] main playlist debug: processing request item tlf-screen node Network streams (SAP) skip 0
[0x100297928] main playlist debug: rebuilding array of current - root Network streams (SAP)
[0x100297928] main playlist debug: rebuild done - 1 items, index 0
[0x100297928] main playlist debug: starting new item
[0x100297928] main playlist debug: creating new input thread
[0x1002b41d8] main input debug: Creating an input for 'tlf-screen'
[0x1002b41d8] main input debug: thread (input) created at priority 22 (input/input.c:214)
[0x1002b41d8] main input debug: thread started
[0x1002b41d8] main input debug: using timeshift granularity of 50 MiB
[0x1002b41d8] main input debug: using timeshift path '/tmp'
[0x1002b41d8] main input debug: `udp://192.168.1.2@224.0.0.1:1234' gives access `udp' demux `' path `192.168.1.2@224.0.0.1:1234'
[0x1002b41d8] main input debug: creating demux: access='udp' demux='' path='192.168.1.2@224.0.0.1:1234'
[0x1002b6578] main demux debug: looking for access_demux module: 0 candidates
[0x1002b6578] main demux debug: no access_demux module matched "udp"
[0x1002b6578] main demux debug: TIMER module_need() : 0,272 ms - Total 0,272 ms / 1 intvls (Avg 0,272 ms)
[0x1002b41d8] main input debug: creating access 'udp' path='192.168.1.2@224.0.0.1:1234'
[0x1002b6e48] main access debug: looking for access module: 1 candidate
[0x1002b6e48] access_udp access debug: opening server=192.168.1.2:0 local=224.0.0.1:1234
[0x1002b6e48] main access debug: net: connecting to [192.168.1.2]:0 from [224.0.0.1]:1234
[0x1002b6e48] main access error: cannot join IPv4 multicast group (Function not implemented)
[0x1002b6e48] main access error: Multicast group join error (Function not implemented)
[0x1002b6e48] main access warning: Trying ASM instead of SSM...
[0x1002b6e48] main access debug: IP_ADD_MEMBERSHIP multicast request
[0x1002b6e48] main access debug: using access module "access_udp"
[0x1002b6e48] main access debug: TIMER module_need() : 1,100 ms - Total 1,100 ms / 1 intvls (Avg 1,100 ms)
[0x1002b83a8] main stream debug: Using AStream*Block
[0x1002b83a8] main stream debug: pre buffering
[0x10029bc88] macosx interface debug: input has changed, refreshing interface
[0x100297928] main playlist debug: no fetch required for (null) (art currently (null))
[0x1002b83a8] main stream debug: received first data after 190 ms
[0x1002b83a8] main stream debug: prebuffering done 1316 bytes in 0s - 6 KiB/s
[0x1002b17a8] main stream debug: looking for stream_filter module: 5 candidates
[0x1002b17a8] main stream debug: no stream_filter module matching "any" could be loaded
[0x1002b17a8] main stream debug: TIMER module_need() : 0,269 ms - Total 0,269 ms / 1 intvls (Avg 0,269 ms)
[0x1002b17a8] main stream debug: looking for stream_filter module: 1 candidate
[0x1002b17a8] main stream debug: using stream_filter module "stream_filter_record"
[0x1002b17a8] main stream debug: TIMER module_need() : 0,156 ms - Total 0,156 ms / 1 intvls (Avg 0,156 ms)
[0x1002b41d8] main input debug: creating demux: access='udp' demux='' path='192.168.1.2@224.0.0.1:1234'
[0x1002b8ef8] main demux debug: looking for demux module: 52 candidates
[0x1002b8ef8] ts demux debug: pid[66] unknown
[0x1002b8ef8] ts demux debug: pid[68] unknown
libdvbpsi error (PSI decoder): TS discontinuity (received 13, expected 0) for PID 0
[0x1002b8ef8] ts demux debug: PATCallBack called
[0x1002b8ef8] ts demux debug: new PAT ts_id=38802 version=14 current_next=1
[0x1002b8ef8] ts demux debug: * number=1 pid=66
libdvbpsi error (PSI decoder): TS discontinuity (received 13, expected 0) for PID 66
[0x1002b8ef8] ts demux debug: PMTCallBack called
[0x1002b8ef8] ts demux debug: new PMT program number=1 version=2 pid_pcr=68
[0x1002b8ef8] ts demux debug: * es pid=68 type=27 fcc=h264
[0x1002b41d8] main input debug: selecting program id=1
[0x1002b6e48] access_udp access warning: unimplemented query in control
[0x1002b8ef8] main demux debug: using demux module "ts"
[0x1002b8ef8] main demux debug: TIMER module_need() : 3089,521 ms - Total 3089,521 ms / 1 intvls (Avg 3089,521 ms)
[0x100925108] main decoder debug: looking for decoder module: 32 candidates
[0x100925108] avcodec decoder debug: libavcodec initialized (interface 0x346c00)
[0x100925108] avcodec decoder debug: trying to use direct rendering
[0x100297928] main playlist debug: no fetch required for (null) (art currently (null))
[0x100925108] avcodec decoder debug: ffmpeg codec (H264 - MPEG-4 AVC (part 10)) started
[0x100925108] main decoder debug: using decoder module "avcodec"
[0x100925108] main decoder debug: TIMER module_need() : 178,152 ms - Total 178,152 ms / 1 intvls (Avg 178,152 ms)
[0x101832d08] main packetizer debug: looking for packetizer module: 21 candidates
[0x101832d08] main packetizer debug: using packetizer module "packetizer_h264"
[0x101832d08] main packetizer debug: TIMER module_need() : 17,613 ms - Total 17,613 ms / 1 intvls (Avg 17,613 ms)
[0x100925108] main decoder debug: thread (decoder) created at priority 0 (input/decoder.c:301)
[0x100925108] main decoder debug: thread started
[0x1002b8ef8] ts demux debug: DEMUX_SET_GROUP 0 0x0
[0x1002b6e48] access_udp access warning: unimplemented query in control
[0x113d1f8b8] main demux meta debug: looking for meta reader module: 2 candidates
[0x113d1f8b8] lua demux meta debug: Trying Lua scripts in /Users/kalliope/Library/Application Support/org.videolan.vlc/lua/meta/reader
[0x113d1f8b8] lua demux meta debug: Trying Lua scripts in /Applications/VLC.app/Contents/MacOS/share/lua/meta/reader
[0x113d1f8b8] lua demux meta debug: Trying Lua playlist script /Applications/VLC.app/Contents/MacOS/share/lua/meta/reader/filename.lua
[0x113d1f8b8] lua demux meta debug: Trying Lua scripts in /Applications/VLC.app/Contents/MacOS/share/share/lua/meta/reader
[0x113d1f8b8] main demux meta debug: no meta reader module matching "any" could be loaded
[0x113d1f8b8] main demux meta debug: TIMER module_need() : 19,357 ms - Total 19,357 ms / 1 intvls (Avg 19,357 ms)
[0x1002b41d8] main input debug: `udp://192.168.1.2@224.0.0.1:1234' successfully opened
[0x1002b8ef8] ts demux warning: first packet for pid=68 cc=0x9
[0x1002b41d8] main input debug: Buffering 0%
[0x1002b41d8] main input debug: Buffering 44%
[0x1002b41d8] main input debug: Stream buffering done (399 ms in 0 ms)
[0x101832d08] packetizer_h264 packetizer warning: waiting for SPS/PPS
[0x1002b41d8] main input debug: Decoder buffering done in 0 ms
[0x101832d08] packetizer_h264 packetizer warning: waiting for SPS/PPS
[0x101832d08] packetizer_h264 packetizer warning: waiting for SPS/PPS
[0x101832d08] packetizer_h264 packetizer warning: waiting for SPS/PPS
The most interesting part about the logs seems to be this (extract from the last logs) - even though he throws a multicast join error, VLC connects, buffers and displays the video.
Code: Select all
[0x1002b41d8] main input debug: `udp://192.168.1.2@224.0.0.1:1234' gives access `udp' demux `' path `192.168.1.2@224.0.0.1:1234'
[0x1002b41d8] main input debug: creating demux: access='udp' demux='' path='192.168.1.2@224.0.0.1:1234'
[0x1002b6578] main demux debug: looking for access_demux module: 0 candidates
[0x1002b6578] main demux debug: no access_demux module matched "udp"
[0x1002b6578] main demux debug: TIMER module_need() : 0,272 ms - Total 0,272 ms / 1 intvls (Avg 0,272 ms)
[0x1002b41d8] main input debug: creating access 'udp' path='192.168.1.2@224.0.0.1:1234'
[0x1002b6e48] main access debug: looking for access module: 1 candidate
[0x1002b6e48] access_udp access debug: opening server=192.168.1.2:0 local=224.0.0.1:1234
[0x1002b6e48] main access debug: net: connecting to [192.168.1.2]:0 from [224.0.0.1]:1234
[0x1002b6e48] main access error: cannot join IPv4 multicast group (Function not implemented)
[0x1002b6e48] main access error: Multicast group join error (Function not implemented)
[0x1002b6e48] main access warning: Trying ASM instead of SSM...
[0x1002b6e48] main access debug: IP_ADD_MEMBERSHIP multicast request
[0x1002b6e48] main access debug: using access module "access_udp"
[0x1002b6e48] main access debug: TIMER module_need() : 1,100 ms - Total 1,100 ms / 1 intvls (Avg 1,100 ms)
[0x1002b83a8] main stream debug: Using AStream*Block
[0x1002b83a8] main stream debug: pre buffering
[0x10029bc88] macosx interface debug: input has changed, refreshing interface
[0x100297928] main playlist debug: no fetch required for (null) (art currently (null))
[0x1002b83a8] main stream debug: received first data after 190 ms
The receiving instance also sometimes throws the following -vvv messages
Code: Select all
[0x1002b41d8] main input debug: Stream buffering done (699 ms in 200 ms)
[0x1002b41d8] main input debug: Decoder buffering done in 10 ms
[0x1009ded08] main video output warning: late picture skipped (98594 > -2440)
[0x1009ded08] main video output warning: late picture skipped (23520 > -1104)
[0x1002b41d8] main input error: ES_OUT_SET_(GROUP_)PCR is called too late (pts_delay increased to 415 ms)
[0x1002b41d8] main input debug: ES_OUT_RESET_PCR called
[0x1002b41d8] main input debug: Buffering 0%
[0x1002b41d8] main input debug: Buffering 72%
[0x100925108] main decoder debug: End of video preroll
[0x100925108] main decoder debug: Received first picture
[0x1002b41d8] main input debug: Buffering 96%
[0x1002b41d8] main input debug: Stream buffering done (632 ms in 588 ms)
[0x1002b41d8] main input debug: Decoder buffering done in 2 ms
[0x1002b41d8] main input error: ES_OUT_SET_(GROUP_)PCR is called too late (pts_delay increased to 468 ms)
[0x1002b41d8] main input debug: ES_OUT_RESET_PCR called
[0x1002b41d8] main input debug: Buffering 0%
[0x1002b41d8] main input debug: Buffering 56%
[0x100925108] main decoder debug: End of video preroll
[0x100925108] main decoder debug: Received first picture
Just for the record. The streaming VLC instance doing the udp multicast screencast gets the following messages:
Code: Select all
[0x10120a658] main mux warning: late buffer for mux input (8323968)
[0x10120a018] access_output_udp access out warning: putting two PCRs at once
[0x10120a018] access_output_udp access out warning: putting two PCRs at once
[0x10029cb88] stream_out_transcode stream out debug: drift is too high, resetting master sync
[0x10120a658] main mux warning: late buffer for mux input (8321932)
[0x10120a018] access_output_udp access out debug: late packet for UDP input (8388978)
[0x10120a018] access_output_udp access out debug: packet has been sent too late (8389277)
[0x10029cb88] stream_out_transcode stream out debug: drift is too high, resetting master sync
[0x10120a658] main mux warning: late buffer for mux input (8321126)
[0x10120a018] access_output_udp access out warning: putting two PCRs at once
[0x10029cb88] stream_out_transcode stream out debug: drift is too high, resetting master sync
[0x10120a658] main mux warning: late buffer for mux input (8324182)
[0x10120a018] access_output_udp access out warning: putting two PCRs at once
[0x10120a018] access_output_udp access out debug: late packet for UDP input (8192010)
[0x10120a018] access_output_udp access out debug: packet has been sent too late (8192298)
[0x10029cb88] stream_out_transcode stream out debug: drift is too high, resetting master sync
[0x10120a658] main mux warning: late buffer for mux input (8322140)
Now please bear with me, cause you're probably thinking what this has to do with the originating post.
The above scenario works - even though errors pop up
I now tried to get this working using rtp - with no success.
I get the same last log line as qstyler (and I'm on Snow Leopard)
When trying to open an rtp stream this is what I get. Note: the rtp stream is coming from a Sanyo VCC-HD4600P - I am currently trying to reach Sanyo for support on this issue, maybe they can provide me with some extra info sdp? maybe - I'm not too familiar with this
Command to access rtp multicast:
Code: Select all
vlc -vvv rtp://192.168.1.2@238.0.0.1:5560/VideoInput/1/h264/1 --rtp-caching 20000
Log result --> last line: [0x101201c98] macosx interface debug: input has changed, refreshing interface
Code: Select all
[0x100297948] main playlist debug: processing request item null node Wiedergabeliste skip 0
[0x100297948] main playlist debug: starting new item
[0x100297948] main playlist debug: creating new input thread
[0x113d3c3d8] main input debug: Creating an input for 'rtp://238.0.0.1:5560/VideoInput/1/h264/1'
[0x113d3c3d8] main input debug: thread (input) created at priority 22 (input/input.c:214)
[0x113d3c3d8] main input debug: thread started
[0x113d3c3d8] main input debug: using timeshift granularity of 50 MiB
[0x113d3c3d8] main input debug: using timeshift path '/tmp'
[0x113d3c3d8] main input debug: `rtp://192.168.1.2@238.0.0.1:5560/VideoInput/1/h264/1' gives access `rtp' demux `' path `192.168.1.2@238.0.0.1:5560/VideoInput/1/h264/1'
[0x113d3c3d8] main input debug: creating demux: access='rtp' demux='' path='192.168.1.2@238.0.0.1:5560/VideoInput/1/h264/1'
[0x1016be648] main demux debug: looking for access_demux module: 1 candidate
[0x1016be648] main demux debug: net: connecting to [192.168.1.2]:0 from [238.0.0.1]:5560
[0x1016be648] main demux error: cannot join IPv4 multicast group (Function not implemented)
[0x1016be648] main demux error: Multicast group join error (Function not implemented)
[0x1016be648] main demux warning: Trying ASM instead of SSM...
[0x1016be648] main demux debug: IP_ADD_MEMBERSHIP multicast request
[0x1016be648] main demux debug: using access_demux module "rtp"
[0x1016be648] main demux debug: TIMER module_need() : 6,774 ms - Total 6,774 ms / 1 intvls (Avg 6,774 ms)
[0x113d3c538] main demux meta debug: looking for meta reader module: 2 candidates
[0x113d3c538] lua demux meta debug: Trying Lua scripts in /Users/kalliope/Library/Application Support/org.videolan.vlc/lua/meta/reader
[0x113d3c538] lua demux meta debug: Trying Lua scripts in /Applications/VLC.app/Contents/MacOS/share/lua/meta/reader
[0x113d3c538] lua demux meta debug: Trying Lua playlist script /Applications/VLC.app/Contents/MacOS/share/lua/meta/reader/filename.lua
[0x113d3c538] lua demux meta debug: Trying Lua scripts in /Applications/VLC.app/Contents/MacOS/share/share/lua/meta/reader
[0x113d3c538] main demux meta debug: no meta reader module matching "any" could be loaded
[0x113d3c538] main demux meta debug: TIMER module_need() : 1,320 ms - Total 1,320 ms / 1 intvls (Avg 1,320 ms)
[0x113d3c3d8] main input debug: `rtp://192.168.1.2@238.0.0.1:5560/VideoInput/1/h264/1' successfully opened
[0x10029ddc8] macosx interface debug: input has changed, refreshing interface
Is this the same issue?
Do I need additional files (sdp url?) to access an rtp multicast
Any help or direction welcome... I'm kinda lost on this one
//crackstone