[V4L2] capture, sequence number field..

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



I'm using bttv version 7.68, on  linux 2.4.14. I have installed the
patches required for v4l2. Now, xawtv and mp1e work with v4l2 interface.
I've written a capture program using v4l2 interface. I would like to track
the loss of frames during capture. In my capture program following
sequence #s are consistently missing
3, 9, 15,21,27,33... every 6th frame is missed. I'm using 1GHz pentiumIII 
system with a FlyVideo II, capturing interlaced, PAL, only video. 
 
I tried printing messages in mp1e-1.9.1 after the DQBUF ioctl. In the 
first set of printf messages(see below), sequence #s are getting
repeated, 
in the second set where timestamps are also printed, the sequence #s are 
skipped as in my capture program.

Could someone tell me if the sequence # can be used as a reliable field
to decide if frame skips occur in the capture program.

Sometimes Timestamp fields have negative values, is that o.k?

DQ index = 0, length =126976 seq=0
DQ index = 1, length =126976 seq=1
DQ index = 2, length =126976 seq=1
DQ index = 3, length =126976 seq=2
DQ index = 4, length =126976 seq=2
DQ index = 5, length =126976 seq=3
DQ index = 6, length =126976 seq=4
DQ index = 7, length =126976 seq=4
DQ index = 8, length =126976 seq=5
DQ index = 9, length =126976 seq=5
DQ index = 10, length =126976 seq=6
DQ index = 11, length =126976 seq=7
DQ index = 12, length =126976 seq=7
DQ index = 13, length =126976 seq=8
DQ index = 14, length =126976 seq=8
DQ index = 15, length =126976 seq=9
DQ index = 16, length =126976 seq=10
DQ index = 17, length =126976 seq=10

DQ index = 0, length =126976 seq=0 time=1008839756.335295
DQ index = 1, length =126976 seq=1 time=1008839756.368662
DQ index = 2, length =126976 seq=2 time=1008839756.402028
DQ index = 3, length =126976 seq=4 time=1008839756.468762
DQ index = 4, length =126976 seq=5 time=1008839756.502129
DQ index = 5, length =126976 seq=6 time=1008839756.535495
DQ index = 6, length =126976 seq=7 time=1008839756.568862
DQ index = 7, length =126976 seq=8 time=1008839756.602229
DQ index = 8, length =126976 seq=10 time=1008839756.668962
DQ index = 9, length =126976 seq=11 time=1008839756.702329
DQ index = 10, length =126976 seq=12 time=1008839756.735695
DQ index = 11, length =126976 seq=13 time=1008839756.769062
DQ index = 12, length =126976 seq=14 time=1008839756.802429
DQ index = 13, length =126976 seq=16 time=1008839756.869162
DQ index = 14, length =126976 seq=17 time=1008839756.902529
DQ index = 15, length =126976 seq=18 time=1008839756.935896
DQ index = 16, length =126976 seq=19 time=1008839756.969262
DQ index = 17, length =126976 seq=20 time=1008839757.002629
DQ index = 18, length =126976 seq=22 time=1008839757.069363
 
Thanks in advance,
Thenmozhi.

-- 
----------------------------------------------------------------------------
Thenmozhi Arunan			
then@xxxxxxxxxxxxxxxxxxxxxxx		DV012, Vigyanpura Campus, 
Multimedia Systems Lab			IISc Quarters, (Opp ISRO Headquaters)
SuperComputer Educ & Research Centre	New BEL Road
Indian Institute of Science 		Bangalore-560094
Bangalore-560012, India.		KARNATAKA,India	
Office Ph: 80-309 2896.			Home Ph: 341 1952
----------------------------------------------------------------------------





[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux