[Mjpeg-users] perl bindings for LAV-Tools and SDL
Hi, i just uploaded the C++ wrapper and the perl bindings for lavtools: http://www.s.netic.de/tmohr/lavperl-0.3.0.tar.bz2 This one: - fixes a bug that prevented the previous version from working. - contains a pach for SDL_perl-1.20.0 that adds the a functionality to return a Surfaces data as a perl string. - contains an example perl code that loads an AVI, lets one single step through the frames, shows each frame in an SDL window and writes each frame into an output stream. It is also possible to write an animation directly from SDL Surfaces. Best regards, Torsten. --- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users
Re: [Mjpeg-users] DVD-Burn Howto?
Am Sonntag, 23. November 2003 00:07 schrieb Al Bogner: > At the moment I do not have a lot time to read this list, but AFAIR there > was a discussion here about making a DVD-Burn Howto? Am I right? If so, > could you post the link please. I found it: Subject: [Mjpeg-users] ANNOUNCEMENT: DVD Video Presentation Date: Mittwoch, 24. September 2003 16:53 From: "James A. Pattie" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] Just to let you know, I'll be giving a presentation October 16'th, 2003, 7pm to the St. Louis Linux Users Group (http://www.stllinux.org/) about creating Video DVD's under Linux. I'll be covering using dvdauthor and mjpegtools. I'll also be plugging the ivtv project. I'll be posting my presentation and other related files to my project page at http://www.pcxperience.org/james/ in the near future. I would appreciate feedback to make sure I have stated things correctly, etc. --- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users
Re: [Mjpeg-users] YUV Image type
> Starting to dig a little bit deeper than the passive use of mjpegtools, I'd > like to know what kind of image is a YUV image once piped ? > Does it fit into scalar, color or vector type of images (or none of them). The "yuv4mpeg" format is a binary stream that starts with a text formated header describing the content (image size, aspect ratio, frame rate and interlacing information). The header is followed by frames, which all begin by "FRAME\n" followed by the frame data. The frame data are raw pixels in YUV planar format. Each pixel is described by 3 independant values: Y (luminance), U (blue chrominance) and V (red chrominance). Those values are split in 3 independant planes (you can think of a plane as an image carrying only part of the pixel - one plane for Y, one plane for U and one plane for V). The U and V planes are downsized by a factor 2 in each direction, and the 3 planes are output one after the other in the byte stream. For a 320x240 image, you get Y(0,0) Y(0,1) ... Y(0,319) Y(1,0) ... Y(239,319) U(0,0) U(0,2) ... U(0,318) U(2,0) ... U(238,318) V(0,0) V(0,2) ... V(238,318) This is called YUV4:2:0 planar format. For more information about the different YUV formats, have a look at http://www.fourcc.org. Laurent Pinchart --- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users
Re: [Mjpeg-users] YUV Image type
Thanks (merci) Laurent. I have a better idea now. >From what I understand I can (almost) easily modify YUV to RGB values and RGB to YUV values of a pixel by random access as long a I have the proper data in the proper tables. Edouard --- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users
Re: [Mjpeg-users] YUV Image type
>Thanks (merci) Laurent. I have a better idea now. >From what I understand I can (almost) easily modify YUV to RGB >values and RGB to YUV values of a pixel by random access as long a I >have the proper data in the proper tables. Ugh... no, it's not so simple. Some clarifications: 1) For the sake of precision, the colorspace is "Y'CbCr", not "YUV". 2) The chroma channels are not at the same resolution as the luma channel (4:2:0 subsampling) and to make them the same resolution requires upsampling. The yuv4mpeg(5) manpage describes the YUV4MPEG2 stream format. See http://www.mir.com/DMG/ for additional information on colorspaces and subsampling standards, and links to even more information on the same. -matt m. --- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users
Re: [Mjpeg-users] YUV Image type
> Ugh... no, it's not so simple. I see > Some clarifications: > > 1) For the sake of precision, the colorspace is "Y'CbCr", not "YUV". Ok got that. > 2) The chroma channels are not at the same resolution as the luma channel > (4:2:0 subsampling) and to make them the same resolution requires > upsampling. >From what I am reading, working on Y' is a requirement where a filter on CbCr can be discarded not that effective on these 2 last values which may be a way of cutting down the time for calculation. > The yuv4mpeg(5) manpage describes the YUV4MPEG2 stream format. Ok got it... Thanks a lot Matt --- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users
[Mjpeg-users] mplex -O
Can someone explain to me how's mplex -O supposed to work? I'm using the current (sunday nov 23, in the evening) mjpegtools CVS tree. I'm doing this: mplex -f 8 -S 150 -O 500 ${proj}.m2v ${proj}.ac3 -o 1.vob mplex -f 8 -S 150 -O -500 ${proj}.m2v ${proj}.ac3 -o 2.vob Then i compare the sync info on the two VOBs like this: [EMAIL PROTECTED] stnem]$ tcprobe -H 100 -i 1.vob [tcprobe] MPEG program stream (PS) [tcprobe] summary for 1.vob, (*) = not default, 0 = not detected import frame size: -g 720x480 [720x576] (*) aspect ratio: 16:9 (*) frame rate: -f 23.976 [25.000] frc=1 (*) PTS=0.2008, frame_time=41 ms, bitrate=9800 kbps audio track: -a 0 [0] -e 48000,16,2 [48000,16,2] -n 0x2000 [0x2000] PTS=0.1780, bitrate=448 kbps -D 0 --av_fine_ms 22 (frames & ms) [0] [0] [EMAIL PROTECTED] stnem]$ tcprobe -H 100 -i 2.vob [tcprobe] MPEG program stream (PS) [tcprobe] summary for 2.vob, (*) = not default, 0 = not detected import frame size: -g 720x480 [720x576] (*) aspect ratio: 16:9 (*) frame rate: -f 23.976 [25.000] frc=1 (*) PTS=0.1780, frame_time=41 ms, bitrate=9800 kbps audio track: -a 0 [0] -e 48000,16,2 [48000,16,2] -n 0x2000 [0x2000] PTS=0.2008, bitrate=448 kbps -D 0 --av_fine_ms -22 (frames & ms) [0] [0] As you can see, the PTS A/V differences on the two VOBs, while symmetrical, are a lot smaller than the projected 500 ms difference that i was trying to enforce with mplex -O. tcprobe suggests a +/- 22 ms difference (-D 0 --av_fine_ms 22) between audio and video. Just in case tcprobe does not report correctly, i verified the two VOBs with xine, and the A/V sync is more like what tcprobe said (the A/V sync difference is so small it cannot be detected) than what mplex was supposed to do (half a second difference, which is very big and easily detectable). -- Florin Andrei http://florin.myip.org/ --- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users
[Mjpeg-users] Problems loading zoran-driver for Pinnacle DC10+
Hi, all... First, escuse me for my poor english, i'm from Brazil and speak portuguese...more or less :-). Well, I download the newest zoran-driver (driver-zoran-0.9.4.tar.gz) and compile fine, but I can't load the driver. My board is a Pinnacle DC10+ I run a brazilian distribution based on Knoppix called Kurumin (www.kurumin.com.br) with 2.4.22-xfs kernel. When I run ./update I receive this message: - [EMAIL PROTECTED]:/usr/src/driver-zoran-0.9.4$ ./update dc10plus NTSC ./zoran.o: init_module: No such device Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters. You may find more information in syslog or the output from dmesg Drivers for ' dc10plus' with norm 'NTSC' loaded - And: - [EMAIL PROTECTED]:/usr/src/driver-zoran-0.9.4$ dmesg i2c-core.o: driver unregistered: adv7175 i2c-core.o: driver unregistered: saa7110 Linux video capture interface: v1.00 i2c-core.o: i2c core module i2c-algo-bit.o: i2c bit algorithm module Linux video codec intermediate layer: v0.2 i2c-core.o: driver saa7110 registered. i2c-core.o: driver adv7175 registered. Zoran MJPEG board driver version 0.9.4 PCI: Found IRQ 10 for device 00:0b.0 MJPEG[0]: Zoran ZR36067 (rev 2) irq: 10, memory: 0x1000 MJPEG[0]: subsystem vendor=0x1031 id=0x7efe DC10plus[0]: Changing PCI latency from 0 to 32. DC10plus[0]: Initializing i2c bus... DC10plus[0]: i2c_client_register() - driver id = 22 i2c-core.o: client [saa7110[0]] registered to adapter [DC10plus[0]](pos. 0). DC10plus[0]: i2c_client_register() - driver id = 22 i2c-core.o: client [saa7110[1]] registered to adapter [DC10plus[0]](pos. 1). i2c-algo-bit.o: DC10plus[0] i2c_write: error - bailout. DC10plus[0]: i2c_client_register() - driver id = 48 i2c-core.o: client [adv7176[0]] registered to adapter [DC10plus[0]](pos. 2). i2c-algo-bit.o: DC10plus[0] i2c_write: error - bailout. DC10plus[0]: i2c_client_register() - driver id = 48 i2c-core.o: client [adv7176[1]] registered to adapter [DC10plus[0]](pos. 3). DC10plus[0]: i2c_client_register() - driver id = 48 i2c-core.o: client [adv7175[2]] registered to adapter [DC10plus[0]](pos. 4). DC10plus[0]: i2c_client_register() - driver id = 48 i2c-core.o: client [adv7175[3]] registered to adapter [DC10plus[0]](pos. 5). i2c-core.o: adapter DC10plus[0] registered as adapter 0. DC10plus[0]: Initializing videocodec bus... DC10plus[0]: jpeg_codec_sleep() - sleep GPIO=0x7e00 DC10plus[0]: jpeg_codec_sleep() - wake GPIO=0x7e00 DC10plus[0]: find_zr36057() - no codec found DC10plus[0]: i2c_client_unregister() i2c-core.o: client [saa7110[0]] unregistered. DC10plus[0]: i2c_client_unregister() i2c-core.o: client [saa7110[1]] unregistered. MJPEG[0]: i2c_client_unregister() i2c-core.o: client [adv7176[0]] unregistered. MJPEG[0]: i2c_client_unregister() i2c-core.o: client [adv7176[1]] unregistered. MJPEG[0]: i2c_client_unregister() i2c-core.o: client [adv7175[2]] unregistered. MJPEG[0]: i2c_client_unregister() i2c-core.o: client [adv7175[3]] unregistered. i2c-core.o: adapter unregistered: DC10plus[0] No known MJPEG cards found. - [EMAIL PROTECTED]:/usr/src/driver-zoran-0.9.4$ uname -srv Linux 2.4.22-xfs #1 SMP Fr Sep 19 17:55:45 CEST 2003 - [EMAIL PROTECTED]:/usr/src/driver-zoran-0.9.4$ lsmod Module Size Used byTainted: P zr36060 6236 0 adv7175 3100 0 saa7110 4796 0 videocodec 4708 1 [zr36060] i2c-algo-bit6888 0 i2c-core 12100 0 [adv7175 saa7110 i2c-algo-bit] videodev5472 0 [EMAIL PROTECTED]:/usr/src/driver-zoran-0.9.4$ lspci 00:00.0 Host bridge: VIA Technologies, Inc. VT82C693A/694x [Apollo PRO133x] (rev c4) 00:01.0 PCI bridge: VIA Technologies, Inc. VT82C598/694x [Apollo MVP3/Pro133x AGP] 00:07.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super South] (rev 40) 00:07.1 IDE interface: VIA Technologies, Inc. VT82C586/B/686A/B PIPC Bus Master IDE (rev 06) 00:07.4 Bridge: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] (rev 40) 00:08.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10) 00:0a.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 08) 00:0a.1 Input device controller: Creative Labs SB Live! MIDI/Game Port (rev 08) 00:0b.0 Multimedia video controller: Zoran Corporation ZR36057PQC Video cutting chipset (rev 02) 00:0c.0 SCSI storage controller: Adaptec AHA-2940U/UW/D / AIC-7881U 01:00.0 VGA compatible controller: nVidia Corporation NV11 [GeForce2 MX/MX 400] (rev b2) -- Any help is welcome Thanks Marco Carvalho --- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/