Problem with v4l2 on latest Mint 17/Ubuntu 14

*nix specific usage questions
Daniel Ceregatti
New Cone
New Cone
Posts: 5
Joined: 30 Jul 2014 07:04

Problem with v4l2 on latest Mint 17/Ubuntu 14

Postby Daniel Ceregatti » 30 Jul 2014 08:24

Hi,

I've had a vlm file that's been working for a very long time in Linux Mint 15. I believe Mint 15 was based off Ubuntu 12. The vlm creates a mosaic of 6 vl42 devices which use 3 separate hardware devices and hence 3 different drivers. One device is a 4 port card. This had been working fine until I upgraded to Mint 17, which is based off Ubuntu 14. Anyhow, here's the vlm file:

Code: Select all

del all new cam1 broadcast enabled setup cam1 input v4l2:///dev/v4l/bttv_0:width=320:height=240:input=1 setup cam1 output #duplicate{dst=mosaic-bridge{id=1,height=320,width=240} new cam2 broadcast enabled setup cam2 input v4l2:///dev/v4l/saa7134_0:width=320:height=240:input=0 setup cam2 output #duplicate{dst=mosaic-bridge{id=2,height=320,width=240}} new cam3 broadcast enabled setup cam3 input v4l2:///dev/v4l/saa7134_1:width=320:height=240:input=0 setup cam3 output #duplicate{dst=mosaic-bridge{id=3,height=320,width=240}} new cam4 broadcast enabled setup cam4 input v4l2:///dev/v4l/saa7134_2:width=320:height=240:input=0 setup cam4 output #duplicate{dst=mosaic-bridge{id=4,height=320,width=240}} new cam5 broadcast enabled setup cam5 input v4l2:///dev/v4l/saa7134_3:width=320:height=240:input=0 setup cam5 output #duplicate{dst=mosaic-bridge{id=5,height=320,width=240}} new cam6 broadcast enabled setup cam6 input v4l2:///dev/v4l/webcam:width=320:height=240:input=0 setup cam6 output #duplicate{dst=mosaic-bridge{id=6,height=320,width=240}} new audio broadcast enabled #setup audio input http://npr.ic.llnwd.net/stream/npr_live24 #setup audio input alsa://hw:0,0 setup audio input alsa://pulse setup audio output #transcode{acodec=mp4a,ab=128,samplerate=44100}:bridge-out new bg broadcast enabled setup bg input "bg.png" setup bg option image-duration=-1 setup bg output #transcode{width=960,height=480,sfilter="marq{marquee=Date: %m-%d-%Y - Time: %H:%M:%S %Z,size=15,x=300,y=465}:marq{marquee=Front Yard,size=10,x=5,y=5}:marq{marquee=Front Door,size=10,x=325,y=5}:marq{marquee=Back Yard,size=10,x=645,y=5}:marq{marquee=South Yard,size=10,x=5,y=245}:marq{marquee=North Yard,size=10,x=325,y=245}:marq{marquee=Garage,size=10,x=645,y=245}:mosaic{width=960,height=480,position=1,order='4,5,2,3,1,6',cols=3}",vcodec=h264,venc=x264{keyint=30,profile=main},vb=2000}:bridge-in:std{access=http{mime=,user=cam,pwd=spam},mux=ts{use-key-frames},dst=:8086/} control cam1 play control cam2 play control cam3 play control cam4 play control cam5 play control cam6 play control audio play control bg play
I run the vlm file with the following command line:

Code: Select all

cvlc -v --no-osd -L -f --no-video-title-show --x11-display :0 --vlm-conf stream.conf
Ok, I lied. I use a script that writes the vlm file and runs the command line, but the end result is the same. The script is here, for the sake of literally showing what I do:

https://gist.github.com/DanielCeregatti ... 5f5b7cb6f7

Note that the only difference between what I've posted and the script is that the script tries to run v4l2-ctl on the devices to make sure they're configured properly. This was necessary in Mint 15, where vlc 2.0.8 was used, but now it does not affect the stream at all.

Anyhow, since upgrading, the stream no longer works. Right now the "webcam" device is the only one showing a proper picture. The bttv camera seems to not have set the correct standard, as the image is green and fuzzy, and the other 4 on the saa7134 are completely blank. I've read a few other posts where it's been suggested this is a driver issue, but other apps such as mplayer and xawtv work perfectly with these devices. This leads me to believe it is NOT a driver issue.

Here is the output when I run the script with -vvv (The forum complained that I exceeded the 60k max character limit, so I put the file on my own web server):

http://ceregatti.org/log

I've also tried the 2.2.0 PPA, which installed a 3.0.0-git version, but this seg faulted. I'm willing to try the PPA version again if new builds happen nightly, as the PPA seems to suggest they do.

I've even tried running the old vlc in a chroot on the new machine (I had saved the previous root filesystem under /old). This yielded the same problems, where the v4l2 devices simply were not configured properly.

I'm hoping someone has some insights. And BTW, I'm lurking on IRC in #videolan on freenode as Primer. Feel free to contact me there directly.

Thanks,

Daniel

Rémi Denis-Courmont
Developer
Developer
Posts: 15287
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Problem with v4l2 on latest Mint 17/Ubuntu 14

Postby Rémi Denis-Courmont » 30 Jul 2014 17:50

I cannot reproduce the frame size problem. VLC 3.0.0 with the V4L2 test device in I420 at 320x240 works fine here.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

Daniel Ceregatti
New Cone
New Cone
Posts: 5
Joined: 30 Jul 2014 07:04

Re: Problem with v4l2 on latest Mint 17/Ubuntu 14

Postby Daniel Ceregatti » 30 Jul 2014 20:29

Ok, here's a simpler example:

Code: Select all

vlc -vvv v4l2:///dev/v4l/bttv_0:input=1:width=320:height=240:standard=0 --sout '#transcode{venc=x264{keyint=1,profile=main},vcodec=h264,vb=2000}:std{access=http{mime=video/mp4},mux=ts{use-key-frames},dst=:8086/}'
This example uses the bttv device, which is the device that is currently showing up as green and fuzzy, implying that the standard is not set properly. Sure enough, that's what shows in the log:

Code: Select all

