[MPlayer-users] My cropping question revisited.

Gene Heskett gheskett at wdtv.com
Thu Sep 26 22:04:24 CEST 2013


On Thursday 26 September 2013 15:50:37 houghi did opine:

> On Thu, Sep 26, 2013 at 10:07:46AM -0400, Gene Heskett wrote:
> > On Thursday 26 September 2013 09:56:58 houghi did opine:
> > > On Wed, Sep 25, 2013 at 05:52:52PM -0400, Gene Heskett wrote:
> > > > 1, mplayer idents the camera ok, but cannot connect.
> > > > 
> > > > Its identified in the log as input: HD Pro Webcam C920 as
> > > > /devices/pci0000:00/0000:00:1d.7/usb1/1-6/1-6:1.0/input/input10
> > > > And seems to claim its a 2304 by 2xxx pixel device.
> > > 
> > > How do you connect and why? What I do is take out the MicroSD card
> > > and just copy that and work from there. For me much easier then
> > > using the camera itself. (see e.g. http://vimeo.com/75423306 what
> > > the result is)
> > > 
> > > So what do you do to get to the camera from mplayer? I will try to
> > > do the same, see what happens and report back.
> > > 
> > > houghi
> > 
> > The camera is usb and will normally be plugged into one of the 2 front
> > usb ports on an atom based board/box, a D525MW design straight from
> > Ark Tech.
> 
> I own a GoPro myself, so I know it is USB. However you say that mplayer
> idents the camera, but cannot connect. I fail to see how this is mplayer
> related as recognision of the device should be handled by the
> OS/distro/desktop
> 
> When I plugin my GoPro Hero3, I get in messages:
> 2013-09-26T16:30:24.880943+02:00 penne kernel: [844743.781448] usb 1-5:
> new high-speed USB device number 31 using ehci_hcd
> 2013-09-26T16:30:24.997847+02:00 penne kernel: [844743.898469] usb 1-5:
> New USB device found, idVendor=2672, idProduct=0004
> 2013-09-26T16:30:24.997863+02:00 penne kernel: [844743.898476] usb 1-5:
> New USB device strings: Mfr=1, Product=2, SerialNumber=3
> 2013-09-26T16:30:24.997867+02:00 penne kernel: [844743.898481] usb 1-5:
> Product: Storage 2013-09-26T16:30:24.997869+02:00 penne kernel:
> [844743.898485] usb 1-5: Manufacturer: GoPro
> 2013-09-26T16:30:24.997872+02:00 penne kernel: [844743.898488] usb 1-5:
> SerialNumber: 123456789ABC 2013-09-26T16:30:24.997877+02:00 penne
> kernel: [844743.898971] scsi49 : usb-storage 1-5:1.0
> 2013-09-26T16:30:25.002095+02:00 penne mtp-probe: checking bus 1,
> device 31: "/sys/devices/pci0000:00/0000:00:12.2/usb1/1-5"
> 2013-09-26T16:30:25.004095+02:00 penne mtp-probe: bus: 1, device: 31
> was not an MTP device 2013-09-26T16:30:26.001872+02:00 penne kernel:
> [844744.901833] scsi 49:0:0:0: Direct-Access     GoPro    Storage      
>    1.0  PQ: 0 ANSI: 0 2013-09-26T16:30:26.002858+02:00 penne kernel:
> [844744.902220] sd 49:0:0:0: Attached scsi generic sg3 type 0
> 2013-09-26T16:30:26.005876+02:00 penne kernel: [844744.905951] sd
> 49:0:0:0: [sdc] 62333952 512-byte logical blocks: (31.9 GB/29.7 GiB)
> 2013-09-26T16:30:26.006858+02:00 penne kernel: [844744.907069] sd
> 49:0:0:0: [sdc] Write Protect is off 2013-09-26T16:30:26.006880+02:00
> penne kernel: [844744.907078] sd 49:0:0:0: [sdc] Mode Sense: 8f 00 00
> 08 2013-09-26T16:30:26.007861+02:00 penne kernel: [844744.908066] sd
> 49:0:0:0: [sdc] Write cache: disabled, read cache: enabled, doesn't
> support DPO or FUA 2013-09-26T16:30:26.018853+02:00 penne kernel:
> [844744.918133]  sdc: sdc1 2013-09-26T16:30:26.026880+02:00 penne
> kernel: [844744.927085] sd 49:0:0:0: [sdc] Attached SCSI removable disk
> 
> I can then mount the device or have it mounted or let it automount or do
> whatever I desire. Once it is mounted, I can run any program, including
> mplayer.
> 
> That is the reason for my question: what are you trying to do? Are you
> just trying to get to the files? Then I would think this is not mplayer
> related. Or are you trying to use it like a webcam e.g. get livestream
> from it over USB instead of over wireless?
> 
> houghi
> 
Over USB, there are no wireless facilities in either the camera or the box 
it will be used on.

The software I am trying to improve is the camunits-emc package.  It is 
currently working but for this we need two things, first being the clipping 
to get rid of a huge amount of data that has to be processed.  If its not 
part of the picture area of interest, throw it away because that will also 
enhance the accuracy of the end result.  The processing lag is such that I 
can plant an object in front of the camera, and its all of 4 seconds before 
it makes it to the screen.  To be useful as machine vision, this needs to 
be reduced to a few hundred milliseconds.  As I said earlier, I won't be 
going to the shop to play with it until I can walk on this knee again.  The 
sawbones seemed to think, given that I am diabetic, a week might be too 
quick, we heal slow.

Thanks Houghi.

> >   Artist : Art of Noise
> >   
> >     Song : A Time For Fear (Who's Afraid)
> >    
> >    Album : daft
> 
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users


Cheers, Gene
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)

NT (as in Windows NT) is short for "Not Trustworthy".
A pen in the hand of this president is far more
dangerous than 200 million guns in the hands of
         law-abiding citizens.


More information about the MPlayer-users mailing list