directshow input to output file stream

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
tsar
Blank Cone
Blank Cone
Posts: 10
Joined: 04 Dec 2003 16:59
Location: France
Contact:

directshow input to output file stream

Postby tsar » 21 Dec 2003 15:51

Using test2 latest built on winXP.

Looks like I can only capture incoming webcam input successfully to a file if the "dump raw" check box is on (no transcoding then). Also in that case, display of that capture will not work even if "Play locally" option is set.

Maybe Gilabou is hunting this issue (as per viewtopic.php?t=198 I have read) :

Here is my message debug dump while trying to capture, display and transcode to a file stream. The only case I could get a created file is when no front drive:/subdirs/ are provided in the output file name (may be interesting) but in that case, same result, the file is empty (0 or 1 byte of length).

main debug:
main debug: creating new input thread
main debug: set input option: dshow-vdev to Philips ToUcam Pro Camera; Video
main debug: set input option: dshow-adev to Appareil photo Philips ToUcam F
main debug: set input option: sout to #transcode{vcodec=mp4v,vb=1024,scale=1,acodec=mpga,ab=192,channels=2}:duplicate{dst=display,dst=std{access=file,mux=mpeg1,url=titou.mpg
main: playlist item `dshow://'
main debug: waiting for thread completion
main debug: access `dshow', demux `', name `'
main warning: sout-keep true
main debug: stream=`transcode'
main debug: looking for sout stream module
main debug: probing 1 candidate
main debug: stream=`duplicate'
main debug: looking for sout stream module
main debug: probing 1 candidate
stream_out_duplicate debug: creating a duplication
stream_out_duplicate debug: * adding `display'
main debug: stream=`display'
main debug: looking for sout stream module
main debug: probing 1 candidate
main debug: using sout stream module "stream_out_display"
stream_out_duplicate debug: * adding `std{access=file,mux=mpeg1,url=titou.mpg'
main debug: stream=`std'
main debug: looking for sout stream module
main debug: probing 1 candidate
stream_out_standard debug: creating `file/mpeg1://titou.mpg'
stream_out_standard debug: extention is mpg
stream_out_standard debug: extention -> mux=ps
stream_out_standard debug: using `file/mpeg1://titou.mpg'
main debug: looking for sout access module
main debug: probing 1 candidate
access_output_file: Open: name:`titou.mpg'
main debug: using sout access module "access_output_file"
stream_out_standard debug: access opened
main debug: looking for sout mux module
main debug: probing 1 candidate
mux_ps: Open
main debug: using sout mux module "mux_ps"
main debug: muxer support adding stream at any time
stream_out_standard debug: mux opened
main debug: using sout stream module "stream_out_standard"
main debug: using sout stream module "stream_out_duplicate"
stream_out_transcode debug: codec audio=mpga 0Hz 2 channels 187Kb/s
stream_out_transcode debug: codec video=mp4v 0x0 scaling: 1.000000 1000kb/s
main debug: using sout stream module "stream_out_transcode"
main debug: looking for access module
main debug: probing 8 candidates
main debug: thread 3480 (input) created at priority 15 (src/input/input.c:257)
dshow debug: found device: Philips ToUcam Pro Camera; Video
dshow debug: using device: Philips ToUcam Pro Camera; Video
dshow debug: EnumDeviceCaps: pin Capturer
dshow debug: EnumDeviceCaps: input pin accepts chroma: I420, width:320, height:240
dshow debug: EnumDeviceCaps: input pin accepts chroma: I420, width:640, height:480
dshow debug: EnumDeviceCaps: input pin accepts chroma: I420, width:352, height:288
dshow debug: EnumDeviceCaps: input pin accepts chroma: I420, width:240, height:176
dshow debug: EnumDeviceCaps: input pin accepts chroma: I420, width:176, height:144
dshow debug: EnumDeviceCaps: input pin accepts chroma: I420, width:160, height:120
dshow debug: EnumDeviceCaps: input pin accepts chroma: IYUV, width:320, height:240
dshow debug: EnumDeviceCaps: input pin accepts chroma: IYUV, width:640, height:480
dshow debug: EnumDeviceCaps: input pin accepts chroma: IYUV, width:352, height:288
dshow debug: EnumDeviceCaps: input pin accepts chroma: IYUV, width:240, height:176
dshow debug: EnumDeviceCaps: input pin accepts chroma: IYUV, width:176, height:144
dshow debug: EnumDeviceCaps: input pin accepts chroma: IYUV, width:160, height:120
dshow debug: CaptureFilter::AddRef (ref: 1)
dshow debug: CaptureFilter::JoinFilterGraph
dshow debug: CaptureFilter::QueryInterface
dshow debug: CaptureFilter::QueryInterface
dshow debug: connecting filters
dshow debug: CapturePin::QueryPinInfo
dshow debug: CaptureFilter::AddRef (ref: 2)
dshow debug: CaptureFilter::QueryFilterInfo
dshow debug: CaptureFilter::Release (ref: 3)
dshow debug: CapturePin::QueryInternalConnections
dshow debug: CapturePin::QueryPinInfo
dshow debug: CaptureFilter::AddRef (ref: 2)
dshow debug: CaptureFilter::EnumPins
dshow debug: CaptureFilter::AddRef (ref: 3)
dshow debug: CaptureFilter::Release (ref: 4)
dshow debug: CaptureEnumPins::Next
dshow debug: CapturePin::AddRef (ref: 1)
dshow debug: CapturePin::QueryDirection
dshow debug: CapturePin::Release (ref: 2)
dshow debug: CaptureEnumPins::Release (ref: 1)
dshow debug: CaptureEnumPins::~CaptureEnumPins
dshow debug: CaptureFilter::Release (ref: 3)
dshow debug: CapturePin::EnumMediaTypes
dshow debug: CapturePin::AddRef (ref: 1)
dshow debug: CaptureEnumMediaTypes::Reset
dshow debug: CaptureEnumMediaTypes::Next
dshow debug: CaptureEnumMediaTypes::Release (ref: 1)
dshow debug: CaptureEnumMediaTypes::~CaptureEnumMediaTypes
dshow debug: CapturePin::Release (ref: 2)
dshow debug: CapturePin::QueryDirection
dshow debug: CapturePin::QueryInterface
dshow debug: CapturePin::AddRef (ref: 1)
dshow debug: CapturePin::QueryInterface
dshow debug: CapturePin::AddRef (ref: 2)
dshow debug: CapturePin::ReceiveConnection
dshow debug: CapturePin::QueryInterface
dshow debug: CapturePin::QueryInterface
dshow debug: CapturePin::AddRef (ref: 3)
dshow debug: CapturePin::Release (ref: 4)
dshow debug: CapturePin::QueryInterface
dshow debug: CapturePin::QueryInterface
dshow debug: CapturePin::QueryInterface
dshow debug: CapturePin::QueryInterface
dshow debug: CapturePin::GetAllocatorRequirements
dshow debug: CapturePin::GetAllocator
dshow debug: CapturePin::NotifyAllocator
dshow debug: MEDIATYPE_Video
dshow debug: found device: Appareil photo Philips ToUcam F
dshow debug: found device: Audio WDM Crystal
dshow debug: using device: Appareil photo Philips ToUcam F
dshow debug: EnumDeviceCaps: pin Capture
dshow debug: EnumDeviceCaps: input pin accepts format: pcm , channels:2, samples/sec:44100 bits/sample:16
dshow debug: EnumDeviceCaps: input pin accepts format: pcm , channels:2, samples/sec:44100 bits/sample:16
dshow debug: EnumDeviceCaps: input pin accepts format: pcm , channels:1, samples/sec:44100 bits/sample:16
dshow debug: EnumDeviceCaps: input pin accepts format: pcm , channels:2, samples/sec:32000 bits/sample:16
dshow debug: EnumDeviceCaps: input pin accepts format: pcm , channels:1, samples/sec:32000 bits/sample:16
dshow debug: EnumDeviceCaps: input pin accepts format: pcm , channels:2, samples/sec:22050 bits/sample:16
dshow debug: EnumDeviceCaps: input pin accepts format: pcm , channels:1, samples/sec:22050 bits/sample:16
dshow debug: EnumDeviceCaps: input pin accepts format: pcm , channels:2, samples/sec:11025 bits/sample:16
dshow debug: EnumDeviceCaps: input pin accepts format: pcm , channels:1, samples/sec:11025 bits/sample:16
dshow debug: EnumDeviceCaps: input pin accepts format: pcm , channels:2, samples/sec:8000 bits/sample:16
dshow debug: EnumDeviceCaps: input pin accepts format: pcm , channels:1, samples/sec:8000 bits/sample:16
dshow debug: EnumDeviceCaps: input pin accepts format: pcm , channels:2, samples/sec:44100 bits/sample:8
dshow debug: EnumDeviceCaps: input pin accepts format: pcm , channels:1, samples/sec:44100 bits/sample:8
dshow debug: EnumDeviceCaps: input pin accepts format: pcm , channels:2, samples/sec:22050 bits/sample:8
dshow debug: EnumDeviceCaps: input pin accepts format: pcm , channels:1, samples/sec:22050 bits/sample:8
dshow debug: EnumDeviceCaps: input pin accepts format: pcm , channels:2, samples/sec:11025 bits/sample:8
dshow debug: EnumDeviceCaps: input pin accepts format: pcm , channels:1, samples/sec:11025 bits/sample:8
dshow debug: EnumDeviceCaps: input pin accepts format: pcm , channels:2, samples/sec:8000 bits/sample:8
dshow debug: EnumDeviceCaps: input pin accepts format: pcm , channels:1, samples/sec:8000 bits/sample:8
dshow debug: EnumDeviceCaps: input pin accepts format: pcm , channels:2, samples/sec:48000 bits/sample:16
dshow debug: EnumDeviceCaps: input pin accepts format: pcm , channels:1, samples/sec:48000 bits/sample:16
dshow debug: EnumDeviceCaps: input pin accepts format: pcm , channels:2, samples/sec:96000 bits/sample:16
dshow debug: EnumDeviceCaps: input pin accepts format: pcm , channels:1, samples/sec:96000 bits/sample:16
dshow debug: CaptureFilter::AddRef (ref: 1)
dshow debug: CaptureFilter::JoinFilterGraph
dshow debug: CaptureFilter::QueryInterface
dshow debug: CaptureFilter::QueryInterface
dshow debug: connecting filters
dshow debug: CapturePin::QueryPinInfo
dshow debug: CaptureFilter::AddRef (ref: 2)
dshow debug: CaptureFilter::QueryFilterInfo
dshow debug: CaptureFilter::Release (ref: 3)
dshow debug: CapturePin::QueryInternalConnections
dshow debug: CapturePin::QueryPinInfo
dshow debug: CaptureFilter::AddRef (ref: 2)
dshow debug: CaptureFilter::EnumPins
dshow debug: CaptureFilter::AddRef (ref: 3)
dshow debug: CaptureFilter::Release (ref: 4)
dshow debug: CaptureEnumPins::Next
dshow debug: CapturePin::AddRef (ref: 1)
dshow debug: CapturePin::QueryDirection
dshow debug: CapturePin::Release (ref: 2)
dshow debug: CaptureEnumPins::Release (ref: 1)
dshow debug: CaptureEnumPins::~CaptureEnumPins
dshow debug: CaptureFilter::Release (ref: 3)
dshow debug: CapturePin::EnumMediaTypes
dshow debug: CapturePin::AddRef (ref: 1)
dshow debug: CaptureEnumMediaTypes::Reset
dshow debug: CaptureEnumMediaTypes::Next
dshow debug: CaptureEnumMediaTypes::Release (ref: 1)
dshow debug: CaptureEnumMediaTypes::~CaptureEnumMediaTypes
dshow debug: CapturePin::Release (ref: 2)
dshow debug: CapturePin::QueryDirection
dshow debug: CapturePin::QueryInterface
dshow debug: CapturePin::AddRef (ref: 1)
dshow debug: CapturePin::AddRef (ref: 2)
dshow debug: CapturePin::ReceiveConnection
dshow debug: CapturePin::GetAllocatorRequirements
dshow debug: CapturePin::NotifyAllocator
dshow debug: MEDIATYPE_Audio
dshow debug: CapturePin::ConnectedTo
dshow debug: CapturePin::AddRef (ref: 3)
dshow debug: CapturePin::QueryPinInfo
dshow debug: CaptureFilter::AddRef (ref: 2)
dshow debug: CapturePin::Release (ref: 4)
dshow debug: CaptureFilter::Release (ref: 3)
dshow debug: CaptureFilter::EnumPins
dshow debug: CaptureFilter::AddRef (ref: 2)
dshow debug: CaptureEnumPins::Next
dshow debug: CapturePin::AddRef (ref: 3)
dshow debug: CapturePin::QueryDirection
dshow debug: CapturePin::Release (ref: 4)
dshow debug: CaptureEnumPins::Next
dshow debug: CaptureEnumPins::Release (ref: 1)
dshow debug: CaptureEnumPins::~CaptureEnumPins
dshow debug: CaptureFilter::Release (ref: 3)
dshow debug: CaptureFilter::EnumPins
dshow debug: CaptureFilter::AddRef (ref: 2)
dshow debug: CaptureEnumPins::Next
dshow debug: CapturePin::AddRef (ref: 3)
dshow debug: CapturePin::QueryDirection
dshow debug: CapturePin::Release (ref: 4)
dshow debug: CaptureEnumPins::Next
dshow debug: CaptureEnumPins::Release (ref: 1)
dshow debug: CaptureEnumPins::~CaptureEnumPins
dshow debug: CaptureFilter::Release (ref: 3)
dshow debug: CapturePin::AddRef (ref: 3)
dshow debug: CapturePin::QueryPinInfo
dshow debug: CaptureFilter::AddRef (ref: 2)
dshow debug: CapturePin::Release (ref: 4)
dshow debug: CaptureFilter::Release (ref: 3)
dshow debug: CaptureFilter::EnumPins
dshow debug: CaptureFilter::AddRef (ref: 2)
dshow debug: CaptureEnumPins::Next
dshow debug: CapturePin::AddRef (ref: 3)
dshow debug: CapturePin::QueryDirection
dshow debug: CapturePin::Release (ref: 4)
dshow debug: CaptureEnumPins::Next
dshow debug: CaptureEnumPins::Release (ref: 1)
dshow debug: CaptureEnumPins::~CaptureEnumPins
dshow debug: CaptureFilter::Release (ref: 3)
dshow debug: CaptureFilter::EnumPins
dshow debug: CaptureFilter::AddRef (ref: 2)
dshow debug: CaptureEnumPins::Next
dshow debug: CapturePin::AddRef (ref: 3)
dshow debug: CapturePin::QueryDirection
dshow debug: CapturePin::Release (ref: 4)
dshow debug: CaptureEnumPins::Next
dshow debug: CaptureEnumPins::Release (ref: 1)
dshow debug: CaptureEnumPins::~CaptureEnumPins
dshow debug: CaptureFilter::Release (ref: 3)
dshow debug: CaptureFilter::EnumPins
dshow debug: CaptureFilter::AddRef (ref: 2)
dshow debug: CaptureEnumPins::Next
dshow debug: CapturePin::AddRef (ref: 3)
dshow debug: CapturePin::QueryDirection
dshow debug: CapturePin::ConnectedTo
dshow debug: CapturePin::Release (ref: 4)
dshow debug: CaptureEnumPins::Next
dshow debug: CaptureEnumPins::Release (ref: 1)
dshow debug: CaptureEnumPins::~CaptureEnumPins
dshow debug: CaptureFilter::Release (ref: 3)
dshow debug: CaptureFilter::EnumPins
dshow debug: CaptureFilter::AddRef (ref: 2)
dshow debug: CaptureEnumPins::Next
dshow debug: CapturePin::AddRef (ref: 3)
dshow debug: CapturePin::QueryDirection
dshow debug: CapturePin::ConnectedTo
dshow debug: CapturePin::Release (ref: 4)
dshow debug: CaptureEnumPins::Next
dshow debug: CaptureEnumPins::Release (ref: 1)
dshow debug: CaptureEnumPins::~CaptureEnumPins
dshow debug: CaptureFilter::Release (ref: 3)
dshow debug: CaptureFilter::QueryInterface
dshow debug: CaptureFilter::QueryInterface
dshow debug: CaptureFilter::QueryInterface
dshow debug: CaptureFilter::QueryInterface
dshow debug: CapturePin::AddRef (ref: 3)
dshow debug: CapturePin::Release (ref: 4)
dshow debug: CapturePin::AddRef (ref: 3)
dshow debug: CapturePin::Release (ref: 4)
dshow debug: CaptureFilter::SetSyncSource
dshow debug: CaptureFilter::SetSyncSource
dshow debug: CaptureFilter::Pause
dshow debug: CaptureFilter::Pause
dshow debug: CapturePin::QueryInterface
dshow debug: CaptureFilter::AddRef (ref: 2)
dshow debug: CaptureFilter::QueryInterface
dshow debug: CaptureFilter::QueryInterface
dshow debug: CaptureFilter::QueryInterface
dshow debug: CaptureFilter::QueryInterface
dshow debug: CaptureFilter::QueryInterface
dshow debug: CaptureFilter::QueryInterface
dshow debug: CaptureFilter::Release (ref: 3)
dshow debug: CaptureFilter::AddRef (ref: 2)
dshow debug: CaptureFilter::QueryInterface
dshow debug: CaptureFilter::QueryInterface
dshow debug: CaptureFilter::QueryInterface
dshow debug: CaptureFilter::QueryInterface
dshow debug: CaptureFilter::QueryInterface
dshow debug: CaptureFilter::QueryInterface
dshow debug: CaptureFilter::Release (ref: 3)
dshow debug: CaptureFilter::Run
dshow debug: CaptureFilter::Run
main debug: using access module "dshow"
main debug: looking for demux module
main debug: probing 21 candidates
mp4 warning: MP4 plugin discarded (not a valid file)
avi warning: avi module discarded (invalid header)
asf warning: ASF plugin discarded (not a valid file)
dshow debug: added new video es I420 320x240
dshow debug: new audio es 2 channels 44100Hz
main debug: using demux module "dshow"
main debug: selecting ES 0x1
main debug: looking for packetizer module
main debug: probing 24 candidates
main debug: using packetizer module "rawvideo"
main debug: thread 3596 (decoder) created at priority 0 (src/input/input_dec.c:166)
main debug: selecting ES 0x2
main debug: looking for packetizer module
main debug: probing 24 candidates
main debug: using packetizer module "packetizer_copy"
main debug: thread 3944 (decoder) created at priority 2 (src/input/input_dec.c:166)
main debug: 0 loops
main debug: dumping stream ID 0x0 [OK:0/D:0]
main debug: pace un-controlled
main debug: dumping program 0x0, version 0 (partial)
main debug: ES 0x1, stream 0x1, fourcc `I420', selected [OK:0/ERR:0]
main debug: ES 0x2, stream 0x2, fourcc `araw', selected [OK:0/ERR:0]
main debug: unlocking module "dshow"
main debug: unselecting ES 0x1
main debug: unlocking module "rawvideo"
main debug: thread 3596 joined (src/input/input_dec.c:210)
main debug: killing decoder fourcc `I420', 10 PES in FIFO
main debug: unselecting ES 0x2
packetizer_copy debug: need pts > 0
main debug: unlocking module "packetizer_copy"
main debug: thread 3944 joined (src/input/input_dec.c:210)
main debug: killing decoder fourcc `araw', 9 PES in FIFO
main debug: no more selected ES
main warning: keeping sout
dshow debug: CaptureFilter::QueryInterface
dshow debug: CaptureFilter::EnumPins
dshow debug: CaptureFilter::AddRef (ref: 2)
dshow debug: CaptureEnumPins::Next
dshow debug: CapturePin::AddRef (ref: 3)
dshow debug: CapturePin::QueryDirection
dshow debug: CapturePin::ConnectedTo
dshow debug: CapturePin::Disconnect
dshow debug: CapturePin::Release (ref: 4)
dshow debug: CaptureEnumPins::Release (ref: 1)
dshow debug: CaptureEnumPins::~CaptureEnumPins
dshow debug: CaptureFilter::Release (ref: 3)
dshow debug: CapturePin::AddRef (ref: 3)
dshow debug: CapturePin::Disconnect
dshow debug: CapturePin::Release (ref: 4)
dshow debug: CaptureFilter::Release (ref: 2)
dshow debug: CaptureFilter::QueryInterface
dshow debug: CaptureFilter::EnumPins
dshow debug: CaptureFilter::AddRef (ref: 2)
dshow debug: CaptureEnumPins::Next
dshow debug: CapturePin::AddRef (ref: 3)
dshow debug: CapturePin::QueryDirection
dshow debug: CapturePin::ConnectedTo
dshow debug: CapturePin::Disconnect
dshow debug: CapturePin::Release (ref: 4)
dshow debug: CaptureEnumPins::Release (ref: 1)
dshow debug: CaptureEnumPins::~CaptureEnumPins
dshow debug: CaptureFilter::Release (ref: 3)
dshow debug: CapturePin::AddRef (ref: 3)
dshow debug: CapturePin::Disconnect
dshow debug: CapturePin::Release (ref: 4)
dshow debug: CaptureFilter::Release (ref: 2)
dshow debug: CaptureFilter::EnumPins
dshow debug: CaptureFilter::AddRef (ref: 1)
dshow debug: CaptureEnumPins::Next
dshow debug: CapturePin::AddRef (ref: 3)
dshow debug: CapturePin::QueryDirection
dshow debug: CapturePin::Release (ref: 4)
dshow debug: CaptureEnumPins::Next
dshow debug: CaptureEnumPins::Release (ref: 1)
dshow debug: CaptureEnumPins::~CaptureEnumPins
dshow debug: CaptureFilter::Release (ref: 2)
dshow debug: CaptureFilter::EnumPins
dshow debug: CaptureFilter::AddRef (ref: 1)
dshow debug: CaptureEnumPins::Next
dshow debug: CapturePin::AddRef (ref: 3)
dshow debug: CapturePin::QueryDirection
dshow debug: CapturePin::Release (ref: 4)
dshow debug: CaptureEnumPins::Next
dshow debug: CaptureEnumPins::Release (ref: 1)
dshow debug: CaptureEnumPins::~CaptureEnumPins
dshow debug: CaptureFilter::Release (ref: 2)
dshow debug: CapturePin::AddRef (ref: 3)
dshow debug: CapturePin::QueryPinInfo
dshow debug: CaptureFilter::AddRef (ref: 1)
dshow debug: CapturePin::Release (ref: 4)
dshow debug: CaptureFilter::Release (ref: 2)
dshow debug: CaptureFilter::EnumPins
dshow debug: CaptureFilter::AddRef (ref: 1)
dshow debug: CaptureEnumPins::Next
dshow debug: CapturePin::AddRef (ref: 3)
dshow debug: CapturePin::QueryDirection
dshow debug: CapturePin::Release (ref: 4)
dshow debug: CaptureEnumPins::Next
dshow debug: CaptureEnumPins::Release (ref: 1)
dshow debug: CaptureEnumPins::~CaptureEnumPins
dshow debug: CaptureFilter::Release (ref: 2)
dshow debug: CapturePin::AddRef (ref: 3)
dshow debug: CapturePin::QueryPinInfo
dshow debug: CaptureFilter::AddRef (ref: 1)
dshow debug: CapturePin::Release (ref: 4)
dshow debug: CaptureFilter::Release (ref: 2)
dshow debug: CaptureFilter::EnumPins
dshow debug: CaptureFilter::AddRef (ref: 1)
dshow debug: CaptureEnumPins::Next
dshow debug: CapturePin::AddRef (ref: 3)
dshow debug: CapturePin::QueryDirection
dshow debug: CapturePin::Release (ref: 4)
dshow debug: CaptureEnumPins::Next
dshow debug: CaptureEnumPins::Release (ref: 1)
dshow debug: CaptureEnumPins::~CaptureEnumPins
dshow debug: CaptureFilter::Release (ref: 2)
dshow debug: CaptureFilter::EnumPins
dshow debug: CaptureFilter::AddRef (ref: 1)
dshow debug: CaptureEnumPins::Next
dshow debug: CapturePin::AddRef (ref: 3)
dshow debug: CapturePin::QueryDirection
dshow debug: CapturePin::ConnectedTo
dshow debug: CapturePin::Release (ref: 4)
dshow debug: CaptureEnumPins::Next
dshow debug: CaptureEnumPins::Release (ref: 1)
dshow debug: CaptureEnumPins::~CaptureEnumPins
dshow debug: CaptureFilter::Release (ref: 2)
dshow debug: CaptureFilter::EnumPins
dshow debug: CaptureFilter::AddRef (ref: 1)
dshow debug: CaptureEnumPins::Next
dshow debug: CapturePin::AddRef (ref: 3)
dshow debug: CapturePin::QueryDirection
dshow debug: CapturePin::ConnectedTo
dshow debug: CapturePin::Release (ref: 4)
dshow debug: CaptureEnumPins::Next
dshow debug: CaptureEnumPins::Release (ref: 1)
dshow debug: CaptureEnumPins::~CaptureEnumPins
dshow debug: CaptureFilter::Release (ref: 2)
dshow debug: CaptureFilter::Stop
dshow debug: CaptureFilter::Stop
dshow debug: CaptureFilter::QueryInterface
dshow debug: CaptureFilter::EnumPins
dshow debug: CaptureFilter::AddRef (ref: 1)
dshow debug: CaptureEnumPins::Next
dshow debug: CapturePin::AddRef (ref: 3)
dshow debug: CapturePin::QueryDirection
dshow debug: CapturePin::ConnectedTo
dshow debug: CapturePin::Release (ref: 4)
dshow debug: CaptureEnumPins::Next
dshow debug: CaptureEnumPins::Release (ref: 1)
dshow debug: CaptureEnumPins::~CaptureEnumPins
dshow debug: CaptureFilter::Release (ref: 2)
dshow debug: CaptureFilter::SetSyncSource
dshow debug: CaptureFilter::JoinFilterGraph
dshow debug: CaptureFilter::QueryInterface
dshow debug: CaptureFilter::AddRef (ref: 1)
dshow debug: CaptureFilter::Release (ref: 2)
dshow debug: CaptureFilter::QueryInterface
dshow debug: CaptureFilter::GetState
dshow debug: CaptureFilter::Release (ref: 1)
dshow debug: CaptureFilter::~CaptureFilter
dshow debug: CapturePin::Release (ref: 3)
dshow debug: CaptureFilter::QueryInterface
dshow debug: CaptureFilter::EnumPins
dshow debug: CaptureFilter::AddRef (ref: 1)
dshow debug: CaptureEnumPins::Next
dshow debug: CapturePin::AddRef (ref: 3)
dshow debug: CapturePin::QueryDirection
dshow debug: CapturePin::ConnectedTo
dshow debug: CapturePin::Release (ref: 4)
dshow debug: CaptureEnumPins::Next
dshow debug: CaptureEnumPins::Release (ref: 1)
dshow debug: CaptureEnumPins::~CaptureEnumPins
dshow debug: CaptureFilter::Release (ref: 2)
dshow debug: CaptureFilter::SetSyncSource
dshow debug: CaptureFilter::JoinFilterGraph
dshow debug: CaptureFilter::QueryInterface
dshow debug: CaptureFilter::AddRef (ref: 1)
dshow debug: CaptureFilter::Release (ref: 2)
dshow debug: CaptureFilter::QueryInterface
dshow debug: CaptureFilter::GetState
dshow debug: CaptureFilter::Release (ref: 1)
dshow debug: CaptureFilter::~CaptureFilter
dshow debug: CapturePin::Release (ref: 3)
dshow debug: CapturePin::AddRef (ref: 2)
dshow debug: CapturePin::Disconnect
dshow debug: CapturePin::Release (ref: 3)
dshow debug: CapturePin::Release (ref: 2)
dshow debug: CapturePin::Release (ref: 1)
dshow debug: CapturePin::~CapturePin
dshow debug: CapturePin::AddRef (ref: 2)
dshow debug: CapturePin::Disconnect
dshow debug: CapturePin::QueryInterface
dshow debug: CapturePin::Release (ref: 3)
dshow debug: CapturePin::Release (ref: 2)
dshow debug: CapturePin::Release (ref: 1)
dshow debug: CapturePin::~CapturePin
main debug: unlocking module "dshow"
main debug: pes: 0 packets
main debug: data: 1 packets
main debug: buffers: 1 packets
main debug: freeing info structures...
main debug: thread 3480 joined (src/input/input.c:291)
main warning: refcount is 2, delaying before deletion
main error: refcount is 1, I have a bad feeling about this
main error: we waited too long, cancelling destruction
main debug: destroying chain... (name=transcode)
main debug: destroying chain... (name=duplicate)
stream_out_duplicate debug: closing a duplication
main debug: destroying chain... (name=display)
main debug: unlocking module "stream_out_display"
main debug: destroying chain done
main debug: destroying chain... (name=std)
mux_ps: Close
main debug: unlocking module "mux_ps"
access_output_file: Close
main debug: unlocking module "access_output_file"
main debug: unlocking module "stream_out_standard"
main debug: destroying chain done
main debug: unlocking module "stream_out_duplicate"
main debug: destroying chain done
main debug: unlocking module "stream_out_transcode"
main debug: destroying chain done
TS.

hege
New Cone
New Cone
Posts: 2
Joined: 01 Jan 2004 17:21

Postby hege » 01 Jan 2004 17:27

I'm having the same problem with 0.7.0-test3 (WinXP).. only dump raw output works. Is this being looked on?

h

-----


main debug: using interface module "logger"
main debug: interface initialized
main debug: thread 2548 (interface) created at priority 0 (src/interface/interface.c:161)
main debug: adding playlist item « dshow:// » ( dshow:// )
main debug: creating new input thread
main debug: set input option: dshow-vdev to Pinnacle WDM PCTV Video Capture
main debug: set input option: dshow-adev to none
main debug: set input option: sout to #transcode{vcodec=mp4v,vb=1024,scale=1,acodec=mpga,ab=192,channels=2}:duplicate{dst=display}
main: playlist item `dshow://'
main debug: waiting for thread completion
main debug: access `dshow', demux `', name `'
main debug: stream=`transcode'
main debug: looking for sout stream module
main debug: probing 1 candidate
main debug: stream=`duplicate'
main debug: looking for sout stream module
main debug: probing 1 candidate
stream_out_duplicate debug: creating a duplication
stream_out_duplicate debug: * adding `display'
main debug: stream=`display'
main debug: looking for sout stream module
main debug: probing 1 candidate
main debug: using sout stream module "stream_out_display"
main debug: using sout stream module "stream_out_duplicate"
stream_out_transcode debug: codec audio=mpga 0Hz 2 channels 187Kb/s
stream_out_transcode debug: codec video=mp4v 0x0 scaling: 1.000000 1000kb/s
main debug: using sout stream module "stream_out_transcode"
main debug: looking for access module
main debug: probing 8 candidates
main debug: thread 2836 (input) created at priority 15 (src/input/input.c:257)
dshow debug: found device: Pinnacle WDM PCTV Video Capture
dshow debug: using device: Pinnacle WDM PCTV Video Capture
dshow debug: EnumDeviceCaps: pin Capture
dshow debug: EnumDeviceCaps: input pin accepts chroma: YV12, width:320, height:240
dshow debug: EnumDeviceCaps: input pin accepts chroma: RV15, width:320, height:240
dshow debug: EnumDeviceCaps: input pin accepts chroma: RV24, width:320, height:240
dshow debug: EnumDeviceCaps: input pin accepts chroma: YUY2, width:320, height:240
dshow debug: EnumDeviceCaps: input pin accepts chroma: UYVY, width:320, height:240
dshow debug: EnumDeviceCaps: input pin accepts chroma: YVU9, width:320, height:240
dshow debug: EnumDeviceCaps: input pin accepts chroma: RV24, width:320, height:240
dshow debug: CaptureFilter::AddRef (ref: 1)
dshow debug: CaptureFilter::JoinFilterGraph
dshow debug: CaptureFilter::QueryInterface
dshow debug: CaptureFilter::QueryInterface
dshow debug: connecting filters
dshow debug: CapturePin::QueryPinInfo
dshow debug: CaptureFilter::AddRef (ref: 2)
dshow debug: CaptureFilter::QueryFilterInfo
dshow debug: CaptureFilter::Release (ref: 3)
dshow debug: CapturePin::QueryInternalConnections
dshow debug: CapturePin::QueryPinInfo
dshow debug: CaptureFilter::AddRef (ref: 2)
dshow debug: CaptureFilter::EnumPins
dshow debug: CaptureFilter::AddRef (ref: 3)
dshow debug: CaptureFilter::Release (ref: 4)
dshow debug: CaptureEnumPins::Next
dshow debug: CapturePin::AddRef (ref: 1)
dshow debug: CapturePin::QueryDirection
dshow debug: CapturePin::Release (ref: 2)
dshow debug: CaptureEnumPins::Release (ref: 1)
dshow debug: CaptureEnumPins::~CaptureEnumPins
dshow debug: CaptureFilter::Release (ref: 3)
dshow debug: CapturePin::EnumMediaTypes
dshow debug: CapturePin::AddRef (ref: 1)
dshow debug: CaptureEnumMediaTypes::Reset
dshow debug: CaptureEnumMediaTypes::Next
dshow debug: CaptureEnumMediaTypes::Release (ref: 1)
dshow debug: CaptureEnumMediaTypes::~CaptureEnumMediaTypes
dshow debug: CapturePin::Release (ref: 2)
dshow debug: CapturePin::QueryDirection
dshow debug: CapturePin::QueryInterface
dshow debug: CapturePin::AddRef (ref: 1)
dshow debug: CapturePin::QueryInterface
dshow debug: CapturePin::AddRef (ref: 2)
dshow debug: CapturePin::ReceiveConnection
dshow debug: CapturePin::QueryInterface
dshow debug: CapturePin::QueryInterface
dshow debug: CapturePin::AddRef (ref: 3)
dshow debug: CapturePin::Release (ref: 4)
dshow debug: CapturePin::QueryInterface
dshow debug: CapturePin::QueryInterface
dshow debug: CapturePin::QueryInterface
dshow debug: CapturePin::QueryInterface
dshow debug: CapturePin::GetAllocatorRequirements
dshow debug: CapturePin::GetAllocator
dshow debug: CapturePin::NotifyAllocator
dshow debug: MEDIATYPE_Video
dshow debug: found device: ADSP24 Ext.1/2 Audio Device
dshow debug: found device: ADSP24 Ext.Mixer Device
dshow debug: found device: ADSP24 Ext.SPDIF Device
dshow debug: found device: ADSP24 Int. Audio Device
dshow error: can't use device: none
dshow error: can't open audio
dshow debug: CapturePin::AddRef (ref: 3)
dshow debug: CapturePin::QueryPinInfo
dshow debug: CaptureFilter::AddRef (ref: 2)
dshow debug: CapturePin::Release (ref: 4)
dshow debug: CaptureFilter::Release (ref: 3)
dshow debug: CaptureFilter::EnumPins
dshow debug: CaptureFilter::AddRef (ref: 2)
dshow debug: CaptureEnumPins::Next
dshow debug: CapturePin::AddRef (ref: 3)
dshow debug: CapturePin::QueryDirection
dshow debug: CapturePin::Release (ref: 4)
dshow debug: CaptureEnumPins::Next
dshow debug: CaptureEnumPins::Release (ref: 1)
dshow debug: CaptureEnumPins::~CaptureEnumPins
dshow debug: CaptureFilter::Release (ref: 3)
dshow debug: CaptureFilter::EnumPins
dshow debug: CaptureFilter::AddRef (ref: 2)
dshow debug: CaptureEnumPins::Next
dshow debug: CapturePin::AddRef (ref: 3)
dshow debug: CapturePin::QueryDirection
dshow debug: CapturePin::Release (ref: 4)
dshow debug: CaptureEnumPins::Next
dshow debug: CaptureEnumPins::Release (ref: 1)
dshow debug: CaptureEnumPins::~CaptureEnumPins
dshow debug: CaptureFilter::Release (ref: 3)
dshow debug: CaptureFilter::EnumPins
dshow debug: CaptureFilter::AddRef (ref: 2)
dshow debug: CaptureEnumPins::Next
dshow debug: CapturePin::AddRef (ref: 3)
dshow debug: CapturePin::QueryDirection
dshow debug: CapturePin::ConnectedTo
dshow debug: CapturePin::Release (ref: 4)
dshow debug: CaptureEnumPins::Next
dshow debug: CaptureEnumPins::Release (ref: 1)
dshow debug: CaptureEnumPins::~CaptureEnumPins
dshow debug: CaptureFilter::Release (ref: 3)
dshow debug: CaptureFilter::QueryInterface
dshow debug: CaptureFilter::QueryInterface
dshow debug: CapturePin::AddRef (ref: 3)
dshow debug: CapturePin::Release (ref: 4)
dshow debug: CaptureFilter::SetSyncSource
dshow debug: CaptureFilter::Pause
dshow debug: CapturePin::QueryInterface
dshow debug: CaptureFilter::AddRef (ref: 2)
dshow debug: CaptureFilter::QueryInterface
dshow debug: CaptureFilter::QueryInterface
dshow debug: CaptureFilter::QueryInterface
dshow debug: CaptureFilter::QueryInterface
dshow debug: CaptureFilter::QueryInterface
dshow debug: CaptureFilter::QueryInterface
dshow debug: CaptureFilter::Release (ref: 3)
dshow debug: CaptureFilter::Run
main debug: using access module "dshow"
main debug: looking for demux module
main debug: probing 21 candidates
mp4 warning: MP4 plugin discarded (not a valid file)
avi warning: avi module discarded (invalid header)
asf warning: ASF plugin discarded (not a valid file)
dshow debug: added new video es YV12 320x240
main debug: using demux module "dshow"
main debug: selecting ES 0x1
main debug: looking for packetizer module
main debug: probing 24 candidates
main debug: using packetizer module "rawvideo"
main debug: thread 3332 (decoder) created at priority 0 (src/input/input_dec.c:166)
main debug: adding a new input
stream_out_transcode debug: creating video transcoding from fcc=`YV12' to fcc=`mp4v'
stream_out_transcode error: cannot find decoder
stream_out_transcode error: cannot create video chain

main error: cannot create packetizer output
dshow warning: cannot read data
main: EOF reached
main debug: 243 loops
main debug: dumping stream ID 0x0 [OK:0/D:0]
main debug: pace un-controlled
main debug: dumping program 0x0, version 0 (partial)
main debug: ES 0x1, stream 0x1, fourcc `YV12', selected [OK:0/ERR:0]
main debug: unlocking module "dshow"
main debug: unselecting ES 0x1
main debug: unlocking module "rawvideo"
main debug: thread 3332 joined (src/input/input_dec.c:210)
main debug: killing decoder fourcc `YV12', 9 PES in FIFO
main debug: no more selected ES
main warning: destroying sout
main debug: destroying chain... (name=transcode)
main debug: destroying chain... (name=duplicate)
stream_out_duplicate debug: closing a duplication
main debug: destroying chain... (name=display)
main debug: unlocking module "stream_out_display"
main debug: destroying chain done
main debug: unlocking module "stream_out_duplicate"
main debug: destroying chain done
main debug: unlocking module "stream_out_transcode"
main debug: destroying chain done
dshow debug: CaptureFilter::QueryInterface
dshow debug: CaptureFilter::EnumPins
dshow debug: CaptureFilter::AddRef (ref: 2)
dshow debug: CaptureEnumPins::Next
dshow debug: CapturePin::AddRef (ref: 3)
dshow debug: CapturePin::QueryDirection
dshow debug: CapturePin::ConnectedTo
dshow debug: CapturePin::Disconnect
dshow debug: CapturePin::Release (ref: 4)
dshow debug: CaptureEnumPins::Release (ref: 1)
dshow debug: CaptureEnumPins::~CaptureEnumPins
dshow debug: CaptureFilter::Release (ref: 3)
dshow debug: CapturePin::AddRef (ref: 3)
dshow debug: CapturePin::Disconnect
dshow debug: CapturePin::Release (ref: 4)
dshow debug: CaptureFilter::Release (ref: 2)
dshow debug: CaptureFilter::EnumPins
dshow debug: CaptureFilter::AddRef (ref: 1)
dshow debug: CaptureEnumPins::Next
dshow debug: CapturePin::AddRef (ref: 3)
dshow debug: CapturePin::QueryDirection
dshow debug: CapturePin::Release (ref: 4)
dshow debug: CaptureEnumPins::Next
dshow debug: CaptureEnumPins::Release (ref: 1)
dshow debug: CaptureEnumPins::~CaptureEnumPins
dshow debug: CaptureFilter::Release (ref: 2)
dshow debug: CapturePin::AddRef (ref: 3)
dshow debug: CapturePin::QueryPinInfo
dshow debug: CaptureFilter::AddRef (ref: 1)
dshow debug: CapturePin::Release (ref: 4)
dshow debug: CaptureFilter::Release (ref: 2)
dshow debug: CaptureFilter::EnumPins
dshow debug: CaptureFilter::AddRef (ref: 1)
dshow debug: CaptureEnumPins::Next
dshow debug: CapturePin::AddRef (ref: 3)
dshow debug: CapturePin::QueryDirection
dshow debug: CapturePin::Release (ref: 4)
dshow debug: CaptureEnumPins::Next
dshow debug: CaptureEnumPins::Release (ref: 1)
dshow debug: CaptureEnumPins::~CaptureEnumPins
dshow debug: CaptureFilter::Release (ref: 2)
dshow debug: CaptureFilter::EnumPins
dshow debug: CaptureFilter::AddRef (ref: 1)
dshow debug: CaptureEnumPins::Next
dshow debug: CapturePin::AddRef (ref: 3)
dshow debug: CapturePin::QueryDirection
dshow debug: CapturePin::ConnectedTo
dshow debug: CapturePin::Release (ref: 4)
dshow debug: CaptureEnumPins::Next
dshow debug: CaptureEnumPins::Release (ref: 1)
dshow debug: CaptureEnumPins::~CaptureEnumPins
dshow debug: CaptureFilter::Release (ref: 2)
dshow debug: CaptureFilter::Stop
dshow debug: CaptureFilter::QueryInterface
dshow debug: CaptureFilter::EnumPins
dshow debug: CaptureFilter::AddRef (ref: 1)
dshow debug: CaptureEnumPins::Next
dshow debug: CapturePin::AddRef (ref: 3)
dshow debug: CapturePin::QueryDirection
dshow debug: CapturePin::ConnectedTo
dshow debug: CapturePin::Release (ref: 4)
dshow debug: CaptureEnumPins::Next
dshow debug: CaptureEnumPins::Release (ref: 1)
dshow debug: CaptureEnumPins::~CaptureEnumPins
dshow debug: CaptureFilter::Release (ref: 2)
dshow debug: CaptureFilter::SetSyncSource
dshow debug: CaptureFilter::JoinFilterGraph
dshow debug: CaptureFilter::QueryInterface
dshow debug: CaptureFilter::AddRef (ref: 1)
dshow debug: CaptureFilter::Release (ref: 2)
dshow debug: CaptureFilter::QueryInterface
dshow debug: CaptureFilter::GetState
dshow debug: CaptureFilter::Release (ref: 1)
dshow debug: CaptureFilter::~CaptureFilter
dshow debug: CapturePin::Release (ref: 3)
dshow debug: CapturePin::AddRef (ref: 2)
dshow debug: CapturePin::Disconnect
dshow debug: CapturePin::QueryInterface
dshow debug: CapturePin::Release (ref: 3)
dshow debug: CapturePin::Release (ref: 2)
dshow debug: CapturePin::Release (ref: 1)
dshow debug: CapturePin::~CapturePin
main debug: unlocking module "dshow"
main debug: pes: 0 packets
main debug: data: 1 packets
main debug: buffers: 2 packets
main debug: freeing info structures...
main debug: thread 2836 joined (src/input/input.c:291)
main debug: removing all interfaces
main debug: thread 2548 joined (src/interface/interface.c:192)
-- logger module stopped --

hege
New Cone
New Cone
Posts: 2
Joined: 01 Jan 2004 17:21

Postby hege » 01 Jan 2004 19:20

Oh, figured it out myself. I set Video input chroma format to YUY2 (Plugins / access / dshow). Works fine now..

h

Gibalou
Big Cone-huna
Big Cone-huna
Posts: 608
Joined: 26 Nov 2003 10:59

Postby Gibalou » 03 Jan 2004 01:41

I just added support for the YV12 fourcc in the transcoder.
Unfortunately I couldn't test and it is very likely that the colors will be inverted in the transcoded video.

tsar
Blank Cone
Blank Cone
Posts: 10
Joined: 04 Dec 2003 16:59
Location: France
Contact:

No better with 0.7.0

Postby tsar » 05 Jan 2004 15:20

Using official win32 binaries of 0.7.0.

Not sure if it will help with the dshow:/ issue but looks like my Philips ToUcam Pro 60 i/s WebCam supporting I420 or IYUV records well using standard recorder applications, but it will not save other format than RAW format with VLC (and only if the RAW check box is set).

I have uploaded two AVI recorded video files for your tests. These files were recorded using provided Philips software.

Trying to play these files using VLC 0.7.0 : looks like only audio tracks will play with VLC, no video. No error messages seem to appear in the message windows.

Please see :
- ftp.videolan.org/incoming/TSARTEST420.avi (12901888) for the 420 example encapsulated in an AVI or
- ftp.videolan.org/incoming/TSARTESTYUV.avi (13133312) for a YUV format.
TS.

Anil
Blank Cone
Blank Cone
Posts: 32
Joined: 21 Nov 2003 12:09
Location: Ecole Centrale Paris, France

Re: No better with 0.7.0

Postby Anil » 05 Jan 2004 21:29

ftp.videolan.org/incoming/TSARTEST420.avi (12901888) for the 420 example encapsulated in an AVI or
- ftp.videolan.org/incoming/TSARTESTYUV.avi (13133312) for a YUV format.
I moved these files to
ftp://ftp.videolan.org/pub/videolan/str ... EST420.avi
ftp://ftp.videolan.org/pub/videolan/str ... ESTYUV.avi
Anil Daoud


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 51 guests