VLC with FFsource(FFsplit) dshow filter
Posted: 23 Jan 2014 12:45
Hello
I am trying to work with FFSource(dshow screen capture filter from FFsplit) in VLC player. The goal is - to stream picture from FFSource via RTSP. I have a issue there.
I see my screen if i simply select FFsource in VLC client and choose Play button instead of Stream button. But have no success with streaming and only with FFsource.
When I try to stream in VLC using that filter I got nothing in receiver (Vlc client instance).
According to vlc log i have a error: live555 error: no data received in 10s, aborting. Wireshark also show there is no video data transmited after RTSP Play command. Other dshow screen capture filters work fine.
Vlc sender instance says - everything fine, but Vlc receiver instance got nothing
Vlc sender:
dshow:// :dshow-vdev=FFsource :dshow-adev=none :live-caching=300
:sout=#transcode{vcodec=h264,acodec=none}:rtp{sdp=rtsp://192.168.1.10:8554/} :sout-keep
Sender Log:
Vlc receiver log:
Could anyone help me here - why VLC sender instance says "everything fine" but VLC receiver instance can establish connection with sender got Discribe, Play vlc commands, but receive nothing?
I am trying to work with FFSource(dshow screen capture filter from FFsplit) in VLC player. The goal is - to stream picture from FFSource via RTSP. I have a issue there.
I see my screen if i simply select FFsource in VLC client and choose Play button instead of Stream button. But have no success with streaming and only with FFsource.
When I try to stream in VLC using that filter I got nothing in receiver (Vlc client instance).
According to vlc log i have a error: live555 error: no data received in 10s, aborting. Wireshark also show there is no video data transmited after RTSP Play command. Other dshow screen capture filters work fine.
Vlc sender instance says - everything fine, but Vlc receiver instance got nothing
Vlc sender:
dshow:// :dshow-vdev=FFsource :dshow-adev=none :live-caching=300
:sout=#transcode{vcodec=h264,acodec=none}:rtp{sdp=rtsp://192.168.1.10:8554/} :sout-keep
Sender Log:
Code: Select all
qt4 debug: MRL passed to the Sout: dshow://
qt4 debug: Adding option: dshow-vdev=FFsource
qt4 debug: Adding option: dshow-adev=none
qt4 debug: Adding option: live-caching=300
qt4 debug: Adding option: :sout=#transcode{vcodec=h264,acodec=none}:rtp{sdp=rtsp://192.168.1.10:8554/}
qt4 debug: Adding option: sout-keep
main debug: adding item `Streaming' ( dshow:// )
qt4 debug: Adding a new MRL to recent ones: dshow://
main debug: processing request item: Streaming, node: null, skip: 0
main debug: rebuilding array of current - root Playlist
main debug: rebuild done - 3 items, index 2
main debug: starting playback of the new playlist item
main debug: resyncing on Streaming
main debug: Streaming is at 2
main debug: creating new input thread
main debug: Creating an input for 'Streaming'
main debug: no fetch required for (null) (art currently (null))
qt4 debug: IM: Setting an input
main debug: destroying unusable sout
main debug: destroying chain... (name=transcode)
main debug: removing module "stream_out_transcode"
main debug: destroying chain done
main debug: destroying chain... (name=rtp)
main debug: removing module "stream_out_rtp"
main debug: HTTP host removed
main debug: destroying chain done
main debug: using sout chain=`transcode{vcodec=h264,acodec=none}:rtp{sdp=rtsp://192.168.1.10:8554/}'
main debug: stream=`rtp'
main debug: looking for sout stream module matching "rtp": 21 candidates
main debug: set config option: sout-rtp-sdp to rtsp://192.168.1.10:8554/
stream_out_rtp warning: "192.168.1.10" 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.1.10 port 8554
main debug: using sout stream module "stream_out_rtp"
main debug: stream=`transcode'
main debug: looking for sout stream module matching "transcode": 21 candidates
main debug: set config option: sout-transcode-vcodec to h264
main debug: set config option: sout-transcode-acodec to none
stream_out_transcode debug: codec audio=none 0Hz 0 channels 96Kb/s
stream_out_transcode debug: codec video=h264 0x0 scaling: 0.000000 0kb/s
main debug: using sout stream module "stream_out_transcode"
main debug: using timeshift granularity of 50 MiB, in path 'C:\Users\Mikhaylo\AppData\Local\Temp'
main debug: `dshow://' gives access `dshow' demux `' path `'
main debug: enforced demux ` any'
main debug: creating demux: access='dshow' demux='any' location='' file='(null)'
main debug: looking for access_demux module matching "dshow": 12 candidates
dshow debug: dshow-vdev: FFsource
dshow debug: dshow-adev: none
dshow debug: found device: A4 TECH USB2.0 PC Camera J
dshow debug: found device: Behold TV 607 FM: A/V Capture [Slot 9]
dshow debug: found device: Dxtory Video 1
dshow debug: found device: Dxtory Video 2
dshow debug: found device: Dxtory Video 3
dshow debug: found device: Dxtory Video 4
dshow debug: found device: FFsource
dshow debug: found device: MediaLooks Screen Capture
dshow debug: found device: UScreenCapture
dshow debug: found device: VHScrCap
dshow debug: found device: e2eSoft VCam
dshow debug: found device: screen-capture-recorder
dshow debug: asking for device: FFsource
dshow debug: asked for FFsource, binding to FFsource
dshow debug: using device: FFsource
dshow debug: EnumDeviceCaps: output pin: FFsource
dshow debug: EnumDeviceCaps: trying pin FFsource
dshow debug: EnumDeviceCaps: input pin default format configured
dshow debug: EnumDeviceCaps: input pin accepts chroma: RV32, width:1024, height:768, fps:10.000000
dshow debug: EnumDeviceCaps: input pin accepts chroma: RV32, width:1024, height:768, fps:10.000000
dshow debug: EnumDeviceCaps: input pin media: unsupported format (video )
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=1024, height=768, chroma=RV32, fps=10.000000)
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: RV32
dshow debug: skipping audio device
dshow debug: Playing...
dshow debug: CapturePin::QueryPinInfo
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: CaptureFilter::EnumPins
dshow debug: CapturePin::QueryDirection
dshow debug: CapturePin::ConnectedTo [OK]
dshow debug: CaptureFilter::SetSyncSource
dshow debug: CaptureFilter::Pause
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": 21 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\Mikhaylo\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 (sout_input:04430b30)
stream_out_transcode debug: creating video transcoding from fcc=`RV32' to fcc=`h264'
main debug: looking for decoder module matching "any": 39 candidates
main debug: using decoder module "rawvideo"
main debug: looking for encoder module matching "any": 17 candidates
x264 debug: version x264 0.135.X
x264 info: using cpu capabilities: MMX2 SSE2Slow SlowCTZ
x264 info: profile Constrained Baseline, level 3.1
main debug: using encoder module "x264"
main debug: removing module "x264"
x264 debug: framecount still in libx264 buffer: 0
main warning: clock gap, unexpected stream discontinuity
main warning: feeding synchro with a new reference point trying to recover from clock gap
main debug: Buffering 0%
main debug: Buffering 33%
main debug: Buffering 66%
main debug: Buffering 100%
main debug: Stream buffering done (400 ms in 392 ms)
main debug: Decoder buffering done in 0 ms
stream_out_transcode debug: decoder aspect is 1.333333:1
stream_out_transcode debug: source pixel aspect is 1.000000:1
stream_out_transcode debug: scaled pixel aspect is 1.000000:1
stream_out_transcode debug: source 1024x768, destination 1024x768
stream_out_transcode debug: encoder aspect is 1024:768
main debug: looking for video filter2 module matching "any": 55 candidates
swscale debug: 1024x768 chroma: RV32 -> 1024x768 chroma: I420 with scaling using Bicubic (good quality)
main debug: using video filter2 module "swscale"
main debug: Filter 'Swscale' (0919e10c) appended to chain
stream_out_transcode debug: destination (after video filters) 1024x768
main debug: looking for encoder module matching "any": 17 candidates
x264 debug: version x264 0.135.X
x264 info: using SAR=1/1
x264 info: using cpu capabilities: MMX2 SSE2Slow SlowCTZ
x264 info: profile Constrained Baseline, level 3.1
main debug: using encoder module "x264"
stream_out_rtp debug: maximum RTP packet size: 1400 bytes
stream_out_rtp debug: we found a startcode for NAL with TYPE:7
stream_out_rtp debug: we found a startcode for NAL with TYPE:8
stream_out_rtp debug: RTSP: adding /trackID=0
stream_out_rtp debug: sdp= v=0 o=- 15459588086929721164 15459588086929721164 IN IP4 MICROSOFT-PC s=Unnamed i=N/A c=IN IP4 0.0.0.0 t=0 0 a=tool:vlc 2.1.2 a=recvonly a=type:broadcast a=charset:UTF-8 m=video 0 RTP/AVP 96 b=RR:0 a=rtpmap:96 H264/90000 a=fmtp:96 packetization-mode=1;profile-level-id=42c01f;sprop-parameter-sets=Z0LAH9oBABhsBEAAAAMAQAAABSPGDKg=,aM4PyA==;
main debug: net: connecting to [192.168.1.10]:54384
main debug: net: connecting to [192.168.1.10]:54385 from [192.168.1.10]:54387
Vlc receiver log:
Code: Select all
main debug: adding item `rtsp://192.168.1.10:8554/' ( rtsp://192.168.1.10:8554/ )
qt4 debug: Adding a new MRL to recent ones: rtsp://192.168.1.10:8554/
main debug: processing request item: rtsp://192.168.1.10:8554/, node: null, skip: 0
main debug: rebuilding array of current - root Playlist
main debug: rebuild done - 2 items, index 1
main debug: starting playback of the new playlist item
main debug: resyncing on rtsp://192.168.1.10:8554/
main debug: rtsp://192.168.1.10:8554/ is at 1
main debug: creating new input thread
main debug: Creating an input for 'rtsp://192.168.1.10:8554/'
qt4 debug: IM: Setting an input
main debug: no fetch required for (null) (art currently (null))
main debug: using timeshift granularity of 50 MiB, in path 'C:\Users\Mikhaylo\AppData\Local\Temp'
main debug: `rtsp://192.168.1.10:8554/' gives access `rtsp' demux `' path `192.168.1.10:8554/'
main debug: enforced demux ` any'
main debug: creating demux: access='rtsp' demux='any' location='192.168.1.10:8554/' file='\\192.168.1.10:8554\'
main debug: looking for access_demux module matching "rtsp": 12 candidates
live555 debug: version 2013.12.05
live555 debug: RTP subsession 'video/H264'
main debug: selecting program id=0
live555 debug: setup start: 0.000000 stop:0.000000
live555 debug: We have a timeout of 60 seconds
live555 debug: spawned timeout thread
live555 debug: play start: 0.000000 stop:0.000000
main debug: using access_demux module "live555"
main debug: looking for decoder module matching "any": 39 candidates
avcodec debug: trying to use direct rendering
avcodec debug: allowing 3 thread(s) for decoding
avcodec debug: avcodec codec (H264 - MPEG-4 AVC (part 10)) started
avcodec debug: using frame thread mode with 3 threads
main debug: using decoder module "avcodec"
main debug: looking for packetizer module matching "any": 21 candidates
packetizer_h264 debug: found NAL_SPS (sps_id=0)
packetizer_h264 debug: found NAL_PPS (pps_id=0 sps_id=0)
main debug: using packetizer module "packetizer_h264"
main debug: looking for meta reader module matching "any": 2 candidates
lua debug: Trying Lua scripts in C:\Users\Mikhaylo\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: `rtsp://192.168.1.10:8554/' successfully opened
live555 error: no data received in 10s, aborting
main debug: EOF reached
main debug: removing module "avcodec"
main debug: finished input
avcodec debug: ffmpeg codec (H264 - MPEG-4 AVC (part 10)) stopped
main debug: killing decoder fourcc `h264', 0 PES in FIFO
main debug: removing module "packetizer_h264"
main debug: removing module "live555"
main debug: Program doesn't contain anymore ES
main debug: dead input
qt4 debug: IM: Deleting the input
main debug: changing item without a request (current 1/2)
main debug: nothing to play
Could anyone help me here - why VLC sender instance says "everything fine" but VLC receiver instance can establish connection with sender got Discribe, Play vlc commands, but receive nothing?