[vlc] Re: [Q]: vlc and video4linux

Chris Bshaw cwbshaw at hotmail.com
Tue Dec 21 11:36:44 CET 2004


Hi....

Thanx for the reply. I have run vlc -vvv and tried to connect to my bt878 as 
a v4l device.....the output is appended to this posting. I don't really know 
what the PTS out of range errors mean.
If it is a performance problem, my machine is a p4 3GHz (no hyperthreading 
enabled) with 512MB RAM running FC3 + 2.6.10-rc3. If there is anything I can 
tune/change to help with this, I would love to try it.

As regards using my DVB as a v4l device, I am exploring possible options in 
the hope of finding a combination which is stable. I have tried using vlc to 
talk directly with my DVB card, and it works for a little while, but 
eventually (sooner or later - it varies) I get the problems I described in 
this previous posting:

http://www.via.ecp.fr/via/ml/vlc/2004-12/msg00086.html

I didn't get any replies to this post which solved the original problem I 
reported, but C.Y.M. replied and suggested a combination of vdr + streamdev 
to take the feed from my Nexus-S and then (as suggested in C.Y.M's reply) I 
access this using vlc http://<vdrserver>:3000/PS/<progno> and restream this. 
So far this has been by far the most stable DVB streaming setup I have had 
using vlc.

I just thought I might try accessing my Nexus-S as a v4l device (instead of 
a DVB device) using vlc and use dvbtune to tune/change channels......if this 
turned out to be stable, I might consider using it 'cos it would enable my 
to change channels independently of vlc.

Anyway, output from vlc -vvv + bt878 v4l attempt below....

Thanx muchly for your help.

Chris Bradshaw.


_root at videolan:~\[root at videolan ~]# vlc -vvv
VLC media player 0.8.2-svn Janus
[00000001] main vlc debug: opening config file 
/root/.vlc/vlcrc
[00000001] main vlc debug: checking builtin modules
[00000001] main vlc debug: checking plugin modules
[00000001] main vlc debug: loading plugins cache file 
/root/.vlc/cache/plugins-04041e.dat
[00000001] main vlc debug: recursively browsing `modules'
[00000001] main vlc debug: recursively browsing 
`/usr/local/lib/vlc'
[00000001] main vlc debug: recursively browsing `plugins'
[00000001] main vlc debug: module bank initialized, found 187 
modules
[00000001] main vlc debug: opening config file 
/root/.vlc/vlcrc
[00000000] main root debug: VLC media player - version 0.8.2-svn Janus - (c) 
1996-2004 VideoLAN
[00000000] main root debug: libvlc was configured with ./configure 
--enable-release --enable-dvdread --enable-livedotcom --enable-v4l 
--enable-pvr --enable-dvb --enable-faad --enable-toolame --enable-flac 
--enable-libmpeg2 --enable-portaudio --enable-alsa --enable-vlm 
--enable-ncurses --enable-qt --enable-mozilla --enable-dvbpsi 
--with-dvbpsi-tree=/root/videolan/svn/libdvbpsi 
--with-libdvb=/root/videolan/source/libdvb-0.5.5 
--with-ffmpeg-tree=/root/videolan/svn/ffmpeg 
--with-toolame-tree=/root/videolan/source/toolame-02m-beta8 
--with-x264-tree=/root/videolan/source/x264-20041029
[00000001] main vlc debug: translation test: code is "C"
[00000001] main vlc debug: opening config file /root/.vlc/vlcrc
[00000001] main vlc debug: checking builtin modules
[00000001] main vlc debug: checking plugin modules
[00000001] main vlc debug: loading plugins cache file 
/root/.vlc/cache/plugins-04041e.dat
[00000001] main vlc debug: recursively browsing `modules'
[00000001] main vlc debug: recursively browsing `/usr/local/lib/vlc'
[00000001] main vlc debug: recursively browsing `plugins'
[00000001] main vlc debug: module bank initialized, found 187 modules
[00000001] main vlc debug: opening config file /root/.vlc/vlcrc
[00000001] main vlc debug: CPU has capabilities 486 586 MMX MMXEXT SSE SSE2 
FPU
[00000001] main vlc debug: looking for memcpy module
[00000001] main vlc debug: probing 3 candidates
[00000010] main module debug: using memcpy module "memcpymmxext"
[00000237] main playlist debug: creating view 1
[00000237] main playlist debug: creating view 2
[00000237] main playlist debug: creating view 3
[00000237] main playlist debug: waiting for thread completion
[00000237] main playlist debug: thread -1213908048 (playlist) created at 
priority 0 (src/playlist/playlist.c:149)
[00000238] main private debug: waiting for thread completion
[00000238] main private debug: thread -1222300752 (preparser) created at 
priority 0 (src/playlist/playlist.c:173)
[00000239] main interface debug: looking for interface module
[00000239] main interface debug: probing 1 candidate
[00000125] main module debug: using interface module "hotkeys"
[00000239] main interface debug: interface initialized
[00000239] main interface debug: thread -1230713936 (interface) created at 
priority 0 (src/interface/interface.c:210)
[00000241] main interface debug: looking for interface module
[00000241] main interface debug: probing 4 candidates
[00000150] main module debug: using interface module "wxwindows"
[00000241] main interface debug: interface initialized
[00000241] main interface debug: thread -1246168144 (manager) created at 
priority 0 (src/interface/interface.c:195)
[00000241] wxwindows interface debug: accelerator table loaded
[00000237] main playlist debug: adding playlist item `v4l://' ( v4l:// )
[00000237] main playlist debug: beginning processing of request, 24053 us
[00000237] main playlist debug: processing request
[00000237] main playlist debug: next item found in 14 us
[00000237] main playlist debug: creating new input thread
[00000237] main playlist debug: request processed after 24134 us
[00000244] main input debug: set input option: v4l-vdev to /dev/video
[00000244] main input debug: set input option: v4l-adev to /dev/dsp
[00000244] main input debug: set input option: v4l-caching to 1200
[00000244] main input debug: waiting for thread completion
[00000244] main input debug: thread -1255408720 (input) created at priority 
0 (src/input/input.c:230)
[00000244] main input debug: `v4l://' gives access `v4l' demux `' path `'
[00000244] main input debug: demux2_New: access='v4l' demux='' path=''
[00000245] main demuxer debug: looking for access_demux module
[00000245] main demuxer debug: probing 1 candidate
[00000245] v4l demuxer debug: V4L device BT878 video (Hauppauge WinTV PV 4 
channels 1 audios 48 < w < 640 32 < h < 576
[00000245] v4l demuxer debug: invalid width 0
[00000245] v4l demuxer debug: invalid height 0
[00000245] v4l demuxer debug: setting channel Television(0) 1 tuners 
flags=0x3 type=0x1 norm=0x3
[00000245] v4l demuxer debug: will use 320x240
[00000245] v4l demuxer debug: v4l device uses brightness: 32768
[00000245] v4l demuxer debug: v4l device uses colour: 32768
[00000245] v4l demuxer debug: v4l device uses hue: 32768
[00000245] v4l demuxer debug: v4l device uses contrast: 32768
[00000245] v4l demuxer debug: v4l device uses frame size: 230400
[00000245] v4l demuxer debug: v4l device uses chroma: RV24
[00000245] v4l demuxer debug: openened adev=`/dev/dsp' stereo 44100Hz
[00000245] v4l demuxer debug: v4l grabbing started
[00000245] v4l demuxer debug: added new video es RV24 320x240
[00000244] main input debug: Selecting program id=0
[00000245] v4l demuxer debug: new audio es 2 channels 44100Hz
[00000131] main module debug: using access_demux module "v4l"
[00000247] main decoder debug: looking for decoder module
[00000247] main decoder debug: probing 20 candidates
[00000192] main module debug: using decoder module "rawvideo"
[00000276] main decoder debug: looking for decoder module
[00000276] main decoder debug: probing 20 candidates
[00000276] araw decoder debug: samplerate:44100Hz channels:2 bits/sample:16
[00000203] main module debug: using decoder module "araw"
[00000244] main input debug: `v4l://' sucessfully opened
[00000247] main decoder debug: no usable vout present, spawning one
[00000277] main video output debug: looking for video output module
[00000277] main video output debug: probing 6 candidates
[00000277] xvideo video output warning: no free XVideo port found for format 
0x34325652 (RV24)
[00000277] xvideo video output debug: adaptor 0, port 60, format 0x32595559 
(YUY2) packed
[00000277] xvideo video output debug: Window manager supports NetWM
[00000277] xvideo video output debug: Window manager supports 
_NET_WM_STATE_FULLSCREEN
[00000277] xvideo video output debug: Window manager supports 
_NET_WM_STATE_ABOVE
[00000277] xvideo video output debug: Window manager supports 
_NET_WM_STATE_BELOW
[00000278] main private debug: Registering subpicture channel, ID: 2
[00000278] main private debug: Registering subpicture channel, ID: 3
[00000278] main private debug: Registering subpicture channel, ID: 4
[00000278] main private debug: Registering subpicture channel, ID: 5
[00000123] main module debug: using video output module "xvideo"
[00000277] main video output debug: waiting for thread completion
[00000277] main video output debug: got 8 direct buffer(s)
[00000277] main video output debug: picture in 320x240, chroma 0x34325652 
(RV24), aspect ratio 4:3
[00000277] main video output debug: picture out 320x240, chroma 0x32595559 
(YUY2), aspect ratio 4:3
[00000277] main video output debug: looking for chroma module
[00000277] main video output debug: probing 9 candidates
[00000277] ffmpeg video output debug: no resampling
[00000277] ffmpeg video output debug: libavcodec initialized (interface 4736 
)
[00000016] main module debug: using chroma module "ffmpeg"
[00000277] main video output debug: indirect render, mapping render pictures 
0-7 to system pictures 8-15
[00000277] main video output debug: thread -1283458128 (video output) 
created at priority 0 (src/video_output/video_output.c:443)
[00000276] main decoder debug: no aout present, spawning one
[00000284] main audio output debug: looking for audio output module
[00000284] main audio output debug: probing 4 candidates
[00000284] alsa audio output debug: opening ALSA device `default'
[00000284] main audio output debug: thread -1293390928 (aout) created at 
priority 0 (alsa.c:606)
[00000230] main module debug: using audio output module "alsa"
[00000284] main audio output debug: output 'fl32' 44100 Hz Stereo frame=1 
samples/8 bytes
[00000284] main audio output debug: mixer 'fl32' 44100 Hz Stereo frame=1 
samples/8 bytes
[00000284] main audio output debug: no need for any filter
[00000284] main audio output debug: looking for audio mixer module
[00000284] main audio output debug: probing 3 candidates
[00000212] main module debug: using audio mixer module "trivial_mixer"
[00000284] main audio output debug: input 's16l' 44100 Hz Stereo frame=1 
samples/4 bytes
[00000284] main audio output debug: filter(s) 's16l'->'fl32' 44100 Hz->44100 
Hz Stereo->Stereo
[00000287] main private debug: looking for audio filter module
[00000287] main private debug: probing 22 candidates
[00000045] main module debug: using audio filter module "s16tofloat32"
[00000284] main audio output debug: found a filter for the whole conversion
[00000284] main audio output debug: filter(s) 'fl32'->'fl32' 48510 Hz->44100 
Hz Stereo->Stereo
[00000303] main private debug: looking for audio filter module
[00000303] main private debug: probing 22 candidates
[00000050] main module debug: using audio filter module 
"bandlimited_resampler"
[00000284] main audio output debug: found a filter for the whole conversion
[00000284] alsa audio output warning: recovered from buffer underrun
[00000284] main audio output warning: computed PTS is out of range (141258), 
clearing out
[00000284] main audio output warning: output PTS is out of range (145485), 
clearing out
[00000284] main audio output debug: audio output is starving (507752), 
playing silence
[00000284] alsa audio output warning: recovered from buffer underrun
[00000284] main audio output warning: computed PTS is out of range (141355), 
clearing out
[00000284] main audio output warning: output PTS is out of range (153021), 
clearing out
[00000284] main audio output debug: audio output is starving (507749), 
playing silence
[00000284] alsa audio output warning: recovered from buffer underrun
[00000284] main audio output warning: computed PTS is out of range (141802), 
clearing out
[00000284] main audio output warning: output PTS is out of range (148025), 
clearing out
[00000284] main audio output debug: audio output is starving (495067), 
playing silence
[00000284] alsa audio output warning: recovered from buffer underrun
[00000284] main audio output warning: computed PTS is out of range (141976), 
clearing out
[00000284] main audio output warning: output PTS is out of range (153683), 
clearing out
[00000284] main audio output debug: audio output is starving (495428), 
playing silence
[00000284] alsa audio output warning: recovered from buffer underrun
[00000284] main audio output warning: computed PTS is out of range (141880), 
clearing out
[00000284] main audio output warning: output PTS is out of range (153541), 
clearing out
[00000284] main audio output debug: audio output is starving (496134), 
playing silence
[00000284] alsa audio output warning: recovered from buffer underrun
[00000284] main audio output warning: computed PTS is out of range (141029), 
clearing out
[00000284] main audio output warning: output PTS is out of range (151607), 
clearing out
[00000284] main audio output debug: audio output is starving (498576), 
playing silence
[00000284] alsa audio output warning: recovered from buffer underrun
[00000284] main audio output warning: computed PTS is out of range (141937), 
clearing out
[00000284] main audio output warning: output PTS is out of range (152873), 
clearing out
[00000284] main audio output debug: audio output is starving (494938), 
playing silence
[00000284] alsa audio output warning: recovered from buffer underrun
[00000284] main audio output warning: computed PTS is out of range (141057), 
clearing out
[00000284] main audio output warning: output PTS is out of range (150589), 
clearing out
[00000284] main audio output debug: audio output is starving (496441), 
playing silence
[00000284] alsa audio output warning: recovered from buffer underrun
[00000284] main audio output warning: computed PTS is out of range (141188), 
clearing out
[00000284] main audio output warning: output PTS is out of range (152850), 
clearing out
[00000284] main audio output debug: audio output is starving (495860), 
playing silence
[00000284] alsa audio output warning: recovered from buffer underrun
[00000284] main audio output warning: computed PTS is out of range (141789), 
clearing out
[00000284] main audio output warning: output PTS is out of range (152912), 
clearing out
[00000284] main audio output debug: audio output is starving (495144), 
playing silence
[00000284] alsa audio output warning: recovered from buffer underrun
[00000284] main audio output warning: computed PTS is out of range (141915), 
clearing out
[00000284] main audio output warning: output PTS is out of range (151400), 
clearing out
[00000284] main audio output debug: audio output is starving (493951), 
playing silence
[00000284] alsa audio output warning: recovered from buffer underrun
[00000284] main audio output warning: computed PTS is out of range (141021), 
clearing out
[00000284] main audio output warning: output PTS is out of range (152687), 
clearing out
[00000284] main audio output debug: audio output is starving (495714), 
playing silence
[00000284] alsa audio output warning: recovered from buffer underrun
[00000284] main audio output warning: computed PTS is out of range (141779), 
clearing out
[00000284] main audio output warning: output PTS is out of range (151821), 
clearing out
[00000284] main audio output debug: audio output is starving (497333), 
playing silence
[00000284] alsa audio output warning: recovered from buffer underrun
[00000284] main audio output warning: computed PTS is out of range (140831), 
clearing out
[00000284] main audio output warning: output PTS is out of range (151411), 
clearing out
[00000284] main audio output debug: audio output is starving (509180), 
playing silence
[00000284] alsa audio output warning: recovered from buffer underrun
[00000284] main audio output warning: computed PTS is out of range (141454), 
clearing out
[00000284] main audio output warning: output PTS is out of range (151483), 
clearing out
[00000284] main audio output debug: audio output is starving (497169), 
playing silence
[00000284] alsa audio output warning: recovered from buffer underrun
[00000284] main audio output warning: computed PTS is out of range (141803), 
clearing out
[00000284] main audio output warning: output PTS is out of range (150206), 
clearing out
[00000284] main audio output debug: audio output is starving (495249), 
playing silence
[00000284] alsa audio output warning: recovered from buffer underrun
[00000284] main audio output warning: computed PTS is out of range (140761), 
clearing out
[00000284] main audio output warning: output PTS is out of range (151516), 
clearing out
[00000284] main audio output debug: audio output is starving (496210), 
playing silence
[00000284] alsa audio output warning: recovered from buffer underrun
[00000284] main audio output warning: computed PTS is out of range (141049), 
clearing out
[00000284] main audio output warning: output PTS is out of range (151447), 
clearing out
[00000284] main audio output debug: audio output is starving (496604), 
playing silence
[00000284] alsa audio output warning: recovered from buffer underrun
[00000284] main audio output warning: computed PTS is out of range (140772), 
clearing out
[00000284] main audio output warning: output PTS is out of range (150805), 
clearing out
[00000284] main audio output debug: audio output is starving (497227), 
playing silence
[00000284] alsa audio output warning: recovered from buffer underrun
[00000284] main audio output warning: computed PTS is out of range (142582), 
clearing out
[00000284] main audio output warning: output PTS is out of range (153528), 
clearing out
[00000284] main audio output debug: audio output is starving (495576), 
playing silence
[00000284] alsa audio output warning: recovered from buffer underrun
[00000284] main audio output warning: computed PTS is out of range (142790), 
clearing out
[00000284] main audio output warning: output PTS is out of range (151192), 
clearing out
[00000284] main audio output debug: audio output is starving (506147), 
playing silence
[00000284] alsa audio output warning: recovered from buffer underrun
[00000284] main audio output warning: computed PTS is out of range (143966), 
clearing out
[00000284] main audio output warning: output PTS is out of range (155628), 
clearing out
[00000284] main audio output debug: audio output is starving (502771), 
playing silence
[00000284] alsa audio output warning: recovered from buffer underrun
[00000284] main audio output warning: computed PTS is out of range (142800), 
clearing out
[00000284] main audio output warning: output PTS is out of range (150655), 
clearing out
[00000284] main audio output debug: audio output is starving (494300), 
playing silence
[00000284] alsa audio output warning: recovered from buffer underrun
[00000284] main audio output warning: computed PTS is out of range (141816), 
clearing out
[00000284] main audio output warning: output PTS is out of range (153512), 
clearing out
[00000284] main audio output debug: audio output is starving (502410), 
playing silence
[00000284] alsa audio output warning: recovered from buffer underrun
[00000284] main audio output warning: computed PTS is out of range (141966), 
clearing out
[00000284] main audio output warning: output PTS is out of range (153631), 
clearing out
[00000284] main audio output debug: audio output is starving (507111), 
playing silence
[00000284] alsa audio output warning: recovered from buffer underrun
[00000284] main audio output warning: computed PTS is out of range (141972), 
clearing out
[00000284] main audio output warning: output PTS is out of range (153636), 
clearing out
[00000284] main audio output debug: audio output is starving (493994), 
playing silence
[00000284] alsa audio output warning: recovered from buffer underrun
[00000284] main audio output warning: computed PTS is out of range (141808), 
clearing out
[00000284] main audio output warning: output PTS is out of range (148578), 
clearing out
[00000284] main audio output debug: audio output is starving (505132), 
playing silence
[00000284] alsa audio output warning: recovered from buffer underrun
[00000284] main audio output warning: computed PTS is out of range (140982), 
clearing out
[00000284] main audio output warning: output PTS is out of range (152645), 
clearing out
[00000284] main audio output debug: audio output is starving (506113), 
playing silence
[00000284] alsa audio output warning: recovered from buffer underrun
[00000284] main audio output warning: computed PTS is out of range (141716), 
clearing out
[00000284] main audio output warning: output PTS is out of range (150659), 
clearing out
[00000284] main audio output debug: audio output is starving (495352), 
playing silence
[00000284] alsa audio output warning: recovered from buffer underrun
[00000284] main audio output warning: computed PTS is out of range (141982), 
clearing out
[00000284] main audio output warning: output PTS is out of range (152919), 
clearing out
[00000284] main audio output debug: audio output is starving (494922), 
playing silence
[00000284] alsa audio output warning: recovered from buffer underrun
[00000284] main audio output warning: computed PTS is out of range (141558), 
clearing out
[00000284] main audio output warning: output PTS is out of range (153223), 
clearing out
[00000284] main audio output debug: audio output is starving (495881), 
playing silence
[00000237] main playlist debug: beginning processing of request, 33605 us
[00000284] alsa audio output warning: recovered from buffer underrun
[00000284] main audio output warning: computed PTS is out of range (141484), 
clearing out
[00000284] main audio output warning: output PTS is out of range (153151), 
clearing out
[00000284] main audio output debug: audio output is starving (495575), 
playing silence
[00000244] main input debug: control type=0
[00000244] main input debug: control: INPUT_CONTROL_SET_DIE proceed
[00000244] main input debug: closing input
[00000131] main module debug: unlocking module "v4l"
[00000192] main module debug: unlocking module "rawvideo"
[00000247] main decoder debug: killing decoder fourcc `RV24', 0 PES in FIFO
[00000203] main module debug: unlocking module "araw"
[00000276] main decoder debug: killing decoder fourcc `araw', 0 PES in FIFO
[00000045] main module debug: unlocking module "s16tofloat32"
[00000050] main module debug: unlocking module "bandlimited_resampler"
[00000284] main audio output debug: thread -1293390928 joined (alsa.c:658)
[00000230] main module debug: unlocking module "alsa"
[00000212] main module debug: unlocking module "trivial_mixer"
[00000244] main input debug: thread -1255408720 joined 
(src/input/input.c:386)
[00000237] main playlist debug: garbage collector destroying 1 vout
[00000016] main module debug: unlocking module "ffmpeg"
[00000123] main module debug: unlocking module "xvideo"
[00000277] main video output debug: thread -1283458128 joined 
(src/video_output/video_output.c:483)
[00000001] main vlc debug: removing all interfaces
[00000241] main interface debug: thread -1246168144 joined 
(src/interface/interface.c:237)
[00000150] main module debug: unlocking module "wxwindows"
[00000239] main interface debug: thread -1230713936 joined 
(src/interface/interface.c:237)
[00000125] main module debug: unlocking module "hotkeys"
[00000001] main vlc debug: removing all playlists
[00000238] main private debug: thread -1222300752 joined 
(src/playlist/playlist.c:205)
[00000237] main playlist debug: thread -1213908048 joined 
(src/playlist/playlist.c:206)
[00000237] main playlist debug: deleting playlist item `v4l://'
[00000001] main vlc debug: removing all video outputs
[00000001] main vlc debug: removing all audio outputs
[00000001] main vlc debug: removing announce handler
[00000010] main module debug: unlocking module "memcpymmxext"
[00000001] main vlc debug: saving plugins cache file 
/root/.vlc/cache/plugins-04041e.dat





>From: Benjamin PRACHT <bigben+spam at videolan.org>
>Reply-To: vlc at videolan.org
>To: vlc at videolan.org
>Subject: [vlc] Re: [Q]: vlc and video4linux
>Date: Tue, 21 Dec 2004 09:17:47 +0100
>
>On Mon, Dec 20, 2004, Chris Bshaw wrote :
> > Hi....
> >
> > I am trying to use vlc to view analog tv from a bt878 card on an FC3
> > machine. I am trying to use the device as a video4linux device.
> >
> > When I use xawtv everything works fine, and I can change channels using
> > v4lctl....however, when I try to use vlc (choosing Video4Linux), I just 
>get
> > a frozen picture from the channel the card is tuned to.....
> >
>
>What command line are you using exactly ? What messages are displayed
>with the -vvv option ?
>
> > I was just wondering if anyone has got this working or if anyone has
> > encountered this problem?
> >
> > Also, I was wondering if it would be possible to use vlc to talk to a 
>DVB
> > card (Hauppage Nexus-S) via the Video4linux interface?
> >
>
>VLC has support for all DVB cards supported by the linuxtv drivers
>(including the Nexus S) using the dvb access module.
>
>http://www.via.ecp.fr/via/ml/vlc/2004-06/msg00115.html
>
>You can have a look here for some additional doc on this subject.
>
>--
>BigBen
>
>--
>This is the vlc mailing-list, see http://www.videolan.org/vlc/
>To unsubscribe, please read http://www.videolan.org/support/lists.html
>

_________________________________________________________________
Don't just search. Find. Check out the new MSN Search! 
http://search.msn.com/

-- 
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html



More information about the vlc mailing list