Error In RTSP Stream From Camera

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
zihang
New Cone
New Cone
Posts: 2
Joined: 18 Jul 2024 08:55

Error In RTSP Stream From Camera

Postby zihang » 18 Jul 2024 09:41

While streaming with VLC media player, I ran into a few issues.
I capture video from the camera and push stream it to the port via RTSP.Set ip to 192.168.0.102 and port to 8554.
When I'm pulling the stream, it first shows up normally, then after about a minute the stream is disconnected and never connects again.
I think it's possible that the buffer is causing this, but I'm not sure how to fix it.
Here are the log File.

Code: Select all

qt debug: MRL(s) passed to the Sout: 1 qt debug: MRL(s) passed to the Sout: dshow:// main debug: processing request item: null, node: 播放列表, skip: 0 main debug: rebuilding array of current - root 播放列表 main debug: rebuild done - 1 items, index -1 main debug: starting playback of new item main debug: resyncing on Converting dshow:// main debug: Converting dshow:// is at 0 main debug: creating new input thread main debug: Creating an input for 'Converting dshow://' main debug: requesting art for new input thread main debug: using sout chain=`rtp{sdp=rtsp://192.168.0.102:8554/}' main debug: stream=`rtp' main debug: looking for sout stream module matching "rtp": 23 candidates main debug: looking for meta fetcher module matching "any": 1 candidates lua debug: Trying Lua scripts in C:\Users\HP\AppData\Roaming\vlc\lua\meta\fetcher lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\meta\fetcher main debug: no meta fetcher modules matched main debug: looking for art finder module matching "any": 2 candidates main debug: set config option: sout-rtp-sdp to rtsp://192.168.0.102:8554/ lua debug: Trying Lua scripts in C:\Users\HP\AppData\Roaming\vlc\lua\meta\art lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\meta\art stream_out_rtp warning: "192.168.0.102" RTSP host might be ignored in multiple-host configurations, use at your own risks. stream_out_rtp info: Consider passing --rtsp-host=IP on the command line instead. stream_out_rtp debug: RTSP stream at / main debug: net: listening to 192.168.0.102 port 8554 lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac lua debug: skipping script (unmatched scope) C:\Program Files\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\01_googleimage.luac main debug: using sout stream module "stream_out_rtp" main debug: using timeshift granularity of 50 MiB main debug: using timeshift path: C:\Users\HP\AppData\Local\Temp main debug: `dshow://' gives access `dshow' demux `any' path `' main debug: creating demux: access='dshow' demux='any' location='' file='(null)' main debug: looking for access_demux module matching "dshow": 15 candidates lua debug: skipping script (unmatched scope) C:\Program Files\VideoLAN\VLC\lua\meta\art\01_googleimage.luac dshow debug: dshow-vdev: lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac dshow debug: dshow-adev: lua debug: skipping script (unmatched scope) C:\Program Files\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\03_lastfm.luac lua debug: skipping script (unmatched scope) C:\Program Files\VideoLAN\VLC\lua\meta\art\03_lastfm.luac main debug: no art finder modules matched main debug: looking for meta fetcher module matching "any": 1 candidates lua debug: Trying Lua scripts in C:\Users\HP\AppData\Roaming\vlc\lua\meta\fetcher lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\meta\fetcher main debug: no meta fetcher modules matched main debug: looking for art finder module matching "any": 2 candidates lua debug: Trying Lua scripts in C:\Users\HP\AppData\Roaming\vlc\lua\meta\art lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\meta\art lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\01_googleimage.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\03_lastfm.luac main debug: no art finder modules matched dshow debug: found device: See3CAM_CU30 dshow debug: asking for default device: See3CAM_CU30 dshow debug: asked for See3CAM_CU30, binding to See3CAM_CU30 qt debug: IM: Setting an input dshow debug: using device: See3CAM_CU30 dshow debug: EnumDeviceCaps: output pin: dshow debug: EnumDeviceCaps: input pin: Video Camera Terminal dshow debug: EnumDeviceCaps: output pin: dshow debug: EnumDeviceCaps: trying pin dshow debug: EnumDeviceCaps: input pin default format configured dshow debug: EnumDeviceCaps: input pin accepts chroma: MJPG, width:1280, height:960, fps:58.000267 dshow debug: CaptureFilter::JoinFilterGraph dshow debug: connecting filters dshow debug: CaptureFilter::EnumPins dshow debug: CapturePin::QueryDirection dshow debug: CapturePin::ConnectedTo [not connected] dshow debug: CapturePin::QueryPinInfo dshow debug: CaptureFilter::QueryFilterInfo dshow debug: CapturePin::QueryPinInfo dshow debug: CaptureFilter::EnumPins dshow debug: CapturePin::QueryDirection dshow debug: CapturePin::QueryDirection dshow debug: CapturePin::QueryAccept [OK] (width=1280, height=960, chroma=MJPG, fps=58.000267) dshow debug: CapturePin::ReceiveConnection [OK] dshow debug: CapturePin::NotifyAllocator dshow debug: ConnectFilters: graph_builder2 available. dshow warning: ConnectFilters: No crossBar routes found (incompatible pin types) dshow debug: filters connected successfully ! dshow debug: MEDIATYPE_Video dshow debug: selected video pin accepts format: MJPG dshow error: no audio capture device was detected dshow error: can't open audio device dshow debug: Playing... dshow debug: CapturePin::QueryPinInfo dshow debug: CaptureFilter::EnumPins dshow debug: CapturePin::QueryDirection dshow debug: CaptureFilter::EnumPins dshow debug: CapturePin::QueryDirection dshow debug: CapturePin::QueryPinInfo dshow debug: CaptureFilter::EnumPins dshow debug: CapturePin::QueryDirection dshow debug: CaptureFilter::EnumPins dshow debug: CapturePin::QueryDirection dshow debug: CapturePin::ConnectedTo [OK] dshow debug: CaptureFilter::SetSyncSource dshow debug: CaptureFilter::Pause dshow debug: CaptureFilter::QueryFilterInfo dshow debug: CaptureFilter::Run main debug: selecting program id=0 main debug: using access_demux module "dshow" main debug: looking for packetizer module matching "any": 25 candidates main debug: using packetizer module "copy" main debug: starting in async mode main debug: looking for meta reader module matching "any": 2 candidates lua debug: Trying Lua scripts in C:\Users\HP\AppData\Roaming\vlc\lua\meta\reader lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\meta\reader lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\reader\filename.luac main debug: no meta reader modules matched main debug: `dshow://' successfully opened main debug: Buffering 0% main debug: switching to sync mode main debug: Buffering 5% main debug: adding a new sout input for `MJPG` (sout_input: 0000013f8ff85fa0) stream_out_rtp debug: maximum RTP packet size: 1400 bytes stream_out_rtp debug: RTSP: adding /trackID=0 stream_out_rtp debug: sdp= v=0 o=- 16880392898494302829 16880392898494302829 IN IP4 zi s=Unnamed i=N/A c=IN IP4 0.0.0.0 t=0 0 a=tool:vlc 3.0.20 a=recvonly a=type:broadcast a=charset:UTF-8 m=video 0 RTP/AVP 26 b=RR:0 a=rtpmap:26 JPEG/90000
Any thoughts on this would be greatly appreciated!