[0x1fd3118] main libvlc debug: VLC media player - 2.1.5 Rincewind [0x1fd3118] main libvlc debug: Copyright © 1996-2014 the VideoLAN team [0x1fd3118] main libvlc debug: revision 2.1.4+git20140722+r54557+19+11~ubuntu14.04.1 [0x1fd3118] main libvlc debug: configured with ./configure '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--libdir=${prefix}/lib/x86_64-linux-gnu' '--libexecdir=${prefix}/lib/x86_64-linux-gnu' '--disable-dependency-tracking' '--build=x86_64-linux-gnu' 'CPPFLAGS=-D_FORTIFY_SOURCE=2' 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro' '--config-cache' '--disable-maintainer-mode' '--disable-silent-rules' '--disable-update-check' '--enable-fast-install' '--prefix=/usr' '--docdir=/usr/share/doc/vlc-nox' '--libdir=/usr/lib' '--sysconfdir=/etc' '--with-binary-version=' '--enable-a52' '--enable-aa' '--enable-bluray' '--enable-bonjour' '--enable-caca' '--enable-chromaprint' '--enable-dbus' '--enable-dca' '--enable-dirac' '--enable-directfb' '--enable-dvbpsi' '--enable-dvdnav' '--enable-faad' '--enable-flac' '--enable-fluidsynth' '--enable-freetype' '--enable-fribidi' '--enable-gnutls' '--enable-jack' '--enable-kate' '--enable-libass' '--enable-libfreerdp' '--enable-libmpeg2' '--enable-libxml2' '--enable-lirc' '--enable-live555' '--enable-mad' '--enable-mkv' '--enable-mod' '--enable-mpc' '--enable-mtp' '--enable-mux_ogg' '--enable-ncurses' '--enable-notify' '--enable-ogg' '--enable-opus' '--enable-oss' '--enable-pulse' '--enable-qt' '--enable-realrtsp' '--enable-samplerate' '--enable-schroedinger' '--enable-sdl' '--enable-sftp' '--enable-shout' '--enable-skins2' '--enable-smbclient' '--enable-speex' '--enable-svg' '--enable-taglib' '--enable-theora' '--enable-twolame' '--enable-upnp' '--enable-vcd' '--enable-vcdx' '--enable-vorbis' '--enable-x264' '--enable-zvbi' '--with-kde-solid=/usr/share/kde4/apps/solid/actions/' '--disable-decklink' '--disable-dxva2' '--disable-fdkaac' '--disable-gnomevfs' '--disable-goom' '--disable-libvnc' '--disable-opencv' '--disable-projectm' '--disable-quicksync' '--disable-sndio' '--disable-telx' '--disable-vsxu' '--disable-wasapi' '--enable-alsa' '--enable-atmo' '--enable-dc1394' '--enable-dv1394' '--enable-linsys' '--enable-omxil' '--enable-udev' '--enable-libva' '--enable-v4l2' '--enable-crystalhd' '--enable-mmx' '--enable-sse' '--disable-neon' '--disable-altivec' 'CFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security' 'CXXFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security' 'build_alias=x86_64-linux-gnu' [0x1fd3118] main libvlc debug: searching plug-in modules [0x1fd3118] main libvlc debug: loading plugins cache file /usr/lib/vlc/plugins/plugins.dat [0x1fd3118] main libvlc debug: recursively browsing `/usr/lib/vlc/plugins' [0x1fd3118] main libvlc debug: saving plugins cache /usr/lib/vlc/plugins/plugins.dat [0x1fd3118] main libvlc debug: plug-ins loaded: 426 modules [0x1fd3118] main libvlc debug: opening config file (/home/daniel/.config/vlc/vlcrc) [0x1fd3118] main libvlc debug: translation test: code is "C" [0x1fd3118] main libvlc debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 3DNow! FPU [0x1fff598] main input debug: Creating an input for 'Media Library' [0x1fff598] main input debug: Input is a meta file: disabling unneeded options [0x1fff598] main input debug: using timeshift granularity of 50 MiB, in path '/tmp' [0x1fff598] main input debug: `file/xspf-open:///home/daniel/.local/share/vlc/ml.xspf' gives access `file' demux `xspf-open' path `/home/daniel/.local/share/vlc/ml.xspf' [0x1fff598] main input debug: creating demux: access='file' demux='xspf-open' location='/home/daniel/.local/share/vlc/ml.xspf' file='/home/daniel/.local/share/vlc/ml.xspf' [0x221ca68] main demux debug: looking for access_demux module matching "file": 20 candidates [0x221ca68] main demux debug: no access_demux modules matched [0x1fff598] main input debug: creating access 'file' location='/home/daniel/.local/share/vlc/ml.xspf', path='/home/daniel/.local/share/vlc/ml.xspf' [0x1fe91b8] main access debug: looking for access module matching "file": 25 candidates [0x1fe91b8] filesystem access debug: opening file `/home/daniel/.local/share/vlc/ml.xspf' [0x1fe91b8] main access debug: using access module "filesystem" [0x1fe9f78] main stream debug: Using stream method for AStream* [0x1fe9f78] main stream debug: starting pre-buffering [0x1fe9f78] main stream debug: received first data after 0 ms [0x1fe9f78] main stream debug: pre-buffering done 296 bytes in 0s - 9967 KiB/s [0x1fea1d8] main stream debug: looking for stream_filter module matching "any": 9 candidates [0x1fea1d8] main stream debug: no stream_filter modules matched [0x1fea1d8] main stream debug: looking for stream_filter module matching "record": 9 candidates [0x1fea1d8] main stream debug: using stream_filter module "record" [0x1fff598] main input debug: creating demux: access='file' demux='xspf-open' location='/home/daniel/.local/share/vlc/ml.xspf' file='/home/daniel/.local/share/vlc/ml.xspf' [0x1fecf28] main demux debug: looking for demux module matching "xspf-open": 63 candidates [0x1fecf28] playlist demux debug: using XSPF playlist reader [0x1fecf28] main demux debug: using demux module "playlist" [0x1fed128] main demux meta debug: looking for meta reader module matching "any": 2 candidates [0x1fed128] lua demux meta debug: Trying Lua scripts in /home/daniel/.local/share/vlc/lua/meta/reader [0x1fed128] lua demux meta debug: Trying Lua scripts in /usr/lib/vlc/lua/meta/reader [0x1fed128] lua demux meta debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/reader/filename.luac [0x1fed128] lua demux meta debug: Trying Lua scripts in /usr/share/vlc/lua/meta/reader [0x1fed128] main demux meta debug: no meta reader modules matched [0x1fff598] main input debug: `file/xspf-open:///home/daniel/.local/share/vlc/ml.xspf' successfully opened [0x20a6048] main xml reader debug: looking for xml reader module matching "any": 1 candidates [0x20a6048] main xml reader debug: using xml reader module "xml" [0x1fecf28] playlist demux debug: parsed 0 tracks successfully [0x1fff598] main input debug: EOF reached [0x1fecf28] main demux debug: removing module "playlist" [0x1fea1d8] main stream debug: removing module "record" [0x1fe91b8] main access debug: removing module "filesystem" [0x1fe71f8] main playlist debug: creating audio output [0x20a8db8] main audio output debug: looking for audio output module matching "any": 6 candidates [0x20a8db8] pulse audio output debug: using library version 4.0.0 [0x20a8db8] pulse audio output debug: (compiled with version 4.0.0, protocol 28) [0x20a8db8] pulse audio output debug: connected locally to unix:/run/user/1004/pulse/native as client #120 [0x20a8db8] pulse audio output debug: using protocol 28, server protocol 28 [0x20a8db8] main audio output debug: using audio output module "pulse" [0x1fe71f8] main playlist debug: keeping audio output [0x20a8db8] pulse audio output debug: adding sink 12: alsa_output.pci-0000_00_04.0.analog-stereo (Built-in Audio Analog Stereo) [0x1fe71f8] main playlist debug: adding item `v4l2:///dev/v4l/bttv_0:input=1:width=320:height=240:standard=0' ( v4l2:///dev/v4l/bttv_0:input=1:width=320:height=240:standard=0 ) [0x1fe71f8] main playlist debug: meta ok for (null), need to fetch art [0x2211748] main interface debug: looking for interface module matching "hotkeys,none": 19 candidates [0x2211748] main interface debug: using interface module "hotkeys" [0x7fa390000958] main demux meta debug: looking for meta fetcher module matching "any": 1 candidates [0x20a6938] main interface debug: looking for interface module matching "globalhotkeys,none": 19 candidates [0x20a6938] main interface debug: using interface module "globalhotkeys" [0x20a7858] main interface debug: looking for interface module matching "dbus,none": 19 candidates [0x7fa390000958] lua demux meta debug: Trying Lua scripts in /home/daniel/.local/share/vlc/lua/meta/fetcher [0x7fa390000958] lua demux meta debug: Trying Lua scripts in /usr/lib/vlc/lua/meta/fetcher [0x7fa390000958] lua demux meta debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/fetcher/tvrage.luac [0x7fa390000958] main demux meta debug: using meta fetcher module "lua" [0x7fa390000958] main demux meta debug: removing module "lua" [0x1fe71f8] main playlist debug: searching art for v4l2:///dev/v4l/bttv_0:input=1:width=320:height=240:standard=0 [0x7fa390000958] main art finder debug: looking for art finder module matching "any": 2 candidates [0x20a7858] dbus interface debug: listening on dbus as: org.mpris.MediaPlayer2.vlc.instance16373 [0x7fa390000958] lua art finder debug: Trying Lua scripts in /home/daniel/.local/share/vlc/lua/meta/art [0x7fa390000958] lua art finder debug: Trying Lua scripts in /usr/lib/vlc/lua/meta/art [0x7fa390000958] lua art finder debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/art/00_musicbrainz.luac [0x20a7858] main interface debug: using interface module "dbus" [0x1fd3118] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. [0x209dd98] main interface debug: looking for interface module matching "any": 19 candidates [0x7fa390000958] lua art finder debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/art/01_googleimage.luac [0x20a7858] dbus interface debug: Getting All properties [0x7fa390000958] lua art finder debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/art/02_frenchtv.luac [0x7fa390000958] lua art finder debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/art/03_lastfm.luac [0x7fa390000958] lua art finder debug: Trying Lua scripts in /usr/share/vlc/lua/meta/art [0x7fa390000958] main art finder debug: no art finder modules matched [0x1fe71f8] main playlist debug: art not found for v4l2:///dev/v4l/bttv_0:input=1:width=320:height=240:standard=0 [0x20a7858] dbus interface debug: Getting property CanRaise [0x20a7858] dbus interface debug: Getting property CanQuit [0x20a7858] dbus interface debug: Getting property PlaybackStatus [0x20a7858] dbus interface debug: Getting property Metadata [0x20a7858] dbus interface debug: Getting property Position [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x7fa398249b68] main generic debug: looking for extension module matching "any": 1 candidates [0x7fa398249b68] lua generic debug: Opening Lua Extension module [0x7fa398249b68] lua generic debug: Trying Lua scripts in /home/daniel/.local/share/vlc/lua/extensions [0x7fa398249b68] lua generic debug: Trying Lua scripts in /usr/lib/vlc/lua/extensions [0x7fa398249b68] lua generic debug: Trying Lua playlist script /usr/lib/vlc/lua/extensions/VLSub.luac [0x7fa398249b68] lua generic debug: Scanning Lua script /usr/lib/vlc/lua/extensions/VLSub.luac [0x7fa398249b68] lua generic debug: Script /usr/lib/vlc/lua/extensions/VLSub.luac has the following capability flags: 0x5 [0x7fa398249b68] lua generic debug: Trying Lua scripts in /usr/share/vlc/lua/extensions [0x7fa398249b68] main generic debug: using extension module "lua" "sni-qt/16373" WARN 17:46:35.227 void StatusNotifierItemFactory::connectToSnw() Invalid interface to SNW_SERVICE [0x209dd98] main interface debug: using interface module "qt4" [0x1fe71f8] main playlist debug: processing request item: null, node: Playlist, skip: 0 [0x1fe71f8] main playlist debug: rebuilding array of current - root Playlist [0x1fe71f8] main playlist debug: rebuild done - 1 items, index -1 [0x1fe71f8] main playlist debug: starting playback of the new playlist item [0x1fe71f8] main playlist debug: resyncing on v4l2:///dev/v4l/bttv_0:input=1:width=320:height=240:standard=0 [0x1fe71f8] main playlist debug: v4l2:///dev/v4l/bttv_0:input=1:width=320:height=240:standard=0 is at 0 [0x1fe71f8] main playlist debug: creating new input thread [0x7fa390008b68] main input debug: Creating an input for 'v4l2:///dev/v4l/bttv_0:input=1:width=320:height=240:standard=0' [0x7fa380000c38] main stream output debug: using sout chain=`transcode{venc=x264{keyint=1,profile=main},vcodec=h264,vb=2000}:std{access=http{mime=video/mp4},mux=ts{use-key-frames},dst=:8086/}' [0x7fa380000c38] main stream output debug: stream=`std' [0x7fa3800011e8] main stream out debug: looking for sout stream module matching "std": 21 candidates [0x209dd98] qt4 interface debug: IM: Setting an input [0x7fa3800011e8] main stream out debug: set config option: sout-standard-access to http{mime=video/mp4} [0x7fa3800011e8] main stream out debug: set config option: sout-standard-mux to ts{use-key-frames} [0x7fa3800011e8] main stream out debug: set config option: sout-standard-dst to :8086/ [0x7fa380002118] main access out debug: looking for sout access module matching "http": 8 candidates [0x7fa380002118] main access out debug: set config option: sout-http-mime to video/mp4 [0x7fa380002118] main access out debug: net: listening to * port 8086 [0x7fa380002118] main access out debug: using sout access module "access_output_http" [0x7fa3804c8ac8] main mux debug: looking for sout mux module matching "ts": 10 candidates [0x7fa3804c8ac8] main mux debug: set config option: sout-ts-use-key-frames to (null) [0x7fa3804c8ac8] mux_ts mux debug: shaping=200000 pcr=70000 dts_delay=400000 [0x7fa3804c8ac8] main mux debug: using sout mux module "mux_ts" [0x7fa380000c38] main stream output debug: muxer support adding stream at any time [0x7fa380000c38] main stream output debug: muxer prefers to wait for all ES before starting to mux [0x7fa3800011e8] stream_out_standard stream out debug: using `http{mime=video/mp4}/ts{use-key-frames}://:8086/' [0x7fa3800011e8] main stream out debug: using sout stream module "stream_out_standard" [0x7fa380000c38] main stream output debug: stream=`transcode' [0x7fa3804ca348] main stream out debug: looking for sout stream module matching "transcode": 21 candidates [0x7fa3804ca348] main stream out debug: set config option: sout-transcode-venc to x264{keyint=1,profile=main} [0x7fa3804ca348] main stream out debug: set config option: sout-transcode-vcodec to h264 [0x7fa3804ca348] main stream out debug: set config option: sout-transcode-vb to 2000 [0x7fa3804ca348] stream_out_transcode stream out debug: codec video=h264 0x0 scaling: 0.000000 2000kb/s [0x7fa3804ca348] main stream out debug: using sout stream module "stream_out_transcode" [0x7fa390008b68] main input debug: using timeshift granularity of 50 MiB, in path '/tmp' [0x7fa390008b68] main input debug: `v4l2:///dev/v4l/bttv_0:input=1:width=320:height=240:standard=0' gives access `v4l2' demux `' path `/dev/v4l/bttv_0:input=1:width=320:height=240:standard=0' [0x7fa390008b68] main input debug: creating demux: access='v4l2' demux='' location='/dev/v4l/bttv_0:input=1:width=320:height=240:standard=0' file='/dev/v4l/bttv_0:input=1:width=320:height=240:standard=0' [0x7fa3804d0398] main demux debug: looking for access_demux module matching "v4l2": 20 candidates [0x7fa3804d0398] v4l2 demux debug: opening device '/dev/v4l/bttv_0' [0x7fa3804d0398] v4l2 demux debug: device BT848A video (IMS/IXmicro Turbo using driver bttv (version 3.13.9) on PCI:0000:03:01.0 [0x7fa3804d0398] v4l2 demux debug: with capabilities 0x05010005 (overall 0x85010015) [0x7fa3804d0398] v4l2 demux debug: video input Composite1 (1) is camera [0x7fa3804d0398] v4l2 demux debug: selected input 1 [0x7fa3804d0398] v4l2 demux warning: video standard not set [0x7fa3804d0398] v4l2 demux debug: no tuning required (analog baseband input) [0x7fa3804d0398] v4l2 demux debug: no audio input available [0x7fa3804d0398] v4l2 demux debug: supports raw format GREY (GREY): 8 bpp, gray [0x7fa3804d0398] v4l2 demux debug: supports raw format HI24 (N.A.): 8 bpp, dithered color [0x7fa3804d0398] v4l2 demux debug: supports raw format RGBO (RV15): 15 bpp RGB, le [0x7fa3804d0398] v4l2 demux debug: supports raw format RGBQ (N.A.): 15 bpp RGB, be [0x7fa3804d0398] v4l2 demux debug: supports raw format RGBP (RV16): 16 bpp RGB, le [0x7fa3804d0398] v4l2 demux debug: supports raw format RGBR (N.A.): 16 bpp RGB, be [0x7fa3804d0398] v4l2 demux debug: supports raw format BGR3 (RV24): 24 bpp RGB, le [0x7fa3804d0398] v4l2 demux debug: supports raw format BGR4 (RV32): 32 bpp RGB, le [0x7fa3804d0398] v4l2 demux debug: supports raw format RGB4 (RV32): 32 bpp RGB, be [0x7fa3804d0398] v4l2 demux debug: supports raw format YUYV (YUY2): 4:2:2, packed, YUYV [0x7fa3804d0398] v4l2 demux debug: supports raw format UYVY (UYVY): 4:2:2, packed, UYVY [0x7fa3804d0398] v4l2 demux debug: supports raw format 422P (I422): 4:2:2, planar, Y-Cb-Cr [0x7fa3804d0398] v4l2 demux debug: supports raw format YU12 (I420): 4:2:0, planar, Y-Cb-Cr [0x7fa3804d0398] v4l2 demux debug: supports raw format YV12 (YV12): 4:2:0, planar, Y-Cr-Cb [0x7fa3804d0398] v4l2 demux debug: supports raw format 411P (I411): 4:1:1, planar, Y-Cb-Cr [0x7fa3804d0398] v4l2 demux debug: supports raw format YUV9 (I410): 4:1:0, planar, Y-Cb-Cr [0x7fa3804d0398] v4l2 demux debug: supports raw format YVU9 (N.A.): 4:1:0, planar, Y-Cr-Cb [0x7fa3804d0398] v4l2 demux debug: emulates raw format RGB3 (RV24): RGB3 [0x7fa3804d0398] v4l2 demux debug: selected format YU12 (I420) [0x7fa3804d0398] v4l2 demux debug: requested frame size: 320x240 [0x7fa3804d0398] v4l2 demux debug: unknown frame intervals: Inappropriate ioctl for device [0x7fa3804d0398] v4l2 demux debug: constant frame interval: 1001/30000 [0x7fa3804d0398] v4l2 demux warning: cannot set streaming parameters: Inappropriate ioctl for device [0x7fa3804d0398] v4l2 demux debug: 115200 bytes maximum for complete image [0x7fa3804d0398] v4l2 demux debug: Interlacing setting: interleaved [0x7fa3804d0398] v4l2 demux debug: added new video ES I420 320x240 [0x7fa3804d0398] v4l2 demux debug: frame rate: 30000/1001 [0x7fa3804d0398] v4l2 demux debug: aspect ratio: 910/780 [0x7fa390008b68] main input debug: selecting program id=0 [0x7fa3804d0398] v4l2 demux debug: streaming with 4 memory-mapped buffers [0x7fa3804d0398] v4l2 demux debug: control class User Controls: [0x7fa3804d0398] v4l2 demux debug: integer Brightness (00980900) [0x7fa3804d0398] v4l2 demux debug: current: 32768, default: 32768 [0x7fa3804d0398] v4l2 demux debug: integer Contrast (00980901) [0x7fa3804d0398] v4l2 demux debug: current: 27648, default: 27648 [0x7fa3804d0398] v4l2 demux debug: integer Saturation (00980902) [0x7fa3804d0398] v4l2 demux debug: current: 32768, default: 32768 [0x7fa3804d0398] v4l2 demux debug: integer Hue (00980903) [0x7fa3804d0398] v4l2 demux debug: current: 32768, default: 32768 [0x7fa3804d0398] v4l2 demux debug: boolean Mute (00980909) [0x7fa3804d0398] v4l2 demux debug: current: false, default: false [0x7fa3804d0398] v4l2 demux debug: boolean Chroma AGC (0098091D) [0x7fa3804d0398] v4l2 demux debug: current: false, default: false [0x7fa3804d0398] v4l2 demux debug: boolean Color Killer (0098091E) [0x7fa3804d0398] v4l2 demux debug: current: false, default: false [0x7fa3804d0398] v4l2 demux debug: boolean Comb Filter (00981910) [0x7fa3804d0398] v4l2 demux debug: current: false, default: false [0x7fa3804d0398] v4l2 demux debug: boolean Auto Mute (00981911) [0x7fa3804d0398] v4l2 demux debug: current: true, default: true [0x7fa3804d0398] v4l2 demux debug: boolean Luma Decimation Filter (00981912) [0x7fa3804d0398] v4l2 demux debug: current: false, default: false [0x7fa3804d0398] v4l2 demux debug: boolean AGC Crush (00981913) [0x7fa3804d0398] v4l2 demux debug: current: true, default: true [0x7fa3804d0398] v4l2 demux debug: boolean VCR Hack (00981914) [0x7fa3804d0398] v4l2 demux debug: current: false, default: false [0x7fa3804d0398] v4l2 demux debug: integer Whitecrush Lower (00981915) [0x7fa3804d0398] v4l2 demux debug: current: 127, default: 127 [0x7fa3804d0398] v4l2 demux debug: integer Whitecrush Upper (00981916) [0x7fa3804d0398] v4l2 demux debug: current: 207, default: 207 [0x7fa3804d0398] v4l2 demux debug: integer UV Ratio (00981917) [0x7fa3804d0398] v4l2 demux debug: current: 50, default: 50 [0x7fa3804d0398] v4l2 demux debug: boolean Full Luma Range (00981918) [0x7fa3804d0398] v4l2 demux debug: current: false, default: false [0x7fa3804d0398] v4l2 demux debug: integer Coring (00981919) [0x7fa3804d0398] v4l2 demux debug: current: 0, default: 0 [0x7fa3804d0398] main demux debug: using access_demux module "v4l2" [0x7fa3804d8928] main decoder debug: looking for packetizer module matching "any": 21 candidates [0x7fa3804d8928] main decoder debug: using packetizer module "rawvideo" [0x7fa390008b68] main input debug: starting in async mode [0x7fa3804dcaf8] main demux meta debug: looking for meta reader module matching "any": 2 candidates [0x7fa3804dcaf8] lua demux meta debug: Trying Lua scripts in /home/daniel/.local/share/vlc/lua/meta/reader [0x7fa3804dcaf8] lua demux meta debug: Trying Lua scripts in /usr/lib/vlc/lua/meta/reader [0x7fa3804dcaf8] lua demux meta debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/reader/filename.luac [0x7fa3804dcaf8] lua demux meta debug: Trying Lua scripts in /usr/share/vlc/lua/meta/reader [0x7fa3804dcaf8] main demux meta debug: no meta reader modules matched [0x7fa390008b68] main input debug: `v4l2:///dev/v4l/bttv_0:input=1:width=320:height=240:standard=0' successfully opened [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x7fa390008b68] main input debug: Buffering 0% [0x7fa390008b68] main input debug: switching to sync mode [0x7fa380000c38] main stream output debug: adding a new sout input (sout_input:0x7fa37c0008c0) [0x20a7858] dbus interface debug: Getting property CanSeek [0x7fa3804ca348] stream_out_transcode stream out debug: creating video transcoding from fcc=`I420' to fcc=`h264' [0x7fa37c0009c8] main generic debug: looking for decoder module matching "any": 39 candidates [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x7fa37c0009c8] main generic debug: using decoder module "rawvideo" [0x7fa37c000e18] main encoder debug: looking for encoder module matching "x264": 17 candidates [0x7fa37c000e18] x264 encoder debug: version x264 0.142.X [0x20a7858] dbus interface debug: Getting property CanSeek [0x7fa37c000e18] main encoder debug: set config option: sout-x264-keyint to 1 [0x7fa37c000e18] main encoder debug: set config option: sout-x264-profile to main [0x20a7858] dbus interface debug: Getting property CanSeek [0x7fa37c000e18] x264 encoder: using cpu capabilities: MMX2 SSE2Slow SlowCTZ [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x7fa37c000e18] x264 encoder: profile Main, level 2.1 [0x7fa37c000e18] main encoder debug: using encoder module "x264" [0x7fa37c000e18] main encoder debug: removing module "x264" [0x7fa37c000e18] x264 encoder debug: framecount still in libx264 buffer: 0 [0x7fa37c000e18] x264 encoder: final ratefactor: 5.33 [0x7fa390008b68] main input debug: Buffering 22% [0x7fa390008b68] main input debug: Buffering 44% [0x7fa390008b68] main input debug: Buffering 66% [0x7fa390008b68] main input debug: Buffering 88% [0x7fa390008b68] main input debug: Stream buffering done (333 ms in 333 ms) [0x7fa390008b68] main input debug: Decoder buffering done in 0 ms [0x7fa3804ca348] stream_out_transcode stream out debug: decoder aspect is 1.555556:1 [0x7fa3804ca348] stream_out_transcode stream out debug: source pixel aspect is 1.166667:1 [0x7fa3804ca348] stream_out_transcode stream out debug: scaled pixel aspect is 1.166667:1 [0x7fa3804ca348] stream_out_transcode stream out debug: source 320x240, destination 320x240 [0x7fa3804ca348] stream_out_transcode stream out debug: encoder aspect is 2240:1440 [0x7fa3804ca348] stream_out_transcode stream out debug: destination (after video filters) 320x240 [0x7fa37c000e18] main encoder debug: looking for encoder module matching "x264": 17 candidates [0x7fa37c000e18] x264 encoder debug: version x264 0.142.X [0x7fa37c000e18] main encoder debug: set config option: sout-x264-keyint to 1 [0x7fa37c000e18] main encoder debug: set config option: sout-x264-profile to main [0x7fa37c000e18] x264 encoder: using SAR=7/6 [0x7fa37c000e18] x264 encoder: using cpu capabilities: MMX2 SSE2Slow SlowCTZ [0x7fa37c000e18] x264 encoder: profile Main, level 2.1 [0x7fa37c000e18] main encoder debug: using encoder module "x264" [0x7fa3804c8ac8] main mux debug: adding a new input [0x7fa3804c8ac8] mux_ts mux debug: adding input codec=h264 pid=68 [0x7fa3804c8ac8] mux_ts mux debug: new PCR PID is 68 [0x7fa3804c8ac8] main mux warning: late buffer for mux input (57411) [0x7fa3804c8ac8] main mux warning: late buffer for mux input (57062) [0x7fa3804c8ac8] main mux warning: late buffer for mux input (57015) [0x7fa3804c8ac8] main mux warning: late buffer for mux input (57019) [0x7fa3804c8ac8] main mux warning: late buffer for mux input (57046) [0x20a7858] dbus interface debug: Getting property Position [0x7fa3804c8ac8] main mux warning: late buffer for mux input (57021) [0x7fa3804c8ac8] main mux warning: late buffer for mux input (100875) [0x7fa3804c8ac8] main mux warning: late buffer for mux input (100952) [0x7fa3804c8ac8] main mux warning: late buffer for mux input (100889) [0x7fa3804c8ac8] main mux warning: late buffer for mux input (100915) [0x7fa3804c8ac8] main mux warning: late buffer for mux input (100917) [0x7fa3804c8ac8] main mux warning: late buffer for mux input (100932) [0x7fa3804c8ac8] main mux warning: late buffer for mux input (100978) [0x7fa3804c8ac8] main mux warning: late buffer for mux input (100955) [0x7fa3804c8ac8] main mux warning: late buffer for mux input (100935) [0x7fa3804c8ac8] main mux warning: late buffer for mux input (100851) [0x7fa3804c8ac8] main mux warning: late buffer for mux input (100898) [0x7fa3804c8ac8] main mux warning: late buffer for mux input (100913) [0x7fa3804c8ac8] main mux warning: late buffer for mux input (100861) [0x7fa3804c8ac8] main mux warning: late buffer for mux input (100860) [0x7fa3804c8ac8] main mux warning: late buffer for mux input (100869) [0x7fa3804c8ac8] main mux warning: late buffer for mux input (100893) [0x7fa3804c8ac8] main mux warning: late buffer for mux input (100891) [0x7fa3804c8ac8] main mux warning: late buffer for mux input (100946) [0x7fa3804c8ac8] main mux warning: late buffer for mux input (100907) [0x7fa3804c8ac8] main mux warning: late buffer for mux input (100934) [0x7fa3804c8ac8] main mux warning: late buffer for mux input (100993) [0x7fa3804c8ac8] main mux warning: late buffer for mux input (100927) [0x7fa3804c8ac8] main mux warning: late buffer for mux input (100937) [0x7fa3804c8ac8] main mux warning: late buffer for mux input (100936) [0x7fa3804c8ac8] main mux warning: late buffer for mux input (100878) [0x7fa3804c8ac8] main mux warning: late buffer for mux input (100894) [0x7fa3804c8ac8] main mux warning: late buffer for mux input (100893) [0x7fa3804c8ac8] main mux warning: late buffer for mux input (100840) [0x7fa3804c8ac8] main mux warning: late buffer for mux input (100829) [0x7fa3804c8ac8] main mux warning: late buffer for mux input (100870) [0x7fa3804c8ac8] main mux warning: late buffer for mux input (100868) [0x7fa3804c8ac8] main mux warning: late buffer for mux input (100869) [0x7fa3804c8ac8] main mux warning: late buffer for mux input (100892) [0x7fa3804c8ac8] main mux warning: late buffer for mux input (100963) [0x7fa3804c8ac8] main mux warning: late buffer for mux input (100878) [0x7fa3804c8ac8] main mux warning: late buffer for mux input (100909) [0x7fa3804c8ac8] main mux warning: late buffer for mux input (100945) [0x7fa3804c8ac8] main mux warning: late buffer for mux input (100921) [0x7fa3804c8ac8] main mux warning: late buffer for mux input (100905) [0x7fa3804c8ac8] main mux warning: late buffer for mux input (100885) [0x7fa3804c8ac8] main mux warning: late buffer for mux input (100888) [0x7fa3804c8ac8] main mux warning: late buffer for mux input (100873) [0x7fa3804c8ac8] main mux warning: late buffer for mux input (100893) [0x7fa3804c8ac8] main mux warning: late buffer for mux input (100895) [0x7fa3804c8ac8] main mux warning: late buffer for mux input (100856) [0x7fa3804c8ac8] main mux warning: late buffer for mux input (100859) [0x7fa3804c8ac8] main mux warning: late buffer for mux input (100849) [0x7fa3804c8ac8] main mux warning: late buffer for mux input (100857) [0x7fa3804c8ac8] main mux warning: late buffer for mux input (100906) [0x7fa3804c8ac8] main mux warning: late buffer for mux input (100843) [0x7fa3804c8ac8] main mux warning: late buffer for mux input (100871) [0x7fa3804c8ac8] main mux warning: late buffer for mux input (100914) [0x7fa3804c8ac8] main mux warning: late buffer for mux input (100905) [0x7fa3804c8ac8] main mux warning: late buffer for mux input (100910) [0x7fa3804c8ac8] main mux warning: late buffer for mux input (100850) [0x7fa3804c8ac8] main mux warning: late buffer for mux input (100885) [0x7fa3804c8ac8] main mux warning: late buffer for mux input (100839) [0x7fa3804c8ac8] main mux warning: late buffer for mux input (100865) [0x7fa3804c8ac8] main mux warning: late buffer for mux input (100891) [0x7fa3804c8ac8] main mux warning: late buffer for mux input (100855) [0x1fd3118] main libvlc debug: removing all interfaces [0x1fd3118] main libvlc debug: exiting [0x209dd98] main interface debug: removing module "qt4" [0x1fe71f8] main playlist debug: deactivating the playlist [0x1fe71f8] main playlist debug: incoming request - stopping current input [0x7fa390008b68] main input debug: control: stopping input [0x1fe71f8] main playlist debug: incoming request - stopping current input [0x1fe71f8] main playlist debug: finished input [0x7fa3804d8928] main decoder debug: removing module "rawvideo" [0x7fa3804d8928] main decoder debug: killing decoder fourcc `I420', 0 PES in FIFO [0x7fa380000c38] main stream output debug: removing a sout input (sout_input:0x7fa37c0008c0) [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x7fa3804c8ac8] main mux warning: late buffer for mux input (71102) [0x7fa37c0009c8] main generic debug: removing module "rawvideo" [0x7fa37c000e18] main encoder debug: removing module "x264" [0x7fa37c000e18] x264 encoder debug: framecount still in libx264 buffer: 0 [0x20a7858] dbus interface debug: Getting property CanSeek [0x7fa37c000e18] x264 encoder: frame I:72 Avg QP:25.76 size: 9358 [0x7fa37c000e18] x264 encoder: mb I I16..4: 38.4% 0.0% 61.6% [0x7fa37c000e18] x264 encoder: final ratefactor: 17.59 [0x7fa37c000e18] x264 encoder: coded y,uvDC,uvAC intra: 85.6% 75.0% 48.7% [0x7fa37c000e18] x264 encoder: i16 v,h,dc,p: 0% 100% 0% 0% [0x7fa37c000e18] x264 encoder: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 0% 98% 2% 0% 0% 0% 0% 0% 0% [0x7fa37c000e18] x264 encoder: i8c dc,h,v,p: 3% 95% 2% 0% [0x7fa37c000e18] x264 encoder: kb/s:2243.57 [0x7fa3804c8ac8] mux_ts mux debug: removing input pid=68 [0x7fa3804c8ac8] mux_ts mux debug: new PCR PID is 8191 [0x7fa3804c8ac8] main mux warning: no more input streams for this mux [0x7fa3804d0398] main demux debug: removing module "v4l2" [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x7fa390008b68] main input debug: Program doesn't contain anymore ES [0x1fe71f8] main playlist debug: incoming request - stopping current input [0x1fe71f8] main playlist debug: dead input [0x7fa380000c38] main stream output debug: destroying useless sout [0x7fa3804ca348] main stream out debug: destroying chain... (name=transcode) [0x7fa3804ca348] main stream out debug: removing module "stream_out_transcode" [0x7fa3804ca348] main stream out debug: destroying chain done [0x7fa3800011e8] main stream out debug: destroying chain... (name=std) [0x7fa3800011e8] main stream out debug: removing module "stream_out_standard" [0x7fa3804c8ac8] main mux debug: removing module "mux_ts" [0x7fa380002118] main access out debug: removing module "access_output_http" [0x20a7858] dbus interface debug: Getting property CanSeek [0x7fa3800034a8] main http host debug: HTTP host removed [0x7fa380002118] access_output_http access out debug: Close [0x7fa3800011e8] main stream out debug: destroying chain done [0x20a8db8] main audio output debug: removing module "pulse" [0x209dd98] qt4 interface debug: IM: Deleting the input [0x209dd98] qt4 interface debug: requesting exit... [0x209dd98] qt4 interface debug: waiting for UI thread... [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x1fd3118] main libvlc debug: exiting [0x20a7858] dbus interface debug: Getting property CanSeek [0x209dd98] qt4 interface debug: QApp exec() finished [0x209dd98] qt4 interface debug: Video is not needed anymore [0x209dd98] qt4 interface debug: Killing extension dialog provider [0x209dd98] qt4 interface debug: ExtensionsDialogProvider is quitting... [0x7fa398249b68] main generic debug: removing module "lua" [0x7fa398249b68] lua generic debug: Deactivating all loaded extensions [0x7fa398249b68] lua generic debug: All extensions are now deactivated [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] dbus interface debug: Getting property CanSeek [0x20a7858] main interface debug: removing module "dbus" [0x20a6938] main interface debug: removing module "globalhotkeys" [0x2211748] main interface debug: removing module "hotkeys" [0x1fe71f8] main playlist debug: destroying [0x20a3dc8] main playlist export debug: saving Media Library to file /home/daniel/.local/share/vlc/ml.xspf [0x20a3dc8] main playlist export debug: looking for playlist export module matching "export-xspf": 4 candidates [0x20a3dc8] main playlist export debug: using playlist export module "export" [0x20a3dc8] main playlist export debug: removing module "export" [0x1fd3118] main libvlc debug: removing stats
The two interesting lines in this log, IMO, are:

