Streaming audio and video via vlc with OSSv4

OSS specific Linux discussion (x86/amd64)

Moderators: hannu, dev, cesium, kodachi

Streaming audio and video via vlc with OSSv4

Postby adamk » Sun Sep 04, 2011 4:32 pm

I've tried on two separate machines, one with oss_em10k1x and one with snd_hdaudio, so it doesn't seem to be driver/card specific, but rather an issue with OSSv4, in general, and VLC.



vlc starts up, claims to open /dev/dsp, but it doesn't stream any audio. If I connect to the stream from another machine with mplayer, I get "Audio: no sound", though the video displays fine. vmix0-invu on the system doing the streaming doesn't show any activity, no matter what recording device is selected. Even if I select 'vol' as the recording device when playing an mp3 (and vmix0-outvu is happily showing the audio stream being played), vmix0-invu remains still.

The vlc command:

Code: Select all
vlc -vvv -I dummy --color v4l2:///dev/video0:norm=ntsc:size=320x240:channel=0:input=1:audio=1 :input-slave=oss:// --sout '#transcode{vcodec=mp2v,vb=800,scale=1,acodec=mpga,ab=128,channels=2,samplerate=44100}:std{access=http,mux=ts,dst=192.168.5.99:8080}


If I switch to the alsa drivers, and change oss:// to alsa://, it works just fine.

Here's the output from vlc:

Code: Select all
VLC media player 1.1.11 The Luggage (revision exported)
[0x8f208fc] main libvlc debug: VLC media player - 1.1.11 The Luggage
[0x8f208fc] main libvlc debug: Copyright © 1996-2011 the VideoLAN team
[0x8f208fc] main libvlc debug: revision exported
[0x8f208fc] main libvlc debug: configured with ./configure  '--build=i686-pc-linux-gnu' '--host=i686-pc-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--disable-dependency-tracking' '--with-pic' '--disable-rpath' '--with-binary-version=1.1.11' '--with-tuning=no' '--disable-notify' '--with-kde-solid=/usr/share/kde4/apps/solid/actions' '--enable-switcher' '--enable-lua' '--enable-live555' '--enable-dv' '--enable-opencv' '--enable-sftp' '--enable-pvr' '--enable-vcdx' '--enable-omxil' '--enable-faad' '--enable-twolame' '--enable-real' '--enable-realrtsp' '--enable-flac' '--enable-tremor' '--enable-speex' '--enable-theora' '--enable-dirac' '--enable-libass' '--enable-shout' '--enable-xcb' '--enable-svg' '--enable-snapshot' '--enable-svgalib' '--enable-directfb' '--enable-aa' '--enable-caca' '--enable-jack' '--enable-portaudio' '--enable-pulse' '--enable-ncurses' '--enable-fbosd' '--enable-lirc' '--enable-loader' '--enable-mozilla' 'build_alias=i686-pc-linux-gnu' 'host_alias=i686-pc-linux-gnu' 'CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables' 'CXXFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables' 'PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/share/pkgconfig'
[0x8f208fc] main libvlc debug: translation test: code is "C"
[0x8f208fc] main libvlc debug: checking plugin modules
[0x8f208fc] main libvlc debug: loading plugins cache file /usr/lib/vlc/plugins/plugins-04041e-1e8.dat
[0x8f208fc] main libvlc debug: recursively browsing `/usr/lib/vlc/plugins'
[0x8f208fc] main libvlc debug: saving plugins cache /usr/lib/vlc/plugins/plugins-04041e-1e8.dat
[0x8f208fc] main libvlc debug: module bank initialized (408 modules)
[0x8f208fc] main libvlc debug: opening config file (/home/adamk/.config/vlc/vlcrc)
[0x8f208fc] main libvlc debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 FPU
[0x8f208fc] main libvlc debug: looking for memcpy module: 3 candidates
[0x8f208fc] main libvlc debug: using memcpy module "memcpymmxext"
[0x8fbaebc] main input debug: Creating an input for 'Media Library'
[0x8fbaebc] main input debug: Input is a meta file: disabling unneeded options
[0x8fbaebc] main input debug: using timeshift granularity of 50 MiB
[0x8fbaebc] main input debug: using timeshift path '/tmp'
[0x8fbaebc] main input debug: `file/xspf-open:///home/adamk/.local/share/vlc/ml.xspf' gives access `file' demux `xspf-open' path `/home/adamk/.local/share/vlc/ml.xspf'
[0x8fbaebc] main input debug: creating demux: access='file' demux='xspf-open' path='/home/adamk/.local/share/vlc/ml.xspf'
[0x8fbed34] main demux debug: looking for access_demux module: 2 candidates
[0x8fbed34] main demux debug: no access_demux module matching "file" could be loaded
[0x8fbed34] main demux debug: TIMER module_need() : 0.372 ms - Total 0.372 ms / 1 intvls (Avg 0.372 ms)
[0x8fbaebc] main input debug: creating access 'file' path='/home/adamk/.local/share/vlc/ml.xspf'
[0x8fbed14] main access debug: looking for access module: 2 candidates
[0x8fbed14] filesystem access debug: opening file `/home/adamk/.local/share/vlc/ml.xspf'
[0x8fbed14] main access debug: using access module "filesystem"
[0x8fbed14] main access debug: TIMER module_need() : 0.266 ms - Total 0.266 ms / 1 intvls (Avg 0.266 ms)
[0x8fbf154] main stream debug: Using AStream*Stream
[0x8fbf154] main stream debug: pre buffering
[0x8fbf154] main stream debug: received first data after 0 ms
[0x8fbf154] main stream debug: pre-buffering done 296 bytes in 0s - 5071 KiB/s
[0x8fbf39c] main stream debug: looking for stream_filter module: 5 candidates
[0x8fbf39c] main stream debug: no stream_filter module matching "any" could be loaded
[0x8fbf39c] main stream debug: TIMER module_need() : 0.205 ms - Total 0.205 ms / 1 intvls (Avg 0.205 ms)
[0x8fbf364] main stream debug: looking for stream_filter module: 1 candidate
[0x8fbf364] main stream debug: using stream_filter module "stream_filter_record"
[0x8fbf364] main stream debug: TIMER module_need() : 0.146 ms - Total 0.146 ms / 1 intvls (Avg 0.146 ms)
[0x8fbaebc] main input debug: creating demux: access='file' demux='xspf-open' path='/home/adamk/.local/share/vlc/ml.xspf'
[0x8fbf4dc] main demux debug: looking for demux module: 1 candidate
[0x8fbf4dc] playlist demux debug: using XSPF playlist reader
[0x8fbf4dc] main demux debug: using demux module "playlist"
[0x8fbf4dc] main demux debug: TIMER module_need() : 0.142 ms - Total 0.142 ms / 1 intvls (Avg 0.142 ms)
[0x9116e4c] main demux meta debug: looking for meta reader module: 2 candidates
[0x9116e4c] lua demux meta debug: Trying Lua scripts in /home/adamk/.local/share/vlc/lua/meta/reader
[0x9116e4c] lua demux meta debug: Trying Lua scripts in /usr/lib/vlc/lua/meta/reader
[0x9116e4c] lua demux meta debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/reader/filename.luac
[0x9116e4c] lua demux meta debug: Trying Lua scripts in /usr/share/vlc/lua/meta/reader
[0x9116e4c] main demux meta debug: no meta reader module matching "any" could be loaded
[0x9116e4c] main demux meta debug: TIMER module_need() : 1.174 ms - Total 1.174 ms / 1 intvls (Avg 1.174 ms)
[0x8fbaebc] main input debug: `file/xspf-open:///home/adamk/.local/share/vlc/ml.xspf' successfully opened
[0x911d214] main xml debug: looking for xml module: 2 candidates
[0x911d214] main xml debug: using xml module "xml"
[0x911d214] main xml debug: TIMER module_need() : 0.371 ms - Total 0.371 ms / 1 intvls (Avg 0.371 ms)
[0x8fbf4dc] playlist demux debug: parsed 0 tracks successfully
[0x911d214] main xml debug: removing module "xml"
[0x8fbaebc] main input debug: EOF reached
[0x8fbf4dc] main demux debug: removing module "playlist"
[0x8fbf364] main stream debug: removing module "stream_filter_record"
[0x8fbed14] main access debug: removing module "filesystem"
[0x8fbaebc] main input debug: TIMER input launching for 'Media Library' : 3.259 ms - Total 3.259 ms / 1 intvls (Avg 3.259 ms)
[0x8fbf364] main interface debug: looking for interface module: 1 candidate
[0x8fbf364] main interface debug: using interface module "hotkeys"
[0x8fbf364] main interface debug: TIMER module_need() : 0.348 ms - Total 0.348 ms / 1 intvls (Avg 0.348 ms)
[0x8fbf624] main interface debug: looking for interface module: 1 candidate
Blocked: call to unsetenv("DBUS_ACTIVATION_ADDRESS")
Blocked: call to unsetenv("DBUS_ACTIVATION_BUS_TYPE")
[0x8fb99fc] main playlist debug: Activated
[0x8fbf624] main interface debug: using interface module "inhibit"
[0x8fb99fc] main playlist debug: rebuilding array of current - root Playlist
[0x8fb99fc] main playlist debug: rebuild done - 0 items, index -1
[0x8fbf624] main interface debug: TIMER module_need() : 233.986 ms - Total 233.986 ms / 1 intvls (Avg 233.986 ms)
[0x8fb99fc] main playlist debug: adding item `v4l2:///dev/video0:norm=ntsc:size=320x240:channel=0:input=1:audio=1' ( v4l2:///dev/video0:norm=ntsc:size=320x240:channel=0:input=1:audio=1 )
[0x8fbe0c4] main interface debug: looking for interface module: 1 candidate
[0x8fbe0c4] main interface debug: using interface module "signals"
[0x8fbe0c4] main interface debug: TIMER module_need() : 0.878 ms - Total 0.878 ms / 1 intvls (Avg 0.878 ms)
[0x8fbe65c] main interface debug: looking for interface module: 1 candidate
[0x8fbe65c] main interface debug: using interface module "globalhotkeys"
[0x8fbe65c] main interface debug: TIMER module_need() : 35.790 ms - Total 35.790 ms / 1 intvls (Avg 35.790 ms)
[0x8fbcb6c] main interface debug: looking for interface module: 1 candidate
[0x8fbcb6c] dummy interface: using the dummy interface module...
[0x8fbcb6c] main interface debug: using interface module "dummy"
[0x8fbcb6c] main interface debug: TIMER module_need() : 0.292 ms - Total 0.292 ms / 1 intvls (Avg 0.292 ms)
[0x8fb99fc] main playlist debug: rebuilding array of current - root Playlist
[0x8fb99fc] main playlist debug: rebuild done - 1 items, index -1
[0x8fb99fc] main playlist debug: processing request item null node Playlist skip 0
[0x8fb99fc] main playlist debug: starting new item
[0x8fb99fc] main playlist debug: creating new input thread
[0xb4a006ec] main input debug: Creating an input for 'v4l2:///dev/video0:norm=ntsc:size=320x240:channel=0:input=1:audio=1'
[0xb4a006ec] main input debug: thread (input) created at priority 10 (input/input.c:220)
[0xb4a006ec] main input debug: thread started
[0xb47008e4] main stream output debug: using sout chain=`transcode{vcodec=mp2v,vb=800,scale=1,acodec=mpga,ab=128,channels=2,samplerate=44100}:std{access=http,mux=ts,dst=192.168.5.99:8080}'
[0xb47008e4] main stream output debug: stream=`std'
[0xb4700d14] main stream out debug: looking for sout stream module: 1 candidate
[0xb4700d14] main stream out debug: set config option: sout-standard-access to http
[0xb4700d14] main stream out debug: set config option: sout-standard-mux to ts
[0xb4700d14] main stream out debug: set config option: sout-standard-dst to 192.168.5.99:8080
[0xb4700d14] stream_out_standard stream out debug: creating `http/ts://192.168.5.99:8080'
[0xb4700d14] stream_out_standard stream out debug: extension is 99:8080
[0xb4700d14] stream_out_standard stream out debug: extension -> mux=(null)
[0xb4700d14] stream_out_standard stream out debug: using `http/ts://192.168.5.99:8080'
[0xb4702324] main access out debug: looking for sout access module: 1 candidate
[0xb4702324] main access out: creating httpd
[0xb4702324] main access out debug: net: listening to 192.168.5.99 port 8080
[0xb4702324] main access out debug: using sout access module "access_output_http"
[0xb4702324] main access out debug: TIMER module_need() : 0.589 ms - Total 0.589 ms / 1 intvls (Avg 0.589 ms)
[0xb4700d14] stream_out_standard stream out debug: access opened
[0xb4702b54] main mux debug: looking for sout mux module: 1 candidate
[0xb4702b54] mux_ts mux debug: shaping=200000 pcr=70000 dts_delay=400000
[0xb4702b54] main mux debug: using sout mux module "mux_ts"
[0xb4702b54] main mux debug: TIMER module_need() : 0.688 ms - Total 0.688 ms / 1 intvls (Avg 0.688 ms)
[0xb47008e4] main stream output debug: muxer support adding stream at any time
[0xb47008e4] main stream output debug: muxer prefers to wait for all ES before starting to mux
[0xb4700d14] stream_out_standard stream out debug: mux opened
[0xb4700d14] main stream out debug: using sout stream module "stream_out_standard"
[0xb4700d14] main stream out debug: TIMER module_need() : 2.038 ms - Total 2.038 ms / 1 intvls (Avg 2.038 ms)
[0xb47008e4] main stream output debug: stream=`transcode'
[0xb470410c] main stream out debug: looking for sout stream module: 1 candidate
[0xb470410c] main stream out debug: set config option: sout-transcode-vcodec to mp2v
[0xb470410c] main stream out debug: set config option: sout-transcode-vb to 800
[0xb470410c] main stream out debug: set config option: sout-transcode-scale to 1
[0xb470410c] main stream out debug: set config option: sout-transcode-acodec to mpga
[0xb470410c] main stream out debug: set config option: sout-transcode-ab to 128
[0xb470410c] main stream out debug: set config option: sout-transcode-channels to 2
[0xb470410c] main stream out debug: set config option: sout-transcode-samplerate to 44100
[0xb470410c] stream_out_transcode stream out debug: codec audio=mpga 44100Hz 2 channels 128Kb/s
[0xb470410c] stream_out_transcode stream out debug: codec video=mp2v 0x0 scaling: 1.000000 800kb/s
[0xb470410c] main stream out debug: using sout stream module "stream_out_transcode"
[0xb470410c] main stream out debug: TIMER module_need() : 0.800 ms - Total 0.800 ms / 1 intvls (Avg 0.800 ms)
[0xb4a006ec] main input debug: using timeshift granularity of 50 MiB
[0xb4a006ec] main input debug: using timeshift path '/tmp'
[0xb4a006ec] main input debug: `v4l2:///dev/video0:norm=ntsc:size=320x240:channel=0:input=1:audio=1' gives access `v4l2' demux `' path `/dev/video0:norm=ntsc:size=320x240:channel=0:input=1:audio=1'
[0xb4a006ec] main input debug: creating demux: access='v4l2' demux='' path='/dev/video0:norm=ntsc:size=320x240:channel=0:input=1:audio=1'
[0xb470162c] main demux debug: looking for access_demux module: 1 candidate
[0xb470162c] v4l2 demux warning: unknown option norm=ntsc
[0xb470162c] v4l2 demux warning: unknown option size=320x240
[0xb470162c] v4l2 demux warning: unknown option channel=0
[0xb470162c] v4l2 demux warning: unknown option audio=1
[0xb470162c] v4l2 demux debug: Trying direct kernel v4l2
[0xb470162c] v4l2 demux debug: opening device '/dev/video0'
[0xb470162c] v4l2 demux debug: V4L2 device: BT878 video (Hauppauge (bt878)) using driver: bttv (version: 0.9.18) on PCI:0000:02:03.0
[0xb470162c] v4l2 demux debug: the device has the capabilities: (X) Video Capture, ( ) Audio, (X) Tuner, ( ) Radio
[0xb470162c] v4l2 demux debug: supported I/O methods are: (X) Read/Write, (X) Streaming, ( ) Asynchronous
[0xb470162c] v4l2 demux debug: device supports raw VBI capture
[0xb470162c] v4l2 demux debug: video input 0 (Television) has type: Tuner adapter 
[0xb470162c] v4l2 demux debug: video input 1 (Composite1) has type: External analog input *
[0xb470162c] v4l2 demux debug: video input 2 (S-Video) has type: External analog input 
[0xb470162c] v4l2 demux debug: video input 3 (Composite3) has type: External analog input 
[0xb470162c] v4l2 demux debug: video standard 0 is: NTSC 
[0xb470162c] v4l2 demux debug: video standard 1 is: NTSC-M 
[0xb470162c] v4l2 demux debug: video standard 2 is: NTSC-M-JP 
[0xb470162c] v4l2 demux debug: video standard 3 is: NTSC-M-KR 
[0xb470162c] v4l2 demux debug: video standard 4 is: PAL 
[0xb470162c] v4l2 demux debug: video standard 5 is: PAL-BG 
[0xb470162c] v4l2 demux debug: video standard 6 is: PAL-H 
[0xb470162c] v4l2 demux debug: video standard 7 is: PAL-I 
[0xb470162c] v4l2 demux debug: video standard 8 is: PAL-DK 
[0xb470162c] v4l2 demux debug: video standard 9 is: PAL-M 
[0xb470162c] v4l2 demux debug: video standard 10 is: PAL-N 
[0xb470162c] v4l2 demux debug: video standard 11 is: PAL-Nc 
[0xb470162c] v4l2 demux debug: video standard 12 is: PAL-60 
[0xb470162c] v4l2 demux debug: video standard 13 is: SECAM 
[0xb470162c] v4l2 demux debug: video standard 14 is: SECAM-B 
[0xb470162c] v4l2 demux debug: video standard 15 is: SECAM-G 
[0xb470162c] v4l2 demux debug: video standard 16 is: SECAM-H 
[0xb470162c] v4l2 demux debug: video standard 17 is: SECAM-DK 
[0xb470162c] v4l2 demux debug: video standard 18 is: SECAM-L 
[0xb470162c] v4l2 demux debug: video standard 19 is: SECAM-Lc 
[0xb470162c] v4l2 demux debug: tuner 0 (Television) has type: Analog TV, frequency range: 44000.0 kHz -> 958000.0 kHz
[0xb470162c] v4l2 demux debug: tuner 0 (Television) frequency: 61250.0 kHz
[0xb470162c] v4l2 demux debug: device supports chroma GREY [8 bpp, gray, GREY]
[0xb470162c] v4l2 demux warning: Unable to query for frame sizes
[0xb470162c] v4l2 demux debug: device supports chroma I240 [8 bpp, dithered color, HI24]
[0xb470162c] v4l2 demux warning: Unable to query for frame sizes
[0xb470162c] v4l2 demux debug: device supports chroma RV15 [15 bpp RGB, le, RGBO]
[0xb470162c] v4l2 demux warning: Unable to query for frame sizes
[0xb470162c] v4l2 demux debug: device codec RGBQ (15 bpp RGB, be) not supported
[0xb470162c] v4l2 demux debug: device supports chroma RV16 [16 bpp RGB, le, RGBP]
[0xb470162c] v4l2 demux warning: Unable to query for frame sizes
[0xb470162c] v4l2 demux debug: device codec RGBR (16 bpp RGB, be) not supported
[0xb470162c] v4l2 demux debug: device supports chroma RV24 [24 bpp RGB, le, BGR3]
[0xb470162c] v4l2 demux warning: Unable to query for frame sizes
[0xb470162c] v4l2 demux debug: device supports chroma RV32 [32 bpp RGB, le, BGR4]
[0xb470162c] v4l2 demux warning: Unable to query for frame sizes
[0xb470162c] v4l2 demux debug: device supports chroma RV32 [32 bpp RGB, be, RGB4]
[0xb470162c] v4l2 demux warning: Unable to query for frame sizes
[0xb470162c] v4l2 demux debug: device supports chroma YUY2 [4:2:2, packed, YUYV, YUYV]
[0xb470162c] v4l2 demux warning: Unable to query for frame sizes
[0xb470162c] v4l2 demux debug: device supports chroma YUY2 [4:2:2, packed, YUYV, YUYV]
[0xb470162c] v4l2 demux warning: Unable to query for frame sizes
[0xb470162c] v4l2 demux debug: device supports chroma UYVY [4:2:2, packed, UYVY, UYVY]
[0xb470162c] v4l2 demux warning: Unable to query for frame sizes
[0xb470162c] v4l2 demux debug: device supports chroma I422 [4:2:2, planar, Y-Cb-Cr, 422P]
[0xb470162c] v4l2 demux warning: Unable to query for frame sizes
[0xb470162c] v4l2 demux debug: device supports chroma I420 [4:2:0, planar, Y-Cb-Cr, YU12]
[0xb470162c] v4l2 demux warning: Unable to query for frame sizes
[0xb470162c] v4l2 demux debug: device supports chroma YV12 [4:2:0, planar, Y-Cr-Cb, YV12]
[0xb470162c] v4l2 demux warning: Unable to query for frame sizes
[0xb470162c] v4l2 demux debug: device supports chroma I411 [4:1:1, planar, Y-Cb-Cr, 411P]
[0xb470162c] v4l2 demux warning: Unable to query for frame sizes
[0xb470162c] v4l2 demux debug: device supports chroma I410 [4:1:0, planar, Y-Cb-Cr, YUV9]
[0xb470162c] v4l2 demux warning: Unable to query for frame sizes
[0xb470162c] v4l2 demux debug: device codec YVU9 (4:1:0, planar, Y-Cr-Cb) not supported
[0xb470162c] v4l2 demux debug: device supports chroma RV24 [RGB3, RGB3]
[0xb470162c] v4l2 demux warning: Unable to query for frame sizes
[0xb470162c] v4l2 demux debug: '/dev/video0' is a video device
[0xb470162c] v4l2 demux debug: Extended control API not supported by v4l2 driver
[0xb470162c] v4l2 demux debug: Available control: Brightness (980900)
[0xb470162c] v4l2 demux debug:     integer control
[0xb470162c] v4l2 demux debug:     valid values: 0 to 65535 by steps of 256
[0xb470162c] v4l2 demux debug:     default value: 32768
[0xb470162c] v4l2 demux debug:     current value: 32768
[0xb470162c] v4l2 demux debug: Available control: Contrast (980901)
[0xb470162c] v4l2 demux debug:     integer control
[0xb470162c] v4l2 demux debug:     valid values: 0 to 65535 by steps of 128
[0xb470162c] v4l2 demux debug:     default value: 32768
[0xb470162c] v4l2 demux debug:     current value: 32768
[0xb470162c] v4l2 demux debug: Available control: Saturation (980902)
[0xb470162c] v4l2 demux debug:     integer control
[0xb470162c] v4l2 demux debug:     valid values: 0 to 65535 by steps of 128
[0xb470162c] v4l2 demux debug:     default value: 32768
[0xb470162c] v4l2 demux debug:     current value: 32768
[0xb470162c] v4l2 demux debug: Available control: Hue (980903)
[0xb470162c] v4l2 demux debug:     integer control
[0xb470162c] v4l2 demux debug:     valid values: 0 to 65535 by steps of 256
[0xb470162c] v4l2 demux debug:     default value: 32768
[0xb470162c] v4l2 demux debug:     current value: 32768
[0xb470162c] v4l2 demux debug: Available control: Balance (980906)
[0xb470162c] v4l2 demux debug:     integer control
[0xb470162c] v4l2 demux debug:     valid values: 0 to 65535 by steps of 655
[0xb470162c] v4l2 demux debug:     default value: 32768
[0xb470162c] v4l2 demux debug:     current value: 0
[0xb470162c] v4l2 demux debug: Available control: Bass (980907)
[0xb470162c] v4l2 demux debug:     integer control
[0xb470162c] v4l2 demux debug:     valid values: 0 to 65535 by steps of 655
[0xb470162c] v4l2 demux debug:     default value: 32768
[0xb470162c] v4l2 demux debug:     current value: 0
[0xb470162c] v4l2 demux debug: Available control: Treble (980908)
[0xb470162c] v4l2 demux debug:     integer control
[0xb470162c] v4l2 demux debug:     valid values: 0 to 65535 by steps of 655
[0xb470162c] v4l2 demux debug:     default value: 32768
[0xb470162c] v4l2 demux debug:     current value: 0
[0xb470162c] v4l2 demux debug: Available control: Mute (980909)
[0xb470162c] v4l2 demux debug:     boolean control
[0xb470162c] v4l2 demux debug:     default value: 0
[0xb470162c] v4l2 demux debug:     current value: 0
[0xb470162c] v4l2 demux debug: video audio-mute: 0
[0xb470162c] v4l2 demux debug: Available private control: chroma agc (8000000)
[0xb470162c] v4l2 demux debug:     boolean control
[0xb470162c] v4l2 demux debug:     default value: 0
[0xb470162c] v4l2 demux debug:     current value: 0
[0xb470162c] v4l2 demux debug: Available private control: combfilter (8000001)
[0xb470162c] v4l2 demux debug:     boolean control
[0xb470162c] v4l2 demux debug:     default value: 0
[0xb470162c] v4l2 demux debug:     current value: 0
[0xb470162c] v4l2 demux debug: Available private control: automute (8000002)
[0xb470162c] v4l2 demux debug:     boolean control
[0xb470162c] v4l2 demux debug:     default value: 0
[0xb470162c] v4l2 demux debug:     current value: 1
[0xb470162c] v4l2 demux debug: Available private control: luma decimation filter (8000003)
[0xb470162c] v4l2 demux debug:     boolean control
[0xb470162c] v4l2 demux debug:     default value: 0
[0xb470162c] v4l2 demux debug:     current value: 0
[0xb470162c] v4l2 demux debug: Available private control: agc crush (8000004)
[0xb470162c] v4l2 demux debug:     boolean control
[0xb470162c] v4l2 demux debug:     default value: 0
[0xb470162c] v4l2 demux debug:     current value: 1
[0xb470162c] v4l2 demux debug: Available private control: vcr hack (8000005)
[0xb470162c] v4l2 demux debug:     boolean control
[0xb470162c] v4l2 demux debug:     default value: 0
[0xb470162c] v4l2 demux debug:     current value: 0
[0xb470162c] v4l2 demux debug: Available private control: whitecrush upper (8000006)
[0xb470162c] v4l2 demux debug:     integer control
[0xb470162c] v4l2 demux debug:     valid values: 0 to 255 by steps of 1
[0xb470162c] v4l2 demux debug:     default value: 207
[0xb470162c] v4l2 demux debug:     current value: 207
[0xb470162c] v4l2 demux debug: Available private control: whitecrush lower (8000007)
[0xb470162c] v4l2 demux debug:     integer control
[0xb470162c] v4l2 demux debug:     valid values: 0 to 255 by steps of 1
[0xb470162c] v4l2 demux debug:     default value: 127
[0xb470162c] v4l2 demux debug:     current value: 127
[0xb470162c] v4l2 demux debug: Available private control: uv ratio (8000008)
[0xb470162c] v4l2 demux debug:     integer control
[0xb470162c] v4l2 demux debug:     valid values: 0 to 100 by steps of 1
[0xb470162c] v4l2 demux debug:     default value: 50
[0xb470162c] v4l2 demux debug:     current value: 50
[0xb470162c] v4l2 demux debug: Available private control: full luma range (8000009)
[0xb470162c] v4l2 demux debug:     boolean control
[0xb470162c] v4l2 demux debug:     default value: 0
[0xb470162c] v4l2 demux debug:     current value: 0
[0xb470162c] v4l2 demux debug: Available private control: coring (800000a)
[0xb470162c] v4l2 demux debug:     integer control
[0xb470162c] v4l2 demux debug:     valid values: 0 to 3 by steps of 1
[0xb470162c] v4l2 demux debug:     default value: 0
[0xb470162c] v4l2 demux debug:     current value: 0
[0xb470162c] v4l2 demux debug: using streaming i/o (mmap)
[0xb470162c] v4l2 demux debug: found default width and height of 320x240
[0xb470162c] v4l2 demux debug: will try to find optimal width and height.
[0xb470162c] v4l2 demux debug: Found maximum framerate of -1.000000
[0xb470162c] v4l2 demux warning: Could not find optimal width and height, falling back to driver default.
[0xb470162c] v4l2 demux debug: Driver requires at most 115200 bytes to store a complete image
[0xb470162c] v4l2 demux debug: Interlacing setting: bottom field only
[0xb470162c] v4l2 demux debug: added new video es I420 320x240
[0xb4a006ec] main input debug: selecting program id=0
[0xb470162c] main demux debug: using access_demux module "v4l2"
[0xb470162c] main demux debug: TIMER module_need() : 11.519 ms - Total 11.519 ms / 1 intvls (Avg 11.519 ms)
[0xb4a006ec] main input debug: adding slave input 'oss://'
[0xb4a006ec] main input debug: `oss://' gives access `oss' demux `' path `'
[0xb4a006ec] main input debug: creating demux: access='oss' demux='' path=''
[0xb470743c] main demux debug: looking for access_demux module: 1 candidate
[0xb470743c] access_oss demux debug: opening device '/dev/dsp'
[0xb470743c] access_oss demux debug: '/dev/dsp' is an audio device
[0xb470743c] access_oss demux debug: opened adev=`/dev/dsp' stereo 48000Hz
[0xb470743c] access_oss demux debug: new audio es 2 channels 48000Hz
[0xb470743c] main demux debug: using access_demux module "access_oss"
[0xb470743c] main demux debug: TIMER module_need() : 1.458 ms - Total 1.458 ms / 1 intvls (Avg 1.458 ms)
[0xb4707a64] main decoder debug: looking for packetizer module: 21 candidates
[0xb4707a64] rawvideo decoder warning: invalid frame rate 0/0, using 25 fps instead
[0xb4707a64] main decoder debug: using packetizer module "rawvideo"
[0xb4707a64] main decoder debug: TIMER module_need() : 0.301 ms - Total 0.301 ms / 1 intvls (Avg 0.301 ms)
[0xb4707a64] main decoder debug: thread (decoder) created at priority 0 (input/decoder.c:301)
[0xb4707a64] main decoder debug: thread started
[0xb470e624] main decoder debug: looking for packetizer module: 21 candidates
[0xb470e624] main decoder debug: using packetizer module "packetizer_copy"
[0xb470e624] main decoder debug: TIMER module_need() : 0.281 ms - Total 0.281 ms / 1 intvls (Avg 0.281 ms)
[0xb470e624] main decoder debug: thread (decoder) created at priority 5 (input/decoder.c:301)
[0xb470e624] main decoder debug: thread started
[0xb4a006ec] main input debug: starting in async mode
[0xb470eeec] main demux meta debug: looking for meta reader module: 2 candidates
[0xb470eeec] lua demux meta debug: Trying Lua scripts in /home/adamk/.local/share/vlc/lua/meta/reader
[0xb470eeec] lua demux meta debug: Trying Lua scripts in /usr/lib/vlc/lua/meta/reader
[0xb470eeec] lua demux meta debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/reader/filename.luac
[0xb470eeec] lua demux meta debug: Trying Lua scripts in /usr/share/vlc/lua/meta/reader
[0xb470eeec] main demux meta debug: no meta reader module matching "any" could be loaded
[0xb470eeec] main demux meta debug: TIMER module_need() : 1.440 ms - Total 1.440 ms / 1 intvls (Avg 1.440 ms)
[0xb470eeec] main demux meta debug: looking for meta reader module: 2 candidates
[0xb470eeec] lua demux meta debug: Trying Lua scripts in /home/adamk/.local/share/vlc/lua/meta/reader
[0xb470eeec] lua demux meta debug: Trying Lua scripts in /usr/lib/vlc/lua/meta/reader
[0xb470eeec] lua demux meta debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/reader/filename.luac
[0xb470eeec] lua demux meta debug: Trying Lua scripts in /usr/share/vlc/lua/meta/reader
[0xb470eeec] main demux meta debug: no meta reader module matching "any" could be loaded
[0xb470eeec] main demux meta debug: TIMER module_need() : 1.207 ms - Total 1.207 ms / 1 intvls (Avg 1.207 ms)
[0xb4a006ec] main input debug: `v4l2:///dev/video0:norm=ntsc:size=320x240:channel=0:input=1:audio=1' successfully opened
[0xb4a006ec] main input debug: Buffering 0%
[0xb4a006ec] main input debug: switching to sync mode
[0xb47008e4] main stream output debug: adding a new sout input (sout_input:0x8fbb0e0)
[0xb470410c] stream_out_transcode stream out debug: creating video transcoding from fcc=`I420' to fcc=`mp2v'
[0x8fbc024] main generic debug: looking for decoder module: 34 candidates
[0x8fbc024] rawvideo generic warning: invalid frame rate 0/0, using 25 fps instead
[0x8fbc024] main generic debug: using decoder module "rawvideo"
[0x8fbc024] main generic debug: TIMER module_need() : 1.405 ms - Total 1.405 ms / 1 intvls (Avg 1.405 ms)
[0x8fbc384] main encoder debug: looking for encoder module: 12 candidates
[0x8fbc384] avcodec encoder debug: libavcodec initialized (interface 0x347900)
[0x8fbc384] avcodec encoder debug: found encoder MPEG-1/2 Video
[0x8fbc384] main encoder debug: using encoder module "avcodec"
[0x8fbc384] main encoder debug: TIMER module_need() : 4.083 ms - Total 4.083 ms / 1 intvls (Avg 4.083 ms)
[0x8fbc384] main encoder debug: removing module "avcodec"
[0xb4a006ec] main input debug: Buffering 11%
[0xb4a006ec] main input debug: Buffering 22%
[0xb4a006ec] main input debug: Buffering 33%
[0xb4a006ec] main input debug: Buffering 44%
[0xb4a006ec] main input debug: Buffering 55%
[0xb4a006ec] main input debug: Buffering 66%
[0xb4a006ec] main input debug: Buffering 77%
[0xb4a006ec] main input debug: Buffering 88%
[0xb4a006ec] main input debug: Stream buffering done (300 ms in 300 ms)
[0xb4a006ec] main input debug: Decoder buffering done in 0 ms
[0xb470410c] stream_out_transcode stream out debug: late picture skipped (40415)
[0xb470410c] stream_out_transcode stream out debug: late picture skipped (7527)
[0xb470410c] stream_out_transcode stream out debug: decoder aspect is 1.333333:1
[0xb470410c] stream_out_transcode stream out debug: source pixel aspect is 1.000000:1
[0xb470410c] stream_out_transcode stream out debug: scaled pixel aspect is 1.000000:1
[0xb470410c] stream_out_transcode stream out debug: source 320x240, destination 320x240
[0xb470410c] stream_out_transcode stream out debug: encoder aspect is 320:240
[0xb470410c] stream_out_transcode stream out debug: destination (after video filters) 320x240
[0x8fbc384] main encoder debug: looking for encoder module: 12 candidates
[0x8fbc384] avcodec encoder debug: libavcodec already initialized
[0x8fbc384] avcodec encoder debug: found encoder MPEG-1/2 Video
[0x8fbc384] main encoder debug: using encoder module "avcodec"
[0x8fbc384] main encoder debug: TIMER module_need() : 1.652 ms - Total 1.652 ms / 1 intvls (Avg 1.652 ms)
[0xb4702b54] main mux debug: adding a new input
[0xb4702b54] mux_ts mux debug: adding input codec=mpgv pid=68
[0xb4702b54] mux_ts mux debug: new PCR PID is 68
^C[0x8fbe0c4] signals interface error: Caught Interrupt signal, exiting...
[0x8f208fc] main libvlc debug: deactivating the playlist
[0x8fb99fc] main playlist debug: Deactivate
[0x8fb99fc] main playlist debug: incoming request - stopping current input
[0x8fb99fc] main playlist debug: dying input
[0xb4a006ec] main input debug: control type=0
[0xb4a006ec] main input debug: control: stopping input
[0x8fb99fc] main playlist debug: dying input
[0xb4707a64] main decoder debug: removing module "rawvideo"
[0xb4707a64] main decoder debug: killing decoder fourcc `I420', 0 PES in FIFO
[0xb47008e4] main stream output debug: removing a sout input (sout_input:0x8fbb0e0)
[0x8fbc384] main encoder debug: TIMER encoding video frame : 27.501 ms - Total 3824.300 ms / 397 intvls (Avg 9.633 ms)
[0x8fbc024] main generic debug: removing module "rawvideo"
[0x8fbc384] main encoder debug: removing module "avcodec"
[0xb4702b54] mux_ts mux debug: removing input pid=68
[0xb4702b54] mux_ts mux debug: new PCR PID is 8191
[0xb4702b54] main mux warning: no more input streams for this mux
[0xb470e624] main decoder debug: removing module "packetizer_copy"
[0xb470e624] main decoder debug: killing decoder fourcc `s16l', 0 PES in FIFO
[0xb470162c] main demux debug: removing module "v4l2"
[0xb470743c] main demux debug: removing module "access_oss"
[0xb4a006ec] main input debug: Program doesn't contain anymore ES
[0xb4a006ec] main input debug: thread ended
[0x8fb99fc] main playlist debug: dead input
[0xb47008e4] main stream output debug: destroying useless sout
[0xb470410c] main stream out debug: destroying chain... (name=transcode)
[0xb470410c] main stream out debug: removing module "stream_out_transcode"
[0xb470410c] main stream out debug: destroying chain done
[0xb4700d14] main stream out debug: destroying chain... (name=std)
[0xb4702b54] main mux debug: removing module "mux_ts"
[0xb4703824] main http server debug: waitpipe: object killed
[0xb4703824] main http server debug: HTTP host removed
[0xb4703784] main http server debug: no hosts left, stopping httpd
[0xb4702324] access_output_http access out debug: Close
[0xb4702324] main access out debug: removing module "access_output_http"
[0xb4700d14] main stream out debug: removing module "stream_out_standard"
[0xb4700d14] main stream out debug: destroying chain done
[0x911d564] main playlist export debug: saving Media Library to file /home/adamk/.local/share/vlc/ml.xspf
[0x911d564] main playlist export debug: looking for playlist export module: 1 candidate
[0x911d564] main playlist export debug: using playlist export module "export"
[0x911d564] main playlist export debug: TIMER module_need() : 0.332 ms - Total 0.332 ms / 1 intvls (Avg 0.332 ms)
[0x911d564] main playlist export debug: removing module "export"
[0x8fb99fc] main playlist debug: Deactivated
[0x8f208fc] main libvlc debug: removing all services discovery tasks
[0x8f208fc] main libvlc debug: removing all interfaces
[0x8fbcb6c] main interface debug: removing module "dummy"
[0x8fbe65c] main interface debug: removing module "globalhotkeys"
[0x8fbe0c4] main interface debug: removing module "signals"
[0xb4a006ec] main input debug: TIMER input launching for 'v4l2:///dev/video0:norm=ntsc:size=320x240:channel=0:input=1:audio=1' : 21.058 ms - Total 21.058 ms / 1 intvls (Avg 21.058 ms)
[0x8fbf624] main interface debug: removing module "inhibit"
[0x8fbf364] main interface debug: removing module "hotkeys"
[0x8fb99fc] main playlist debug: destroying
[0x8f208fc] main libvlc debug: TIMER ML Load : Total 4.281 ms / 1 intvls (Avg 4.281 ms)
[0x8f208fc] main libvlc debug: TIMER Items array build : Total 0.146 ms / 2 intvls (Avg 0.073 ms)
[0x8f208fc] main libvlc debug: TIMER ML Dump : Total 0.667 ms / 1 intvls (Avg 0.667 ms)
[0x8f208fc] main libvlc debug: removing stats
[0x8f208fc] main libvlc debug: removing module "memcpymmxext"
adamk
 