zihang
New Cone
New Cone
Posts: 2
Joined: 18 Jul 2024 08:55

Re: Error In RTSP Stream From Camera

Postby zihang » 18 Jul 2024 09:44

Due to word limitations, the above is one half of the log file and the following is the other half:

Code: Select all

main debug: Buffering 11% main debug: Buffering 17% main debug: Buffering 22% main debug: Buffering 28% main debug: Buffering 34% main debug: Buffering 40% main debug: Buffering 45% main debug: Buffering 51% main debug: Buffering 57% main debug: Buffering 63% main debug: Buffering 68% main debug: Buffering 74% main debug: Buffering 80% main debug: Buffering 86% main debug: Buffering 91% main debug: Buffering 97% main debug: Stream buffering done (310 ms in 322 ms) main debug: Decoder wait done in 0 ms main debug: net: connecting to [192.168.0.102]:49352 main debug: net: connecting to [192.168.0.102]:49353 from [192.168.0.102]:49355 main debug: net: connecting to [192.168.0.102]:49358 main debug: net: connecting to [192.168.0.102]:49359 from [192.168.0.102]:49361 main error: ES_OUT_SET_(GROUP_)PCR is called too late (pts_delay increased to 300 ms) main debug: ES_OUT_RESET_PCR called main debug: Buffering 0% main debug: Buffering 5% main debug: Buffering 11% main debug: Buffering 17% main debug: Buffering 22% main debug: Buffering 28% main debug: Buffering 34% main debug: Buffering 40% main debug: Buffering 45% main debug: Buffering 51% main debug: Buffering 57% main debug: Buffering 63% main debug: Buffering 68% main debug: Buffering 74% main debug: Buffering 80% main debug: Buffering 86% main debug: Buffering 91% main debug: Buffering 97% main debug: Stream buffering done (310 ms in 323 ms) main debug: Decoder wait done in 0 ms main error: ES_OUT_SET_(GROUP_)PCR is called too late (pts_delay increased to 309 ms) main debug: ES_OUT_RESET_PCR called main debug: Buffering 0% main debug: Buffering 5% main debug: Buffering 11% main debug: Buffering 16% main debug: Buffering 22% main debug: Buffering 27% main debug: Buffering 33% main debug: Buffering 38% main debug: Buffering 44% main debug: Buffering 50% main debug: Buffering 55% main debug: Buffering 61% main debug: Buffering 66% main debug: Buffering 72% main debug: Buffering 77% main debug: Buffering 83% main debug: Buffering 89% main debug: Buffering 94% main debug: Stream buffering done (310 ms in 321 ms) main debug: Decoder wait done in 0 ms main error: ES_OUT_SET_(GROUP_)PCR is called too late (pts_delay increased to 309 ms) main debug: ES_OUT_RESET_PCR called main debug: Buffering 0% main debug: Buffering 5% main debug: Buffering 11% main debug: Buffering 16% main debug: Buffering 22% main debug: Buffering 27% main debug: Buffering 33% main debug: Buffering 38% main debug: Buffering 44% main debug: Buffering 50% main debug: Buffering 55% main debug: Buffering 61% main debug: Buffering 66% main debug: Buffering 72% main debug: Buffering 77% main debug: Buffering 83% main debug: Buffering 89% main debug: Buffering 94% main debug: Stream buffering done (310 ms in 322 ms) main debug: Decoder wait done in 0 ms main debug: net: connecting to [192.168.0.102]:52516 main error: ES_OUT_SET_(GROUP_)PCR is called too late (pts_delay increased to 310 ms) main debug: ES_OUT_RESET_PCR called main debug: Buffering 0% main debug: Buffering 5% main debug: Buffering 11% main debug: Buffering 16% main debug: Buffering 22% main debug: Buffering 27% main debug: Buffering 33% main debug: Buffering 38% main debug: Buffering 44% main debug: Buffering 49% main debug: Buffering 55% main debug: Buffering 61% main debug: Buffering 66% main debug: Buffering 72% main debug: Buffering 77% main debug: Buffering 83% main debug: Buffering 88% main debug: Buffering 94% main debug: Buffering 99% main debug: Stream buffering done (327 ms in 339 ms) main debug: Decoder wait done in 0 ms main error: ES_OUT_SET_(GROUP_)PCR is called too late (pts_delay increased to 311 ms) main debug: ES_OUT_RESET_PCR called main debug: Buffering 0% main debug: Buffering 5% main debug: Buffering 11% main debug: Buffering 16% main debug: Buffering 22% main debug: Buffering 27% main debug: Buffering 33% main debug: Buffering 38% main debug: Buffering 44% main debug: Buffering 49% main debug: Buffering 55% main debug: Buffering 60% main debug: Buffering 66% main debug: Buffering 72% main debug: Buffering 77% main debug: Buffering 83% main debug: Buffering 88% main debug: Buffering 94% main debug: Buffering 99% main debug: Stream buffering done (327 ms in 340 ms) main debug: Decoder wait done in 0 ms


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 63 guests