Code: Select all

[0x7fa3804d0398] v4l2 demux warning: video standard not set ... [0x7fa3804d0398] v4l2 demux warning: cannot set streaming parameters: Inappropriate ioctl for device
So I'm taking this a step further with strace. The file is too big to include here directly, so the entire strace is on my server:

http://ceregatti.org/strace_log.txt

Here are the interesting bits:

Code: Select all

[pid 17018] ioctl(19, VIDIOC_ENUM_FRAMEINTERVALS, 0x7f66681a9370) = -1 ENOTTY (Inappropriate ioctl for device)
and the subsequent write to stderr:

Code: Select all

[pid 17018] write(2, " unknown frame intervals: Inapp"..., 57 unknown frame intervals: Inappropriate ioctl for device) = 57
And the other one:

Code: Select all

[pid 17018] ioctl(19, VIDIOC_S_PARM, 0x7f66681a9880) = -1 ENOTTY (Inappropriate ioctl for device)
And its stderr:

Code: Select all

[pid 17018] write(2, "cannot set streaming parameters:"..., 63cannot set streaming parameters: Inappropriate ioctl for device) = 63
I'm no v4l2 expert by any means, but the fact that this device works perfectly in xawtv and mplayer imply that this is not a driver problem. From what I'm seeing here, whatever is issuing those calls is at fault. Can we at least agree on that? I'm willing to do whatever it takes to diagnose this problem, so feel free to suggest steps.

