henniman
2007-04-14 16:18:48 UTC
Hi all,
i tried the Capture Source Filter filter (version 0.1) from the TMH
homepage and i am very happ, because this is the first source
filter implementation that works with almost all popular clients
( flash media encoder, flix encoder etc ).
well, almost. i simply registered the included VCam.ax using regsvr32
and opened this capture device in VLC, the open source video presenter
and streaming program, and it shows these errors:
main warning: PTS is out of range (4267822), dropping buffer
main warning: PTS is out of range (4704284), dropping buffer
main warning: PTS is out of range (4681131), dropping buffer
main warning: PTS is out of range (4657966), dropping buffer
main warning: PTS is out of range (4634799), dropping buffer
main warning: PTS is out of range (4611632), dropping buffer
main warning: PTS is out of range (4696650), dropping buffer
main warning: PTS is out of range (4673497), dropping buffer
main warning: PTS is out of range (4650331), dropping buffer
main warning: PTS is out of range (4627164), dropping buffer
main warning: PTS is out of range (4604004), dropping buffer
main warning: PTS is out of range (5043430), dropping buffer
main warning: PTS is out of range (5020276), dropping buffer
main warning: PTS is out of range (4997110), dropping buffer
main warning: PTS is out of range (4973943), dropping buffer
main warning: PTS is out of range (4950775), dropping buffer
main warning: PTS is out of range (5039814), dropping buffer
main warning: PTS is out of range (5016661), dropping buffer
main warning: PTS is out of range (4993494), dropping buffer
main warning: PTS is out of range (4970327), dropping buffer
main warning: PTS is out of range (4947159), dropping buffer
main warning: decoder/packetizer fifo full (data not consumed quickly
enough), resetting fifo!
main warning: PTS is out of range (5392788), dropping buffer
main warning: PTS is out of range (5369646), dropping buffer
main warning: PTS is out of range (5346489), dropping buffer
main warning: PTS is out of range (5323326), dropping buffer
etc. etc. playback is visible, but it is very sluggish and hangs a
lot.
Is this a problem within the vlc player? I tried various combinations
inside the fillbuffer method, and the suggested
REFERENCE_TIME rtNow;
REFERENCE_TIME avgFrameTime = ((VIDEOINFOHEADER*)m_mt.pbFormat)-
m_rtLastTime += avgFrameTime;
pms->SetTime(&rtNow, &m_rtLastTime);
hangs while i had some more success using no SetTime at all
( still many errors but visually correct playback ) - but then
the flash media encoder did not work.
does anyone know a way to allow vlc to work with the virtual
cam?
best,
hendrik
i tried the Capture Source Filter filter (version 0.1) from the TMH
homepage and i am very happ, because this is the first source
filter implementation that works with almost all popular clients
( flash media encoder, flix encoder etc ).
well, almost. i simply registered the included VCam.ax using regsvr32
and opened this capture device in VLC, the open source video presenter
and streaming program, and it shows these errors:
main warning: PTS is out of range (4267822), dropping buffer
main warning: PTS is out of range (4704284), dropping buffer
main warning: PTS is out of range (4681131), dropping buffer
main warning: PTS is out of range (4657966), dropping buffer
main warning: PTS is out of range (4634799), dropping buffer
main warning: PTS is out of range (4611632), dropping buffer
main warning: PTS is out of range (4696650), dropping buffer
main warning: PTS is out of range (4673497), dropping buffer
main warning: PTS is out of range (4650331), dropping buffer
main warning: PTS is out of range (4627164), dropping buffer
main warning: PTS is out of range (4604004), dropping buffer
main warning: PTS is out of range (5043430), dropping buffer
main warning: PTS is out of range (5020276), dropping buffer
main warning: PTS is out of range (4997110), dropping buffer
main warning: PTS is out of range (4973943), dropping buffer
main warning: PTS is out of range (4950775), dropping buffer
main warning: PTS is out of range (5039814), dropping buffer
main warning: PTS is out of range (5016661), dropping buffer
main warning: PTS is out of range (4993494), dropping buffer
main warning: PTS is out of range (4970327), dropping buffer
main warning: PTS is out of range (4947159), dropping buffer
main warning: decoder/packetizer fifo full (data not consumed quickly
enough), resetting fifo!
main warning: PTS is out of range (5392788), dropping buffer
main warning: PTS is out of range (5369646), dropping buffer
main warning: PTS is out of range (5346489), dropping buffer
main warning: PTS is out of range (5323326), dropping buffer
etc. etc. playback is visible, but it is very sluggish and hangs a
lot.
Is this a problem within the vlc player? I tried various combinations
inside the fillbuffer method, and the suggested
REFERENCE_TIME rtNow;
REFERENCE_TIME avgFrameTime = ((VIDEOINFOHEADER*)m_mt.pbFormat)-
AvgTimePerFrame;
rtNow = m_rtLastTime;m_rtLastTime += avgFrameTime;
pms->SetTime(&rtNow, &m_rtLastTime);
hangs while i had some more success using no SetTime at all
( still many errors but visually correct playback ) - but then
the flash media encoder did not work.
does anyone know a way to allow vlc to work with the virtual
cam?
best,
hendrik