Go Back   Steve's Digicams Forums > Digital Cameras (Point and Shoot) > Sanyo

Thread Tools Search this Thread
Old Nov 29, 2007, 7:39 PM   #1
Junior Member
Join Date: Nov 2007
Posts: 7

This post is dedicated to all Linux users that want to know how will Xacti HD-1000 interact with Linux. In my case using Ubuntu 7.10 (but kernel should be comon to other distros)

Yeap Linux users tend to look for good gadgets using a diferent angle.

First I've updated the firmware of the camera from 1.0.0 to 1.1.0 (21 Nov 2007)

On this (official) page http://www.sanyo-dsc.com/english/sup...00/dl_mac.html there is a zip file that can be used by Linux users. After uncompressing the file we only need to copy a ~5meg .bin file to an SD card (previously formated inside camera menus) and follow the instructions using the menus to complete flashing new firmware (~90secs).

When plugging USB port, the camera asks what type of device we want to "emulate" (connect to printer, computer - card reader, computer - PC Camera, etc)

As card reader, it works out of the box - easy access to SD card inside the camera.

Choosing the Computer - PC Camera it did work in ekiga 3.0beta using 320x240 resolution, but using skype just got a black image - I suppose skype still doesn't like MJPEG web-cams

It's a pity there is no HD resolutions available for using as web-cam... (it could be a good match for several SPE's on PS3 for re-encoding video)

