I'm being a streaming video webcam with the libvlc.
The operating result 2 to 3 seconds of delay.
So I want to apply a DirectShow filter in my code.
This is possible?
What should I do if possible?
Below is my streaming code.
Code: Select all
const char * const vlmargs2[] = {
"dshow-vdev=AVerMedia HD Capture 1",
"dshow-tuner-standard=0",
"dshow-fps=24",
"rtsp-caching=1",
"network-caching=1"
};
ret = libvlc_vlm_add_broadcast(inst, "Server", "dshow://", "#transcode{vcodec=h264, vb=" + strBitrate + ", venc=x264{vbv-maxrate=" + strBitrate + ", vbv-bufsize=" + strBufSize + ", bpyramid=none, weightp=0, profile=baseline, preset=ultrafast, tune=zerolatency}, width=" + strWidth + ", height="+ strHeight +"}::rtp{sdp=rtsp://:5544/}", sizeof(vlmargs2)/ sizeof(vlmargs2[0]), vlmargs2, TRUE, TRUE);