How to define the device settings in the parameters?

About encoding, codec settings, muxers and filter usage
rafaeldl
New Cone
New Cone
Posts: 2
Joined: 25 Jul 2017 14:42

How to define the device settings in the parameters?

Postby rafaeldl » 25 Jul 2017 15:44

Hi,

I'm trying to display the contents of a capture card (EZ Grabber 2) in the VLC. The following command works, but a screen is displayed to set the codec settings.

Code: Select all

vlc dshow:// :dshow-vdev=Conexant Polaris Video Capture :dshow-adev=Conexant Polaris Audio Capture :dshow-config
Codec settings

Image
Image
Image
Image

LOG:

core debug: adding item `dshow://' ( dshow:// )
core debug: processing request item: dshow://, node: null, skip: 0
core debug: rebuilding array of current - root Lista de reprodução
core debug: rebuild done - 1 items, index 0
core debug: starting playback of the new playlist item
core debug: resyncing on dshow://
core debug: dshow:// is at 0
core debug: creating new input thread
core debug: Creating an input for 'dshow://'
core debug: meta ok for (null), need to fetch art
core debug: requesting art for dshow://
core debug: looking for meta fetcher module matching "any": 1 candidates
core debug: looking for meta fetcher module matching "any": 1 candidates
lua debug: Trying Lua scripts in C:\Users\Teste\AppData\Roaming\vlc\lua\meta\fetcher
lua debug: Trying Lua scripts in C:\Users\Teste\AppData\Roaming\vlc\lua\meta\fetcher
lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher
lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher\tvrage.luac
core debug: using timeshift granularity of 50 MiB, in path 'C:\Users\Teste\AppData\Local\Temp'
core debug: `dshow://' gives access `dshow' demux `' path `'
core debug: specified demux `any'
core debug: creating demux: access='dshow' demux='any' location='' file='(null)'
core debug: looking for access_demux module matching "dshow": 12 candidates
dshow debug: dshow-vdev: Conexant Polaris Video Capture
dshow debug: dshow-adev: Conexant Polaris Audio Capture
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher\tvrage.luac
lua debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher\tvrage.luac
core debug: no meta fetcher modules matched
core debug: searching art for dshow://
core debug: looking for art finder module matching "any": 2 candidates
lua debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher\tvrage.luac
core debug: no meta fetcher modules matched
core debug: searching art for dshow://
core debug: looking for art finder module matching "any": 2 candidates
lua debug: Trying Lua scripts in C:\Users\Teste\AppData\Roaming\vlc\lua\meta\art
dshow debug: found device: Conexant Polaris Video Capture
dshow debug: found device: Integrated Webcam
dshow debug: asking for device: Conexant Polaris Video Capture
lua debug: Trying Lua scripts in C:\Users\Teste\AppData\Roaming\vlc\lua\meta\art
lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art
lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac
qt4 debug: IM: Setting an input
dshow debug: asked for Conexant Polaris Video Capture, binding to Conexant Polaris Video Capture
lua debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\01_googleimage.luac
lua debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\01_googleimage.luac
lua debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\01_googleimage.luac
lua debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\01_googleimage.luac
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac
lua debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac
lua debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\03_lastfm.luac
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\03_lastfm.luac
lua debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\03_lastfm.luac
lua debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\03_lastfm.luac
core debug: no art finder modules matched
core debug: no art finder modules matched
core debug: looking for meta fetcher module matching "any": 1 candidates
core debug: looking for meta fetcher module matching "any": 1 candidates
lua debug: Trying Lua scripts in C:\Users\Teste\AppData\Roaming\vlc\lua\meta\fetcher
lua debug: Trying Lua scripts in C:\Users\Teste\AppData\Roaming\vlc\lua\meta\fetcher
lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher
lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher\tvrage.luac
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher\tvrage.luac
core debug: using meta fetcher module "lua"
core debug: removing module "lua"
core debug: using meta fetcher module "lua"
core debug: removing module "lua"
core debug: searching art for dshow://
core debug: looking for art finder module matching "any": 2 candidates
lua debug: Trying Lua scripts in C:\Users\Teste\AppData\Roaming\vlc\lua\meta\art
core debug: searching art for dshow://
core debug: looking for art finder module matching "any": 2 candidates
lua debug: Trying Lua scripts in C:\Users\Teste\AppData\Roaming\vlc\lua\meta\art
lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac
lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\01_googleimage.luac
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\01_googleimage.luac
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\03_lastfm.luac
core debug: no art finder modules matched
core debug: art not found for dshow://
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\03_lastfm.luac
core debug: no art finder modules matched
core debug: art not found for dshow://
dshow debug: using device: Conexant Polaris Video Capture
dshow debug: EnumDeviceCaps: input pin: Entrada de v�deo -- please stay polite --�gica
dshow debug: EnumDeviceCaps: input pin: Analog Audio In
dshow debug: EnumDeviceCaps: output pin: Capturar
dshow debug: EnumDeviceCaps: output pin: Audio Out
dshow debug: EnumDeviceCaps: output pin: VBI
dshow debug: EnumDeviceCaps: trying pin Capturar
dshow debug: EnumDeviceCaps: input pin default format configured
dshow debug: EnumDeviceCaps: input pin accepts chroma: YUY2, width:360, height:288, fps:25.000000
filter debug: CaptureFilter::JoinFilterGraph
dshow debug: connecting filters
filter debug: CaptureFilter::EnumPins
filter debug: CapturePin::QueryDirection
filter debug: CapturePin::ConnectedTo [not connected]
filter debug: CapturePin::QueryPinInfo
filter debug: CaptureFilter::QueryFilterInfo
filter debug: CapturePin::QueryPinInfo
filter debug: CaptureFilter::EnumPins
filter debug: CapturePin::QueryDirection
filter debug: CapturePin::QueryDirection
filter debug: CapturePin::QueryAccept [OK] (width=360, height=288, chroma=YUY2, fps=25.000000)
filter debug: CapturePin::ReceiveConnection [OK]
filter debug: CapturePin::NotifyAllocator
filter debug: CapturePin::QueryPinInfo
filter debug: CaptureFilter::EnumPins
filter debug: CapturePin::QueryDirection
filter debug: CapturePin::QueryPinInfo
filter debug: CaptureFilter::EnumPins
filter debug: CapturePin::QueryDirection
filter debug: CaptureFilter::EnumPins
filter debug: CapturePin::QueryDirection
filter debug: CaptureFilter::EnumPins
filter debug: CapturePin::QueryDirection
filter debug: CapturePin::ConnectedTo [OK]
filter debug: CaptureFilter::EnumPins
crossbar debug: found existing route for output 0 (type Video Decoder) to input 0 (type S-Video)
crossbar debug: crossbar at depth 0, found route for output 0 (type Video Decoder) to input 0 (type S-Video)
dshow debug: ConnectFilters: graph_builder2 available.
dshow debug: filters connected successfully !
dshow debug: configuring Device Properties
dshow debug: showing WDM Video Configuration Pages
filter debug: CapturePin::QueryAccept [OK] (width=720, height=480, chroma=YUY2, fps=29.970000)
filter debug: CapturePin::QueryAccept [OK] (width=720, height=480, chroma=YUY2, fps=29.970000)
filter debug: CapturePin::Disconnect [OK]
filter debug: CapturePin::QueryDirection
filter debug: CapturePin::QueryAccept [OK] (width=720, height=480, chroma=YUY2, fps=29.970000)
filter debug: CapturePin::ReceiveConnection [OK]
filter debug: CapturePin::NotifyAllocator
dshow debug: MEDIATYPE_Video
dshow debug: selected video pin accepts format: YUY2
dshow debug: found device: Conexant Polaris Audio Capture
dshow debug: found device: Áudio Remoto
dshow debug: asking for device: Conexant Polaris Audio Capture
dshow debug: asked for Conexant Polaris Audio Capture, binding to Conexant Polaris Audio Capture
dshow debug: using device: Conexant Polaris Audio Capture
dshow debug: EnumDeviceCaps: input pin: Analog Audio In
dshow debug: EnumDeviceCaps: output pin: Audio Out
dshow debug: EnumDeviceCaps: trying pin Audio Out
dshow debug: EnumDeviceCaps: input pin default format configured
dshow debug: EnumDeviceCaps: input pin accepts format: araw, channels:2, samples/sec:44100 bits/sample:16
filter debug: CaptureFilter::JoinFilterGraph
dshow debug: connecting filters
filter debug: CaptureFilter::EnumPins
filter debug: CapturePin::QueryDirection
filter debug: CapturePin::ConnectedTo [not connected]
filter debug: CapturePin::QueryPinInfo
filter debug: CaptureFilter::QueryFilterInfo
filter debug: CapturePin::QueryPinInfo
filter debug: CaptureFilter::EnumPins
filter debug: CapturePin::QueryDirection
filter debug: CapturePin::QueryDirection
filter debug: CapturePin::QueryAccept [OK] (channels=2, samples/sec=44100, bits/samples=16, format=araw)
filter debug: CapturePin::ReceiveConnection [OK]
filter debug: CapturePin::NotifyAllocator
dshow debug: filters connected successfully !
dshow debug: configuring Device Properties
dshow debug: showing WDM Audio Configuration Pages
filter debug: CapturePin::QueryPinInfo
filter debug: CaptureFilter::EnumPins
filter debug: CapturePin::QueryDirection
filter debug: CapturePin::ConnectedTo [OK]
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 0
dshow debug: crossbar at depth 0, routed audio output 1 to audio input 2
dshow debug: Playing...
filter debug: CapturePin::QueryPinInfo
filter debug: CaptureFilter::EnumPins
filter debug: CapturePin::QueryDirection
filter debug: CapturePin::QueryPinInfo
filter debug: CaptureFilter::EnumPins
filter debug: CapturePin::QueryDirection
filter debug: CaptureFilter::EnumPins
filter debug: CapturePin::QueryDirection
filter debug: CapturePin::QueryPinInfo
filter debug: CaptureFilter::EnumPins
filter debug: CapturePin::QueryDirection
filter debug: CaptureFilter::EnumPins
filter debug: CapturePin::QueryDirection
filter debug: CapturePin::QueryPinInfo
filter debug: CaptureFilter::EnumPins
filter debug: CapturePin::QueryDirection
filter debug: CapturePin::QueryPinInfo
filter debug: CaptureFilter::EnumPins
filter debug: CapturePin::QueryDirection
filter debug: CaptureFilter::EnumPins
filter debug: CapturePin::QueryDirection
filter debug: CapturePin::ConnectedTo [OK]
filter debug: CaptureFilter::EnumPins
filter debug: CapturePin::QueryDirection
filter debug: CapturePin::ConnectedTo [OK]
filter debug: CaptureFilter::SetSyncSource
filter debug: CaptureFilter::SetSyncSource
filter debug: CaptureFilter::Pause
filter debug: CaptureFilter::Pause
filter debug: CaptureFilter::QueryFilterInfo
filter debug: CaptureFilter::QueryFilterInfo
filter debug: CaptureFilter::Run
filter debug: CaptureFilter::Run
core debug: selecting program id=0
core debug: using access_demux module "dshow"
core debug: looking for decoder module matching "any": 43 candidates
core debug: using decoder module "rawvideo"
core debug: looking for decoder module matching "any": 43 candidates
araw debug: samplerate:44100Hz channels:2 bits/sample:16
core debug: using decoder module "araw"
core debug: looking for meta reader module matching "any": 2 candidates
lua debug: Trying Lua scripts in C:\Users\Teste\AppData\Roaming\vlc\lua\meta\reader
lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\reader
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\reader\filename.luac
core debug: no meta reader modules matched
core debug: `dshow://' successfully opened
core debug: Buffering 0%
core debug: Buffering 0%
core debug: reusing audio output
directsound debug: Opening DirectSound Audio Output
core debug: Buffering 3%
core debug: Buffering 6%
core debug: Buffering 9%
core debug: Buffering 13%
core debug: Buffering 15%
core debug: looking for text renderer module matching "any": 2 candidates
core debug: Buffering 16%
freetype debug: Using Arial as font from file C:\WINDOWS\Fonts\arial.ttf
freetype debug: Using Courier New as mono-font from file C:\WINDOWS\Fonts\cour.ttf
core debug: Buffering 19%
core debug: Buffering 23%
core debug: Buffering 25%
core debug: Buffering 26%
core debug: Buffering 29%
core debug: Buffering 33%
core debug: Buffering 33%
core debug: Buffering 36%
core debug: Buffering 38%
core debug: Buffering 40%
core debug: Buffering 43%
freetype debug: using fontsize: 2
core debug: using text renderer module "freetype"
core debug: looking for video filter2 module matching "any": 58 candidates
core debug: Buffering 46%
swscale debug: 32x32 (32x32) chroma: YUVA -> 16x16 (16x16) chroma: RGBA with scaling using Bicubic (good quality)
core debug: using video filter2 module "swscale"
core debug: looking for video filter2 module matching "any": 58 candidates
core debug: Buffering 48%
core debug: Buffering 49%
yuvp debug: YUVP to YUVA converter
core debug: using video filter2 module "yuvp"
core debug: Deinterlacing available
core debug: deinterlace 0, mode blend, is_needed 0
core debug: Opening vout display wrapper
core debug: Buffering 53%
core debug: looking for vout display module matching "any": 11 candidates
core debug: Buffering 56%
direct3d warning: cannot load Direct3D Shader Library; HLSL pixel shading will be disabled.
direct3d debug: creating Vout EventThread
direct3d debug: Win32VoutCreateWindow
core debug: looking for vout window hwnd module matching "qt4,any": 3 candidates
qt4 debug: requesting video window...
core debug: Buffering 58%
core debug: Buffering 60%
core debug: Buffering 63%
qt4 debug: Video was requested 0, 0
core debug: Buffering 66%
core debug: Buffering 69%
core debug: Buffering 69%
directsound debug: Windows speaker config: Stereo and stream has 2 channels, using 2 channels
core debug: Buffering 71%
core debug: Buffering 73%
core debug: using vout window hwnd module "qt4"
core debug: Buffering 76%
direct3d debug: created video sub-window
direct3d debug: Vout EventThread running
direct3d debug: disabling screen saver
direct3d debug: Direct3d Device: Intel(R) HD Graphics 4000 32902 358 9
core debug: Buffering 79%
core debug: Buffering 82%
core debug: Buffering 83%
core debug: VoutDisplayEvent 'resize' 736x579 window
core debug: Buffering 86%
direct3d warning: trying surface pixel format: YUY2
direct3d debug: selected surface pixel format is YUY2
direct3d debug: Using D3DTEXF_LINEAR for minification
direct3d debug: Using D3DTEXF_LINEAR for magnification
direct3d debug: Direct3D scene created successfully
direct3d warning: Direct3D shaders initialization failed !
direct3d debug: Direct3D device adapter successfully initialized
core debug: using vout display module "direct3d"
core debug: original format sz 720x480, of (0,0), vsz 720x480, 4cc YUY2, sar 8:9, msk r0x0 g0x0 b0x0
core debug: removing module "freetype"
core debug: looking for text renderer module matching "any": 2 candidates
core debug: Buffering 89%
core debug: VoutDisplayEvent 'resize' 720x540 window
freetype debug: Using Arial as font from file C:\WINDOWS\Fonts\arial.ttf
freetype debug: Using Courier New as mono-font from file C:\WINDOWS\Fonts\cour.ttf
freetype debug: using fontsize: 2
core debug: using text renderer module "freetype"
core debug: Buffering 91%
core debug: End of video preroll
core debug: Received first picture
core debug: Buffering 93%
core debug: output 'f32l' 44100 Hz Stereo frame=1 samples/8 bytes
core debug: looking for audio volume module matching "any": 2 candidates
core debug: using audio volume module "float_mixer"
core debug: input 's16l' 44100 Hz Stereo frame=1 samples/4 bytes
core debug: Buffering 96%
core debug: looking for audio filter module matching "scaletempo": 14 candidates
scaletempo debug: format: 44100 rate, 2 nch, 4 bps, fl32
scaletempo debug: params: 30 stride, 0.200 overlap, 14 search
scaletempo debug: 1.000 scale, 1323.000 stride_in, 1323 stride_out, 1059 standing, 264 overlap, 617 search, 2204 queue, fl32 mode
core debug: using audio filter module "scaletempo"
core debug: conversion: 's16l'->'f32l' 44100 Hz->44100 Hz Stereo->Stereo
core debug: looking for audio converter module matching "any": 12 candidates
core debug: Buffering 99%
core debug: Stream buffering done (309 ms in 305 ms)
audio_format debug: s16l->f32l, bits per sample: 16->32
core debug: using audio converter module "audio_format"
core debug: conversion pipeline complete
core debug: conversion: 'f32l'->'f32l' 44100 Hz->44100 Hz Stereo->Stereo
core debug: conversion pipeline complete
core debug: looking for audio resampler module matching "any": 3 candidates
core debug: using audio resampler module "samplerate"
core debug: End of audio preroll
core debug: Decoder wait done in 122 ms
core warning: picture is too late to be displayed (missing 37 ms)
core debug: picture might be displayed late (missing 7 ms)
core debug: picture might be displayed late (missing 7 ms)
core warning: buffer too late (-764322 us): dropped
core warning: buffer too late (-744316 us): dropped
core warning: buffer too late (-734305 us): dropped
core warning: buffer too late (-724101 us): dropped
core warning: buffer too late (-714091 us): dropped
core warning: buffer too late (-704056 us): dropped
core warning: buffer too late (-694016 us): dropped
core warning: buffer too late (-684103 us): dropped
core warning: buffer too late (-237018 us): dropped
core warning: buffer too late (-226721 us): dropped
core warning: buffer too late (-217003 us): dropped
core warning: buffer too late (-216988 us): dropped
core warning: buffer too late (-207012 us): dropped
core warning: buffer too late (-196662 us): dropped
core warning: buffer too late (-186826 us): dropped
core warning: buffer too late (-176915 us): dropped
core warning: buffer too late (-166742 us): dropped
core warning: buffer too late (-156771 us): dropped
core warning: buffer too late (-147014 us): dropped
core warning: buffer too late (-136613 us): dropped
core warning: buffer too late (-127023 us): dropped
core warning: buffer too late (-117041 us): dropped
core warning: buffer too late (-107031 us): dropped
core warning: buffer too late (-107011 us): dropped
core warning: buffer too late (-96761 us): dropped
core warning: buffer too late (-86720 us): dropped
core warning: buffer too late (-77034 us): dropped
core warning: buffer too late (-66730 us): dropped
core error: ES_OUT_SET_(GROUP_)PCR is called too late (pts_delay increased to 300 ms)
core error: ES_OUT_RESET_PCR called
core warning: early picture skipped
rawvideo warning: invalid frame size (128
core debug: Buffering 0%
core debug: Buffering 0%
core debug: End of audio preroll
core debug: Buffering 0%
core debug: Buffering 0%
core debug: Buffering 0%
core debug: Buffering 0%
core debug: Buffering 0%
core debug: Buffering 0%
core debug: Buffering 0%
core debug: Buffering 0%
core debug: End of video preroll
core debug: Received first picture
core debug: Stream buffering done (810 ms in 5 ms)
core debug: Decoder wait done in 0 ms
core warning: buffer too late (-62961 us): dropped
core warning: buffer too late (-72993 us): dropped
core warning: buffer too late (-73008 us): dropped
core warning: playback way too early (-150177): playing silence
core debug: inserting 6622 zeroes
core warning: playback too late (60117): up-sampling
core warning: timing screwed (drift: 120964 us): stopping resampling
core debug: picture might be displayed late (missing 2 ms)
core warning: playback too late (118971): up-sampling
core debug: auto hiding mouse cursor
core warning: playback way too late (188424): flushing buffers
core warning: playback way too early (-269156): playing silence
core debug: inserting 11869 zeroes
core warning: playback too late (60686): up-sampling
core debug: picture might be displayed late (missing 7 ms)
core warning: timing screwed (drift: 128414 us): stopping resampling
core warning: playback too late (127545): up-sampling
core warning: playback way too late (185556): flushing buffers
core warning: playback way too early (-270534): playing silence
core debug: inserting 11930 zeroes
core debug: auto hiding mouse cursor
core warning: playback too late (61608): up-sampling
core warning: timing screwed (drift: 128942 us): stopping resampling
core warning: playback too late (129003): up-sampling
core debug: incoming request - stopping current input
core debug: control: stopping input
core debug: incoming request - stopping current input
core debug: finished input
core debug: removing module "rawvideo"
core debug: killing decoder fourcc `YUY2', 0 PES in FIFO
core debug: saving a free vout
core debug: reusing provided vout
qt4 debug: Qt: Fullscreen state changed
core debug: removing module "araw"
core debug: killing decoder fourcc `s16l', 0 PES in FIFO
core debug: removing module "samplerate"
core debug: removing module "audio_format"
core debug: removing module "scaletempo"
directsound debug: closing audio device
core debug: removing module "float_mixer"
core debug: keeping audio output
core debug: removing module "dshow"
filter debug: CaptureFilter::Pause
filter debug: CaptureFilter::Pause
filter debug: CaptureFilter::Stop
filter debug: CapturePin::EndFlush
filter debug: CaptureFilter::Stop
filter debug: CapturePin::EndFlush
dshow debug: releasing DirectShow
dshow debug: DeleteDirectShowGraph: Removing filters
dshow debug: DeleteDirectShowGraph: Removing capture filter
filter debug: CaptureFilter::EnumPins
filter debug: CapturePin::QueryDirection
filter debug: CapturePin::ConnectedTo [OK]
filter debug: CapturePin::Disconnect [OK]
filter debug: CaptureFilter::SetSyncSource
filter debug: CaptureFilter::JoinFilterGraph
filter debug: CaptureFilter::GetState 0
dshow debug: DeleteDirectShowGraph: Removing device filter
dshow debug: DeleteDirectShowGraph: Removing capture filter
filter debug: CaptureFilter::EnumPins
filter debug: CapturePin::QueryDirection
filter debug: CapturePin::ConnectedTo [OK]
filter debug: CapturePin::Disconnect [OK]
filter debug: CaptureFilter::SetSyncSource
filter debug: CaptureFilter::JoinFilterGraph
filter debug: CaptureFilter::GetState 0
dshow debug: DeleteDirectShowGraph: Removing device filter
core debug: Program doesn't contain anymore ES
core debug: incoming request - stopping current input
core debug: dead input
core debug: destroying useless vout
core debug: removing module "direct3d"
direct3d debug: Direct3D scene released successfully
direct3d debug: Win32 Vout EventThread terminating
direct3d debug: Win32VoutCloseWindow
direct3d debug: WinProc WM_DESTROY
qt4 debug: releasing video...
qt4 debug: IM: Deleting the input
qt4 debug: Video is not needed anymore
core debug: removing module "freetype"
core debug: removing module "yuvp"
core debug: removing module "swscale"
I would like to set the codec settings directly in the parameters so that I do not have to display the codec settings screen. Using FFMPEG you can set these settings as follows:

Code: Select all

ffmpeg -framerate 25 -vsync 1 -video_size 720x576 -f dshow -rtbufsize 250000k -crossbar_video_input_pin_number 0 -crossbar_audio_input_pin_number 2 -i video="Conexant Polaris Video Capture":audio="Conexant Polaris Video Capture" -t 4:10:00 -vf "fps=25,yadif=0:0:0,crop=w=702:h=576,hqdn3d=6:4:14:10,scale=640x480" -c:v libx264 -preset medium -tune film -profile:v main -level 3.1 -pix_fmt yuv420p -crf 25 -maxrate 1750k -bufsize 3500k -af "aresample=async=1000,highpass=200,lowpass=3500" -c:a aac -b:a 96k -strict -2 -r 25 -f tee -map 0:v -map 0:a "out.m4v|[f=mpegts]udp://localhost:10001"
Is it possible to use these same FFMPEG settings in VLC, so I do not have to set it on the codec settings screen?

mederi
Big Cone-huna
Big Cone-huna
Posts: 1951
Joined: 15 Mar 2011 16:38
VLC version: 2.0.8
Operating System: Windows Vista/XP

Re: How to define the device settings in the parameters?

Postby mederi » 26 Jul 2017 12:56

Then try to save the playing media in VLC as a playlist file (Media > Save Playlist to File... > XSPF/M3U). It should contain appropriate options.

rafaeldl
New Cone
New Cone
Posts: 2
Joined: 25 Jul 2017 14:42

Re: How to define the device settings in the parameters?

Postby rafaeldl » 26 Jul 2017 15:49

Hi mederi,

The playlist contain only vlc video config, not device settings... Thank you anyway!

XSPF file:

Code: Select all

<?xml version="1.0" encoding="UTF-8"?> <playlist xmlns="http://xspf.org/ns/0/" xmlns:vlc="http://www.videolan.org/vlc/playlist/ns/0/" version="1"> <title>Lista de reprodução</title> <trackList> <track> <location>dshow://</location> <extension application="http://www.videolan.org/vlc/playlist/0"> <vlc:id>0</vlc:id> <vlc:option>dshow-vdev=Conexant Polaris Video Capture</vlc:option> <vlc:option>dshow-adev=Conexant Polaris Audio Capture</vlc:option> <vlc:option>dshow-aspect-ratio=4:3</vlc:option> <vlc:option>dshow-chroma=</vlc:option> <vlc:option>dshow-fps=0</vlc:option> <vlc:option>dshow-config</vlc:option> <vlc:option>no-dshow-tuner</vlc:option> <vlc:option>dshow-tuner-channel=0</vlc:option> <vlc:option>dshow-tuner-frequency=0</vlc:option> <vlc:option>dshow-tuner-country=0</vlc:option> <vlc:option>dshow-tuner-standard=0</vlc:option> <vlc:option>dshow-tuner-input=0</vlc:option> <vlc:option>dshow-video-input=-1</vlc:option> <vlc:option>dshow-video-output=-1</vlc:option> <vlc:option>dshow-audio-input=-1</vlc:option> <vlc:option>dshow-audio-output=-1</vlc:option> <vlc:option>dshow-amtuner-mode=1</vlc:option> <vlc:option>dshow-audio-channels=0</vlc:option> <vlc:option>dshow-audio-samplerate=0</vlc:option> <vlc:option>dshow-audio-bitspersample=0</vlc:option> <vlc:option>live-caching=300</vlc:option> </extension> </track> </trackList> <extension application="http://www.videolan.org/vlc/playlist/0"> <vlc:item tid="0"/> </extension> </playlist>

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: How to define the device settings in the parameters?

Postby Jean-Baptiste Kempf » 26 Jul 2017 17:26

Use "" around the device name!
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.

binaryz3r0
New Cone
New Cone
Posts: 1
Joined: 21 Nov 2018 23:46

Re: How to define the device settings in the parameters?

Postby binaryz3r0 » 21 Nov 2018 23:49

Hello,

I am having the exact same problem with the exact same capture card. I just can't figure a way of bypass the settings of the adapter. Have you ever found the solution to this?

Kind regards,
Pedro


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 9 guests