V4L2 rawvideo invalid frame size
I've analog TV card which works fine with MPlayer, but it doesn't work with VLC.
$ v4l2-ctl --all
Driver Info (not using libv4l2):
Driver name : saa7134
Card type : AOPEN VA1000 POWER
Bus info : PCI:0000:09:06.0
Driver version: 4.0.6
Capabilities : 0x85250015
Video Capture
Video Overlay
VBI Capture
Tuner
Radio
Read/Write
Streaming
Extended Pix Format
Device Capabilities
Device Caps : 0x05210005
Video Capture
Video Overlay
Tuner
Read/Write
Streaming
Extended Pix Format
Priority: 2
Frequency for tuner 0: 6400 (400.000000 MHz)
Tuner 0:
Name : Television
Capabilities : 62.5 kHz multi-standard stereo lang1 lang2 freq-bands
Frequency range : 44.000 MHz - 958.000 MHz
Signal strength/AFC : 100%/0
Current audio mode : mono
Available subchannels: mono
Video input : 1 (Composite1: ok)
Video Standard = 0x000000ff
PAL-B/B1/G/H/I/D/D1/K
Format Video Capture:
Width/Height : 640/480
Pixel Format : 'YU12'
Field : Interlaced
Bytes per Line: 960
Size Image : 460800
Colorspace : Broadcast NTSC/PAL (SMPTE170M/ITU601)
Flags :
Format Video Overlay:
Left/Top : 0/0
Width/Height: 720/576
Field : Interlaced
Chroma Key : 0x00000000
Global Alpha: 0x00
Clip Count : 0
Clip Bitmap : No
Framebuffer Format:
Capability : Clipping List
Flags :
Width : 720
Height : 576
Pixel Format : 'BGR3'
Bytes per Line: 0
Size image : 0
Colorspace : Broadcast NTSC/PAL (SMPTE170M/ITU601)
Crop Capability Video Capture:
Bounds : Left 0, Top 48, Width 720, Height 576
Default : Left 0, Top 48, Width 720, Height 576
Pixel Aspect: 54/59
Crop: Left 0, Top 48, Width 720, Height 576
Streaming Parameters Video Capture:
Frames per second: 25.000 (25/1)
Read buffers : 2
Using this command with MPlayer
$ mplayer tv:// -tv driver=v4l2:input=1:device=/dev/video0:alsa:adevice=sysdefault.CARD=SAA7134:immediatemode=0
...
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
Movie-Aspect is undefined - no prescaling applied.
VO: [vdpau] 640x480 => 640x480 Planar YV12
Selected video codec: [rawyv12] vfm: raw (RAW YV12)
==========================================================================
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 44100 Hz, 1 ch, s16le, 705.6 kbit/100.00% (ratio: 88200->88200)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
...
with libav also works
$ avconv -f video4linux2 -channel 1 -i /dev/video0 -f alsa -sample_rate 8000 -i "sysdefault:CARD=SAA7134" video.mkv
...
Input [#0](https://code.videolan.org/videolan/vlc/-/issues/0), video4linux2, from '/dev/video0':
Duration: N/A, start: 17182.979834, bitrate: 92160 kb/s
Stream [#0](https://code.videolan.org/videolan/vlc/-/issues/0).0: Video: rawvideo, yuv420p, 640x480, 92160 kb/s, 25 fps, 1000k tbn
[alsa @ 0xbb22e0] capture with some ALSA plugins, especially dsnoop, may hang.
[alsa @ 0xbb22e0] Estimating duration from bitrate, this may be inaccurate
Guessed Channel Layout for Input Stream [#1](https://code.videolan.org/videolan/vlc/-/issues/1).0 : stereo
Input [#1](https://code.videolan.org/videolan/vlc/-/issues/1), alsa, from 'sysdefault:CARD=SAA7134':
Duration: N/A, start: 17182.992968, bitrate: N/A
Stream [#1](https://code.videolan.org/videolan/vlc/-/issues/1).0: Audio: pcm_s16le, 8000 Hz, 2 channels, s16, 256 kb/s
...
but with VLC I get only sound and black screen
$ vlc v4l2:// :v4l2-dev="/dev/video0" :v4l2-input=1 :input-slave=alsa://sysdefault:CARD=SAA7134 -vvv
VLC media player 2.2.1 Terry Pratchett (Weatherwax) (revision 2.2.1-0-ga425c42)
[0000000000c4b118] core libvlc debug: VLC media player - 2.2.1 Terry Pratchett (Weatherwax)
[0000000000c4b118] core libvlc debug: Copyright © 1996-2015 the VideoLAN team
[0000000000c4b118] core libvlc debug: revision 2.2.1-0-ga425c42
[0000000000c4b118] core libvlc debug: configured with ./configure '--prefix=/usr' '--sysconfdir=/etc' '--disable-rpath' '--enable-faad' '--enable-nls' '--enable-lirc' '--enable-ncurses' '--enable-realrtsp' '--enable-aa' '--enable-vcdx' '--enable-upnp' '--enable-opus' '--enable-sftp' 'LUAC=/usr/bin/luac' 'LUA_LIBS=-llua -lm ' 'RCC=/usr/bin/rcc-qt4' 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -I/usr/include/samba-4.0' 'LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro' 'CPPFLAGS=-D_FORTIFY_SOURCE=2 -I/usr/include/samba-4.0' 'CXXFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4'
[0000000000c4b118] core libvlc debug: searching plug-in modules
[0000000000c4b118] core libvlc debug: loading plugins cache file /usr/lib/vlc/plugins/plugins.dat
[0000000000c4b118] core libvlc debug: recursively browsing `/usr/lib/vlc/plugins'
[0000000000c4b118] core libvlc warning: cannot load module `/usr/lib/vlc/plugins/access/libvcdx_plugin.so' (libvcdinfo.so.0: cannot open shared object file: No such file or directory)
[0000000000c4b118] core libvlc warning: cannot load module `/usr/lib/vlc/plugins/access/libgnomevfs_plugin.so' (libgnomevfs-2.so.0: cannot open shared object file: No such file or directory)
[0000000000c4b118] core libvlc debug: saving plugins cache /usr/lib/vlc/plugins/plugins.dat
[0000000000c4b118] core libvlc debug: plug-ins loaded: 461 modules
[0000000000c4b118] core libvlc debug: opening config file (/home/Davis/.config/vlc/vlcrc)
[0000000000c4b118] core libvlc debug: translation test: code is "lv"
[0000000000c4b118] core libvlc debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 SSE4A AVX XOP FMA4 FPU
[0000000000d782d8] core input debug: Creating an input for 'Mediju bibliotēka'
[0000000000d782d8] core input debug: Input is a meta file: disabling unneeded options
[0000000000d782d8] core input debug: using timeshift granularity of 50 MiB, in path '/tmp'
[0000000000d782d8] core input debug: `file/xspf-open:///home/Davis/.local/share/vlc/ml.xspf' gives access `file' demux `xspf-open' path `/home/Davis/.local/share/vlc/ml.xspf'
[0000000000d782d8] core input debug: creating demux: access='file' demux='xspf-open' location='/home/Davis/.local/share/vlc/ml.xspf' file='/home/Davis/.local/share/vlc/ml.xspf'
[0000000000d7e668] core demux debug: looking for access_demux module matching "file": 20 candidates
[0000000000d7e668] core demux debug: no access_demux modules matched
[0000000000d782d8] core input debug: creating access 'file' location='/home/Davis/.local/share/vlc/ml.xspf', path='/home/Davis/.local/share/vlc/ml.xspf'
[0000000000d7e668] core access debug: looking for access module matching "file": 24 candidates
[0000000000d7e668] filesystem access debug: opening file `/home/Davis/.local/share/vlc/ml.xspf'
[0000000000d7e668] core access debug: using access module "filesystem"
[0000000000d835f8] core stream debug: Using stream method for AStream*
[0000000000d835f8] core stream debug: starting pre-buffering
[0000000000d835f8] core stream debug: received first data after 0 ms
[0000000000d835f8] core stream debug: pre-buffering done 301 bytes in 0s - 12780 KiB/s
[0000000000d83858] core stream debug: looking for stream_filter module matching "any": 9 candidates
[0000000000d83858] core stream debug: no stream_filter modules matched
[0000000000d83858] core stream debug: looking for stream_filter module matching "record": 9 candidates
[0000000000d83858] core stream debug: using stream_filter module "record"
[0000000000d782d8] core input debug: creating demux: access='file' demux='xspf-open' location='/home/Davis/.local/share/vlc/ml.xspf' file='/home/Davis/.local/share/vlc/ml.xspf'
[0000000000d87988] core demux debug: looking for demux module matching "xspf-open": 65 candidates
[0000000000d87988] xspf demux debug: using XSPF playlist reader
[0000000000d87988] core demux debug: using demux module "playlist"
[0000000000d87c28] core demux meta debug: looking for meta reader module matching "any": 2 candidates
[0000000000d87c28] lua demux meta debug: Trying Lua scripts in /home/Davis/.local/share/vlc/lua/meta/reader
[0000000000d87c28] lua demux meta debug: Trying Lua scripts in /usr/lib/vlc/lua/meta/reader
[0000000000d87c28] lua demux meta debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/reader/filename.luac
[0000000000d87c28] lua demux meta debug: Trying Lua scripts in /usr/share/vlc/lua/meta/reader
[0000000000d87c28] core demux meta debug: no meta reader modules matched
[0000000000d782d8] core input debug: `file/xspf-open:///home/Davis/.local/share/vlc/ml.xspf' successfully opened
[0000000000d9b218] core xml reader debug: looking for xml reader module matching "any": 1 candidates
[0000000000d9b218] core xml reader debug: using xml reader module "xml"
[0000000000d87988] xspf demux debug: parsed 0 tracks successfully
[0000000000d782d8] core input debug: EOF reached
[0000000000d87988] core demux debug: removing module "playlist"
[0000000000d83858] core stream debug: removing module "record"
[0000000000d7e668] core access debug: removing module "filesystem"
[0000000000d75c88] core playlist debug: creating audio output
[0000000000d835f8] core audio output debug: looking for audio output module matching "any": 6 candidates
[0000000000d835f8] pulse audio output debug: using library version 6.0.0
[0000000000d835f8] pulse audio output debug: (compiled with version 6.0.0, protocol 30)
[0000000000d835f8] pulse audio output debug: connected locally to unix:/run/user/1000/pulse/native as client [#112](https://code.videolan.org/videolan/vlc/-/issues/112)
[0000000000d835f8] pulse audio output debug: using protocol 30, server protocol 30
[0000000000d835f8] pulse audio output debug: adding sink 0: alsa_output.pci-0000_01_00.1.hdmi-stereo (GK106 HDMI Audio Controller Digital Stereo (HDMI))
[0000000000d835f8] pulse audio output debug: adding sink 2: alsa_output.pci-0000_00_14.2.analog-stereo (Built-in Audio Analog Stereo)
[0000000000d835f8] core audio output debug: using audio output module "pulse"
[0000000000d75c88] core playlist debug: keeping audio output
[0000000000d75c88] core playlist debug: adding item `v4l2://' ( v4l2:// )
[0000000000d75c88] core playlist debug: meta ok for (null), need to fetch art
[0000000000d989d8] core interface debug: looking for interface module matching "hotkeys,none": 19 candidates
[0000000000d989d8] core interface debug: using interface module "hotkeys"
[00007f3c24000bc8] core art finder debug: looking for meta fetcher module matching "any": 1 candidates
[0000000000d9d8d8] core interface debug: looking for interface module matching "globalhotkeys,none": 19 candidates
[0000000000d9d8d8] core interface debug: using interface module "xcb_hotkeys"
[0000000000d9e908] core interface debug: looking for interface module matching "dbus,none": 19 candidates
[0000000000d9e908] dbus interface debug: listening on dbus as: org.mpris.MediaPlayer2.vlc
[0000000000d9e908] core interface debug: using interface module "dbus"
[0000000000da25a8] core interface debug: looking for interface module matching "qt4": 19 candidates
[00007f3c24000bc8] lua art finder debug: Trying Lua scripts in /home/Davis/.local/share/vlc/lua/meta/fetcher
[00007f3c24000bc8] lua art finder debug: Trying Lua scripts in /usr/lib/vlc/lua/meta/fetcher
[00007f3c24000bc8] lua art finder debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/fetcher/tvrage.luac
[0000000000d9e908] dbus interface debug: Getting All properties
[0000000000d9e908] dbus interface debug: Getting All properties
[00007f3c24000bc8] lua art finder debug: skipping script (unmatched scope) /usr/lib/vlc/lua/meta/fetcher/tvrage.luac
[00007f3c24000bc8] lua art finder debug: Trying Lua scripts in /usr/share/vlc/lua/meta/fetcher
[00007f3c24000bc8] core art finder debug: no meta fetcher modules matched
[0000000000d75c88] core playlist debug: searching art for v4l2://
[00007f3c24000bc8] core art finder debug: looking for art finder module matching "any": 2 candidates
[00007f3c24000bc8] lua art finder debug: Trying Lua scripts in /home/Davis/.local/share/vlc/lua/meta/art
[00007f3c24000bc8] lua art finder debug: Trying Lua scripts in /usr/lib/vlc/lua/meta/art
[00007f3c24000bc8] lua art finder debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/art/00_musicbrainz.luac
[00007f3c24000bc8] lua art finder debug: skipping script (unmatched scope) /usr/lib/vlc/lua/meta/art/00_musicbrainz.luac
[00007f3c24000bc8] lua art finder debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/art/01_googleimage.luac
[00007f3c24000bc8] lua art finder debug: skipping script (unmatched scope) /usr/lib/vlc/lua/meta/art/01_googleimage.luac
[00007f3c24000bc8] lua art finder debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/art/02_frenchtv.luac
[00007f3c24000bc8] lua art finder debug: skipping script (unmatched scope) /usr/lib/vlc/lua/meta/art/02_frenchtv.luac
[00007f3c24000bc8] lua art finder debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/art/03_lastfm.luac
[00007f3c24000bc8] lua art finder debug: skipping script (unmatched scope) /usr/lib/vlc/lua/meta/art/03_lastfm.luac
[00007f3c24000bc8] lua art finder debug: Trying Lua scripts in /usr/share/vlc/lua/meta/art
[00007f3c24000bc8] core art finder debug: no art finder modules matched
[00007f3c24000bc8] core art finder debug: looking for meta fetcher module matching "any": 1 candidates
[00007f3c24000bc8] lua art finder debug: Trying Lua scripts in /home/Davis/.local/share/vlc/lua/meta/fetcher
[00007f3c24000bc8] lua art finder debug: Trying Lua scripts in /usr/lib/vlc/lua/meta/fetcher
[00007f3c24000bc8] lua art finder debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/fetcher/tvrage.luac
[00007f3c24000bc8] core art finder debug: using meta fetcher module "lua"
[00007f3c24000bc8] core art finder debug: removing module "lua"
[0000000000d75c88] core playlist debug: searching art for v4l2://
[00007f3c24000bc8] core art finder debug: looking for art finder module matching "any": 2 candidates
[00007f3c24000bc8] lua art finder debug: Trying Lua scripts in /home/Davis/.local/share/vlc/lua/meta/art
[00007f3c24000bc8] lua art finder debug: Trying Lua scripts in /usr/lib/vlc/lua/meta/art
[00007f3c24000bc8] lua art finder debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/art/00_musicbrainz.luac
[00007f3c24000bc8] lua art finder debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/art/01_googleimage.luac
[00007f3c24000bc8] lua art finder debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/art/02_frenchtv.luac
[00007f3c24000bc8] lua art finder debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/art/03_lastfm.luac
[00007f3c24000bc8] lua art finder debug: Trying Lua scripts in /usr/share/vlc/lua/meta/art
[00007f3c24000bc8] core art finder debug: no art finder modules matched
[0000000000d75c88] core playlist debug: art not found for v4l2://
[00007f3c181c6658] core generic debug: looking for extension module matching "any": 1 candidates
[00007f3c181c6658] lua generic debug: Opening Lua Extension module
[00007f3c181c6658] lua generic debug: Trying Lua scripts in /home/Davis/.local/share/vlc/lua/extensions
[00007f3c181c6658] lua generic debug: Trying Lua scripts in /usr/lib/vlc/lua/extensions
[00007f3c181c6658] lua generic debug: Trying Lua playlist script /usr/lib/vlc/lua/extensions/VLSub.luac
[00007f3c181c6658] lua generic debug: Scanning Lua script /usr/lib/vlc/lua/extensions/VLSub.luac
[00007f3c181c6658] lua generic debug: Script /usr/lib/vlc/lua/extensions/VLSub.luac has the following capability flags: 0x5
[00007f3c181c6658] lua generic debug: Trying Lua scripts in /usr/share/vlc/lua/extensions
[00007f3c181c6658] core generic debug: using extension module "lua"
[0000000000da25a8] core interface debug: using interface module "qt4"
[0000000000d75c88] core playlist debug: processing request item: null, node: Atskaņošanas saraksts, skip: 0
[0000000000d75c88] core playlist debug: rebuilding array of current - root Atskaņošanas saraksts
[0000000000d75c88] core playlist debug: rebuild done - 1 items, index -1
[0000000000d75c88] core playlist debug: starting playback of the new playlist item
[0000000000d75c88] core playlist debug: resyncing on v4l2://
[0000000000d75c88] core playlist debug: v4l2:// is at 0
[0000000000d75c88] core playlist debug: creating new input thread
[00007f3c24000bc8] core input debug: Creating an input for 'v4l2://'
[0000000000d75c88] core playlist debug: requesting art for v4l2://
[00007f3c0c000958] core art finder debug: looking for meta fetcher module matching "any": 1 candidates
[00007f3c24000bc8] core input debug: using timeshift granularity of 50 MiB, in path '/tmp'
[00007f3c24000bc8] core input debug: `v4l2://' gives access `v4l2' demux `' path `'
[00007f3c24000bc8] core input debug: specified demux `any'
[00007f3c24000bc8] core input debug: creating demux: access='v4l2' demux='any' location='' file='(null)'
[00007f3c04000e28] core demux debug: looking for access_demux module matching "v4l2": 20 candidates
[00007f3c04000e28] v4l2 demux debug: opening device '/dev/video0'
[00007f3c04000e28] v4l2 demux debug: device AOPEN VA1000 POWER using driver saa7134 (version 4.0.6) on PCI:0000:09:06.0
[00007f3c04000e28] v4l2 demux debug: with capabilities 0x05210005 (overall 0x85250015)
[00007f3c04000e28] v4l2 demux debug: video input Composite1 (1) is camera
[00007f3c04000e28] v4l2 demux debug: selected input 1
[00007f3c04000e28] v4l2 demux warning: video standard not set
[00007f3c04000e28] v4l2 demux debug: no tuning required (analog baseband input)
[00007f3c04000e28] v4l2 demux debug: no audio input available
[00007f3c04000e28] v4l2 demux debug: supports raw format GREY (GREY): 8 bpp gray
[00007f3c04000e28] v4l2 demux debug: supports raw format RGBO (RV15): 15 bpp RGB, le
[00007f3c04000e28] v4l2 demux debug: supports raw format RGBQ (N.A.): 15 bpp RGB, be
[00007f3c04000e28] v4l2 demux debug: supports raw format RGBP (RV16): 16 bpp RGB, le
[00007f3c04000e28] v4l2 demux debug: supports raw format RGBR (N.A.): 16 bpp RGB, be
[00007f3c04000e28] v4l2 demux debug: supports raw format BGR3 (RV24): 24 bpp RGB, le
[00007f3c04000e28] v4l2 demux debug: supports raw format RGB3 (RV24): 24 bpp RGB, be
[00007f3c04000e28] v4l2 demux debug: supports raw format BGR4 (RV32): 32 bpp RGB, le
[00007f3c04000e28] v4l2 demux debug: supports raw format RGB4 (RV32): 32 bpp RGB, be
[00007f3c04000e28] v4l2 demux debug: supports raw format YUYV (YUY2): 4:2:2 packed, YUYV
[00007f3c04000e28] v4l2 demux debug: supports raw format UYVY (UYVY): 4:2:2 packed, UYVY
[00007f3c04000e28] v4l2 demux debug: supports raw format 422P (I422): 4:2:2 planar, Y-Cb-Cr
[00007f3c04000e28] v4l2 demux debug: supports raw format YU12 (I420): 4:2:0 planar, Y-Cb-Cr
[00007f3c04000e28] v4l2 demux debug: supports raw format YV12 (YV12): 4:2:0 planar, Y-Cb-Cr
[00007f3c04000e28] v4l2 demux debug: selected format YU12 (I420)
[00007f3c04000e28] v4l2 demux debug: requested frame internal: 1/60
[00007f3c04000e28] v4l2 demux debug: unknown frame sizes: Invalid argument
[00007f3c04000e28] v4l2 demux debug: current frame size: 640x480
[00007f3c04000e28] v4l2 demux debug: unknown frame intervals: Inappropriate ioctl for device
[00007f3c04000e28] v4l2 demux debug: constant frame interval: 1/25
[00007f3c04000e28] v4l2 demux warning: cannot set streaming parameters: Inappropriate ioctl for device
[00007f3c04000e28] v4l2 demux debug: 460800 bytes maximum for complete image
[00007f3c04000e28] v4l2 demux debug: Interlacing setting: interleaved
[00007f3c04000e28] v4l2 demux debug: added new video ES I420 960x480
[00007f3c04000e28] v4l2 demux debug: frame rate: 25/1
[00007f3c04000e28] v4l2 demux debug: aspect ratio: 54/59
[00007f3c24000bc8] core input debug: selecting program id=0
[00007f3c0c000958] lua art finder debug: Trying Lua scripts in /home/Davis/.local/share/vlc/lua/meta/fetcher
[00007f3c0c000958] lua art finder debug: Trying Lua scripts in /usr/lib/vlc/lua/meta/fetcher
[00007f3c0c000958] lua art finder debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/fetcher/tvrage.luac
[00007f3c04000e28] v4l2 demux debug: streaming with 4 memory-mapped buffers
[00007f3c04000e28] v4l2 demux debug: control class User Controls:
[00007f3c04000e28] v4l2 demux debug: integer Brightness (00980900)
[00007f3c04000e28] v4l2 demux debug: current: 128, default: 128
[00007f3c04000e28] v4l2 demux debug: integer Contrast (00980901)
[00007f3c04000e28] v4l2 demux debug: current: 68, default: 68
[00007f3c04000e28] v4l2 demux debug: integer Saturation (00980902)
[00007f3c04000e28] v4l2 demux debug: current: 64, default: 64
[00007f3c04000e28] v4l2 demux debug: integer Hue (00980903)
[00007f3c04000e28] v4l2 demux debug: current: 0, default: 0
[00007f3c04000e28] v4l2 demux debug: integer Volume (00980905)
[00007f3c04000e28] v4l2 demux debug: current: 0, default: 0
[00007f3c04000e28] v4l2 demux debug: boolean Mute (00980909)
[00007f3c04000e28] v4l2 demux debug: current: true, default: false
[00007f3c04000e28] v4l2 demux debug: boolean Horizontal Flip (00980914)
[00007f3c04000e28] v4l2 demux debug: current: false, default: false
[00007f3c04000e28] v4l2 demux debug: boolean Invert (00981960)
[00007f3c04000e28] v4l2 demux debug: current: false, default: false
[00007f3c04000e28] v4l2 demux debug: integer Y Offset Odd Field (00981961)
[00007f3c04000e28] v4l2 demux debug: current: 0, default: 0
[00007f3c04000e28] v4l2 demux debug: integer Y Offset Even Field (00981962)
[00007f3c04000e28] v4l2 demux debug: current: 0, default: 0
[00007f3c04000e28] v4l2 demux debug: boolean Automute (00981963)
[00007f3c04000e28] v4l2 demux debug: current: true, default: true
[00007f3c04000e28] core demux debug: using access_demux module "v4l2"
[00007f3c24000bc8] core input debug: adding slave input 'alsa://sysdefault:CARD=SAA7134'
[00007f3c24000bc8] core input debug: `alsa://sysdefault:CARD=SAA7134' gives access `alsa' demux `' path `sysdefault:CARD=SAA7134'
[00007f3c24000bc8] core input debug: specified demux `any'
[00007f3c24000bc8] core input debug: creating demux: access='alsa' demux='any' location='sysdefault:CARD=SAA7134' file='(null)'
[00007f3c04008b68] core demux debug: looking for access_demux module matching "alsa": 20 candidates
[00007f3c0c000958] lua art finder debug: skipping script (unmatched scope) /usr/lib/vlc/lua/meta/fetcher/tvrage.luac
[00007f3c0c000958] lua art finder debug: Trying Lua scripts in /usr/share/vlc/lua/meta/fetcher
[00007f3c0c000958] core art finder debug: no meta fetcher modules matched
[0000000000c4b118] core libvlc debug: searching art for v4l2://
[00007f3c0c000958] core art finder debug: looking for art finder module matching "any": 2 candidates
[00007f3c0c000958] lua art finder debug: Trying Lua scripts in /home/Davis/.local/share/vlc/lua/meta/art
[00007f3c0c000958] lua art finder debug: Trying Lua scripts in /usr/lib/vlc/lua/meta/art
[00007f3c0c000958] lua art finder debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/art/00_musicbrainz.luac
[00007f3c04008b68] access_alsa demux debug: using ALSA device: sysdefault:CARD=SAA7134
[00007f3c04008b68] access_alsa demux debug: Plug PCM: Hardware PCM card 3 'SAA7134' device 0 subdevice 0
[00007f3c04008b68] access_alsa demux debug: device name : SAA7134 PCM
[00007f3c04008b68] access_alsa demux debug: device ID : SAA7134 PCM
[00007f3c04008b68] access_alsa demux debug: subdevice name: subdevice [#0](https://code.videolan.org/videolan/vlc/-/issues/0)
[00007f3c04008b68] access_alsa demux debug: initial hardware setup:
ACCESS: MMAP_INTERLEAVED MMAP_NONINTERLEAVED MMAP_COMPLEX RW_INTERLEAVED RW_NONINTERLEAVED
FORMAT: S8 U8 S16_LE S16_BE U16_LE U16_BE S24_LE S24_BE U24_LE U24_BE S32_LE S32_BE U32_LE U32_BE FLOAT_LE FLOAT_BE FLOAT64_LE FLOAT64_BE MU_LAW A_LAW IMA_ADPCM S24_3LE S24_3BE U24_3LE U24_3BE S20_3LE S20_3BE U20_3LE U20_3BE S18_3LE S18_3BE U18_3LE U18_3BE
SUBFORMAT: STD
SAMPLE_BITS: [4 64]
FRAME_BITS: [4 128]
CHANNELS: [1 2]
RATE: [4000 4294967295]
PERIOD_TIME: [500 2048000]
PERIOD_SIZE: [2 4294967295]
PERIOD_BYTES: [1 4294967295]
PERIODS: (0 2147483647]
BUFFER_TIME: [1 4294967295]
BUFFER_SIZE: [8 4294967294]
BUFFER_BYTES: [4 4294967295]
TICK_TIME: ALL
[00007f3c04008b68] access_alsa demux debug: final HW setup:
ACCESS: RW_INTERLEAVED
FORMAT: FLOAT_LE
SUBFORMAT: STD
SAMPLE_BITS: 32
FRAME_BITS: 64
CHANNELS: 2
RATE: 32000
PERIOD_TIME: 75000
PERIOD_SIZE: 2400
PERIOD_BYTES: 19200
PERIODS: 4
BUFFER_TIME: 300000
BUFFER_SIZE: 9600
BUFFER_BYTES: 76800
TICK_TIME: 0
[00007f3c04008b68] core demux debug: using access_demux module "access_alsa"
[00007f3c040559d8] core decoder debug: looking for decoder module matching "any": 44 candidates
[00007f3c0c000958] lua art finder debug: skipping script (unmatched scope) /usr/lib/vlc/lua/meta/art/00_musicbrainz.luac
[00007f3c0c000958] lua art finder debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/art/01_googleimage.luac
[00007f3c0c000958] lua art finder debug: skipping script (unmatched scope) /usr/lib/vlc/lua/meta/art/01_googleimage.luac
[00007f3c0c000958] lua art finder debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/art/02_frenchtv.luac
[0000000000da25a8] qt4 interface debug: IM: Setting an input
[00007f3c0c000958] lua art finder debug: skipping script (unmatched scope) /usr/lib/vlc/lua/meta/art/02_frenchtv.luac
[00007f3c0c000958] lua art finder debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/art/03_lastfm.luac
[00007f3c0c000958] lua art finder debug: skipping script (unmatched scope) /usr/lib/vlc/lua/meta/art/03_lastfm.luac
[00007f3c0c000958] lua art finder debug: Trying Lua scripts in /usr/share/vlc/lua/meta/art
[00007f3c0c000958] core art finder debug: no art finder modules matched
[00007f3c0c000958] core art finder debug: looking for meta fetcher module matching "any": 1 candidates
[00007f3c0c000958] lua art finder debug: Trying Lua scripts in /home/Davis/.local/share/vlc/lua/meta/fetcher
[00007f3c0c000958] lua art finder debug: Trying Lua scripts in /usr/lib/vlc/lua/meta/fetcher
[00007f3c0c000958] lua art finder debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/fetcher/tvrage.luac
[00007f3c0c000958] core art finder debug: using meta fetcher module "lua"
[00007f3c0c000958] core art finder debug: removing module "lua"
[0000000000c4b118] core libvlc debug: searching art for v4l2://
[00007f3c0c000958] core art finder debug: looking for art finder module matching "any": 2 candidates
[00007f3c0c000958] lua art finder debug: Trying Lua scripts in /home/Davis/.local/share/vlc/lua/meta/art
[00007f3c0c000958] lua art finder debug: Trying Lua scripts in /usr/lib/vlc/lua/meta/art
[00007f3c0c000958] lua art finder debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/art/00_musicbrainz.luac
[00007f3c0c000958] lua art finder debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/art/01_googleimage.luac
[00007f3c040559d8] core decoder debug: using decoder module "rawvideo"
[00007f3c041b3408] core decoder debug: looking for decoder module matching "any": 44 candidates
[00007f3c041b3408] araw decoder debug: samplerate:32000Hz channels:2 bits/sample:32
[00007f3c041b3408] core decoder debug: using decoder module "araw"
[00007f3c041b4068] core demux meta debug: looking for meta reader module matching "any": 2 candidates
[00007f3c0c000958] lua art finder debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/art/02_frenchtv.luac
[00007f3c041b4068] lua demux meta debug: Trying Lua scripts in /home/Davis/.local/share/vlc/lua/meta/reader
[00007f3c041b4068] lua demux meta debug: Trying Lua scripts in /usr/lib/vlc/lua/meta/reader
[00007f3c041b4068] lua demux meta debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/reader/filename.luac
[00007f3c0c000958] lua art finder debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/art/03_lastfm.luac
[00007f3c041b4068] lua demux meta debug: Trying Lua scripts in /usr/share/vlc/lua/meta/reader
[00007f3c041b4068] core demux meta debug: no meta reader modules matched
[00007f3c041bdd88] core demux meta debug: looking for meta reader module matching "any": 2 candidates
[00007f3c0c000958] lua art finder debug: Trying Lua scripts in /usr/share/vlc/lua/meta/art
[00007f3c0c000958] core art finder debug: no art finder modules matched
[0000000000c4b118] core libvlc debug: art not found for v4l2://
[00007f3c041bdd88] lua demux meta debug: Trying Lua scripts in /home/Davis/.local/share/vlc/lua/meta/reader
[00007f3c041bdd88] lua demux meta debug: Trying Lua scripts in /usr/lib/vlc/lua/meta/reader
[00007f3c041bdd88] lua demux meta debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/reader/filename.luac
[0000000000d9e908] dbus interface debug: Getting property Position
[00007f3c041bdd88] lua demux meta debug: Trying Lua scripts in /usr/share/vlc/lua/meta/reader
[00007f3c041bdd88] core demux meta debug: no meta reader modules matched
[00007f3c24000bc8] core input debug: `v4l2://' successfully opened
[00007f3c24000bc8] core input debug: Buffering 0%
[00007f3c040559d8] rawvideo decoder warning: invalid frame size (460800 < 691200)
[00007f3c24000bc8] core input debug: Buffering 0%
[0000000000d75c88] core playlist debug: reusing audio output
[0000000000d835f8] pulse audio output debug: using stereo channel map
[0000000000d835f8] pulse audio output debug: changed buffer metrics: maxlength=4194304, tlength=30720, prebuf=0, minreq=10240
[0000000000d835f8] pulse audio output debug: connected to sink alsa_output.pci-0000_00_14.2.analog-stereo
[0000000000d835f8] core audio output debug: output 'f32l' 32000 Hz Stereo frame=1 samples/8 bytes
[00007f3bf4000958] core volume debug: looking for audio volume module matching "any": 2 candidates
[00007f3bf4000958] core volume debug: using audio volume module "float_mixer"
[0000000000d835f8] core audio output debug: input 'f32l' 32000 Hz Stereo frame=1 samples/8 bytes
[00007f3bf4002ca8] core audio filter debug: looking for audio filter module matching "scaletempo": 14 candidates
[00007f3bf4002ca8] scaletempo audio filter debug: format: 32000 rate, 2 nch, 4 bps, fl32
[00007f3bf4002ca8] scaletempo audio filter debug: params: 30 stride, 0,200 overlap, 14 search
[00007f3bf4002ca8] scaletempo audio filter debug: 1,000 scale, 960,000 stride_in, 960 stride_out, 768 standing, 192 overlap, 448 search, 1600 queue, fl32 mode
[00007f3bf4002ca8] core audio filter debug: using audio filter module "scaletempo"
[0000000000d835f8] core audio output debug: conversion: 'f32l'->'f32l' 32000 Hz->32000 Hz Stereo->Stereo
[0000000000d835f8] core audio output debug: conversion pipeline complete
[0000000000d835f8] core audio output debug: conversion: 'f32l'->'f32l' 32000 Hz->32000 Hz Stereo->Stereo
[0000000000d835f8] core audio output debug: conversion pipeline complete
[00007f3bf40083a8] core audio resampler debug: looking for audio resampler module matching "any": 3 candidates
[00007f3bf40083a8] core audio resampler debug: using audio resampler module "samplerate"
[0000000000d835f8] pulse audio output debug: changing sink 2: alsa_output.pci-0000_00_14.2.analog-stereo (Built-in Audio Analog Stereo)
[00007f3c041b3408] core decoder debug: End of audio preroll
[00007f3c24000bc8] core input debug: Buffering 13%
[00007f3c040559d8] rawvideo decoder warning: invalid frame size (460800 < 691200)
[00007f3c24000bc8] core input debug: Buffering 26%
[00007f3c040559d8] rawvideo decoder warning: invalid frame size (460800 < 691200)
[00007f3c24000bc8] core input debug: Buffering 2%
[00007f3c24000bc8] core input debug: Buffering 40%
[00007f3c040559d8] rawvideo decoder warning: invalid frame size (460800 < 691200)
[00007f3c24000bc8] core input debug: Buffering 27%
[00007f3c24000bc8] core input debug: Buffering 53%
[00007f3c040559d8] rawvideo decoder warning: invalid frame size (460800 < 691200)
[00007f3c24000bc8] core input debug: Buffering 66%
[00007f3c040559d8] rawvideo decoder warning: invalid frame size (460800 < 691200)
[00007f3c24000bc8] core input debug: Buffering 52%
[00007f3c24000bc8] core input debug: Buffering 79%
[00007f3c040559d8] rawvideo decoder warning: invalid frame size (460800 < 691200)
[00007f3c24000bc8] core input debug: Buffering 93%
[00007f3c040559d8] rawvideo decoder warning: invalid frame size (460800 < 691200)
[00007f3c24000bc8] core input debug: Buffering 77%
[00007f3c24000bc8] core input debug: Stream buffering done (319 ms in 319 ms)
[00007f3c24000bc8] core input debug: Decoder wait done in 0 ms
[00007f3c040559d8] rawvideo decoder warning: invalid frame size (460800 < 691200)
[0000000000d835f8] pulse audio output debug: cannot synchronize start
[0000000000d835f8] pulse audio output warning: starting late (-59363 us)
[0000000000d835f8] pulse audio output debug: started
[0000000000d835f8] pulse audio output debug: changing sink 2: alsa_output.pci-0000_00_14.2.analog-stereo (Built-in Audio Analog Stereo)
[00007f3c040559d8] rawvideo decoder warning: invalid frame size (460800 < 691200)
[0000000000d835f8] core audio output warning: playback too late (89672): up-sampling
[00007f3c040559d8] rawvideo decoder warning: invalid frame size (460800 < 691200)
[00007f3c040559d8] rawvideo decoder warning: invalid frame size (460800 < 691200)
[00007f3c040559d8] rawvideo decoder warning: invalid frame size (460800 < 691200)
[00007f3c040559d8] rawvideo decoder warning: invalid frame size (460800 < 691200)
[00007f3c040559d8] rawvideo decoder warning: invalid frame size (460800 < 691200)
[00007f3c040559d8] rawvideo decoder warning: invalid frame size (460800 < 691200)
[00007f3c040559d8] rawvideo decoder warning: invalid frame size (460800 < 691200)
[00007f3c040559d8] rawvideo decoder warning: invalid frame size (460800 < 691200)
[00007f3c040559d8] rawvideo decoder warning: invalid frame size (460800 < 691200)
[00007f3c040559d8] rawvideo decoder warning: invalid frame size (460800 < 691200)
[00007f3c040559d8] rawvideo decoder warning: invalid frame size (460800 < 691200)
[00007f3c040559d8] rawvideo decoder warning: invalid frame size (460800 < 691200)
[00007f3c040559d8] rawvideo decoder warning: invalid frame size (460800 < 691200)
[00007f3c040559d8] rawvideo decoder warning: invalid frame size (460800 < 691200)
[00007f3c040559d8] rawvideo decoder warning: invalid frame size (460800 < 691200)
[00007f3c040559d8] rawvideo decoder warning: invalid frame size (460800 < 691200)
[00007f3c040559d8] rawvideo decoder warning: invalid frame size (460800 < 691200)
[00007f3c040559d8] rawvideo decoder warning: invalid frame size (460800 < 691200)
[00007f3c040559d8] rawvideo decoder warning: invalid frame size (460800 < 691200)
[00007f3c040559d8] rawvideo decoder warning: invalid frame size (460800 < 691200)
[00007f3c040559d8] rawvideo decoder warning: invalid frame size (460800 < 691200)
[00007f3c040559d8] rawvideo decoder warning: invalid frame size (460800 < 691200)
[00007f3c040559d8] rawvideo decoder warning: invalid frame size (460800 < 691200)
[00007f3c040559d8] rawvideo decoder warning: invalid frame size (460800 < 691200)
[00007f3c040559d8] rawvideo decoder warning: invalid frame size (460800 < 691200)
[00007f3c040559d8] rawvideo decoder warning: invalid frame size (460800 < 691200)
[00007f3c040559d8] rawvideo decoder warning: invalid frame size (460800 < 691200)
[00007f3c040559d8] rawvideo decoder warning: invalid frame size (460800 < 691200)
[00007f3c040559d8] rawvideo decoder warning: invalid frame size (460800 < 691200)
[00007f3c040559d8] rawvideo decoder warning: invalid frame size (460800 < 691200)
[00007f3c040559d8] rawvideo decoder warning: invalid frame size (460800 < 691200)
[00007f3c040559d8] rawvideo decoder warning: invalid frame size (460800 < 691200)
[00007f3c040559d8] rawvideo decoder warning: invalid frame size (460800 < 691200)
[00007f3c040559d8] rawvideo decoder warning: invalid frame size (460800 < 691200)
[00007f3c040559d8] rawvideo decoder warning: invalid frame size (460800 < 691200)
[00007f3c040559d8] rawvideo decoder warning: invalid frame size (460800 < 691200)
[00007f3c040559d8] rawvideo decoder warning: invalid frame size (460800 < 691200)
[00007f3c040559d8] rawvideo decoder warning: invalid frame size (460800 < 691200)
[00007f3c040559d8] rawvideo decoder warning: invalid frame size (460800 < 691200)
[0000000000c4b118] core libvlc debug: exiting
[0000000000c4b118] core libvlc debug: removing all interfaces
[0000000000c4b118] core libvlc debug: exiting
[0000000000da25a8] core interface debug: removing module "qt4"
[0000000000d75c88] core playlist debug: deactivating the playlist
[0000000000d75c88] core playlist debug: incoming request - stopping current input
[00007f3c24000bc8] core input debug: control: stopping input
[0000000000d75c88] core playlist debug: incoming request - stopping current input
[0000000000d75c88] core playlist debug: finished input
[00007f3c040559d8] core decoder debug: removing module "rawvideo"
[00007f3c040559d8] core decoder debug: killing decoder fourcc `I420', 0 PES in FIFO
[00007f3c041b3408] core decoder debug: removing module "araw"
[00007f3c041b3408] core decoder debug: killing decoder fourcc `f32l', 0 PES in FIFO
[00007f3bf40083a8] core audio resampler debug: removing module "samplerate"
[00007f3bf4002ca8] core audio filter debug: removing module "scaletempo"
[00007f3bf4000958] core volume debug: removing module "float_mixer"
[0000000000d75c88] core playlist debug: keeping audio output
[00007f3c04000e28] core demux debug: removing module "v4l2"
[0000000000d9e908] dbus interface debug: Getting property Position
[00007f3c04008b68] core demux debug: removing module "access_alsa"
[00007f3c24000bc8] core input debug: Program doesn't contain anymore ES
[0000000000d75c88] core playlist debug: incoming request - stopping current input
[0000000000d75c88] core playlist debug: dead input
[0000000000d835f8] core audio output debug: removing module "pulse"
[0000000000da25a8] qt4 interface debug: requesting exit...
[0000000000da25a8] qt4 interface debug: waiting for UI thread...
[0000000000da25a8] qt4 interface debug: IM: Deleting the input
[0000000000da25a8] qt4 interface debug: QApp exec() finished
[0000000000da25a8] qt4 interface debug: Video is not needed anymore
[0000000000da25a8] qt4 interface debug: Killing extension dialog provider
[0000000000da25a8] qt4 interface debug: ExtensionsDialogProvider is quitting...
[00007f3c181c6658] core generic debug: removing module "lua"
[00007f3c181c6658] lua generic debug: Deactivating all loaded extensions
[00007f3c181c6658] lua generic debug: All extensions are now deactivated
[0000000000d9e908] core interface debug: removing module "dbus"
[0000000000d9d8d8] core interface debug: removing module "xcb_hotkeys"
[0000000000d989d8] core interface debug: removing module "hotkeys"
[0000000000d75c88] core playlist debug: destroying
[0000000000dbbb68] core playlist export debug: saving Mediju bibliotēka to file /home/Davis/.local/share/vlc/ml.xspf.tmp20332
[0000000000dbbb68] core playlist export debug: looking for playlist export module matching "export-xspf": 4 candidates
[0000000000dbbb68] core playlist export debug: using playlist export module "export"
[0000000000dbbb68] core playlist export debug: removing module "export"
from log there's "v4l2 demux debug: added new video ES I420 960x480", but I think it should be 640x480