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:
qt debug: MRL(s) passed to the Sout: 1qt debug: MRL(s) passed to the Sout: dshow://main debug: processing request item: null, node: 播放列表, skip: 0main debug: rebuilding array of current - root 播放列表main debug: rebuild done - 1 items, index -1main debug: starting playback of new itemmain debug: resyncing on Converting dshow://main debug: Converting dshow:// is at 0main debug: creating new input threadmain debug: Creating an input for 'Converting dshow://'main debug: requesting art for new input threadmain 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 candidatesmain debug: looking for meta fetcher module matching "any": 1 candidateslua debug: Trying Lua scripts in C:\Users\HP\AppData\Roaming\vlc\lua\meta\fetcherlua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\meta\fetchermain debug: no meta fetcher modules matchedmain debug: looking for art finder module matching "any": 2 candidatesmain 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\artlua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\meta\artstream_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 8554lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luaclua debug: skipping script (unmatched scope) C:\Program Files\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luaclua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\01_googleimage.luacmain debug: using sout stream module "stream_out_rtp"main debug: using timeshift granularity of 50 MiBmain debug: using timeshift path: C:\Users\HP\AppData\Local\Tempmain 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 candidateslua debug: skipping script (unmatched scope) C:\Program Files\VideoLAN\VLC\lua\meta\art\01_googleimage.luacdshow debug: dshow-vdev: lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\02_frenchtv.luacdshow debug: dshow-adev: lua debug: skipping script (unmatched scope) C:\Program Files\VideoLAN\VLC\lua\meta\art\02_frenchtv.luaclua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\03_lastfm.luaclua debug: skipping script (unmatched scope) C:\Program Files\VideoLAN\VLC\lua\meta\art\03_lastfm.luacmain debug: no art finder modules matchedmain debug: looking for meta fetcher module matching "any": 1 candidateslua debug: Trying Lua scripts in C:\Users\HP\AppData\Roaming\vlc\lua\meta\fetcherlua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\meta\fetchermain debug: no meta fetcher modules matchedmain debug: looking for art finder module matching "any": 2 candidateslua debug: Trying Lua scripts in C:\Users\HP\AppData\Roaming\vlc\lua\meta\artlua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\meta\artlua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luaclua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\01_googleimage.luaclua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\02_frenchtv.luaclua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\03_lastfm.luacmain debug: no art finder modules matcheddshow debug: found device: See3CAM_CU30dshow debug: asking for default device: See3CAM_CU30dshow debug: asked for See3CAM_CU30, binding to See3CAM_CU30qt debug: IM: Setting an inputdshow debug: using device: See3CAM_CU30dshow debug: EnumDeviceCaps: output pin: dshow debug: EnumDeviceCaps: input pin: Video Camera Terminaldshow debug: EnumDeviceCaps: output pin: dshow debug: EnumDeviceCaps: trying pin dshow debug: EnumDeviceCaps: input pin default format configureddshow debug: EnumDeviceCaps: input pin accepts chroma: MJPG, width:1280, height:960, fps:58.000267dshow debug: CaptureFilter::JoinFilterGraphdshow debug: connecting filtersdshow debug: CaptureFilter::EnumPinsdshow debug: CapturePin::QueryDirectiondshow debug: CapturePin::ConnectedTo [not connected]dshow debug: CapturePin::QueryPinInfodshow debug: CaptureFilter::QueryFilterInfodshow debug: CapturePin::QueryPinInfodshow debug: CaptureFilter::EnumPinsdshow debug: CapturePin::QueryDirectiondshow debug: CapturePin::QueryDirectiondshow debug: CapturePin::QueryAccept [OK] (width=1280, height=960, chroma=MJPG, fps=58.000267)dshow debug: CapturePin::ReceiveConnection [OK]dshow debug: CapturePin::NotifyAllocatordshow debug: ConnectFilters: graph_builder2 available.dshow warning: ConnectFilters: No crossBar routes found (incompatible pin types)dshow debug: filters connected successfully !dshow debug: MEDIATYPE_Videodshow debug: selected video pin accepts format: MJPGdshow error: no audio capture device was detecteddshow error: can't open audio devicedshow debug: Playing...dshow debug: CapturePin::QueryPinInfodshow debug: CaptureFilter::EnumPinsdshow debug: CapturePin::QueryDirectiondshow debug: CaptureFilter::EnumPinsdshow debug: CapturePin::QueryDirectiondshow debug: CapturePin::QueryPinInfodshow debug: CaptureFilter::EnumPinsdshow debug: CapturePin::QueryDirectiondshow debug: CaptureFilter::EnumPinsdshow debug: CapturePin::QueryDirectiondshow debug: CapturePin::ConnectedTo [OK]dshow debug: CaptureFilter::SetSyncSourcedshow debug: CaptureFilter::Pausedshow debug: CaptureFilter::QueryFilterInfodshow debug: CaptureFilter::Runmain debug: selecting program id=0main debug: using access_demux module "dshow"main debug: looking for packetizer module matching "any": 25 candidatesmain debug: using packetizer module "copy"main debug: starting in async modemain debug: looking for meta reader module matching "any": 2 candidateslua debug: Trying Lua scripts in C:\Users\HP\AppData\Roaming\vlc\lua\meta\readerlua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\meta\readerlua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\reader\filename.luacmain debug: no meta reader modules matchedmain debug: `dshow://' successfully openedmain debug: Buffering 0%main debug: switching to sync modemain debug: Buffering 5%main debug: adding a new sout input for `MJPG` (sout_input: 0000013f8ff85fa0)stream_out_rtp debug: maximum RTP packet size: 1400 bytesstream_out_rtp debug: RTSP: adding /trackID=0stream_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!
Statistics: Posted by zihang — 18 Jul 2024 09:41