Daniel

Rémi Denis-Courmont
Developer
Developer
Posts: 15287
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Problem with v4l2 on latest Mint 17/Ubuntu 14

Postby Rémi Denis-Courmont » 30 Jul 2014 20:54

VLC is correctly complaining that your device needs a video standard and none were specified on the command line (zero is the default value):

Code: Select all

/usr/include/linux/videodev2.h:#define V4L2_STD_UNKNOWN 0
As for the rest, it means VLC cannot get the frame rate informations because the driver sucks. This is not generally fatal but it may affect streaming.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

Daniel Ceregatti
New Cone
New Cone
Posts: 5
Joined: 30 Jul 2014 07:04

Re: Problem with v4l2 on latest Mint 17/Ubuntu 14

Postby Daniel Ceregatti » 30 Jul 2014 22:13

Except the problem still exists if I only do this:

Code: Select all

vlc v4l2:///dev/v4l/bttv_0:input=1:standard=0:width=320:height=240
Log:

Code: Select all

[0x7c2118] main libvlc debug: VLC media player - 2.1.5 Rincewind [0x7c2118] main libvlc debug: Copyright © 1996-2014 the VideoLAN team [0x7c2118] main libvlc debug: revision 2.1.4+git20140722+r54557+19+11~ubuntu14.04.1 [0x7c2118] main libvlc debug: configured with ./configure '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--libdir=${prefix}/lib/x86_64-linux-gnu' '--libexecdir=${prefix}/lib/x86_64-linux-gnu' '--disable-dependency-tracking' '--build=x86_64-linux-gnu' 'CPPFLAGS=-D_FORTIFY_SOURCE=2' 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro' '--config-cache' '--disable-maintainer-mode' '--disable-silent-rules' '--disable-update-check' '--enable-fast-install' '--prefix=/usr' '--docdir=/usr/share/doc/vlc-nox' '--libdir=/usr/lib' '--sysconfdir=/etc' '--with-binary-version=' '--enable-a52' '--enable-aa' '--enable-bluray' '--enable-bonjour' '--enable-caca' '--enable-chromaprint' '--enable-dbus' '--enable-dca' '--enable-dirac' '--enable-directfb' '--enable-dvbpsi' '--enable-dvdnav' '--enable-faad' '--enable-flac' '--enable-fluidsynth' '--enable-freetype' '--enable-fribidi' '--enable-gnutls' '--enable-jack' '--enable-kate' '--enable-libass' '--enable-libfreerdp' '--enable-libmpeg2' '--enable-libxml2' '--enable-lirc' '--enable-live555' '--enable-mad' '--enable-mkv' '--enable-mod' '--enable-mpc' '--enable-mtp' '--enable-mux_ogg' '--enable-ncurses' '--enable-notify' '--enable-ogg' '--enable-opus' '--enable-oss' '--enable-pulse' '--enable-qt' '--enable-realrtsp' '--enable-samplerate' '--enable-schroedinger' '--enable-sdl' '--enable-sftp' '--enable-shout' '--enable-skins2' '--enable-smbclient' '--enable-speex' '--enable-svg' '--enable-taglib' '--enable-theora' '--enable-twolame' '--enable-upnp' '--enable-vcd' '--enable-vcdx' '--enable-vorbis' '--enable-x264' '--enable-zvbi' '--with-kde-solid=/usr/share/kde4/apps/solid/actions/' '--disable-decklink' '--disable-dxva2' '--disable-fdkaac' '--disable-gnomevfs' '--disable-goom' '--disable-libvnc' '--disable-opencv' '--disable-projectm' '--disable-quicksync' '--disable-sndio' '--disable-telx' '--disable-vsxu' '--disable-wasapi' '--enable-alsa' '--enable-atmo' '--enable-dc1394' '--enable-dv1394' '--enable-linsys' '--enable-omxil' '--enable-udev' '--enable-libva' '--enable-v4l2' '--enable-crystalhd' '--enable-mmx' '--enable-sse' '--disable-neon' '--disable-altivec' 'CFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security' 'CXXFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security' 'build_alias=x86_64-linux-gnu' [0x7c2118] main libvlc debug: searching plug-in modules [0x7c2118] main libvlc debug: loading plugins cache file /usr/lib/vlc/plugins/plugins.dat [0x7c2118] main libvlc debug: recursively browsing `/usr/lib/vlc/plugins' [0x7c2118] main libvlc debug: saving plugins cache /usr/lib/vlc/plugins/plugins.dat [0x7c2118] main libvlc debug: plug-ins loaded: 426 modules [0x7c2118] main libvlc debug: opening config file (/home/daniel/.config/vlc/vlcrc) [0x7c2118] main libvlc debug: translation test: code is "C" [0x7c2118] main libvlc debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 3DNow! FPU [0x7ee4a8] main input debug: Creating an input for 'Media Library' [0x7ee4a8] main input debug: Input is a meta file: disabling unneeded options [0x7ee4a8] main input debug: using timeshift granularity of 50 MiB, in path '/tmp' [0x7ee4a8] main input debug: `file/xspf-open:///home/daniel/.local/share/vlc/ml.xspf' gives access `file' demux `xspf-open' path `/home/daniel/.local/share/vlc/ml.xspf' [0x7ee4a8] main input debug: creating demux: access='file' demux='xspf-open' location='/home/daniel/.local/share/vlc/ml.xspf' file='/home/daniel/.local/share/vlc/ml.xspf' [0xa0ba88] main demux debug: looking for access_demux module matching "file": 20 candidates [0xa0ba88] main demux debug: no access_demux modules matched [0x7ee4a8] main input debug: creating access 'file' location='/home/daniel/.local/share/vlc/ml.xspf', path='/home/daniel/.local/share/vlc/ml.xspf' [0x7d8368] main access debug: looking for access module matching "file": 25 candidates [0x7d8368] filesystem access debug: opening file `/home/daniel/.local/share/vlc/ml.xspf' [0x7d8368] main access debug: using access module "filesystem" [0x7d90c8] main stream debug: Using stream method for AStream* [0x7d90c8] main stream debug: starting pre-buffering [0x7d90c8] main stream debug: received first data after 0 ms [0x7d90c8] main stream debug: pre-buffering done 296 bytes in 0s - 9967 KiB/s [0x7d9328] main stream debug: looking for stream_filter module matching "any": 9 candidates [0x7d9328] main stream debug: no stream_filter modules matched [0x7d9328] main stream debug: looking for stream_filter module matching "record": 9 candidates [0x7d9328] main stream debug: using stream_filter module "record" [0x7ee4a8] main input debug: creating demux: access='file' demux='xspf-open' location='/home/daniel/.local/share/vlc/ml.xspf' file='/home/daniel/.local/share/vlc/ml.xspf' [0x7dc0a8] main demux debug: looking for demux module matching "xspf-open": 63 candidates [0x7dc0a8] playlist demux debug: using XSPF playlist reader [0x7dc0a8] main demux debug: using demux module "playlist" [0x7dc318] main demux meta debug: looking for meta reader module matching "any": 2 candidates [0x7dc318] lua demux meta debug: Trying Lua scripts in /home/daniel/.local/share/vlc/lua/meta/reader [0x7dc318] lua demux meta debug: Trying Lua scripts in /usr/lib/vlc/lua/meta/reader [0x7dc318] lua demux meta debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/reader/filename.luac [0x7dc318] lua demux meta debug: Trying Lua scripts in /usr/share/vlc/lua/meta/reader [0x7dc318] main demux meta debug: no meta reader modules matched [0x7ee4a8] main input debug: `file/xspf-open:///home/daniel/.local/share/vlc/ml.xspf' successfully opened [0x894e58] main xml reader debug: looking for xml reader module matching "any": 1 candidates [0x894e58] main xml reader debug: using xml reader module "xml" [0x7dc0a8] playlist demux debug: parsed 0 tracks successfully [0x7ee4a8] main input debug: EOF reached [0x7dc0a8] main demux debug: removing module "playlist" [0x7d9328] main stream debug: removing module "record" [0x7d8368] main access debug: removing module "filesystem" [0x7d6168] main playlist debug: creating audio output [0x897bc8] main audio output debug: looking for audio output module matching "any": 6 candidates [0x897bc8] pulse audio output debug: using library version 4.0.0 [0x897bc8] pulse audio output debug: (compiled with version 4.0.0, protocol 28) [0x897bc8] pulse audio output debug: connected locally to unix:/run/user/1004/pulse/native as client #135 [0x897bc8] pulse audio output debug: using protocol 28, server protocol 28 [0x897bc8] main audio output debug: using audio output module "pulse" [0x7d6168] main playlist debug: keeping audio output [0x7d6168] main playlist debug: adding item `v4l2:///dev/v4l/bttv_0:input=1:standard=0' ( v4l2:///dev/v4l/bttv_0:input=1:standard=0 ) [0x9ff7c8] main interface debug: looking for interface module matching "hotkeys,none": 19 candidates [0x7d6168] main playlist debug: meta ok for (null), need to fetch art [0x897bc8] pulse audio output debug: adding sink 12: alsa_output.pci-0000_00_04.0.analog-stereo (Built-in Audio Analog Stereo) [0x9ff7c8] main interface debug: using interface module "hotkeys" [0x895748] main interface debug: looking for interface module matching "globalhotkeys,none": 19 candidates [0x7f3b40000958] main demux meta debug: looking for meta fetcher module matching "any": 1 candidates [0x7f3b40000958] lua demux meta debug: Trying Lua scripts in /home/daniel/.local/share/vlc/lua/meta/fetcher [0x7f3b40000958] lua demux meta debug: Trying Lua scripts in /usr/lib/vlc/lua/meta/fetcher [0x7f3b40000958] lua demux meta debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/fetcher/tvrage.luac [0x895748] main interface debug: using interface module "globalhotkeys" [0x896638] main interface debug: looking for interface module matching "dbus,none": 19 candidates [0x7f3b40000958] main demux meta debug: using meta fetcher module "lua" [0x7f3b40000958] main demux meta debug: removing module "lua" [0x7d6168] main playlist debug: searching art for v4l2:///dev/v4l/bttv_0:input=1:standard=0 [0x7f3b40000958] main art finder debug: looking for art finder module matching "any": 2 candidates [0x896638] dbus interface debug: listening on dbus as: org.mpris.MediaPlayer2.vlc.instance19929 [0x896638] main interface debug: using interface module "dbus" [0x7c2118] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. [0x88caf8] main interface debug: looking for interface module matching "any": 19 candidates [0x896638] dbus interface debug: Getting All properties [0x7f3b40000958] lua art finder debug: Trying Lua scripts in /home/daniel/.local/share/vlc/lua/meta/art [0x7f3b40000958] lua art finder debug: Trying Lua scripts in /usr/lib/vlc/lua/meta/art [0x7f3b40000958] lua art finder debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/art/00_musicbrainz.luac [0x7f3b40000958] lua art finder debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/art/01_googleimage.luac [0x7f3b40000958] lua art finder debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/art/02_frenchtv.luac [0x7f3b40000958] lua art finder debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/art/03_lastfm.luac [0x7f3b40000958] lua art finder debug: Trying Lua scripts in /usr/share/vlc/lua/meta/art [0x7f3b40000958] main art finder debug: no art finder modules matched [0x7d6168] main playlist debug: art not found for v4l2:///dev/v4l/bttv_0:input=1:standard=0 [0x896638] dbus interface debug: Getting property CanRaise [0x896638] dbus interface debug: Getting property CanQuit [0x896638] dbus interface debug: Getting property PlaybackStatus [0x896638] dbus interface debug: Getting property Metadata [0x896638] dbus interface debug: Getting property Position [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x7f3b44279888] main generic debug: looking for extension module matching "any": 1 candidates [0x7f3b44279888] lua generic debug: Opening Lua Extension module [0x7f3b44279888] lua generic debug: Trying Lua scripts in /home/daniel/.local/share/vlc/lua/extensions [0x7f3b44279888] lua generic debug: Trying Lua scripts in /usr/lib/vlc/lua/extensions [0x7f3b44279888] lua generic debug: Trying Lua playlist script /usr/lib/vlc/lua/extensions/VLSub.luac [0x7f3b44279888] lua generic debug: Scanning Lua script /usr/lib/vlc/lua/extensions/VLSub.luac [0x7f3b44279888] lua generic debug: Script /usr/lib/vlc/lua/extensions/VLSub.luac has the following capability flags: 0x5 [0x7f3b44279888] lua generic debug: Trying Lua scripts in /usr/share/vlc/lua/extensions [0x7f3b44279888] main generic debug: using extension module "lua" "sni-qt/19929" WARN 19:31:17.676 void StatusNotifierItemFactory::connectToSnw() Invalid interface to SNW_SERVICE [0x88caf8] main interface debug: using interface module "qt4" [0x7d6168] main playlist debug: processing request item: null, node: Playlist, skip: 0 [0x7d6168] main playlist debug: rebuilding array of current - root Playlist [0x7d6168] main playlist debug: rebuild done - 1 items, index -1 [0x7d6168] main playlist debug: starting playback of the new playlist item [0x7d6168] main playlist debug: resyncing on v4l2:///dev/v4l/bttv_0:input=1:standard=0 [0x7d6168] main playlist debug: v4l2:///dev/v4l/bttv_0:input=1:standard=0 is at 0 [0x7d6168] main playlist debug: creating new input thread [0x7f3b40008ba8] main input debug: Creating an input for 'v4l2:///dev/v4l/bttv_0:input=1:standard=0' [0x7f3b40008ba8] main input debug: using timeshift granularity of 50 MiB, in path '/tmp' [0x88caf8] qt4 interface debug: IM: Setting an input [0x7f3b40008ba8] main input debug: `v4l2:///dev/v4l/bttv_0:input=1:standard=0' gives access `v4l2' demux `' path `/dev/v4l/bttv_0:input=1:standard=0' [0x7f3b40008ba8] main input debug: creating demux: access='v4l2' demux='' location='/dev/v4l/bttv_0:input=1:standard=0' file='/dev/v4l/bttv_0:input=1:standard=0' [0x7f3b34000e68] main demux debug: looking for access_demux module matching "v4l2": 20 candidates [0x7f3b34000e68] v4l2 demux debug: opening device '/dev/v4l/bttv_0' [0x7f3b34000e68] v4l2 demux debug: device BT848A video (IMS/IXmicro Turbo using driver bttv (version 3.13.9) on PCI:0000:03:01.0 [0x7f3b34000e68] v4l2 demux debug: with capabilities 0x05010005 (overall 0x85010015) [0x7f3b34000e68] v4l2 demux debug: video input Composite1 (1) is camera [0x7f3b34000e68] v4l2 demux debug: selected input 1 [0x7f3b34000e68] v4l2 demux warning: video standard not set [0x7f3b34000e68] v4l2 demux debug: no tuning required (analog baseband input) [0x7f3b34000e68] v4l2 demux debug: no audio input available [0x7f3b34000e68] v4l2 demux debug: supports raw format GREY (GREY): 8 bpp, gray [0x7f3b34000e68] v4l2 demux debug: supports raw format HI24 (N.A.): 8 bpp, dithered color [0x7f3b34000e68] v4l2 demux debug: supports raw format RGBO (RV15): 15 bpp RGB, le [0x7f3b34000e68] v4l2 demux debug: supports raw format RGBQ (N.A.): 15 bpp RGB, be [0x7f3b34000e68] v4l2 demux debug: supports raw format RGBP (RV16): 16 bpp RGB, le [0x7f3b34000e68] v4l2 demux debug: supports raw format RGBR (N.A.): 16 bpp RGB, be [0x7f3b34000e68] v4l2 demux debug: supports raw format BGR3 (RV24): 24 bpp RGB, le [0x7f3b34000e68] v4l2 demux debug: supports raw format BGR4 (RV32): 32 bpp RGB, le [0x7f3b34000e68] v4l2 demux debug: supports raw format RGB4 (RV32): 32 bpp RGB, be [0x7f3b34000e68] v4l2 demux debug: supports raw format YUYV (YUY2): 4:2:2, packed, YUYV [0x7f3b34000e68] v4l2 demux debug: supports raw format UYVY (UYVY): 4:2:2, packed, UYVY [0x7f3b34000e68] v4l2 demux debug: supports raw format 422P (I422): 4:2:2, planar, Y-Cb-Cr [0x7f3b34000e68] v4l2 demux debug: supports raw format YU12 (I420): 4:2:0, planar, Y-Cb-Cr [0x7f3b34000e68] v4l2 demux debug: supports raw format YV12 (YV12): 4:2:0, planar, Y-Cr-Cb [0x7f3b34000e68] v4l2 demux debug: supports raw format 411P (I411): 4:1:1, planar, Y-Cb-Cr [0x7f3b34000e68] v4l2 demux debug: supports raw format YUV9 (I410): 4:1:0, planar, Y-Cb-Cr [0x7f3b34000e68] v4l2 demux debug: supports raw format YVU9 (N.A.): 4:1:0, planar, Y-Cr-Cb [0x7f3b34000e68] v4l2 demux debug: emulates raw format RGB3 (RV24): RGB3 [0x7f3b34000e68] v4l2 demux debug: selected format YU12 (I420) [0x7f3b34000e68] v4l2 demux debug: unknown frame sizes: Invalid argument [0x7f3b34000e68] v4l2 demux debug: current frame size: 320x240 [0x7f3b34000e68] v4l2 demux debug: unknown frame intervals: Inappropriate ioctl for device [0x7f3b34000e68] v4l2 demux debug: constant frame interval: 1001/30000 [0x7f3b34000e68] v4l2 demux warning: cannot set streaming parameters: Inappropriate ioctl for device [0x7f3b34000e68] v4l2 demux debug: 115200 bytes maximum for complete image [0x7f3b34000e68] v4l2 demux debug: Interlacing setting: interleaved [0x7f3b34000e68] v4l2 demux debug: added new video ES I420 320x240 [0x7f3b34000e68] v4l2 demux debug: frame rate: 30000/1001 [0x7f3b34000e68] v4l2 demux debug: aspect ratio: 910/780 [0x7f3b40008ba8] main input debug: selecting program id=0 [0x7f3b34000e68] v4l2 demux debug: streaming with 4 memory-mapped buffers [0x7f3b34000e68] v4l2 demux debug: control class User Controls: [0x7f3b34000e68] v4l2 demux debug: integer Brightness (00980900) [0x7f3b34000e68] v4l2 demux debug: current: 32768, default: 32768 [0x7f3b34000e68] v4l2 demux debug: integer Contrast (00980901) [0x7f3b34000e68] v4l2 demux debug: current: 27648, default: 27648 [0x7f3b34000e68] v4l2 demux debug: integer Saturation (00980902) [0x7f3b34000e68] v4l2 demux debug: current: 32768, default: 32768 [0x7f3b34000e68] v4l2 demux debug: integer Hue (00980903) [0x7f3b34000e68] v4l2 demux debug: current: 32768, default: 32768 [0x7f3b34000e68] v4l2 demux debug: boolean Mute (00980909) [0x7f3b34000e68] v4l2 demux debug: current: false, default: false [0x7f3b34000e68] v4l2 demux debug: boolean Chroma AGC (0098091D) [0x7f3b34000e68] v4l2 demux debug: current: false, default: false [0x7f3b34000e68] v4l2 demux debug: boolean Color Killer (0098091E) [0x7f3b34000e68] v4l2 demux debug: current: false, default: false [0x7f3b34000e68] v4l2 demux debug: boolean Comb Filter (00981910) [0x7f3b34000e68] v4l2 demux debug: current: false, default: false [0x7f3b34000e68] v4l2 demux debug: boolean Auto Mute (00981911) [0x7f3b34000e68] v4l2 demux debug: current: true, default: true [0x7f3b34000e68] v4l2 demux debug: boolean Luma Decimation Filter (00981912) [0x7f3b34000e68] v4l2 demux debug: current: false, default: false [0x7f3b34000e68] v4l2 demux debug: boolean AGC Crush (00981913) [0x7f3b34000e68] v4l2 demux debug: current: true, default: true [0x7f3b34000e68] v4l2 demux debug: boolean VCR Hack (00981914) [0x7f3b34000e68] v4l2 demux debug: current: false, default: false [0x7f3b34000e68] v4l2 demux debug: integer Whitecrush Lower (00981915) [0x7f3b34000e68] v4l2 demux debug: current: 127, default: 127 [0x7f3b34000e68] v4l2 demux debug: integer Whitecrush Upper (00981916) [0x7f3b34000e68] v4l2 demux debug: current: 207, default: 207 [0x7f3b34000e68] v4l2 demux debug: integer UV Ratio (00981917) [0x7f3b34000e68] v4l2 demux debug: current: 50, default: 50 [0x7f3b34000e68] v4l2 demux debug: boolean Full Luma Range (00981918) [0x7f3b34000e68] v4l2 demux debug: current: false, default: false [0x7f3b34000e68] v4l2 demux debug: integer Coring (00981919) [0x7f3b34000e68] v4l2 demux debug: current: 0, default: 0 [0x7f3b34000e68] main demux debug: using access_demux module "v4l2" [0x7f3b34003cc8] main decoder debug: looking for decoder module matching "any": 39 candidates [0x7f3b34003cc8] main decoder debug: using decoder module "rawvideo" [0x7f3b34021898] main demux meta debug: looking for meta reader module matching "any": 2 candidates [0x7f3b34021898] lua demux meta debug: Trying Lua scripts in /home/daniel/.local/share/vlc/lua/meta/reader [0x7f3b34021898] lua demux meta debug: Trying Lua scripts in /usr/lib/vlc/lua/meta/reader [0x7f3b34021898] lua demux meta debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/reader/filename.luac [0x7f3b34021898] lua demux meta debug: Trying Lua scripts in /usr/share/vlc/lua/meta/reader [0x7f3b34021898] main demux meta debug: no meta reader modules matched [0x7f3b40008ba8] main input debug: `v4l2:///dev/v4l/bttv_0:input=1:standard=0' successfully opened [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x7f3b40008ba8] main input debug: Buffering 0% [0x7f3b20001d48] main spu text debug: looking for text renderer module matching "any": 2 candidates [0x896638] dbus interface debug: Getting property CanSeek [0x7f3b20001d48] freetype spu text debug: Building font databases. [0x7f3b20001d48] freetype spu text debug: Took 2 microseconds Fontconfig warning: FcPattern object size does not accept value "0" [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek Fontconfig warning: FcPattern object size does not accept value "0" [0x7f3b20001d48] freetype spu text debug: Using Serif Bold as font from file /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf [0x7f3b20001d48] freetype spu text debug: using fontsize: 2 [0x7f3b20001d48] main spu text debug: using text renderer module "freetype" [0x7f3b20009b18] main scale debug: looking for video filter2 module matching "any": 55 candidates [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x7f3b20009b18] swscale scale debug: 32x32 chroma: YUVA -> 16x16 chroma: RGBA with scaling using Bicubic (good quality) [0x7f3b20009b18] main scale debug: using video filter2 module "swscale" [0x7f3b20021e08] main scale debug: looking for video filter2 module matching "any": 55 candidates [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x7f3b20021e08] yuvp scale debug: YUVP to YUVA converter [0x7f3b20021e08] main scale debug: using video filter2 module "yuvp" [0x7f3b20000958] main video output debug: Deinterlacing available [0x7f3b20000958] main video output debug: deinterlace 0, mode blend, is_needed 0 [0x896638] dbus interface debug: Getting property CanSeek [0x7f3b20000958] main video output debug: Opening vout display wrapper [0x896638] dbus interface debug: Getting property CanSeek [0x7f3b1c001248] main vout display debug: looking for vout display module matching "any": 12 candidates [0x7f3b1c0040a8] main window debug: looking for vout window xid module matching "qt4,any": 4 candidates [0x7f3b1c0040a8] qt4 window debug: requesting video window... [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x88caf8] qt4 interface debug: Video was requested 0, 0 [0x896638] dbus interface debug: Getting property CanSeek [0x7f3b1c0040a8] main window debug: using vout window xid module "qt4" [0x7f3b1c0042f8] main inhibit debug: looking for inhibit module matching "any": 2 candidates [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x7f3b1c0042f8] dbus_screensaver inhibit debug: found service org.freedesktop.ScreenSaver [0x7f3b1c0042f8] main inhibit debug: using inhibit module "dbus_screensaver" [0x896638] dbus interface debug: Getting property CanSeek [0x7f3b1c001248] xcb_xv vout display debug: connected to X11.0 server [0x7f3b1c001248] xcb_xv vout display debug: vendor : The X.Org Foundation [0x7f3b1c001248] xcb_xv vout display debug: version: 11501000 [0x7f3b1c001248] xcb_xv vout display debug: using screen 0x251 [0x7f3b1c001248] xcb_xv vout display debug: using XVideo extension v2.2 [0x7f3b1c001248] xcb_xv vout display debug: using adaptor NV17 Video Texture [0x7f3b1c001248] xcb_xv vout display debug: using port 505 [0x7f3b1c001248] xcb_xv vout display debug: using image format 0x30323449 [0x7f3b1c001248] xcb_xv vout display debug: using X11 visual ID 0x21 (depth: 24) [0x7f3b1c001248] xcb_xv vout display debug: using X11 window 0x02c00000 [0x7f3b1c001248] xcb_xv vout display debug: using X11 graphic context 0x02c00002 [0x7f3b1c001248] main vout display debug: VoutDisplayEvent 'fullscreen' 0 [0x7f3b1c001248] main vout display debug: VoutDisplayEvent 'resize' 489x240 window [0x7f3b1c001248] main vout display debug: using vout display module "xcb_xv" [0x7f3b20000958] main video output debug: original format sz 320x240, of (0,0), vsz 320x240, 4cc I420, sar 7:6, msk r0x0 g0x0 b0x0 [0x7f3b20001d48] main spu text debug: removing module "freetype" [0x7f3b20001d48] main spu text debug: looking for text renderer module matching "any": 2 candidates [0x7f3b20001d48] freetype spu text debug: Building font databases. [0x7f3b20001d48] freetype spu text debug: Took 2 microseconds Fontconfig warning: FcPattern object size does not accept value "0" Fontconfig warning: FcPattern object size does not accept value "0" [0x7f3b20001d48] freetype spu text debug: Using Serif Bold as font from file /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf [0x7f3b20001d48] freetype spu text debug: using fontsize: 2 [0x7f3b20001d48] main spu text debug: using text renderer module "freetype" [0x7f3b34003cc8] main decoder debug: End of video preroll [0x896638] dbus interface debug: Getting property CanSeek [0x7f3b34003cc8] main decoder debug: Received first picture [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x7f3b1c010118] main blend debug: looking for video blending module matching "any": 1 candidates [0x7f3b1c010118] main blend debug: using video blending module "blend" [0x7f3b20000958] main video output debug: Detected interlaced video [0x7f3b20000958] main video output debug: deinterlace 0, mode blend, is_needed 1 [0x7f3b1c001248] xcb_xv vout display debug: unhandled event 0 [0x7f3b1c001248] main vout display error: Failed to resize display [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x7f3b40008ba8] main input debug: Buffering 22% [0x7f3b1c001248] main vout display debug: VoutDisplayEvent 'resize' 373x240 window [0x7f3b1c001248] main vout display debug: VoutDisplayEvent 'resize' 489x240 window [0x7f3b40008ba8] main input debug: Buffering 44% [0x7f3b40008ba8] main input debug: Buffering 66% [0x7f3b1c001248] xcb_xv vout display debug: display is visible [0x7f3b40008ba8] main input debug: Buffering 88% [0x7f3b40008ba8] main input debug: Stream buffering done (333 ms in 333 ms) [0x7f3b40008ba8] main input debug: Decoder buffering done in 0 ms [0x896638] dbus interface debug: Getting property Position [0x7f3b1c001248] main vout display debug: auto hiding mouse cursor [0x7f3b1c001248] main vout display debug: auto hiding mouse cursor [0x7c2118] main libvlc debug: exiting [0x7c2118] main libvlc debug: removing all interfaces [0x7c2118] main libvlc debug: exiting [0x88caf8] main interface debug: removing module "qt4" [0x7d6168] main playlist debug: deactivating the playlist [0x7d6168] main playlist debug: incoming request - stopping current input [0x7f3b40008ba8] main input debug: control: stopping input [0x7d6168] main playlist debug: incoming request - stopping current input [0x7d6168] main playlist debug: finished input [0x7f3b34003cc8] main decoder debug: removing module "rawvideo" [0x7f3b34003cc8] main decoder debug: killing decoder fourcc `I420', 0 PES in FIFO [0x7d6168] main playlist debug: saving a free vout [0x7d6168] main playlist debug: reusing provided vout [0x7f3b34000e68] main demux debug: removing module "v4l2" [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x7f3b40008ba8] main input debug: Program doesn't contain anymore ES [0x7d6168] main playlist debug: incoming request - stopping current input [0x7d6168] main playlist debug: dead input [0x897bc8] main audio output debug: removing module "pulse" [0x88caf8] qt4 interface debug: IM: Deleting the input [0x7f3b20000958] main video output debug: destroying useless vout [0x7f3b1c010118] main blend debug: removing module "blend" [0x7f3b1c001248] main vout display debug: removing module "xcb_xv" [0x7f3b1c0042f8] dbus_screensaver inhibit debug: got cookie 1023546661 [0x7f3b1c0042f8] main inhibit debug: removing module "dbus_screensaver" [0x7f3b1c0040a8] qt4 window debug: releasing video... [0x88caf8] qt4 interface debug: Video is not needed anymore [0x7f3b20001d48] main spu text debug: removing module "freetype" [0x7f3b20021e08] main scale debug: removing module "yuvp" [0x7f3b20009b18] main scale debug: removing module "swscale" [0x88caf8] qt4 interface debug: requesting exit... [0x88caf8] qt4 interface debug: waiting for UI thread... [0x896638] dbus interface debug: Getting property CanSeek [0x88caf8] qt4 interface debug: QApp exec() finished [0x88caf8] qt4 interface debug: Video is not needed anymore [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x88caf8] qt4 interface debug: Killing extension dialog provider [0x88caf8] qt4 interface debug: ExtensionsDialogProvider is quitting... [0x7f3b44279888] main generic debug: removing module "lua" [0x7f3b44279888] lua generic debug: Deactivating all loaded extensions [0x7f3b44279888] lua generic debug: All extensions are now deactivated [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] dbus interface debug: Getting property CanSeek [0x896638] main interface debug: removing module "dbus" [0x895748] main interface debug: removing module "globalhotkeys" [0x9ff7c8] main interface debug: removing module "hotkeys" [0x7d6168] main playlist debug: destroying [0x7ee4a8] main playlist export debug: saving Media Library to file /home/daniel/.local/share/vlc/ml.xspf [0x7ee4a8] main playlist export debug: looking for playlist export module matching "export-xspf": 4 candidates [0x7ee4a8] main playlist export debug: using playlist export module "export" [0x7ee4a8] main playlist export debug: removing module "export" [0x7c2118] main libvlc debug: removing stats
Surely this can't be desired behavior? I'll grant that perhaps the driver sucks, but other programs which are also using libv4l* and friends work fine. Example:

Code: Select all

mplayer tv:// -tv driver=v4l2:width=320:height=240:outfmt=i420:norm=0:device=/dev/v4l/bttv_0:input=1 -vc rawi420 -vo xv
Screen shot of mplayer:

Image

And here's vlc:

Code: Select all

vlc v4l2:///dev/v4l/bttv_0:input=1:standard=0:width=320:height=240
Screen shot of vlc:

Image

Again, this was all working fine on Mint 15/Ubuntu 12 kernel 3.8.0-35 on vlc 2.0.8. The difference now is Mint 17/Ubuntu 14, kernel 3.13.0-24 on vlc 2.1.5. I've seen a few other posts here on the forums mentioning similar problems. They also report mplayer and xawtv working fine. Not sure what else I can say regarding this. I've gone above and beyond to create a credible and detailed report. Should I file a proper bug? Will that get more attention?

Thanks,

Daniel

Rémi Denis-Courmont
Developer
Developer
Posts: 15287
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Problem with v4l2 on latest Mint 17/Ubuntu 14

Postby Rémi Denis-Courmont » 30 Jul 2014 22:21

Again, standard=0 is not what you want (unless your driver can autotune, which it evidently cannot).
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

Daniel Ceregatti
New Cone
New Cone
Posts: 5
Joined: 30 Jul 2014 07:04

