[vlc] Re: changing framerate of capturing in vlc

tom alter alti_tom at yahoo.com
Fri Dec 12 07:34:10 CET 2003


i am sending the vlc log for two resolution modes
352x288 and 704x576. in both resolutions the video is
jerky but very severe in 704x576. Also the cpu
utilisation is around 68% in the first mode and around
95% in the second mode. The systems response is
sluggish in the second mode. The logs are pretty huge.
********************************************************
here is log output for 352x288.

VideoLAN Client 0.6.2 Trevelyan
[00000000] main root debug: VLC media player - version
0.6.2 Trevelyan - (c) 1996-2003 VideoLAN
[00000000] main root debug: libvlc was configured with
./configure --enable-v4l --enable-faad --enable-flac
--enable-arts --enable-gnome --enable-kde
--enable-ncurses --enable-xosd
--with-v4l=/usr/src/linux --with-ffmpeg-mp3lame
--with-ffmpeg-tree=/var/utils/vlc/ffmpeg-0.4.8
--with-faad-tree=/var/utils/vlc/faad2-20030811
--with-libmpeg2-tree=/var/utils/vlc/mpeg2dec-20030612
[00000001] main vlc debug: translation test: code is
"C"
[00000001] main vlc debug: opening config file
/home/eugine/.vlc/vlcrc
[00000000] main root debug: checking builtin modules
[00000000] main root debug: checking plugin modules
[00000000] main root debug: recursively browsing
`modules'
[00000000] main root debug: recursively browsing
`/usr/local/lib/vlc'
[00000000] main root debug: recursively browsing
`plugins'
[00000001] main vlc debug: module bank initialized,
found 148 modules
[00000001] main vlc debug: opening config file
/home/eugine/.vlc/vlcrc
[00000001] main vlc debug: CPU has capabilities 486
586 MMX MMXEXT SSE FPU 
[00000001] main vlc debug: looking for memcpy module
[00000001] main vlc debug: probing 3 candidates
[00000010] main module debug: using memcpy module
"memcpymmxext"
[00000166] main playlist debug: waiting for thread
completion
[00000166] main playlist debug: thread 16386
(playlist) created at priority 0
(src/playlist/playlist.c:80)
[00000166] main playlist debug: adding playlist item 
v4l:/dev/video0:norm=pal:frequency=543250:size=352x288:channel=0:adev=/dev/dsp:audio=0
 (
v4l:/dev/video0:norm=pal:frequency=543250:size=352x288:channel=0:adev=/dev/dsp:audio=0
)
[00000166] main playlist debug: creating new input
thread
[00000167] main input: playlist item
`v4l:/dev/video0:norm=pal:frequency=543250:size=352x288:channel=0:adev=/dev/dsp:audio=0'
[00000167] main input debug: waiting for thread
completion
[00000167] main input debug: thread 32771 (input)
created at priority 0 (src/input/input.c:180)
[00000167] main input debug: playing at normal rate
[00000168] main interface debug: looking for interface
module
[00000168] main interface debug: probing 5 candidates
[00000168] main interface debug: looking for
gui-helper module
[00000168] main interface debug: probing 2 candidates
[00000167] main input debug: access `v4l', demux `',
name
`/dev/video0:norm=pal:frequency=543250:size=352x288:channel=0:adev=/dev/dsp:audio=0'
[00000167] main input debug: looking for access module
[00000167] main input debug: probing 8 candidates
[00000167] v4l input debug: WxH 352x288
[00000167] v4l input debug: video device=`/dev/video0'
[00000167] v4l input debug: audio device=`/dev/dsp'
[00000167] v4l input debug: V4L device mgacap-0 3
channels 1 audios 8 < w < 1024 8 < h < 768
[00000167] v4l input debug: setting channel
Composite(0) 0 tuners flags=0x0 type=0x2 norm=0x0
[00000167] v4l input debug: adev=`/dev/dsp' stereo
44100Hz
[00000167] v4l input debug: v4l device uses frame
size: 152064
[00000167] v4l input debug: v4l device uses chroma:
I420
[00000167] v4l input: v4l grabbing started
[00000029] main module debug: using access module
"v4l"
[00000169] main private debug: waiting for thread
completion
[00000167] main input debug: looking for demux module
[00000167] main input debug: probing 19 candidates
[00000167] mp4 input warning: MP4 plugin discarded
(unseekable)
[00000167] avi input warning: avi module discarded
(invalid header)
[00000167] v4l input debug: added new video es I420
352x288
[00000167] main input debug: selecting ES 0x1
[00000170] main decoder debug: looking for decoder
module
[00000170] main decoder debug: probing 15 candidates
[00000075] main module debug: using decoder module
"rawvideo"
[00000170] main decoder debug: no usable vout present,
spawning one
[00000171] main video output debug: overriding source
aspect ratio to 7:5
[00000171] main video output debug: looking for video
output module
[00000171] main video output debug: probing 6
candidates
[00000171] x11 video output debug: Window manager
supports NetWM
[00000171] x11 video output debug: Window manager
supports _NET_WM_STATE_STAYS_ON_TOP
[00000162] main module debug: using video output
module "x11"
[00000171] main video output debug: looking for text
renderer module
[00000171] main video output debug: probing 3
candidates
[00000171] freetype video output error: user didn't
specify a font
[00000118] main module debug: using text renderer
module "dummy"
[00000169] main private debug: thread 49156 (gtk_main)
created at priority 0 (gtk_main.c:113)
[00000128] main module debug: using gui-helper module
"gnome_main"
[00000109] main module debug: using interface module
"gnome"
[00000168] main interface debug: interface initialized
[00000170] main decoder debug: thread 65541 (decoder)
created at priority 0 (src/input/input_dec.c:112)
[00000167] v4l input debug: added new audio es 2
channels 44100Hz
[00000167] main input debug: audio is disabled, not
selecting ES 0x2
[00000030] main module debug: using demux module "v4l"
[00000171] main video output debug: waiting for thread
completion
[00000168] main interface debug: thread 98311
(manager) created at priority 0
(src/interface/interface.c:118)
[00000168] gnome interface debug: stream has changed,
refreshing interface
[00000171] main video output debug: got 2 direct
buffer(s)
[00000171] main video output debug: picture in
352x288, chroma 0x30323449 (I420), aspect ratio 7:5
[00000171] main video output debug: picture out
403x288, chroma 0x34325652 (RV24), aspect ratio
403:288
[00000171] main video output debug: looking for chroma
module
[00000171] main video output debug: probing 10
candidates
[00000006] main module debug: using chroma module
"i420_rgb_mmx"
[00000171] main video output debug: indirect render,
mapping render pictures 0-7 to system pictures 2-9
[00000171] main video output debug: thread 81926
(video output) created at priority 0
(src/video_output/video_output.c:453)
[00000001] main vlc debug: removing all interfaces
[00000168] main interface debug: thread 98311 joined
(src/interface/interface.c:158)
[00000169] main private debug: thread 49156 joined
(gtk_main.c:148)
[00000128] main module debug: unlocking module
"gnome_main"
[00000109] main module debug: unlocking module "gnome"
[00000001] main vlc debug: removing all playlists
[00000167] main input debug: 809 loops consuming user:
2, system: 1223
[00000167] main input debug: dumping stream ID 0x0
[OK:0/D:0]
[00000167] main input debug: pace un-controlled
[00000167] main input debug: dumping program 0x0,
version 0 (complete)
[00000167] main input debug: ES 0x1, stream 0x1,
fourcc `I420', selected [OK:0/ERR:0]
[00000167] main input debug: ES 0x2, stream 0x2,
fourcc `araw', not selected [OK:0/ERR:0]
[00000167] main input debug: unselecting ES 0x1
[00000170] rawvideo decoder warning: invalid frame
size (0 < 152064)
[00000170] rawvideo decoder debug: raw video decoder
closed
[00000170] main decoder debug: thread 65541 joined
(src/input/input_dec.c:151)
[00000170] main decoder debug: killing decoder for
0x1, fourcc `I420', 9 PES in FIFO
[00000075] main module debug: unlocking module
"rawvideo"
[00000167] main input debug: no more selected ES
[00000030] main module debug: unlocking module "v4l"
[00000167] v4l input: v4l grabbing stoped
[00000029] main module debug: unlocking module "v4l"
[00000167] main input debug: pes: 9 packets
[00000167] main input debug: data: 16 packets
[00000167] main input debug: buffers: 10 packets
[00000167] main input warning: 188 bytes have not been
freed, expect memory leak
[00000167] main input debug: freeing info
structures...
[00000006] main module debug: unlocking module
"i420_rgb_mmx"
[00000118] main module debug: unlocking module "dummy"
[00000162] main module debug: unlocking module "x11"
[00000171] main video output debug: thread 81926
joined (src/video_output/video_output.c:478)
[00000167] main input debug: thread 32771 joined
(src/input/input.c:214)
[00000166] main playlist debug: thread 16386 joined
(src/playlist/playlist.c:102)
[00000001] main vlc debug: removing all video outputs
[00000001] main vlc debug: removing all audio outputs
[00000010] main module debug: unlocking module
"memcpymmxext"
********************************************************

Here is the log for 704x576

VideoLAN Client 0.6.2 Trevelyan
[00000000] main root debug: VLC media player - version
0.6.2 Trevelyan - (c) 1996-2003 VideoLAN
[00000000] main root debug: libvlc was configured with
./configure --enable-v4l --enable-faad --enable-flac
--enable-arts --enable-gnome --enable-kde
--enable-ncurses --enable-xosd
--with-v4l=/usr/src/linux --with-ffmpeg-mp3lame
--with-ffmpeg-tree=/var/utils/vlc/ffmpeg-0.4.8
--with-faad-tree=/var/utils/vlc/faad2-20030811
--with-libmpeg2-tree=/var/utils/vlc/mpeg2dec-20030612
[00000001] main vlc debug: translation test: code is
"C"
[00000001] main vlc debug: opening config file
/home/eugine/.vlc/vlcrc
[00000000] main root debug: checking builtin modules
[00000000] main root debug: checking plugin modules
[00000000] main root debug: recursively browsing
`modules'
[00000000] main root debug: recursively browsing
`/usr/local/lib/vlc'
[00000000] main root debug: recursively browsing
`plugins'
[00000001] main vlc debug: module bank initialized,
found 148 modules
[00000001] main vlc debug: opening config file
/home/eugine/.vlc/vlcrc
[00000001] main vlc debug: CPU has capabilities 486
586 MMX MMXEXT SSE FPU 
[00000001] main vlc debug: looking for memcpy module
[00000001] main vlc debug: probing 3 candidates
[00000010] main module debug: using memcpy module
"memcpymmxext"
[00000166] main playlist debug: waiting for thread
completion
[00000166] main playlist debug: thread 16386
(playlist) created at priority 0
(src/playlist/playlist.c:80)
[00000166] main playlist debug: adding playlist item 
v4l:/dev/video0:norm=pal:frequency=543250:size=704x576:channel=0:adev=/dev/dsp:audio=0
 (
v4l:/dev/video0:norm=pal:frequency=543250:size=704x576:channel=0:adev=/dev/dsp:audio=0
)
[00000166] main playlist debug: creating new input
thread
[00000167] main input: playlist item
`v4l:/dev/video0:norm=pal:frequency=543250:size=704x576:channel=0:adev=/dev/dsp:audio=0'
[00000167] main input debug: waiting for thread
completion
[00000167] main input debug: thread 32771 (input)
created at priority 0 (src/input/input.c:180)
[00000167] main input debug: playing at normal rate
[00000168] main interface debug: looking for interface
module
[00000167] main input debug: access `v4l', demux `',
name
`/dev/video0:norm=pal:frequency=543250:size=704x576:channel=0:adev=/dev/dsp:audio=0'
[00000168] main interface debug: probing 5 candidates
[00000167] main input debug: looking for access module
[00000168] main interface debug: looking for
gui-helper module
[00000167] main input debug: probing 8 candidates
[00000168] main interface debug: probing 2 candidates
[00000167] v4l input debug: WxH 704x576
[00000167] v4l input debug: video device=`/dev/video0'
[00000167] v4l input debug: audio device=`/dev/dsp'
[00000167] v4l input debug: V4L device mgacap-0 3
channels 1 audios 8 < w < 1024 8 < h < 768
[00000167] v4l input debug: setting channel
Composite(0) 0 tuners flags=0x0 type=0x2 norm=0x0
[00000167] v4l input debug: adev=`/dev/dsp' stereo
44100Hz
[00000167] v4l input debug: v4l device uses frame
size: 608256
[00000167] v4l input debug: v4l device uses chroma:
I420
[00000167] v4l input: v4l grabbing started
[00000029] main module debug: using access module
"v4l"
[00000169] main private debug: waiting for thread
completion
[00000169] main private debug: thread 49156 (gtk_main)
created at priority 0 (gtk_main.c:113)
[00000128] main module debug: using gui-helper module
"gnome_main"
[00000109] main module debug: using interface module
"gnome"
[00000168] main interface debug: interface initialized
[00000168] main interface debug: thread 65541
(manager) created at priority 0
(src/interface/interface.c:118)
[00000167] main input debug: looking for demux module
[00000167] main input debug: probing 19 candidates
[00000167] mp4 input warning: MP4 plugin discarded
(unseekable)
[00000167] avi input warning: avi module discarded
(invalid header)
[00000167] v4l input debug: added new video es I420
704x576
[00000167] main input debug: selecting ES 0x1
[00000170] main decoder debug: looking for decoder
module
[00000170] main decoder debug: probing 15 candidates
[00000075] main module debug: using decoder module
"rawvideo"
[00000170] main decoder debug: no usable vout present,
spawning one
[00000171] main video output debug: overriding source
aspect ratio to 7:5
[00000171] main video output debug: looking for video
output module
[00000171] main video output debug: probing 6
candidates
[00000171] x11 video output debug: Window manager
supports NetWM
[00000171] x11 video output debug: Window manager
supports _NET_WM_STATE_STAYS_ON_TOP
[00000162] main module debug: using video output
module "x11"
[00000170] main decoder debug: thread 81926 (decoder)
created at priority 0 (src/input/input_dec.c:112)
[00000167] v4l input debug: added new audio es 2
channels 44100Hz
[00000167] main input debug: audio is disabled, not
selecting ES 0x2
[00000030] main module debug: using demux module "v4l"
[00000168] gnome interface debug: stream has changed,
refreshing interface
[00000171] main video output debug: looking for text
renderer module
[00000171] main video output debug: probing 3
candidates
[00000171] freetype video output error: user didn't
specify a font
[00000118] main module debug: using text renderer
module "dummy"
[00000171] main video output debug: waiting for thread
completion
[00000171] main video output debug: got 2 direct
buffer(s)
[00000171] main video output debug: picture in
704x576, chroma 0x30323449 (I420), aspect ratio 7:5
[00000171] main video output debug: picture out
806x576, chroma 0x34325652 (RV24), aspect ratio
403:288
[00000171] main video output debug: looking for chroma
module
[00000171] main video output debug: probing 10
candidates
[00000006] main module debug: using chroma module
"i420_rgb_mmx"
[00000171] main video output debug: indirect render,
mapping render pictures 0-7 to system pictures 2-9
[00000171] main video output debug: thread 98311
(video output) created at priority 0
(src/video_output/video_output.c:453)
[00000171] main video output warning: late picture
skipped (284984)
[00000167] main input debug: 769 loops consuming user:
17, system: 1911
[00000167] main input debug: dumping stream ID 0x0
[OK:0/D:0]
[00000167] main input debug: pace un-controlled
[00000167] main input debug: dumping program 0x0,
version 0 (complete)
[00000167] main input debug: ES 0x1, stream 0x1,
fourcc `I420', selected [OK:0/ERR:0]
[00000167] main input debug: ES 0x2, stream 0x2,
fourcc `araw', not selected [OK:0/ERR:0]
[00000167] main input debug: unselecting ES 0x1
[00000170] rawvideo decoder warning: invalid frame
size (0 < 608256)
[00000170] rawvideo decoder debug: raw video decoder
closed
[00000170] main decoder debug: thread 81926 joined
(src/input/input_dec.c:151)
[00000170] main decoder debug: killing decoder for
0x1, fourcc `I420', 9 PES in FIFO
[00000075] main module debug: unlocking module
"rawvideo"
[00000167] main input debug: no more selected ES
[00000030] main module debug: unlocking module "v4l"
[00000167] v4l input: v4l grabbing stoped
[00000029] main module debug: unlocking module "v4l"
[00000167] main input debug: pes: 9 packets
[00000167] main input debug: data: 61 packets
[00000167] main input debug: buffers: 11 packets
[00000167] main input warning: 188 bytes have not been
freed, expect memory leak
[00000167] main input debug: freeing info
structures...
[00000006] main module debug: unlocking module
"i420_rgb_mmx"
[00000118] main module debug: unlocking module "dummy"
[00000162] main module debug: unlocking module "x11"
[00000171] main video output debug: thread 98311
joined (src/video_output/video_output.c:478)
[00000167] main input debug: thread 32771 joined
(src/input/input.c:214)
[00000001] main vlc debug: removing all interfaces
[00000168] main interface debug: thread 65541 joined
(src/interface/interface.c:158)
[00000169] main private debug: thread 49156 joined
(gtk_main.c:148)
[00000128] main module debug: unlocking module
"gnome_main"
[00000109] main module debug: unlocking module "gnome"
[00000001] main vlc debug: removing all playlists
[00000166] main playlist debug: thread 16386 joined
(src/playlist/playlist.c:102)
[00000001] main vlc debug: removing all video outputs
[00000001] main vlc debug: removing all audio outputs
[00000010] main module debug: unlocking module
"memcpymmxext"

Sorry about huge log.

Thanks

--- Benjamin PRACHT <bigben at via.ecp.fr> wrote:
> On Wed, Dec 10, 2003, tom alter wrote :
> 
> > i  guess for  simple displaying  of  the captured 
> video doesn't  need
> > encoding (that's my  guess not sure about it) but 
> that is also giving
> > jerky video.
> >
> 
> You're rught about that... Could you please  send us
> a log of vlc output
> ?
> 
> thanks
> 
> -- 
> $(echo "BigBen")
> 
> Oui je quote, et alors ?
> 
> -- 
> This is the vlc mailing-list, see
> http://www.videolan.org/vlc/
> To unsubscribe, please read
> http://www.videolan.org/support/lists.html
> If you are in trouble, please contact
> <postmaster at videolan.org>
> 


__________________________________
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/

-- 
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vlc mailing list