Re: [gentoo-user] Re: OT :video cameras and gentoo

2007-08-14 Thread Iain Buchanan
On Tue, 2007-08-14 at 02:04 +, James wrote:
 
 Now on to converting them to Mpeg4-avc (h.264).

I would be interested in seeing the command line (or program options)
that you settle on for this process.  I was using mencoder and ffmpeg a
while back to do similar things, and I found most of it was trial and
error to get the best picture - the help I found about various options
was very minimal.

cya,
-- 
Iain Buchanan iaindb at netspace dot net dot au

If you weren't my teacher, I'd think you just deleted all my files.
-- an anonymous UCB CS student, to an instructor who had typed rm -i * to
   get rid of a file named -f on a Unix system.

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: OT :video cameras and gentoo

2007-08-13 Thread Garry Smith


Hi James
i have a sony digital camera that takes movies, and it just 
shows up as a usb drive.  



Well, I went ahaed and purchased a sony DCR SR42.
It does not show up with usbview, ivman or in the 
dmesg if I reboot and leave it attached via

usb.
  

I have a Sony  DCR-SR32 that I use with my Gentoo Thinkpad.  This is a
great little camera that works well with Linux (i.e. shows up as a USB
mass storage device).  Your model is in the same range so I would
imaging the following would work for you as well.

To get the video off the camera, I do the following:

1. Plug the docking station into the wall socket and turn the wall power
on. Plug the USB lead into the laptop.
2. Attach the camera to the docking station and switch the camera on.
3. Open up the LCD display. Select the computer hard disk button.

4. At that point /var/log/messages shows something like:


Aug 13 10:07:59 obufki usb 1-2: new high speed USB device using ehci_hcd
and address 4
Aug 13 10:07:59 obufki usb 1-2: configuration #1 chosen from 1 choice
Aug 13 10:07:59 obufki scsi4 : SCSI emulation for USB Mass Storage devices
Aug 13 10:07:59 obufki usb-storage: device found at 4
Aug 13 10:07:59 obufki usb-storage: waiting for device to settle before
scanning
Aug 13 10:08:04 obufki Vendor: Sony  Model: Camcorder Rev: 1.00
Aug 13 10:08:04 obufki Type:   Direct-Access  ANSI
SCSI revision: 00
Aug 13 10:08:04 obufki SCSI device sdb: 58605120 512-byte hdwr sectors
(30006 MB)
Aug 13 10:08:04 obufki sdb: Write Protect is on
Aug 13 10:08:04 obufki sdb: Mode Sense: 00 32 00 80
Aug 13 10:08:04 obufki sdb: assuming drive cache: write through
Aug 13 10:08:04 obufki SCSI device sdb: 58605120 512-byte hdwr sectors
(30006 MB)
Aug 13 10:08:04 obufki sdb: Write Protect is on
Aug 13 10:08:04 obufki sdb: Mode Sense: 00 32 00 80
Aug 13 10:08:04 obufki sdb: assuming drive cache: write through
Aug 13 10:08:04 obufki sdb: sdb1
Aug 13 10:08:04 obufki sd 4:0:0:0: Attached scsi removable disk sdb
Aug 13 10:08:04 obufki sd 4:0:0:0: Attached scsi generic sg1 type 0
Aug 13 10:08:04 obufki usb-storage: device scan complete
Aug 13 10:08:05 obufki scsi.agent[7784]: disk at
/devices/pci:00/:00:1d.7/usb1/1-2/1-2:1.0/host4/target4:0:0/4:0:0:0


5. The LCD shows:
Connecting... Do not unplug the USB cable. Do not turn off the power.
There is also an END button that you press after you have finished
transfering the video.

6. Mount the device under Linux:  e.g. mount /mnt/camcorder

My /etc/fstab entry looks like:
/dev/sdb1   /mnt/camcorder  autonoauto,ro,user  0 0

