Streaming Webcam via Dshow and MMSH no longer working after upgrade from 2.x to 3.04
Posted: 24 Oct 2018 19:46
I've been wrestling with this for a couple days. I upgraded from a very old version 2.something (or maybe even older) because of the security risk posting. I always copy and paste in my stream output settings. That now does not work on new version. So I went through the wizard and it generated the same string and it still doesn't work. I tried this both in x64 and x86 versions.
Once I go through the wizard I just get back to VLC window with a traffic cone on it and a time counter going up that makes it look like it is streaming, but no local video and noone is able to connect to it with media player. This worked fine on the older version.
Here is my generated string:
:sout=#transcode{vcodec=DIV3,vb=800,scale=Auto,acodec=mpga,ab=128,channels=2,samplerate=8000,scodec=none}:duplicate{dst=std{access=mmsh,mux=asfh,dst=webcam:8080},dst=display} :no-sout-all :sout-keep
Here is the debug code:
Oh I forgot to mention, if I just "play" the camera locally it displays the camera just fine. Its when I try to stream it that it is no longer working.
Any ideas? I'm hesitant to go back to the older versions because of the security flaw. Thanks!
Once I go through the wizard I just get back to VLC window with a traffic cone on it and a time counter going up that makes it look like it is streaming, but no local video and noone is able to connect to it with media player. This worked fine on the older version.
Here is my generated string:
:sout=#transcode{vcodec=DIV3,vb=800,scale=Auto,acodec=mpga,ab=128,channels=2,samplerate=8000,scodec=none}:duplicate{dst=std{access=mmsh,mux=asfh,dst=webcam:8080},dst=display} :no-sout-all :sout-keep
Here is the debug code:
Code: Select all
dshow error: no audio capture device was detected
dshow debug: asked for Microsoft® LifeCam HD-3000, binding to Microsoft® LifeCam HD-3000
qt debug: item dshow-aspect-ratio
qt debug: item dshow-chroma
qt debug: item dshow-fps
qt debug: item dshow-config
qt debug: item dshow-tuner
qt debug: item dshow-tuner-channel
qt debug: item dshow-tuner-frequency
qt debug: item dshow-tuner-country
qt debug: item dshow-tuner-standard
qt debug: item dshow-tuner-input
qt debug: item dshow-video-input
qt debug: item dshow-video-output
qt debug: item dshow-audio-input
qt debug: item dshow-audio-output
qt debug: item dshow-amtuner-mode
qt debug: item dshow-audio-channels
qt debug: item dshow-audio-samplerate
qt debug: item dshow-audio-bitspersample
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: Playlist, skip: 0
main debug: rebuilding array of current - root Playlist
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=`transcode{vcodec=DIV3,vb=800,scale=Auto,acodec=mpga,ab=128,channels=2,samplerate=8000,scodec=none}:duplicate{dst=std{access=mmsh,mux=asfh,dst=webcam:8080},dst=display}'
main debug: stream=`duplicate'
main debug: looking for sout stream module matching "duplicate": 23 candidates
main debug: looking for meta fetcher module matching "any": 1 candidates
lua debug: Trying Lua scripts in C:\Users\[deleted]\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
duplicate debug: creating 'duplicate'
duplicate debug: * adding `std{access=mmsh,mux=asfh,dst=webcam:8080}'
main debug: stream=`std'
main debug: looking for sout stream module matching "std": 23 candidates
lua debug: Trying Lua scripts in C:\Users\[deleted]\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
main debug: set config option: sout-standard-access to mmsh
main debug: set config option: sout-standard-mux to asfh
main debug: set config option: sout-standard-dst to webcam:8080
main debug: looking for sout access module matching "mmsh": 10 candidates
http warning: "webcam" HTTP host might be ignored in multiple-host configurations, use at your own risks.
http info: Consider passing --http-host=IP on the command line instead.
main debug: net: listening to webcam port 8080
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
lua debug: skipping script (unmatched scope) 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: 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: using sout access module "http"
main debug: looking for sout mux module matching "asfh": 11 candidates
asf debug: asf muxer opened
asf debug: creating asf stream to be used with mmsh
asf debug: Packet size 4096
asf debug: meta data: title='', author='', copyright='', comment='', rating=''
main debug: using sout mux module "asf"
main debug: muxer support adding stream at any time
main debug: muxer prefers to wait for all ES before starting to mux
stream_out_standard debug: using `mmsh/asfh://webcam:8080'
main debug: using sout stream module "stream_out_standard"
duplicate debug: * adding `display'
main debug: stream=`display'
main debug: looking for sout stream module matching "display": 23 candidates
main debug: using sout stream module "display"
main debug: using sout stream module "duplicate"
main debug: stream=`transcode'
main debug: looking for sout stream module matching "transcode": 23 candidates
qt debug: IM: Setting an input
main debug: set config option: sout-transcode-vcodec to DIV3
main debug: set config option: sout-transcode-vb to 800
main debug: set config option: sout-transcode-scale to Auto
main debug: set config option: sout-transcode-acodec to mpga
main debug: set config option: sout-transcode-ab to 128
main debug: set config option: sout-transcode-channels to 2
main debug: set config option: sout-transcode-samplerate to 8000
main debug: set config option: sout-transcode-scodec to none
stream_out_transcode debug: Checking codec mapping for mpga got mpga
stream_out_transcode debug: codec audio=mpga 8000Hz 2 channels 128Kb/s
stream_out_transcode debug: Checking video codec mapping for DIV3 got DIV3
stream_out_transcode debug: codec video=DIV3 0x0 scaling: 0.000000 800kb/s
stream_out_transcode debug: Checking spu codec mapping for none got none
stream_out_transcode debug: codec spu=none
main debug: using sout stream module "stream_out_transcode"
main debug: using timeshift granularity of 50 MiB
main debug: using timeshift path: C:\Users\[deleted]\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
dshow debug: dshow-vdev: Microsoft® LifeCam HD-3000
dshow debug: dshow-adev: none
dshow debug: width x height 1280x720
dshow debug: found device: Microsoft® LifeCam HD-3000
dshow debug: asking for device: Microsoft® LifeCam HD-3000
dshow debug: asked for Microsoft® LifeCam HD-3000, binding to Microsoft® LifeCam HD-3000
dshow debug: using device: Microsoft® LifeCam HD-3000
dshow debug: EnumDeviceCaps: output pin: Capture
dshow debug: EnumDeviceCaps: trying pin Capture
dshow debug: EnumDeviceCaps: input pin default format configured
dshow debug: EnumDeviceCaps: input pin accepts chroma: YUY2, width:1280, height:720, fps:30.000031
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=720, chroma=YUY2, fps=30.000031)
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: YUY2
dshow debug: skipping 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": 24 candidates
main debug: using packetizer module "rawvideo"
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\[deleted]\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: adding a new sout input for `YUY2` (sout_input: 0000021e96bab250)
stream_out_transcode debug: creating video transcoding from fcc=`YUY2' to fcc=`DIV3'
main debug: looking for video decoder module matching "any": 17 candidates
main debug: using video decoder module "rawvideo"
main debug: looking for encoder module matching "any": 23 candidates
avcodec debug: using ffmpeg Lavc58.6.103
avcodec debug: CPU flags: 0x000853db
main debug: Buffering 11%
avcodec debug: Time base for probing set to 1000/25000
avcodec debug: Time base set to 1000/25000
avcodec debug: rc buffer size 3200000 bits
avcodec error: Unknown option "rc_buffer_aggressivity"
avcodec debug: found encoder MS MPEG-4 Video v3
main debug: using encoder module "avcodec"
main debug: removing module "avcodec"
main debug: Buffering 22%
main debug: Buffering 33%
main debug: Buffering 44%
main debug: Buffering 55%
main debug: Buffering 66%
main debug: Buffering 77%
main debug: Buffering 88%
main debug: Buffering 100%
main debug: Stream buffering done (333 ms in 315 ms)
main debug: Decoder wait done in 0 ms
stream_out_transcode debug: Checking if filter chain YUY2 -> I420 is possible
main debug: looking for video converter module matching "any": 24 candidates
chain debug: Trying to use chroma I422 as middle man
main debug: looking for video converter module matching "any": 24 candidates
chain debug: Trying to use chroma I420 as middle man
main debug: looking for video converter module matching "any": 24 candidates
chain error: Too high level of recursion (3)
main debug: no video converter modules matched
main error: Failed to create video converter
chain debug: Trying to use chroma I0AL as middle man
main debug: looking for video converter module matching "any": 24 candidates
chain error: Too high level of recursion (3)
main debug: no video converter modules matched
main error: Failed to create video converter
chain debug: Trying to use chroma I0AB as middle man
main debug: looking for video converter module matching "any": 24 candidates
chain error: Too high level of recursion (3)
main debug: no video converter modules matched
main error: Failed to create video converter
chain debug: Trying to use chroma I0FL as middle man
main debug: looking for video converter module matching "any": 24 candidates
chain error: Too high level of recursion (3)
main debug: no video converter modules matched
main error: Failed to create video converter
chain debug: Trying to use chroma RV32 as middle man
main debug: looking for video converter module matching "any": 24 candidates
chain error: Too high level of recursion (3)
main debug: no video converter modules matched
main error: Failed to create video converter
chain debug: Trying to use chroma RV24 as middle man
main debug: looking for video converter module matching "any": 24 candidates
chain error: Too high level of recursion (3)
main debug: no video converter modules matched
main error: Failed to create video converter
chain debug: Trying to use chroma BGRA as middle man
main debug: looking for video converter module matching "any": 24 candidates
chain error: Too high level of recursion (3)
main debug: no video converter modules matched
main error: Failed to create video converter
main debug: no video converter modules matched
main error: Failed to create video converter
chain debug: Trying to use chroma I0AL as middle man
main debug: looking for video converter module matching "any": 24 candidates
chain debug: Trying to use chroma I0AB as middle man
main debug: looking for video converter module matching "any": 24 candidates
chain error: Too high level of recursion (3)
main debug: no video converter modules matched
main error: Failed to create video converter
chain debug: Trying to use chroma I0FL as middle man
main debug: looking for video converter module matching "any": 24 candidates
chain error: Too high level of recursion (3)
main debug: no video converter modules matched
main error: Failed to create video converter
chain debug: Trying to use chroma I420 as middle man
main debug: looking for video converter module matching "any": 24 candidates
chain error: Too high level of recursion (3)
main debug: no video converter modules matched
main error: Failed to create video converter
chain debug: Trying to use chroma I422 as middle man
main debug: looking for video converter module matching "any": 24 candidates
chain error: Too high level of recursion (3)
main debug: no video converter modules matched
main error: Failed to create video converter
chain debug: Trying to use chroma RV32 as middle man
main debug: looking for video converter module matching "any": 24 candidates
chain error: Too high level of recursion (3)
main debug: no video converter modules matched
main error: Failed to create video converter
chain debug: Trying to use chroma RV24 as middle man
main debug: looking for video converter module matching "any": 24 candidates
chain error: Too high level of recursion (3)
main debug: no video converter modules matched
main error: Failed to create video converter
chain debug: Trying to use chroma BGRA as middle man
main debug: looking for video converter module matching "any": 24 candidates
chain error: Too high level of recursion (3)
main debug: no video converter modules matched
main error: Failed to create video converter
main debug: no video converter modules matched
main error: Failed to create video converter
chain debug: Trying to use chroma I0AB as middle man
main debug: looking for video converter module matching "any": 24 candidates
chain debug: Trying to use chroma I0AL as middle man
main debug: looking for video converter module matching "any": 24 candidates
chain error: Too high level of recursion (3)
main debug: no video converter modules matched
main error: Failed to create video converter
chain debug: Trying to use chroma I0FL as middle man
main debug: looking for video converter module matching "any": 24 candidates
chain error: Too high level of recursion (3)
main debug: no video converter modules matched
main error: Failed to create video converter
chain debug: Trying to use chroma I420 as middle man
main debug: looking for video converter module matching "any": 24 candidates
chain error: Too high level of recursion (3)
main debug: no video converter modules matched
main error: Failed to create video converter
chain debug: Trying to use chroma I422 as middle man
main debug: looking for video converter module matching "any": 24 candidates
chain error: Too high level of recursion (3)
main debug: no video converter modules matched
main error: Failed to create video converter
chain debug: Trying to use chroma RV32 as middle man
main debug: looking for video converter module matching "any": 24 candidates
chain error: Too high level of recursion (3)
main debug: no video converter modules matched
main error: Failed to create video converter
chain debug: Trying to use chroma RV24 as middle man
main debug: looking for video converter module matching "any": 24 candidates
chain error: Too high level of recursion (3)
main debug: no video converter modules matched
main error: Failed to create video converter
chain debug: Trying to use chroma BGRA as middle man
main debug: looking for video converter module matching "any": 24 candidates
chain error: Too high level of recursion (3)
main debug: no video converter modules matched
main error: Failed to create video converter
main debug: no video converter modules matched
main error: Failed to create video converter
chain debug: Trying to use chroma I0FL as middle man
main debug: looking for video converter module matching "any": 24 candidates
chain debug: Trying to use chroma I0AL as middle man
main debug: looking for video converter module matching "any": 24 candidates
chain error: Too high level of recursion (3)
main debug: no video converter modules matched
main error: Failed to create video converter
chain debug: Trying to use chroma I0AB as middle man
main debug: looking for video converter module matching "any": 24 candidates
chain error: Too high level of recursion (3)
main debug: no video converter modules matched
main error: Failed to create video converter
chain debug: Trying to use chroma I420 as middle man
main debug: looking for video converter module matching "any": 24 candidates
chain error: Too high level of recursion (3)
main debug: no video converter modules matched
main error: Failed to create video converter
chain debug: Trying to use chroma I422 as middle man
main debug: looking for video converter module matching "any": 24 candidates
chain error: Too high level of recursion (3)
main debug: no video converter modules matched
main error: Failed to create video converter
chain debug: Trying to use chroma RV32 as middle man
main debug: looking for video converter module matching "any": 24 candidates
chain error: Too high level of recursion (3)
main debug: no video converter modules matched
main error: Failed to create video converter
chain debug: Trying to use chroma RV24 as middle man
main debug: looking for video converter module matching "any": 24 candidates
chain error: Too high level of recursion (3)
main debug: no video converter modules matched
main error: Failed to create video converter
chain debug: Trying to use chroma BGRA as middle man
main debug: looking for video converter module matching "any": 24 candidates
chain error: Too high level of recursion (3)
main debug: no video converter modules matched
main error: Failed to create video converter
main debug: no video converter modules matched
main error: Failed to create video converter
chain debug: Trying to use chroma RV32 as middle man
main debug: looking for video converter module matching "any": 24 candidates
chain debug: Trying to use chroma I420 as middle man
main debug: looking for video converter module matching "any": 24 candidates
chain error: Too high level of recursion (3)
main debug: no video converter modules matched
main error: Failed to create video converter
chain debug: Trying to use chroma I422 as middle man
main debug: looking for video converter module matching "any": 24 candidates
chain error: Too high level of recursion (3)
main debug: no video converter modules matched
main error: Failed to create video converter
chain debug: Trying to use chroma I0AL as middle man
main debug: looking for video converter module matching "any": 24 candidates
chain error: Too high level of recursion (3)
main debug: no video converter modules matched
main error: Failed to create video converter
chain debug: Trying to use chroma I0AB as middle man
main debug: looking for video converter module matching "any": 24 candidates
chain error: Too high level of recursion (3)
main debug: no video converter modules matched
main error: Failed to create video converter
chain debug: Trying to use chroma I0FL as middle man
main debug: looking for video converter module matching "any": 24 candidates
chain error: Too high level of recursion (3)
main debug: no video converter modules matched
main error: Failed to create video converter
chain debug: Trying to use chroma RV24 as middle man
main debug: looking for video converter module matching "any": 24 candidates
chain error: Too high level of recursion (3)
main debug: no video converter modules matched
main error: Failed to create video converter
chain debug: Trying to use chroma BGRA as middle man
main debug: looking for video converter module matching "any": 24 candidates
chain error: Too high level of recursion (3)
main debug: no video converter modules matched
main error: Failed to create video converter
main debug: no video converter modules matched
main error: Failed to create video converter
chain debug: Trying to use chroma RV24 as middle man
main debug: looking for video converter module matching "any": 24 candidates
chain debug: Trying to use chroma I420 as middle man
main debug: looking for video converter module matching "any": 24 candidates
chain error: Too high level of recursion (3)
main debug: no video converter modules matched
main error: Failed to create video converter
chain debug: Trying to use chroma I422 as middle man
main debug: looking for video converter module matching "any": 24 candidates
chain error: Too high level of recursion (3)
main debug: no video converter modules matched
main error: Failed to create video converter
chain debug: Trying to use chroma I0AL as middle man
main debug: looking for video converter module matching "any": 24 candidates
chain error: Too high level of recursion (3)
main debug: no video converter modules matched
main error: Failed to create video converter
chain debug: Trying to use chroma I0AB as middle man
main debug: looking for video converter module matching "any": 24 candidates
chain error: Too high level of recursion (3)
main debug: no video converter modules matched
main error: Failed to create video converter
chain debug: Trying to use chroma I0FL as middle man
main debug: looking for video converter module matching "any": 24 candidates
chain error: Too high level of recursion (3)
main debug: no video converter modules matched
main error: Failed to create video converter
chain debug: Trying to use chroma RV32 as middle man
main debug: looking for video converter module matching "any": 24 candidates
chain error: Too high level of recursion (3)
main debug: no video converter modules matched
main error: Failed to create video converter
chain debug: Trying to use chroma BGRA as middle man
main debug: looking for video converter module matching "any": 24 candidates
chain error: Too high level of recursion (3)
main debug: no video converter modules matched
main error: Failed to create video converter
main debug: no video converter modules matched
main error: Failed to create video converter
chain debug: Trying to use chroma BGRA as middle man
main debug: looking for video converter module matching "any": 24 candidates
chain debug: Trying to use chroma I420 as middle man
main debug: looking for video converter module matching "any": 24 candidates
chain error: Too high level of recursion (3)
main debug: no video converter modules matched
main error: Failed to create video converter
chain debug: Trying to use chroma I422 as middle man
main debug: looking for video converter module matching "any": 24 candidates
chain error: Too high level of recursion (3)
main debug: no video converter modules matched
main error: Failed to create video converter
chain debug: Trying to use chroma I0AL as middle man
main debug: looking for video converter module matching "any": 24 candidates
chain error: Too high level of recursion (3)
main debug: no video converter modules matched
main error: Failed to create video converter
chain debug: Trying to use chroma I0AB as middle man
main debug: looking for video converter module matching "any": 24 candidates
chain error: Too high level of recursion (3)
main debug: no video converter modules matched
main error: Failed to create video converter
chain debug: Trying to use chroma I0FL as middle man
main debug: looking for video converter module matching "any": 24 candidates
chain error: Too high level of recursion (3)
main debug: no video converter modules matched
main error: Failed to create video converter
chain debug: Trying to use chroma RV32 as middle man
main debug: looking for video converter module matching "any": 24 candidates
chain error: Too high level of recursion (3)
main debug: no video converter modules matched
main error: Failed to create video converter
chain debug: Trying to use chroma RV24 as middle man
main debug: looking for video converter module matching "any": 24 candidates
chain error: Too high level of recursion (3)
main debug: no video converter modules matched
main error: Failed to create video converter
main debug: no video converter modules matched
main error: Failed to create video converter
main debug: no video converter modules matched
main error: Failed to create video converter
stream_out_transcode debug: Filter chain testing done, input chroma seems to be not possible for transcode
main debug: toggling resume
Oh I forgot to mention, if I just "play" the camera locally it displays the camera just fine. Its when I try to stream it that it is no longer working.
Any ideas? I'm hesitant to go back to the older versions because of the security flaw. Thanks!