piotr-e / Stk1160-raspberrypi

stk1160 driver for Raspberry Pi (aka easycap)
https://github.com/piotr-e/stk1160-raspberrypi
15 stars 5 forks source link

Crawling capture #4

Closed StkQuestion closed 10 years ago

StkQuestion commented 11 years ago

Hi,

Thank you for the driver, everything works well, except when I try to capture my set-top-box I got the following: piprobem

For me it looks as a sync problem, but I don't know how can I fix it. I started the capture with: mplayer tv:// -tv driver=v4l2:norm=PAL:outfmt=uyvy:device=/dev/video0:input=1:fps=10 -vo sdl -hardframedrop -msglevel all=6

I also tried it with "width=640:height=480" and with another video norm. and with another video source without success. The video is stable along hours.

Here is my dmesg:

[28865.049947] print_err_status: 307 callbacks suppressed [28865.049976] URB packet 1, status -63 [Buffer error (overrun)]. [28865.050153] URB packet 14, status -63 [Buffer error (overrun)]. [28865.077853] URB packet 33, status -63 [Buffer error (overrun)]. [28865.122931] URB packet 36, status -63 [Buffer error (overrun)]. [28865.167671] URB packet 6, status -63 [Buffer error (overrun)]. [28865.177159] URB packet 39, status -63 [Buffer error (overrun)]. [28865.186149] URB packet 25, status -63 [Buffer error (overrun)]. [28865.194947] URB packet 0, status -63 [Buffer error (overrun)]. [28865.204749] URB packet 62, status -63 [Buffer error (overrun)]. [28865.239956] URB packet 0, status -63 [Buffer error (overrun)]. [28870.088427] print_err_status: 227 callbacks suppressed [28870.088457] URB packet 33, status -63 [Buffer error (overrun)]. [28870.088640] URB packet 46, status -63 [Buffer error (overrun)]. [28870.151828] URB packet 1, status -63 [Buffer error (overrun)]. [28870.206384] URB packet 9, status -63 [Buffer error (overrun)]. [28870.306460] URB packet 4, status -63 [Buffer error (overrun)]. [28870.332389] URB packet 0, status -63 [Buffer error (overrun)]. [28870.340767] URB packet 9, status -63 [Buffer error (overrun)]. [28870.365516] URB packet 0, status -63 [Buffer error (overrun)]. [28870.398648] URB packet 0, status -63 [Buffer error (overrun)]. [28870.431860] URB packet 24, status -63 [Buffer error (overrun)]. [28875.147438] print_err_status: 214 callbacks suppressed [28875.147468] URB packet 0, status -63 [Buffer error (overrun)]. [28875.201305] URB packet 0, status -63 [Buffer error (overrun)]. [28875.210433] URB packet 0, status -63 [Buffer error (overrun)]. [28875.265061] URB packet 38, status -63 [Buffer error (overrun)]. [28875.508116] URB packet 20, status -63 [Buffer error (overrun)]. [28875.508519] URB packet 49, status -63 [Buffer error (overrun)]. [28875.508569] URB packet 53, status -63 [Buffer error (overrun)]. [28875.508654] URB packet 59, status -63 [Buffer error (overrun)]. [28875.588986] URB packet 0, status -63 [Buffer error (overrun)]. [28875.589365] URB packet 28, status -63 [Buffer error (overrun)]. [28878.548567] stk1160: killing urbs... [28878.550514] stk1160: all urbs killed [28878.550538] stk1160: setting alternate 0 [28878.556243] stk1160: buffer [d61f8000/2] aborted [28878.556269] stk1160: buffer [d0409800/3] aborted [28878.556278] stk1160: streaming stopped [28906.761903] stk1160: fourcc format 0x32315659 invalid [28906.762296] stk1160: fourcc format 0x32315559 invalid [28906.763448] stk1160: registers to PAL like standard [28906.776344] stk1160: queue_setup: buffer count 8, each 829440 bytes [28906.783098] stk1160: vma=0xd00e0700 [28906.791574] stk1160: vma start=0xb400c000, size=831488 (0) [28906.791692] stk1160: vma=0xd00e06a8 [28906.792194] stk1160: vma start=0xb3f41000, size=831488 (0) [28906.792250] stk1160: vma=0xd00e0650 [28906.792711] stk1160: vma start=0xb3e76000, size=831488 (0) [28906.792762] stk1160: vma=0xd00e05f8 [28906.793231] stk1160: vma start=0xb3dab000, size=831488 (0) [28906.793288] stk1160: vma=0xd00e05a0 [28906.793745] stk1160: vma start=0xb3ce0000, size=831488 (0) [28906.793797] stk1160: vma=0xd00e0548 [28906.794259] stk1160: vma start=0xb3c15000, size=831488 (0) [28906.794310] stk1160: vma=0xd00e04f0 [28906.794780] stk1160: vma start=0xb3b4a000, size=831488 (0) [28906.794835] stk1160: vma=0xd00e0498 [28906.795298] stk1160: vma start=0xb3a7f000, size=831488 (0) [28906.815644] stk1160: setting alternate 5 [28906.815672] stk1160: minimum isoc packet size: 3072 (alt=5) [28906.815684] stk1160: setting alt 5 with wMaxPacketSize=3072 [28906.818636] stk1160: 16 urbs allocated [28906.829997] stk1160: streaming started [28906.876105] print_err_status: 142 callbacks suppressed [28906.876135] URB packet 16, status -63 [Buffer error (overrun)]. [28907.162951] URB packet 32, status -63 [Buffer error (overrun)]. [28907.315556] URB packet 20, status -63 [Buffer error (overrun)]. [28907.505460] URB packet 40, status -63 [Buffer error (overrun)]. [28907.530075] URB packet 0, status -63 [Buffer error (overrun)]. [28907.604212] URB packet 0, status -63 [Buffer error (overrun)]. [28907.628964] URB packet 0, status -63 [Buffer error (overrun)]. [28907.662223] URB packet 11, status -63 [Buffer error (overrun)]. [28907.687222] URB packet 0, status -63 [Buffer error (overrun)]. [28907.712105] URB packet 12, status -63 [Buffer error (overrun)]. [28912.177669] print_err_status: 195 callbacks suppressed [28912.177699] URB packet 60, status -63 [Buffer error (overrun)]. [28912.231373] URB packet 32, status -63 [Buffer error (overrun)]. [28912.258336] URB packet 10, status -63 [Buffer error (overrun)]. [28912.258687] URB packet 48, status -63 [Buffer error (overrun)]. [28912.285745] URB packet 31, status -63 [Buffer error (overrun)]. [28912.303846] URB packet 0, status -63 [Buffer error (overrun)]. [28912.304308] URB packet 34, status -63 [Buffer error (overrun)]. [28912.304632] URB packet 59, status -63 [Buffer error (overrun)]. [28912.322102] URB packet 0, status -63 [Buffer error (overrun)]. [28912.331371] URB packet 1, status -63 [Buffer error (overrun)]. [28917.260542] print_err_status: 257 callbacks suppressed [28917.260569] URB packet 1, status -63 [Buffer error (overrun)]. [28917.296748] URB packet 16, status -63 [Buffer error (overrun)]. [28917.306090] URB packet 45, status -63 [Buffer error (overrun)]. [28917.314669] URB packet 1, status -63 [Buffer error (overrun)]. [28917.350915] URB packet 0, status -63 [Buffer error (overrun)]. [28917.350996] URB packet 4, status -63 [Buffer error (overrun)]. [28917.360615] URB packet 27, status -63 [Buffer error (overrun)]. [28917.387824] URB packet 29, status -63 [Buffer error (overrun)]. [28917.424431] URB packet 59, status -63 [Buffer error (overrun)]. [28917.479539] URB packet 39, status -63 [Buffer error (overrun)]. [28922.306702] print_err_status: 199 callbacks suppressed [28922.306732] URB packet 0, status -63 [Buffer error (overrun)]. [28922.348086] URB packet 0, status -63 [Buffer error (overrun)]. [28922.348123] URB packet 25, status -63 [Buffer error (overrun)]. [28922.364698] URB packet 13, status -63 [Buffer error (overrun)]. [28922.381198] URB packet 0, status -63 [Buffer error (overrun)]. [28922.406097] URB packet 23, status -63 [Buffer error (overrun)]. [28922.430971] URB packet 16, status -63 [Buffer error (overrun)]. [28922.455844] URB packet 0, status -63 [Buffer error (overrun)]. [28922.455884] URB packet 36, status -63 [Buffer error (overrun)]. [28922.464229] URB packet 20, status -63 [Buffer error (overrun)]. [28927.363385] print_err_status: 232 callbacks suppressed [28927.363416] URB packet 0, status -63 [Buffer error (overrun)]. [28927.371765] URB packet 4, status -63 [Buffer error (overrun)]. [28927.404903] URB packet 0, status -63 [Buffer error (overrun)]. [28927.421660] URB packet 23, status -63 [Buffer error (overrun)]. [28927.438541] URB packet 21, status -63 [Buffer error (overrun)]. [28927.447050] URB packet 60, status -63 [Buffer error (overrun)]. [28927.463664] URB packet 8, status -63 [Buffer error (overrun)]. [28927.498758] URB packet 16, status -63 [Buffer error (overrun)]. [28927.543549] URB packet 0, status -63 [Buffer error (overrun)]. [28927.552988] URB packet 14, status -63 [Buffer error (overrun)]. [28932.396568] print_err_status: 252 callbacks suppressed [28932.396597] URB packet 0, status -63 [Buffer error (overrun)]. [28932.413082] URB packet 0, status -63 [Buffer error (overrun)]. [28932.429585] URB packet 0, status -63 [Buffer error (overrun)]. [28932.454294] URB packet 0, status -63 [Buffer error (overrun)]. [28932.479066] URB packet 0, status -63 [Buffer error (overrun)]. [28932.512210] URB packet 0, status -63 [Buffer error (overrun)]. [28932.545231] URB packet 29, status -63 [Buffer error (overrun)]. [28932.561850] URB packet 0, status -63 [Buffer error (overrun)]. [28932.578475] URB packet 0, status -63 [Buffer error (overrun)]. [28932.586815] URB packet 63, status -63 [Buffer error (overrun)]. [28937.584280] print_err_status: 245 callbacks suppressed [28937.584310] URB packet 0, status -63 [Buffer error (overrun)]. [28937.585025] URB packet 55, status -63 [Buffer error (overrun)]. [28937.629878] URB packet 26, status -63 [Buffer error (overrun)]. [28937.638667] URB packet 0, status -63 [Buffer error (overrun)]. [28937.647791] URB packet 0, status -63 [Buffer error (overrun)]. [28937.675561] URB packet 53, status -63 [Buffer error (overrun)]. [28937.684174] URB packet 0, status -63 [Buffer error (overrun)]. [28937.684501] URB packet 24, status -63 [Buffer error (overrun)]. [28937.747792] URB packet 49, status -63 [Buffer error (overrun)]. [28937.881963] URB packet 14, status -63 [Buffer error (overrun)]. [28942.589591] print_err_status: 207 callbacks suppressed [28942.589619] URB packet 0, status -63 [Buffer error (overrun)]. [28942.606206] URB packet 0, status -63 [Buffer error (overrun)]. [28942.614535] URB packet 5, status -63 [Buffer error (overrun)]. [28942.631350] URB packet 15, status -63 [Buffer error (overrun)]. [28942.631385] URB packet 32, status -63 [Buffer error (overrun)]. [28942.639719] URB packet 6, status -63 [Buffer error (overrun)]. [28942.672960] URB packet 41, status -63 [Buffer error (overrun)]. [28942.689721] URB packet 0, status -63 [Buffer error (overrun)]. [28942.739102] URB packet 0, status -63 [Buffer error (overrun)]. [28942.747495] URB packet 49, status -63 [Buffer error (overrun)]. [28947.618635] print_err_status: 263 callbacks suppressed [28947.618664] URB packet 0, status -63 [Buffer error (overrun)]. [28947.635092] URB packet 0, status -63 [Buffer error (overrun)]. [28947.668277] URB packet 0, status -63 [Buffer error (overrun)]. [28947.701400] URB packet 0, status -63 [Buffer error (overrun)]. [28947.734243] URB packet 0, status -63 [Buffer error (overrun)]. [28947.750909] URB packet 0, status -63 [Buffer error (overrun)]. [28947.759293] URB packet 24, status -63 [Buffer error (overrun)]. [28947.816915] URB packet 0, status -63 [Buffer error (overrun)]. [28947.825316] URB packet 1, status -63 [Buffer error (overrun)]. [28947.850163] URB packet 33, status -63 [Buffer error (overrun)]. [28950.606605] stk1160: killing urbs... [28950.609495] stk1160: all urbs killed [28950.609525] stk1160: setting alternate 0 [28950.614881] stk1160: streaming stopped [29233.815350] stk1160: fourcc format 0x32315659 invalid [29233.818148] stk1160: fourcc format 0x32315559 invalid [29233.819393] stk1160: registers to PAL like standard [29233.832245] stk1160: queue_setup: buffer count 8, each 829440 bytes [29233.844160] stk1160: vma=0xd6210700 [29233.844640] stk1160: vma start=0xb4015000, size=831488 (0) [29233.844715] stk1160: vma=0xd62106a8 [29233.845189] stk1160: vma start=0xb3f4a000, size=831488 (0) [29233.845246] stk1160: vma=0xd6210650 [29233.845703] stk1160: vma start=0xb3e7f000, size=831488 (0) [29233.845757] stk1160: vma=0xd62105f8 [29233.846223] stk1160: vma start=0xb3db4000, size=831488 (0) [29233.846279] stk1160: vma=0xd62105a0 [29233.846736] stk1160: vma start=0xb3ce9000, size=831488 (0) [29233.846789] stk1160: vma=0xd6210548 [29233.847243] stk1160: vma start=0xb3c1e000, size=831488 (0) [29233.847293] stk1160: vma=0xd62104f0 [29233.847758] stk1160: vma start=0xb3b53000, size=831488 (0) [29233.847811] stk1160: vma=0xd6210498 [29233.848259] stk1160: vma start=0xb3a88000, size=831488 (0) [29233.871098] stk1160: setting alternate 5 [29233.871127] stk1160: minimum isoc packet size: 3072 (alt=5) [29233.871138] stk1160: setting alt 5 with wMaxPacketSize=3072 [29233.874130] stk1160: 16 urbs allocated [29233.884126] stk1160: streaming started [29233.932170] print_err_status: 148 callbacks suppressed [29233.932199] URB packet 3, status -63 [Buffer error (overrun)]. [29234.012944] URB packet 12, status -63 [Buffer error (overrun)]. [29234.058557] URB packet 45, status -63 [Buffer error (overrun)]. [29234.068033] URB packet 1, status -63 [Buffer error (overrun)]. [29234.068140] URB packet 8, status -63 [Buffer error (overrun)]. [29234.077337] URB packet 11, status -63 [Buffer error (overrun)]. [29234.157827] URB packet 0, status -63 [Buffer error (overrun)]. [29234.166959] URB packet 0, status -63 [Buffer error (overrun)]. [29234.212585] URB packet 40, status -63 [Buffer error (overrun)]. [29234.221213] URB packet 0, status -63 [Buffer error (overrun)]. [29239.035739] print_err_status: 176 callbacks suppressed [29239.035767] URB packet 0, status -63 [Buffer error (overrun)]. [29239.113877] URB packet 0, status -63 [Buffer error (overrun)]. [29239.113909] URB packet 11, status -63 [Buffer error (overrun)]. [29239.155247] URB packet 1, status -63 [Buffer error (overrun)]. [29239.163759] URB packet 2, status -63 [Buffer error (overrun)]. [29239.205152] URB packet 51, status -63 [Buffer error (overrun)]. [29239.221767] URB packet 0, status -63 [Buffer error (overrun)]. [29239.221813] URB packet 56, status -63 [Buffer error (overrun)]. [29239.238261] URB packet 0, status -63 [Buffer error (overrun)]. [29239.246752] URB packet 17, status -63 [Buffer error (overrun)]. [29244.148273] print_err_status: 247 callbacks suppressed [29244.148304] URB packet 0, status -63 [Buffer error (overrun)]. [29244.165090] URB packet 57, status -63 [Buffer error (overrun)]. [29244.190069] URB packet 45, status -63 [Buffer error (overrun)]. [29244.198452] URB packet 37, status -63 [Buffer error (overrun)]. [29244.214951] URB packet 0, status -63 [Buffer error (overrun)]. [29244.247814] URB packet 0, status -63 [Buffer error (overrun)]. [29244.264451] URB packet 16, status -63 [Buffer error (overrun)]. [29244.264494] URB packet 60, status -63 [Buffer error (overrun)]. [29244.281200] URB packet 6, status -63 [Buffer error (overrun)]. [29244.281234] URB packet 24, status -63 [Buffer error (overrun)]. [29246.206803] stk1160: killing urbs... [29246.208496] stk1160: all urbs killed [29246.208518] stk1160: setting alternate 0 [29246.212671] stk1160: buffer [d6344800/5] aborted

Kernel version: Linux raspberrypi 3.6.11+ USB: Bus 001 Device 004: ID 05e1:0408 Syntek Semiconductor Co., Ltd STK1160 Video Capture Device

If you have any idea how can I get a rid of this problem, or if you need additional information please contact me.

Than you for the driver and thank you in advance,

Daniel

piotr-e commented 10 years ago

It is USB problem.

http://www.raspberrypi.org/phpBB3/viewtopic.php?f=28&t=53832

See issue: I can't make it work

pete111 commented 10 years ago

Hello, I have the same issue. What kind of USB problem is it? Power? Speed? Corrupted usb grabber? Help is much appreciated.

piotr-e commented 10 years ago

Too slow CPU, in my opinion of course. Now hardware driver for GPU is preparing and it maybe help...