7. cp /mnt/camcorder/mp_root/101pnv01/*  ~/video

8. After video has finished transferring, umount /mnt/camcorder

9. Press the 'END' button on the camera LCD display and follow any
instructions.

The only gotcha for me was, the first time I tried this I hadn't
connected the camera to the docking station properly. You really need to
give it a good shove to make sure the connection is good.


Did you activate anything special in your kernel?
  


[EMAIL PROTECTED] /usr/src/linux $ grep -i USB .config |grep -v 'is not set'
CONFIG_BT_HCIUSB=y
CONFIG_BT_HCIUSB_SCO=y
CONFIG_BT_HCIBFUSB=y
# Supported USB Adapters
# USB devices
CONFIG_SND_USB_AUDIO=m
# USB support
CONFIG_USB_ARCH_HAS_HCD=y
CONFIG_USB_ARCH_HAS_OHCI=y
CONFIG_USB_ARCH_HAS_EHCI=y
CONFIG_USB=y
# Miscellaneous USB options
CONFIG_USB_DEVICEFS=y
# USB Host Controller Drivers
CONFIG_USB_EHCI_HCD=y
CONFIG_USB_UHCI_HCD=y
# USB Device Class drivers
CONFIG_USB_PRINTER=y
# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'
# may also be needed; see USB_STORAGE Help for more information
CONFIG_USB_STORAGE=y
# USB Input Devices
CONFIG_USB_HID=y
CONFIG_USB_HIDINPUT=y
# USB Imaging devices
# USB Network Adapters
# USB port drivers
# USB Serial Converter support
CONFIG_USB_SERIAL=m
CONFIG_USB_SERIAL_GENERIC=y
CONFIG_USB_SERIAL_FTDI_SIO=m
CONFIG_USB_SERIAL_VISOR=m
CONFIG_USB_SERIAL_MCT_U232=m
# USB Miscellaneous drivers
# USB DSL modem support
# USB Gadget Support



  
i would assume that the video recorders 
would work the same way.  maybe you can take a laptop to a 
store that sells them and check to see if it works that way 
or find someone that has one and borrow it.  if you dont want 
sony recorders im sure you can find another brand with the same 
interface.



Well, If I cannot get it to at least mount the 30Gig HD like most
usb devices, I might just return it for another model...

ideas on things to try to get this DCR SR42 to work?
  

Try the above. This is a great little camera and I am really glad I
bought it.

Good luck

Garry



--
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: OT :video cameras and gentoo

2007-08-13 Thread James
Garry Smith garry.smith at computer.org writes:


 Hi James

{SNIP}

 Try the above. This is a great little camera and I am really glad I
 bought it.

 Garry


Hello Garry,

Last last night I got it to work, noodling around with it, I figured
out you have to push several menu buttons before IVMAN picked up the
usb device. Once that happened, I was off to the races.


I do appreciate your meticulous instructions. In fact we should 
build/populate a sony/handicam gentoo wiki, so it is very straight 
forward For other to use a sony HDD video camera with Gentoo...
I have many things I want to try and do with Gentoo and the family
video camera. Virtually all of the players I tested last night,
vlc, mplayer kaffeine and codeine all worked fabulously with the
Mpeg(2) files, I tried. Right now, I've got about 75 individual
files in a dir because I stopped and started the camera after
each play on my sons football game. That way I can figure out
how to index into the game, on a chronological basis,to review an
individual play, or just watch the entire game from start to finish. 

I'm going to write some simple scripts to auto convert 
these ugly (name )files to something more meaningful
and logical, keeping each game in a separate dir. I wonder if anyone
has hacked any database stuff to help one manage a large collect
of video files

Now on to converting them to Mpeg4-avc (h.264).

More to come, but, THANKS for your advice.
You are right on the money...


James




-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: OT :video cameras and gentoo

2007-08-12 Thread James
Paul stenius at gmail.com writes:

 
 
 i have a sony digital camera that takes movies, and it just 
 shows up as a usb drive.  

Well, I went ahaed and purchased a sony DCR SR42.
It does not show up with usbview, ivman or in the 
dmesg if I reboot and leave it attached via
usb.

Did you activate anything special in your kernel?


 i would assume that the video recorders 
 would work the same way.  maybe you can take a laptop to a 
 store that sells them and check to see if it works that way 
 or find someone that has one and borrow it.  if you dont want 
 sony recorders im sure you can find another brand with the same 
 interface.

Well, If I cannot get it to at least mount the 30Gig HD like most
usb devices, I might just return it for another model...

ideas on things to try to get this DCR SR42 to work?


James


-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: OT :video cameras and gentoo

2007-08-12 Thread James
Iain Buchanan iaindb at netspace.net.au writes:


 After playing around with video camera's for a few years, I have come to
 the conclusion that the best way to go is the hard-drive based models,
 such as the JVC everio series (their 3CCD model looks nice).

Hello Iain,

I got a sony DCR SR42, but, if I cannot mount via the usb on the docking
station, then I'm going to return it.
 
 I've done lots of firewire video capture over the years, including a few
 amateur wedding videos, and the biggest pain is capturing and storing
 the footage.  With a HD model camera, you just plug it in like an
 external hard drive (JVC works this way, I assume others would be the
 same) and download the video files.  

Well this camera does not have usb right on the camera. It's on the
docking station and that just my be why it does not show up, no matter 
what I try.


No need to worry about how to
 encode, because it's all done for you, and at the exact aspect ratio and
 quality that the camera recorded in.  Very fast!
 
 A mini-DV camera takes 1 hour to download (capture) 1 hour of footage.
 A mini DVD camera only stores about 1/2 per DVD.  A HD camera can store
 10+ hours, and take only 10 minutes to download it!

Yes, standard Mpeg2 (DVD) is what most put out. That is easy to use
under linux. Are you downloading wide and viewing it on a wide screen
LCD TV? If so does your video card have hdmi out or what cabling are you
using from your linux system to the to the LCD TV?


 again, kino and firewire will let you pause, record, ff, etc.

I'll give kino a whirl, when I get the cabling straight. It sounds
like I'm going to have to test these cameras in the store before
making the final purchase.

Thanks for the advice.


James







-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: OT :video cameras and gentoo

2007-08-12 Thread Iain Buchanan
On Mon, 2007-08-13 at 04:24 +, James wrote:

 I got a sony DCR SR42, but, if I cannot mount via the usb on the docking
 station, then I'm going to return it.

I would tend to agree - if it has a HD and USB, it should show up as a
USB HD!  (what a pain to have to install special software, like you do
for canon, just to get the files off...)

  I've done lots of firewire video capture over the years, including a few
  amateur wedding videos, and the biggest pain is capturing and storing
  the footage.  With a HD model camera, you just plug it in like an
  external hard drive (JVC works this way, I assume others would be the
  same) and download the video files.  
 
 Well this camera does not have usb right on the camera. It's on the
 docking station and that just my be why it does not show up, no matter 
 what I try.

the JVC had usb on the camera and on the dock.  Both seemed to work the
same.

 Yes, standard Mpeg2 (DVD) is what most put out. That is easy to use
 under linux.

the biggest problem I found was that they named the files .MOD even
though they were mpeg2, so nautilus came up with it's I'm not going to
open because I think the name is wrong message.  Other than that, they
play fine.

  Are you downloading wide and viewing it on a wide screen
 LCD TV? If so does your video card have hdmi out or what cabling are you
 using from your linux system to the to the LCD TV?

No actually, I edit and preview on my 16:10 15.4 laptop LCD, but
usually hand it out to people who may have anything!

  again, kino and firewire will let you pause, record, ff, etc.
 
 I'll give kino a whirl, when I get the cabling straight. It sounds
 like I'm going to have to test these cameras in the store before
 making the final purchase.

maybe.  At least you know it'll work the way you want.  Or just do what
I did: convince your brother-in-law to buy it, then take it straight off
him to play with :)

 Thanks for the advice.

no worries.
-- 
Iain Buchanan iaindb at netspace dot net dot au

Let me take you a button-hole lower.
-- William Shakespeare, Love's Labour's Lost

-- 
[EMAIL PROTECTED] mailing list