Page 1 of 1
":dshow-size"-parameter/ higher resolutions not working
Posted: 25 May 2011 09:34
by uibkdigi
Hi all,
I am new to the board. I am having some trouble with the capturing functionality of VLC. I have successfully captured from a framegrabber (Terratec G3) via dshow, using the commandline interface (Windows 7). The only problem is, VLC will only work with a resolution of 352x288 px. When I use the ":dshow-size"-parameter, it writes only audio, no video. Also using the GUI, I cannot get VLC to accept higher resolutions; when I check "device properties", in the dialogue that appears I can, in fact, chose different resolutions, but when I chose a higher one, no video will appear, only audio is played. (When i chose smaller resolutions - just for testing - VLC crashes on me, sometimes even giving me a blue screen). And one other things: this is apparently NOT a problem that is device-specific: with all other capturing tools I tested, capturing higher resolutions was possible, so it must be a problem to do with VLC; however, i really need VLC to work, because it is the only one with such a good command line interface. Any help is really more than welcome!
Re: ":dshow-size"-parameter/ higher resolutions not working
Posted: 25 May 2011 11:39
by Jean-Baptiste Kempf
To help you, we need
messages, to completely understand what your problems is.
To fix this, please be sure
before you start the playback to:
- Open: Tools -> Messages.
- Set Verbosity to 2
- Start playback to reproduce your issue
- Save text in a file or copy into clipboard
- Then paste the full resulting log here between [code]and[/code] (or use Pastebin.com if it's too long)
Also don't forget to name your
Operating System and provide the
VLC media player version.
Re: ":dshow-size"-parameter/ higher resolutions not working
Posted: 25 May 2011 13:04
by uibkdigi
Hi,
thanks for the quick reply.
OS is Windows 7 Enterprise (x64);
verbous messages read as follows:
main debug: processing request item dshow:// node Wiedergabeliste skip 0
main debug: resyncing on dshow://
main debug: dshow:// is at 0
main debug: starting new item
main debug: creating new input thread
main debug: Creating an input for 'dshow://'
main debug: thread (input) created at priority 1 (../.././src/input/input.c:230)
main debug: thread started
main debug: stream=`transcode'
main debug: looking for sout stream module: 1 candidate
main debug: stream=`standard'
main debug: looking for sout stream module: 1 candidate
main debug: set config option: sout-standard-access to file
main debug: set config option: sout-standard-mux to avi
main debug: set config option: sout-standard-dst to C:\Vout1\00087.avi
stream_out_standard debug: creating `file/avi://C:\Vout1\00087.avi'
stream_out_standard debug: extension is avi
stream_out_standard debug: extension -> mux=avi
stream_out_standard debug: using `file/avi://C:\Vout1\00087.avi'
main debug: looking for sout access module: 1 candidate
access_output_file debug: file access output opened (C:\Vout1\00087.avi)
main debug: using sout access module "access_output_file"
main debug: TIMER module_need() : 2.000 ms - Total 2.000 ms / 1 intvls (Avg 2.000 ms)
stream_out_standard debug: access opened
main debug: looking for sout mux module: 1 candidate
mux_avi debug: AVI muxer opened
main debug: using sout mux module "mux_avi"
main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
stream_out_standard debug: mux opened
main debug: using sout stream module "stream_out_standard"
main debug: TIMER module_need() : 5.000 ms - Total 5.000 ms / 1 intvls (Avg 5.000 ms)
main debug: set config option: sout-transcode-fps to 25.00
qt4 debug: IM: Setting an input
main debug: set config option: sout-transcode-vcodec to I420
main debug: set config option: sout-transcode-acodec to s16l
main debug: set config option: sout-transcode-scale to 1
stream_out_transcode debug: codec audio=s16l 0Hz 0 channels 0Kb/s
stream_out_transcode debug: codec video=I420 0x0 scaling: 1.000000 800kb/s
main debug: using sout stream module "stream_out_transcode"
main debug: TIMER module_need() : 9.000 ms - Total 9.000 ms / 1 intvls (Avg 9.000 ms)
main debug: using timeshift granularity of 50 MBytes
main debug: using timeshift path 'C:\Users\DEA1\AppData\Local\Temp'
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: dshow-vdev: TerraTec G3 Capture
dshow debug: dshow-adev: Line (9- TerraTec G3)
dshow debug: width x height 640x0
qt4 debug: Updating the geometry
qt4 debug: Updating the geometry
dshow debug: found device: TerraTec G3 Capture
dshow debug: found device: TerraTec G3 Capture #1
dshow debug: found device: TerraTec G3 Capture #2
dshow debug: found device: TerraTec G3 Capture #3
dshow debug: found device: TerraTec G3 Capture #4
dshow debug: found device: TerraTec G3 Capture #5
dshow debug: found device: TerraTec G3 Capture #6
dshow debug: found device: TerraTec G3 Capture #7
dshow debug: asking for device: TerraTec G3 Capture
dshow debug: asked for TerraTec G3 Capture, binding to TerraTec G3 Capture
dshow debug: using device: TerraTec G3 Capture
dshow debug: EnumDeviceCaps: output pin: Capture
dshow debug: EnumDeviceCaps: input pin: Analog Video In
dshow debug: EnumDeviceCaps: output pin: VBI
dshow debug: EnumDeviceCaps: trying pin Capture
dshow debug: EnumDeviceCaps: input pin default format configured
dshow debug: EnumDeviceCaps: input pin accepts chroma: I420, width:640, height:480, fps:29.970000
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=640, height=480, chroma=I420, fps=29.970000)
dshow debug: CapturePin::ReceiveConnection [OK]
dshow debug: CapturePin::NotifyAllocator
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::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: CapturePin::ConnectedTo [OK]
dshow debug: CaptureFilter::EnumPins
dshow debug: CaptureFilter::EnumPins
dshow debug: CapturePin::QueryDirection
dshow debug: CapturePin::QueryPinInfo
dshow debug: CapturePin::ConnectedTo [OK]
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::QueryPinInfo
dshow debug: CapturePin::ConnectedTo [OK]
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: CaptureFilter::EnumPins
dshow debug: CaptureFilter::EnumPins
dshow debug: CapturePin::QueryDirection
dshow debug: CapturePin::QueryPinInfo
dshow debug: CapturePin::ConnectedTo [OK]
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::QueryPinInfo
dshow debug: CapturePin::ConnectedTo [OK]
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: CaptureFilter::EnumPins
dshow debug: CapturePin::QueryDirection
dshow debug: CapturePin::QueryPinInfo
dshow debug: CapturePin::ConnectedTo [OK]
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::QueryPinInfo
dshow debug: CapturePin::ConnectedTo [OK]
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: CaptureFilter::EnumPins
dshow debug: CaptureFilter::EnumPins
dshow debug: found existing route for output 0 (type Video Decoder) to input 3 (type S-Video)
dshow debug: crossbar at depth 0, found route for output 0 (type Video Decoder) to input 3 (type S-Video)
dshow debug: ConnectFilters: graph_builder2 available.
dshow debug: filters connected successfully !
dshow debug: MEDIATYPE_Video
dshow debug: selected video pin accepts format: I420
dshow debug: found device: Digital Audio (S/PDIF) (High De
dshow debug: found device: Line (2- TerraTec G3)
dshow debug: found device: Line (3- TerraTec G3)
dshow debug: found device: Line (5- TerraTec G3)
dshow debug: found device: Line (6- TerraTec G3)
dshow debug: found device: Line (7- TerraTec G3)
dshow debug: found device: Line (8- TerraTec G3)
dshow debug: found device: Line (9- TerraTec G3)
dshow debug: found device: Line (TerraTec G3)
dshow debug: found device: Line In (High Definition Audio
dshow debug: found device: Microphone (High Definition Aud
dshow debug: asking for device: Line (9- TerraTec G3)
dshow debug: asked for Line (9- TerraTec G3), binding to Line (9- TerraTec G3)
dshow debug: using device: Line (9- TerraTec G3)
dshow debug: EnumDeviceCaps: output pin: Capture
dshow debug: EnumDeviceCaps: input pin: Master Volume
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: filters connected successfully !
dshow debug: MEDIATYPE_Audio
dshow debug: selected audio pin accepts format: araw
dshow debug: crossbar at depth 0, routed video output 0 to video input 3
dshow debug: crossbar at depth 0, routed audio output 1 to audio input 5
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::QueryPinInfo
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: 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: TIMER module_need() : 4804.000 ms - Total 4804.000 ms / 1 intvls (Avg 4804.000 ms)
main debug: looking for a subtitle file in C:\Program Files (x86)\VideoLAN\VLC\
main debug: looking for packetizer module: 21 candidates
main debug: using packetizer module "rawvideo"
main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main debug: thread (decoder) created at priority 0 (../.././src/input/decoder.c:315)
main debug: thread started
main debug: looking for packetizer module: 21 candidates
main debug: using packetizer module "packetizer_copy"
main debug: TIMER module_need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.000 ms)
main debug: thread (decoder) created at priority 2 (../.././src/input/decoder.c:315)
main debug: thread started
main debug: starting in sync mode
main debug: `dshow://' successfully opened
qt4 debug: Updating the geometry
qt4 debug: Updating the geometry
qt4 debug: Updating the geometry
qt4 debug: Updating the geometry
qt4 debug: Updating the geometry
qt4 debug: Updating the geometry
qt4 debug: Updating the geometry
qt4 debug: Updating the geometry
qt4 debug: Updating the geometry
qt4 debug: Updating the geometry
main error: Invalid PCR value in ES_OUT_SET_(GROUP_)PCR !
main debug: switching to async mode
packetizer_copy debug: need dts > 0
main debug: Buffering 0%
main debug: Buffering 62%
main debug: Buffering 82%
main debug: Buffering 55%
main debug: adding a new sout input (sout_input:0373a298)
stream_out_transcode debug: creating audio transcoding from fcc=`s16l' to fcc=`s16l'
main debug: looking for decoder module: 35 candidates
araw debug: samplerate:44100Hz channels:2 bits/sample:16
main debug: using decoder module "araw"
main debug: TIMER module_need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.000 ms)
main debug: looking for encoder module: 12 candidates
araw debug: samplerate:44100Hz channels:2 bits/sample:16
main debug: using encoder module "araw"
main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main debug: adding a new input
mux_avi debug: adding input
main debug: Stream buffering done (205 ms in 136 ms)
main debug: Decoder buffering done in 0 ms
stream_out_transcode debug: drift is too high, resetting master sync
mux_avi debug: writing header
mux_avi warning: avi file without video track isn't a good idea...
Re: ":dshow-size"-parameter/ higher resolutions not working
Posted: 25 May 2011 13:05
by uibkdigi
Oh, and VLC version is 1.0.5, tested latest release too: same problem, but worse performance in general, so went back to 1.0.5.
Re: ":dshow-size"-parameter/ higher resolutions not working
Posted: 25 May 2011 13:14
by uibkdigi
If this helps: this is the command line I am using:
cd "C:\Program Files (x86)\VideoLAN\VLC"
start vlc.exe -vvv dshow:// :dshow-vdev="TerraTec G3 Capture" :dshow-adev="Line (9- TerraTec G3)" :dshow-size="640 x 480" --sout=#transcode{fps=25,vcodec=I420,acodec=s16l,scale=1}:standard{access=file,mux=avi,dst="C:\Vout1\00087.avi"} --run-time=6600
Re: ":dshow-size"-parameter/ higher resolutions not working
Posted: 25 May 2011 13:56
by VLC_help
It should be:dshow-size="640x480"
Re: ":dshow-size"-parameter/ higher resolutions not working
Posted: 25 May 2011 14:02
by uibkdigi
i tried that too, same result...
Re: ":dshow-size"-parameter/ higher resolutions not working
Posted: 26 May 2011 13:28
by VLC_help
Does it matter if you change dshow FPS to different one?
Re: ":dshow-size"-parameter/ higher resolutions not working
Posted: 30 May 2011 10:34
by uibkdigi
No, unfortunately that doesn't help either...
Re: ":dshow-size"-parameter/ higher resolutions not working
Posted: 30 May 2011 13:55
by VLC_help
Does it work better if you change video encoder to something else?
Re: ":dshow-size"-parameter/ higher resolutions not working
Posted: 31 May 2011 15:34
by uibkdigi
I am sorry, that too makes no difference. As I said, I cannot even get VLC to display the stream using the GUI. It will play only the audio from the capture device, but no video. I really don't know what else to try...