Re: Problem with v4l2 on latest Mint 17/Ubuntu 14

Postby Daniel Ceregatti » 03 Sep 2014 20:29

After more research, I came upon this:

https://trac.videolan.org/vlc/ticket/10378

My streaming script now works. Here it is:

Code: Select all

#!/bin/bash # Ensure the time shows up properly export TZ=PST8PDT VERBOSE="" # -vvv USER=************** PASS=************** PORT=8086 MUX="ts{use-key-frames}" MIME=video/mp4 VCODEC="h264,venc=x264{keyint=30,profile=main}" VB=2000 ACODEC=mp3 AB=128 F=$$.conf trap ' echo "Signal caught..." exit ' SIGINT SIGTERM trap ' echo "Exiting..." rm -f $F; ' EXIT echo cat >> ${F} <<EOF del all # North yard new cam1 broadcast enabled setup cam1 input v4l2:///dev/v4l/bttv_0:width=320:height=240:input=1:standard=NTSC:chroma=YUYV setup cam1 output #duplicate{dst=mosaic-bridge{id=1,height=320,width=240} # Back yard new cam2 broadcast enabled setup cam2 input v4l2:///dev/v4l/saa7134_0:width=320:height=240:input=0:standard=NTSC:chroma=YUYV setup cam2 output #duplicate{dst=mosaic-bridge{id=2,height=320,width=240}} # South yard new cam3 broadcast enabled setup cam3 input v4l2:///dev/v4l/saa7134_1:width=320:height=240:input=0:standard=NTSC:chroma=YUYV setup cam3 output #duplicate{dst=mosaic-bridge{id=3,height=320,width=240}} # Front yard new cam4 broadcast enabled setup cam4 input v4l2:///dev/v4l/saa7134_2:width=320:height=240:input=0:standard=NTSC:chroma=YUYV setup cam4 output #duplicate{dst=mosaic-bridge{id=4,height=320,width=240}} # Front door new cam5 broadcast enabled setup cam5 input v4l2:///dev/v4l/saa7134_3:width=320:height=240:input=0:standard=NTSC:chroma=YUYV setup cam5 output #duplicate{dst=mosaic-bridge{id=5,height=320,width=240}} # Inside Garage new cam6 broadcast enabled setup cam6 input v4l2:///dev/v4l/webcam:width=320:height=240:input=0 setup cam6 output #duplicate{dst=mosaic-bridge{id=6,height=320,width=240}} new audio broadcast enabled setup audio input alsa://pulse setup audio output #transcode{acodec=${ACODEC},ab=${AB},samplerate=44100}:bridge-out new bg broadcast enabled setup bg input "bg.png" setup bg option image-duration=-1 setup bg output #transcode{\ width=960,\ height=480,\ sfilter="\ marq{marquee=Date: %m-%d-%Y - Time: %H:%M:%S %Z,size=15,x=300,y=465}:\ marq{marquee=Front Yard,size=10,x=5,y=5}:\ marq{marquee=Front Door,size=10,x=325,y=5}:\ marq{marquee=Back Yard,size=10,x=645,y=5}:\ marq{marquee=South Yard,size=10,x=5,y=245}:\ marq{marquee=North Yard,size=10,x=325,y=245}:\ marq{marquee=Garage,size=10,x=645,y=245}:\ mosaic{width=960,height=480,position=1,order='4,5,2,3,1,6',cols=3}\ ",\ vcodec=${VCODEC},\ vb=${VB}\ }\ :bridge-in:std{access=http{mime=${MIME},user=${USER},pwd=${PASS}},mux=${MUX},dst=:${PORT}/} control cam1 play control cam2 play control cam3 play control cam4 play control cam5 play control cam6 play control audio play control bg play EOF while [ true ] do cvlc \ ${VERBOSE} -I dummy \ --vlm-conf ${F} sleep 1 done
The fix was to add :chroma=YUYV to the v4l2 section of each input camera.

While it is now evident that this is in fact a driver issue, it was easy for me to discount such an assertion when it worked before. Sorry about that.

Now to get the marquee parts working!

Daniel


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 24 guests