Trouble with Webcam/Mic to File Transcoding
Posted: 28 Jun 2005 07:48
by rsaccon
Hello all, this is my first post here, just started recently to play with vlc and I did not manage to capture Webcam / Mic and transcode it to File. I use VLC 0.82 and I am on Windows XP. Just playback or just capturing (with preview) works fine.
I tried with and without wizard, but the result was always the same: the output file reamained empty.
Is this feature not working on VLC 0.82 / WIndows XP ? Or am I doing something wrong and does there maybe exist somewhere an "idiot proof" how-to ?
The second part of the question is about doing the same from the webbrowser plugin. I am a developer myself and to me it seems that the Mozilla/ActiveX-BrowserPlugins only expose javascript funcitions for playback-control. Well, is the transcoding functionality just not exposed or is it provided by VLC-Plugins, which are not part of Mozilla/ActiveX-Browserplugins ??
Posted: 28 Jun 2005 15:13
by rsaccon
am I the only one not able to transcode Mic/Webcam capture into a file ? There must be some stupid mistake I am doing. Below are the errormessages I am getting:
Code: Select all
main debug: adding playlist item `dshow://' ( dshow:// )
main debug: creating new input thread
main debug: set input option: dshow-config to false
main debug: set input option: dshow-tuner to false
main debug: set input option: sout to #duplicate{dst=std{access=file,mux=ts,url=C:\Documents and Settings\Roberto\My Documents\myaudio\newtest}}
main debug: set input option: sout-all to true
main debug: waiting for thread completion
main debug: thread 4900 (input) created at priority 1 (src/input/input.c:230)
main debug: stream=`duplicate'
main debug: looking for sout stream module: 1 candidate
stream_out_duplicate debug: creating 'duplicate'
stream_out_duplicate debug: * adding `std{access=file,mux=ts,url=C:\Documents and Settings\Roberto\My Documents\myaudio\newtest}'
main debug: stream=`std'
main debug: looking for sout stream module: 1 candidate
main debug: set sout option: sout-standard-access to file
main debug: set sout option: sout-standard-mux to ts
main debug: set sout option: sout-standard-url to C:\Documents and Settings\Roberto\My Documents\myaudio\newtest
stream_out_standard debug: creating `file/ts://C:\Documents and Settings\Roberto\My Documents\myaudio\newtest'
stream_out_standard debug: using `file/ts://C:\Documents and Settings\Roberto\My Documents\myaudio\newtest'
main debug: looking for sout access module: 1 candidate
access_output_file debug: file access output opened (`C:\Documents and Settings\Roberto\My Documents\myaudio\newtest')
main debug: using sout access module "access_output_file"
stream_out_standard debug: access opened
main debug: looking for sout mux module: 1 candidate
mux_ts debug: Open
mux_ts debug: shaping=200000 pcr=70000 dts_delay=400000
main debug: using sout mux module "mux_ts"
main debug: muxer support adding stream at any time
main debug: muxer prefers waiting for all ES before starting muxing
stream_out_standard debug: mux opened
main debug: using sout stream module "stream_out_standard"
main debug: using sout stream module "stream_out_duplicate"
main debug: `dshow://' gives access `dshow' demux `' path `'
main debug: creating demux: access='dshow' demux='' path=''
main debug: looking for access_demux module: 1 candidate
dshow debug: found device: Logitech QuickCam for Notebooks Pro
dshow debug: using device: Logitech QuickCam for Notebooks Pro
dshow debug: EnumDeviceCaps: output pin: Capture
dshow debug: EnumDeviceCaps: output pin: Still
dshow debug: EnumDeviceCaps: trying pin Capture
dshow debug: EnumDeviceCaps: input pin video format configured
dshow debug: EnumDeviceCaps: input pin accepts chroma: RV24, width:320, height:240, fps:30.000030
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=320, height=240, chroma=I420)
dshow debug: CapturePin::ReceiveConnection [OK]
dshow debug: CapturePin::NotifyAllocator
dshow debug: CapturePin::QueryAccept [OK] (width=320, height=240, chroma=I420)
dshow debug: filters connected successfully !
dshow debug: MEDIATYPE_Video
dshow debug: selected video pin accepts format: I420
dshow debug: found device: Logitech Mic (Notebooks Pro)
dshow debug: found device: Bluetooth Audio
dshow debug: found device: Pamela Virtual Cable In
dshow debug: found device: SAM Virtual Cable 1 In
dshow debug: found device: SAM Virtual Cable 2 In
dshow debug: found device: SigmaTel Audio
dshow debug: using device: Logitech Mic (Notebooks Pro)
dshow debug: EnumDeviceCaps: output pin: Capture
dshow debug: EnumDeviceCaps: input pin: Microphone
dshow debug: EnumDeviceCaps: trying pin Capture
dshow debug: EnumDeviceCaps: input pin default format configured
dshow debug: EnumDeviceCaps: input pin accepts format: araw, channels:2, samples/sec:44100 bits/sample:16
dshow debug: EnumDeviceCaps: input pin accepts format: araw, channels:2, samples/sec:44100 bits/sample:16
dshow debug: EnumDeviceCaps: input pin accepts format: araw, channels:1, samples/sec:44100 bits/sample:16
dshow debug: EnumDeviceCaps: input pin accepts format: araw, channels:2, samples/sec:32000 bits/sample:16
dshow debug: EnumDeviceCaps: input pin accepts format: araw, channels:1, samples/sec:32000 bits/sample:16
dshow debug: EnumDeviceCaps: input pin accepts format: araw, channels:2, samples/sec:22050 bits/sample:16
dshow debug: EnumDeviceCaps: input pin accepts format: araw, channels:1, samples/sec:22050 bits/sample:16
dshow debug: EnumDeviceCaps: input pin accepts format: araw, channels:2, samples/sec:11025 bits/sample:16
dshow debug: EnumDeviceCaps: input pin accepts format: araw, channels:1, samples/sec:11025 bits/sample:16
dshow debug: EnumDeviceCaps: input pin accepts format: araw, channels:2, samples/sec:8000 bits/sample:16
dshow debug: EnumDeviceCaps: input pin accepts format: araw, channels:1, samples/sec:8000 bits/sample:16
dshow debug: EnumDeviceCaps: input pin accepts format: araw, channels:2, samples/sec:44100 bits/sample:8
dshow debug: EnumDeviceCaps: input pin accepts format: araw, channels:1, samples/sec:44100 bits/sample:8
dshow debug: EnumDeviceCaps: input pin accepts format: araw, channels:2, samples/sec:22050 bits/sample:8
dshow debug: EnumDeviceCaps: input pin accepts format: araw, channels:1, samples/sec:22050 bits/sample:8
dshow debug: EnumDeviceCaps: input pin accepts format: araw, channels:2, samples/sec:11025 bits/sample:8
dshow debug: EnumDeviceCaps: input pin accepts format: araw, channels:1, samples/sec:11025 bits/sample:8
dshow debug: EnumDeviceCaps: input pin accepts format: araw, channels:2, samples/sec:8000 bits/sample:8
dshow debug: EnumDeviceCaps: input pin accepts format: araw, channels:1, samples/sec:8000 bits/sample:8
dshow debug: EnumDeviceCaps: input pin accepts format: araw, channels:2, samples/sec:48000 bits/sample:16
dshow debug: EnumDeviceCaps: input pin accepts format: araw, channels:1, samples/sec:48000 bits/sample:16
dshow debug: EnumDeviceCaps: input pin accepts format: araw, channels:2, samples/sec:96000 bits/sample:16
dshow debug: EnumDeviceCaps: input pin accepts format: araw, channels:1, samples/sec:96000 bits/sample:16
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] (channels=2, samples/sec=44100, bits/samples=16, format=araw)
dshow debug: CapturePin::ReceiveConnection [OK]
dshow debug: CapturePin::NotifyAllocator
dshow debug: CapturePin::QueryAccept [OK] (channels=2, samples/sec=44100, bits/samples=16, format=araw)
dshow debug: filters connected successfully !
dshow debug: MEDIATYPE_Audio
dshow debug: selected audio pin accepts format: araw
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: 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::EnumPins
dshow debug: CapturePin::QueryDirection
dshow debug: CapturePin::ConnectedTo [OK]
dshow debug: CaptureFilter::SetSyncSource
dshow debug: CaptureFilter::SetSyncSource
dshow debug: CaptureFilter::Pause
dshow debug: CaptureFilter::Pause
dshow debug: CaptureFilter::Run
dshow debug: CaptureFilter::Run
main debug: selecting program id=0
main debug: using access_demux module "dshow"
main debug: looking for packetizer module: 17 candidates
main debug: using packetizer module "rawvideo"
main debug: thread 4832 (decoder) created at priority 0 (src/input/decoder.c:159)
main debug: looking for packetizer module: 17 candidates
main debug: using packetizer module "packetizer_copy"
main debug: thread 4920 (decoder) created at priority 2 (src/input/decoder.c:159)
main debug: starting in asynch mode
main debug: `dshow://' successfully opened
main debug: adding a new input
stream_out_duplicate debug: duplicated a new stream codec=I420 (es=0 group=0)
main debug: adding a new input
mux_ts debug: adding input codec=I420 pid=68
main error: cannot add this stream
stream_out_duplicate debug: - failed for output 0
main error: cannot create packetizer output
packetizer_copy debug: need dts > 0
main debug: adding a new input
stream_out_duplicate debug: duplicated a new stream codec=s16l (es=1 group=0)
main debug: adding a new input
mux_ts debug: adding input codec=s16l pid=69
main error: cannot add this stream
stream_out_duplicate debug: - failed for output 0
main error: cannot create packetizer output
Posted: 30 Jun 2005 16:15
by rsaccon
the second part of my original question I answered myself by looking at the sources, but for the first part, I am waiting "desperately" for an anwser, how to transcode from cam/mic into a file.