":dshow-size"-parameter/ higher resolutions not working

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
uibkdigi
Blank Cone
Blank Cone
Posts: 14
Joined: 25 May 2011 09:17

":dshow-size"-parameter/ higher resolutions not working

Postby uibkdigi » 25 May 2011 09:34

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!

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: ":dshow-size"-parameter/ higher resolutions not working

Postby Jean-Baptiste Kempf » 25 May 2011 11:39

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:
  1. Open: Tools -> Messages.
  2. Set Verbosity to 2
  3. Start playback to reproduce your issue
  4. Save text in a file or copy into clipboard
  5. 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.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

uibkdigi
Blank Cone
Blank Cone
Posts: 14
Joined: 25 May 2011 09:17

Re: ":dshow-size"-parameter/ higher resolutions not working

Postby uibkdigi » 25 May 2011 13:04

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...

uibkdigi
Blank Cone
Blank Cone
Posts: 14
Joined: 25 May 2011 09:17

Re: ":dshow-size"-parameter/ higher resolutions not working

Postby uibkdigi » 25 May 2011 13:05

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.

uibkdigi
Blank Cone
Blank Cone
Posts: 14
Joined: 25 May 2011 09:17

Re: ":dshow-size"-parameter/ higher resolutions not working

Postby uibkdigi » 25 May 2011 13:14

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

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: ":dshow-size"-parameter/ higher resolutions not working

Postby VLC_help » 25 May 2011 13:56

It should be:dshow-size="640x480"

uibkdigi
Blank Cone
Blank Cone
Posts: 14
Joined: 25 May 2011 09:17

Re: ":dshow-size"-parameter/ higher resolutions not working

Postby uibkdigi » 25 May 2011 14:02

i tried that too, same result...

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: ":dshow-size"-parameter/ higher resolutions not working

Postby VLC_help » 26 May 2011 13:28

Does it matter if you change dshow FPS to different one?

uibkdigi
Blank Cone
Blank Cone
Posts: 14
Joined: 25 May 2011 09:17

Re: ":dshow-size"-parameter/ higher resolutions not working

Postby uibkdigi » 30 May 2011 10:34

No, unfortunately that doesn't help either...

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: ":dshow-size"-parameter/ higher resolutions not working

Postby VLC_help » 30 May 2011 13:55

Does it work better if you change video encoder to something else?

uibkdigi
Blank Cone
Blank Cone
Posts: 14
Joined: 25 May 2011 09:17

Re: ":dshow-size"-parameter/ higher resolutions not working

Postby uibkdigi » 31 May 2011 15:34

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...


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 36 guests