[vlc] Re: Broken video with rawdv and firewire connection

John Roberts jroberts at windwardcg.com
Mon Jun 5 13:31:47 CEST 2006


I've tried adding the --dv-caching=60000 option so that my command line now
says:

Vlc dv/rawdv://dev/raw1394  --dv-caching=60000

And the only difference is that it now takes a min to show video but the
video is just as broken up as before.  It stutters/pauses and is visually
broken up into "blocks".  I've also tried the vlc command mentioned in the
VideoLan doc's on how to pull content via firewire (which includes some
streaming options) - but it also results in the same thing.

Here is some debug output (The ALSA errors are due to sound card not
configured correctly yet).  Is there a chance this is all due to the sound
card not being configured yet?  Does VLC require audio to perform some sort
of sync'ing and without it will do odd things?

Debug output follows:

[00000270] access_dv access debug: send play command over Digital Video
control channel
[00000273] main private debug: received first data for our buffer
[00000273] main private debug: prebuffering done 576000 bytes in 0s - 3392
kbytes/s
[00000268] main input debug: creating demux: access='dv' demux='rawdv'
path='/dev/raw1394'
[00000274] main demuxer debug: looking for demux2 module: 1 candidate
[00000268] main input debug: selecting program id=0
[00000274] main demuxer debug: using demux2 module "rawdv"
[00000276] main decoder debug: looking for decoder module: 19 candidates
[00000276] ffmpeg decoder debug: libavcodec initialized (interface 3344640 )
[00000276] ffmpeg decoder debug: postprocessing disabled
[00000276] ffmpeg decoder debug: using direct rendering
[00000276] ffmpeg decoder debug: ffmpeg codec (DV Video) started
[00000276] main decoder debug: using decoder module "ffmpeg"
[00000276] main decoder debug: thread 2990365616 (decoder) created at
priority 0 (input/decoder.c:159)
[00000294] main decoder debug: looking for decoder module: 19 candidates
[00000294] araw decoder debug: samplerate:32000Hz channels:2 bits/sample:16
[00000294] main decoder debug: using decoder module "araw"
[00000294] main decoder debug: thread 2981972912 (decoder) created at
priority 0 (input/decoder.c:159)
[00000270] access_dv access warning: unimplemented query in control
[00000268] main input debug: `dv/rawdv:///dev/raw1394' successfully opened
[00000276] ffmpeg decoder debug: disabling direct rendering
[00000276] main decoder debug: no usable vout present, spawning one
[00000295] main video output debug: window size: 720x480
[00000295] main video output debug: looking for video output module: 6
candidates
[00000295] xvideo video output debug: adaptor 0, port 270, format 0x32315659
(YV12) planar
[00000294] main decoder debug: no aout present, spawning one
[00000298] main audio output debug: looking for audio output module: 4
candidates
[00000295] xvideo video output debug: Window manager supports NetWM
[00000295] xvideo video output debug: Window manager supports
_NET_WM_STATE_FULLSCREEN
[00000295] main video output debug: using video output module "xvideo"
[00000295] main video output debug: waiting for thread completion
[00000295] main video output debug: got 8 direct buffer(s)
[00000295] main video output debug: picture in 720x480 (0,0,720x480), chroma
I420, ar 3:2, sar 1:1
[00000295] main video output debug: picture user 720x480 (0,0,720x480),
chroma I420, ar 3:2, sar 1:1
[00000295] main video output debug: picture out 720x480 (0,0,720x480),
chroma I420, ar 3:2, sar 1:1
[00000295] main video output debug: direct render, mapping render pictures
0-6 to system pictures 1-7
[00000295] main video output debug: thread 2971663280 (video output) created
at priority 0 (video_output/video_output.c:421)
ALSA lib confmisc.c:670:(snd_func_card_driver) cannot find card '0'
ALSA lib conf.c:3479:(_snd_config_evaluate) function snd_func_card_driver
returned error: No such device
ALSA lib confmisc.c:391:(snd_func_concat) error evaluating strings
ALSA lib conf.c:3479:(_snd_config_evaluate) function snd_func_concat
returned error: No such device
ALSA lib confmisc.c:1070:(snd_func_refer) error evaluating name
.....
[00000298] main audio output debug: using audio output module "dummy"
[00000298] main audio output debug: output 's16l' 32000 Hz Stereo frame=1
samples/4 bytes
[00000298] main audio output debug: mixer 'fl32' 32000 Hz Stereo frame=1
samples/8 bytes
[00000298] main audio output debug: filter(s) 'fl32'->'s16l' 32000 Hz->32000
Hz Stereo->Stereo
[00000308] main private debug: looking for audio filter module: 24
candidates
[00000308] main private debug: using audio filter module "float32tos16"
[00000298] main audio output debug: found a filter for the whole conversion
[00000298] main audio output debug: looking for audio mixer module: 3
candidates
[00000298] main audio output debug: using audio mixer module "trivial_mixer"
[00000298] main audio output debug: input 's16l' 32000 Hz Stereo frame=1
samples/4 bytes
[00000298] main audio output debug: filter(s) 's16l'->'fl32' 32000 Hz->32000
Hz Stereo->Stereo
[00000330] main private debug: looking for audio filter module: 24
candidates
[00000330] main private debug: using audio filter module "s16tofloat32"
[00000298] main audio output debug: found a filter for the whole conversion
[00000298] main audio output debug: filter(s) 'fl32'->'fl32' 35200 Hz->32000
Hz Stereo->Stereo
[00000337] main private debug: looking for audio filter module: 24
candidates
[00000337] main private debug: using audio filter module
"bandlimited_resampler"
[00000298] main audio output debug: found a filter for the whole conversion
[00000276] main decoder warning: decoder/packetizer fifo full (data not
consummed quickly enough), resetting fifo!
[00000298] main audio output warning: buffer is 66479 in advance, triggering
downsampling
[00000298] main audio output warning: timing screwed, stopping resampling
[00000298] main audio output warning: buffer is 100882 in advance,
triggering downsampling
[00000298] main audio output warning: audio drift is too big (-135938),
clearing out
[00000298] main audio output warning: timing screwed, stopping resampling
[00000298] main audio output warning: audio drift is too big (-135689),
clearing out
[00000298] main audio output warning: mixer start isn't output start
(-48560)
[00000298] main audio output warning: buffer is 71243 in advance, triggering
downsampling
[00000298] main audio output warning: timing screwed, stopping resampling
[00000298] main audio output warning: buffer is 107395 in advance,
triggering downsampling
[00000298] main audio output warning: audio drift is too big (-144292),
clearing out
[00000298] main audio output warning: timing screwed, stopping resampling
[00000298] main audio output warning: mixer start isn't output start
(-15151)
[00000298] main audio output warning: audio drift is too big (-144042),
clearing out
.....
[00000298] main audio output warning: buffer is 41044 in advance, triggering
downsampling
[00000298] main audio output warning: timing screwed, stopping resampling
[00000298] main audio output warning: buffer is 74371 in advance, triggering
downsampling
[00000001] main vlc debug: removing all interfaces
[00000265] main interface debug: thread 3019045808 joined
(interface/interface.c:258)
[00000265] main interface debug: removing module "wxwidgets"
[00000263] main interface debug: thread 3045108656 joined
(interface/interface.c:258)
[00000263] main interface debug: removing module "showintf"
[00000261] main interface debug: thread 3053501360 joined
(interface/interface.c:258)
[00000261] main interface debug: removing module "screensaver"
[00000298] main audio output warning: timing screwed, stopping resampling
[00000259] main interface debug: thread 3061894064 joined
(interface/interface.c:258)
[00000259] main interface debug: removing module "hotkeys"
[00000001] main vlc debug: removing playlist handler
[00000258] main private debug: thread 3078679472 joined
(playlist/engine.c:111)
[00000298] main audio output warning: buffer is 115652 in advance,
triggering downsampling
[00000268] main input debug: control type=0
[00000268] main input debug: control: stopping input
[00000268] main input debug: closing input
[00000274] main demuxer debug: removing module "rawdv"

 

-----Original Message-----
From: vlc-bounce at videolan.org [mailto:vlc-bounce at videolan.org] On Behalf Of
Jean-Paul Saman
Sent: Saturday, June 03, 2006 3:43 PM
To: vlc at videolan.org
Subject: [vlc] Re: Broken video with rawdv and firewire connection

John Roberts wrote:
> Yes - the bleeding edge... :)
> 
> If it were a problem with the transport across the 1394 connection 
> then dvgrab would also report/show dropped frames - but it captures 
> video/audio fine.  It is only when VLC is asked to capture the rawdv 
> feed using the
> dv/rawdv://dev/raw1394 interface that it drops/studders/pauses.
> 
> Has anyone gotten this to work?  If not - is there something I can 
> provide to a developer?  I can provide access to this box if that helps
anyone.

Yes I have since I wrote the DV access plugin. What was exactly your
commandline? and what type of camera did you use? What bitrate does it
encode in?

Anyway I would add --dv-caching=60000 (1 min caching) to the commandline .

Gtz,
Jean-Paul Saman.

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

-- 
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