Getting back to my vga2usb project that I left off 6 months ago.  I am starting
with what is simple, and expecting to be told "build from current source" and
"those options don't make sense" - just trying to figure out where to start, and
posting what I bump into.  neither vga2usb or vivi is rock solid, so I am also
expecting to be submitting reports against them too.

I got v1.1.0-beta1 from
http://www.debian-multimedia.org/pool/main/t/transcode/transcode_1.1.0~beta1-0.0_i386.deb

Does anyone (ping Christian) know how up to date that is?

Where do I get trunk from these days, and is that the most cutting edge?  I
don't need this to work until march, so I have some time to help debug whatever
is active development.

[26944.623816] Linux video capture interface: v2.00
[26944.732571] Epiphan Systems VGA frame grabber driver version 3.19.2.0000 
loaded
[26944.733692] usbcore: registered new interface driver vga2usb
[27202.812026] usb 5-4: new high speed USB device using ehci_hcd and address 3
[27202.944605] usb 5-4: configuration #1 chosen from 1 choice
[27202.979123] VGA2USB is now attached to vga2usb-192

Is there some way to figure out that vga2usb-192 is /dev/video0?  (I need to
submit a report to vga2usb dev and tell him to log what /dev/videoX gets used.)

[EMAIL PROTECTED]:~/vga2usb/v2u$ transcode -x v4l,null -V rgb24 -i /dev/video0 
-f 3
-g 1600x1200 -y raw,null -z -r 2 -f 10 -o test.avi
transcode v1.1.0-beta1 (C) 2001-2003 Thomas Oestreich, 2003-2008 Transcode Team
tcprobe: error while loading shared libraries: libmjpegutils-1.8.so.0: cannot
open shared object file: No such file or directory
[transcode] V: auto-probing     | /dev/video0 (FAILED)
[transcode] V: import format    | (null) in  (module=v4l)
[transcode] A: auto-probing     | /dev/video0 (FAILED)
[transcode] A: import format    | AC3 in  (module=null)
[transcode] V: AV demux/sync    | (1) sync AV at initial MPEG sequence
[transcode] V: import frame     | 1600x1200  1.33:1  encoded @ UNKNOWN
[transcode] V: rescale frame    | 800x600  1.33:1 (-r)
[transcode] V: flip frame       | yes
[transcode] V: bits/pixel       | 0.375
[transcode] V: decoding fps,frc | 10.000,0
[transcode] V: video format     | RGB24
[transcode] A: import format    | 0x2000  AC3          [48000,16,2]
[transcode] A: export           | disabled
[transcode] V: encoding fps,frc | 10.000,11
[transcode] A: bytes per frame  | 19200 (19200.000000)
[transcode] A: adjustment       | [EMAIL PROTECTED]
[transcode] V: IA32/AMD64 accel | sse2 sse mmx cmove asm
[transcode] V: video buffer     | 10 @ 1600x1200 [0x1]
[transcode] A: audio buffer     | 10 @ 48000x2x16
[import_null.so] v0.2.0 (2002-01-19) (video) null | (audio) null
[import_v4l.so] v0.0.6 (2006-05-08) (video) v4l | (audio) PCM
[export_null.so] v0.1.2 (2001-08-17) (video) null | (audio) null
[export_raw.so] v0.3.12 (2003-08-04) (video) * | (audio) MPEG/AC3/PCM
[import_v4l.so] warning: this module is deprecated: please use import_v4l2 
instead
[import_v4l.so] video4linux video grabbing
[import_v4l.so] device has no audio channel
[import_v4l.so] (audio-):
[import_v4l.so] picture: brightness= 0% hue= 0% colour= 0% contrast= 0%
[import_v4l.so] 1 frame buffer(s) available
[import_v4l.so] dropping -2147483623 video frames for AV sync
[export_raw.so] codec=RGB, fps=10.000, width=800, height=600
Segmentation fault

[33134.356303] transcode[1301]: segfault at a361dfc0 ip 0809c4a1 sp a2a5b1c8
error 4 in transcode[8048000+6b000]


[EMAIL PROTECTED]:~/vga2usb/v2u$ sudo modprobe vivi
[33860.251002] vivi: V4L2 device registered as /dev/video1
[33860.251010] Video Technology Magazine Virtual Video Capture Board ver 0.5.0
successfully loaded.

