[vlc] Re: cx88 capture problems.

Cian Cullinan cian.cullinan at gmail.com
Tue May 24 17:15:05 CEST 2005


OK, chroma issue figured out. For anyone in the same situation here's
the command line I used to simply capture and display from the card:

vlc -vvv v4l:/dev/video:norm=pal:channel=2:adev=/dev/dsp:audio=0
:v4l-chroma="RV32"

Now I want to stream this via UDP to a machine on the same subnet. I've tried

vlc -vvv v4l:/dev/video:norm=pal:channel=2:adev=/dev/dsp:audio=0
:v4l-chroma="RV32" --sout
'#transcode{vcodec=mp4v,acodec=mpga,vb=512,fps=20,ab=128,\
venc=ffmpeg{hq=rd,trellis,strict=1,strict-rc,pre-me,keyint=300\
,bframes=0},deinterlace}:std{access=udp,mux=ts,url=192.168.1.102}' --ttl 1

but on the receiver side I get lots of errors like:

[00000318] main video output warning: late picture skipped (19317)
[00000318] main video output warning: late picture skipped (56407)
[00000307] alsa audio output warning: recovered from buffer underrun
[00000307] main audio output warning: computed PTS is out of range
(9827), clearing out
[00000307] main audio output warning: PTS is out of range (-21880),
dropping buffer
[00000307] main audio output warning: output PTS is out of range
(18152), clearing out
[00000307] main audio output debug: audio output is starving (34291),
playing silence

This is not a network issue because I get the same messages when
connecting the two machines directly together with a cross-over cable,
or even setting the UDP destination to the machine that is doing the
encoding and trying to view with a second instance of vlc.

I thought it might be a CPU issue but neither machine approaches max
CPU usage while this is going on.
I know there is probably a straight forward solution for this, but to
be honest I find the vlc syntax a little bewildering and would rather
not have to trial-and-error my way to a solution :)

Cian.

P.S.: I ended up reading modules/access/v4l/v4l.c
 to get a list of chroma values and trying them one by one. Is there a
more friendly way of finding these and could I have figured out what
value my card needed without trying each one?

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