Posts: 78
Joined: Fri Jun 11, 2004 1:50 pm

Re: Streaming audio and video via vlc with OSSv4

Postby igorzwx » Wed Sep 14, 2011 12:30 pm

audiovox wrote:What would be the problem to just switching drivers permanently?


It seems that those, who do not like to deal with problems, prefer to use Mac OS (if they can afford it).
For example, the infamous creator of PulseAudio and SystemD seems to be using Mac OS rather than Linux viewtopic.php?f=3&t=4153&start=15#p17379
This might be true for many Linux developers, especially, Ubuntu developers.
Imagine a kind of "bad joke": to create problems for others to make them busy with "solving stupid problems".
It might be very amusing for sadomasochists, perhaps.
Sadomasochism broadly refers to the receiving of pleasure — often sexual — from acts involving the infliction or receiving of pain or humiliation. The name originates from two authors on the subject, Marquis de Sade and Leopold von Sacher-Masoch http://en.wikipedia.org/wiki/Sadomasochism
igorzwx
 
Posts: 966
Joined: Sun Jun 28, 2009 9:31 pm

Re: Streaming audio and video via vlc with OSSv4

Postby adamk » Thu Sep 29, 2011 11:40 am

So no thoughts about this VLC problem?

Adam
adamk
 
Posts: 78
Joined: Fri Jun 11, 2004 1:50 pm


Return to Linux

Who is online

Users browsing this forum: No registered users and 4 guests