[EMAIL PROTECTED]:~/vga2usb/v2u$ transcode -x v4l,null -V rgb24 -i /dev/video1 
-f 3
-g 1600x1200 -y raw,null -z -r 2 -f 10 -o test.avi
transcode v1.1.0-beta1 (C) 2001-2003 Thomas Oestreich, 2003-2008 Transcode Team
tcprobe: error while loading shared libraries: libmjpegutils-1.8.so.0: cannot
open shared object file: No such file or directory
[transcode] V: auto-probing     | /dev/video1 (FAILED)
[transcode] V: import format    | (null) in  (module=v4l)
[transcode] A: auto-probing     | /dev/video1 (FAILED)
[transcode] A: import format    | AC3 in  (module=null)
[transcode] V: AV demux/sync    | (1) sync AV at initial MPEG sequence
[transcode] V: import frame     | 1600x1200  1.33:1  encoded @ UNKNOWN
[transcode] V: rescale frame    | 800x600  1.33:1 (-r)
[transcode] V: flip frame       | yes
[transcode] V: bits/pixel       | 0.375
[transcode] V: decoding fps,frc | 10.000,0
[transcode] V: video format     | RGB24
[transcode] A: import format    | 0x2000  AC3          [48000,16,2]
[transcode] A: export           | disabled
[transcode] V: encoding fps,frc | 10.000,11
[transcode] A: bytes per frame  | 19200 (19200.000000)
[transcode] A: adjustment       | [EMAIL PROTECTED]
[transcode] V: IA32/AMD64 accel | sse2 sse mmx cmove asm
[transcode] V: video buffer     | 10 @ 1600x1200 [0x1]
[transcode] A: audio buffer     | 10 @ 48000x2x16
[import_null.so] v0.2.0 (2002-01-19) (video) null | (audio) null
[import_v4l.so] v0.0.6 (2006-05-08) (video) v4l | (audio) PCM
[export_null.so] v0.1.2 (2001-08-17) (video) null | (audio) null
[export_raw.so] v0.3.12 (2003-08-04) (video) * | (audio) MPEG/AC3/PCM
[import_v4l.so] warning: this module is deprecated: please use import_v4l2 
instead
[import_v4l.so] video4linux video grabbing
[import_v4l.so] device has no audio channel
[import_v4l.so] (audio-):
[import_v4l.so] picture: brightness=50% hue=50% colour=50% contrast= 6%
[import_v4l.so] critical: Cannot not set RGB picture attributes. ioctl
VIDIOCSPICT: Invalid argument
[import_v4l.so] critical: error grab init
[transcode] critical: video import module error: OPEN failed
[transcode] critical: failed to open input source

Does import_v4l2 work with version 1 api?

Why failed to open input source?

[EMAIL PROTECTED]:~/vga2usb/v2u$ ls -l /dev/video*
crw-rw---- 1 root video 81, 0 2008-10-22 09:31 /dev/video0
crw-rw---- 1 root video 81, 1 2008-10-22 11:22 /dev/video1

[EMAIL PROTECTED]:~/vga2usb/v2u$ transcode -x v4l2,null -V rgb24 -i /dev/video1 
-f 3
-g 1600x1200 -y raw,null -z -r 2 -f 10 -o test.avi
transcode v1.1.0-beta1 (C) 2001-2003 Thomas Oestreich, 2003-2008 Transcode Team
tcprobe: error while loading shared libraries: libmjpegutils-1.8.so.0: cannot
open shared object file: No such file or directory
[transcode] V: auto-probing     | /dev/video1 (FAILED)
[transcode] V: import format    | (null) in  (module=v4l2)
[transcode] A: auto-probing     | /dev/video1 (FAILED)
[transcode] A: import format    | AC3 in  (module=null)
[transcode] V: AV demux/sync    | (1) sync AV at initial MPEG sequence
[transcode] V: import frame     | 1600x1200  1.33:1  encoded @ UNKNOWN
[transcode] V: rescale frame    | 800x600  1.33:1 (-r)
[transcode] V: flip frame       | yes
[transcode] V: bits/pixel       | 0.375
[transcode] V: decoding fps,frc | 10.000,0
[transcode] V: video format     | RGB24
[transcode] A: import format    | 0x2000  AC3          [48000,16,2]
[transcode] A: export           | disabled
[transcode] V: encoding fps,frc | 10.000,11
[transcode] A: bytes per frame  | 19200 (19200.000000)
[transcode] A: adjustment       | [EMAIL PROTECTED]
[transcode] V: IA32/AMD64 accel | sse2 sse mmx cmove asm
[transcode] V: video buffer     | 10 @ 1600x1200 [0x1]
[transcode] A: audio buffer     | 10 @ 48000x2x16
[import_null.so] v0.2.0 (2002-01-19) (video) null | (audio) null
[import_v4l2.so] v1.4.2 (2008-08-04) (video) v4l2 | (audio) pcm
[export_null.so] v0.1.2 (2001-08-17) (video) null | (audio) null
[export_raw.so] v0.3.12 (2003-08-04) (video) * | (audio) MPEG/AC3/PCM
[import_v4l2.so] resync disabled
[import_v4l2.so] v4l2 video grabbing, driver = vivi, card = vivi
[import_v4l2.so] warning: bad pixel format conversion: RGB24 [packed] -> RGB
[packed] (no conversion
[import_v4l2.so] warning: bad pixel format conversion: BGR24 [packed] -> RGB
[packed]
[import_v4l2.so] warning: bad pixel format conversion: RGB32 [packed] -> RGB
[packed]
[import_v4l2.so] warning: bad pixel format conversion: BGR32 [packed] -> RGB
[packed]
[import_v4l2.so] warning: bad pixel format conversion: 8-bit grayscale -> RGB
[packed]
[import_v4l2.so] critical: no usable pixel format supported by card
[transcode] critical: video import module error: OPEN failed
[transcode] critical: failed to open input source


re: [packed] (no conversion
missing close )

Carl K

Reply via email to