But if the camera can encode H.264 video @ 1920x1080 or 1280x720 at 12mbps, it would be a prety good feature if it could encode also at 1mbps or lower resolutions (like 640x480@384kbps) for h323 videoconferencing using a normal PC (the driver/application would need to make a pass-trough for the video stream instead of re-encoding MJPEG to h263/h264
SANYO are you listening? encoding at lower bitrates and streaming h.264 over USB should be easy with a firmware update, and could transform a simple PC in a high end video-conferencing system.

About playing videos, I still didn't play enough with several app's, but it looks like mplayer can play 1280x720@60fps but not 1080i and there seems to be some diference in file format expected by mplayer, I get lots of this warnings during play:
[h264 @ 0x88a96d8]AVC: Consumed only 37403 bytes instead of 374120
[h264 @ 0x88a96d8]AVC: nal size 0
and audio gets out of sync because CPU is at 100% (ubuntu 7.10 and AMD Athlon XP 3000+ nVidia FX5200) even when playing 640x480@60fs I think it's prety close to the limit of CPU usage to keep audio on sync, but mplayer might have better optimized h.264 codec in future.

Useful probed info:

mike@mike-desktop:~$ tail -f /var/log/messages
Nov 30 00:19:09 mike-desktop kernel: [14669.599698] usb 3-3: new high speed USB device using ehci_hcd and address 3
Nov 30 00:19:09 mike-desktop kernel: [14669.734086] usb 3-3: configuration #1 chosen from 1 choice
Nov 30 00:19:09 mike-desktop kernel: [14669.734254] uvcvideo: Found UVC 1.00 device SANYO Digital Camera (0474:0279)

mike@mike-desktop:~$ lsusb
Bus 003 Device 003: ID 0474:0279 Sanyo Electric Co., Ltd

mike@mike-desktop:~$ caminfo
CVideoDeviceInput: Warning: no channel info available.
Detected 2 Video4Linux devices.
Device node : /dev/video0
Name of device : "SANYO Digital Camera"
Minimum size : 48x32
Current size : 0x0
Maximum size : 320x240
Video inputs : 1
Input 0
Name : "(null)"
Type : Unknown
Audio : no
Tuners : 0
Audio inputs : 0

mike@mike-desktop:~$ v4l-info

### v4l2 device info [/dev/video0] ###
general info
driver : "uvcvideo"
card : "SANYO Digital Camera"
bus_info : "0000:00:0b.2"
version : 0.1.0
capabilities : 0x4000001 [VIDEO_CAPTURE,STREAMING]


index : 0
name : "Camera 1"
type : CAMERA
audioset : 0
tuner : 0
std : 0x0 []
status : 0x0 []

video capture
index : 0
flags : 1
description : "MJPEG"
pixelformat : 0x47504a4d [MJPG]
fmt.pix.width : 320
fmt.pix.height : 240
fmt.pix.pixelformat : 0x47504a4d [MJPG]
fmt.pix.field : NONE
fmt.pix.bytesperline : 0
fmt.pix.sizeimage : 32768
fmt.pix.colorspace : SRGB
fmt.pix.priv : 0


### video4linux device info [/dev/video0] ###
general info
name : "SANYO Digital Camera"
type : 0x1 [CAPTURE]
channels : 1
audios : 0
maxwidth : 0
maxheight : 0
minwidth : 48
minheight : 32

ioctl VIDIOCGCHAN: Invalid argument

ioctl VIDIOCGTUNER: Invalid argument

ioctl VIDIOCGAUDIO: Invalid argument

brightness : 0
hue : 0
colour : 0
contrast : 0
whiteness : 0
depth : 0
palette : unknown

ioctl VIDIOCGFBUF: Invalid argument

x : 0
y : 0
width : 320
height : 240
chromakey : 0
flags : 0
mikexilva is offline   Reply With Quote
Sponsored Links
Old Nov 29, 2007, 7:45 PM   #2
Junior Member
Join Date: Nov 2007
Posts: 7

Sorry, how could I miss the model name.. it's HD1000 and not HD-1000
Xacti VPC-HD1000
keywords might be important for search engines (how I got here, and many linux users go where they need).

mikexilva is offline   Reply With Quote
Old Nov 29, 2007, 10:05 PM   #3
Join Date: Mar 2005
Posts: 41

I didn't think the HD1000 did MJPEG, but MPEG4. I'm also starting to think that the computer's video card has a lot to do with its ability to properly show 1080i, since it can have a hand in deinterlacing the signal for the progressive scan monitor.
Outrageous is offline   Reply With Quote
Old Nov 30, 2007, 9:22 AM   #4
Senior Member
Caelum's Avatar
Join Date: Sep 2005
Posts: 1,030

What he's displaying there is the HD1000's USB interfaces, therefore that's the WebCam (PC Camera) interface, not the HD1000's recording format.

Too bad the CoreAVC codec can'twork under Linux, it's very efficient andcan playback1080i.
Caelum is offline   Reply With Quote
Old Dec 22, 2007, 9:31 PM   #5
Junior Member
Join Date: Nov 2007
Posts: 7

About "FullHD" resolution(s) the 1080i we see in Xacti HD1000 is 60FPS so this means it has a higher pixelrate than 1080p @24FPS (isn't this the standard in Bluray?)

Anyway, what CPU is needed to play H.264 1080i @60FPS (not using GFX hardware acelerated codec). With and whithout CoreAVC?

I think mplayer also lets you split in several threads when playing h.264 video - this might help when using dual core CPU's (that are standard now)
mikexilva is offline   Reply With Quote
Old Dec 22, 2007, 9:50 PM   #6
Junior Member
Join Date: Nov 2007
Posts: 7

Some more usefull info using mode "PC Camera":
mike@mike-desktop:~/tmp/luvcview-20070512$ ./luvcview -d /dev/video2 -L
luvcview version 0.2.1
Video driver: x11
A window manager is available
video /dev/video2
/dev/video2 does not support read i/o
{ pixelformat = 'MJPG', description = 'MJPEG' }
{ discrete: width = 320, height = 240 }
Time interval between frame: {min { 200/2997 } .. max { 200/2997 } / stepsize { 1/10000000 } },

It would be nice if Sanyo could add (in future firmware updates) some new resolutions to USB PC Camera mode (from 640x480 to HD resolutions like 1280x720 or 1920x1080 would be nice

I've been testing skype (new 2.0beta for linux with video) with a Logiteck Quickcam Pro 9000 and using 960x720 the image is prety good...

mikexilva is offline   Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

All times are GMT -5. The time now is 8:27 PM.