Re: [Mjpeg-users] changing the hue prior to encoding
Hi - > From: "H. Narfi Stefansson" <[EMAIL PROTECTED]> > Guys, this sounds great! I can't wait to try these tools out... only one > problem: Where can I find yuvcorrect and yuvcorrect_tune ? In the CVS version of mjpegtools. There are links to the CVS repository at http://mjpeg.sourceforge.net/ The CVS version is actually quite stable - breakage is rare and quickly fixed. Cheers, Steven Schultz --- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users
Re: [Mjpeg-users] Error opening video-device
Hey Ronald, --- Ronald Bultje <[EMAIL PROTECTED]> wrote: > Ho! You've got the kernel driver loaded (zr36067). > Unload that first. Oh yes, I did that on purpose to see if it would correct the problem; I was having this problem long before I loaded the kernel driver. However, I'm willing to try anything at least once here, so I'll unload it, and try again :-) Alan __ Post your free ad now! http://personals.yahoo.ca --- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users
Re: [Mjpeg-users] changing the hue prior to encoding
Quoting "Steven M. Schultz" > Hi Dan - > > > From: [EMAIL PROTECTED] > > I've done that a few times. What you want is yuvcorrect. Here's some > > examples I've used to correct white balance: > > I was going to mention yuvcorrect but I see you've already done that ;) > > > What I'd really like is a tool that will scan the clip (or part of it) > > and automatically correct white balance and/or maximize contrast. > > Hand tweaking of yuvcorrect parameters is tedious. > > Have you tried yuvcorrect_tune? It's a bit tricky to get going but > does allow interactive changes to be made and the effect immediately > viewed. > Guys, this sounds great! I can't wait to try these tools out... only one problem: Where can I find yuvcorrect and yuvcorrect_tune ? Thanks, Narfi. --- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users
Re: [Mjpeg-users] difference -f 5 -f 8
On Freitag, 21. März 2003 19:48 Bernhard Praschinger wrote: > > So I can use the same parameters as -f 8 sets with -f 5? If so, > > which parameters and values you have to use? > > Likely, but they might not makes sense. > > The -f 5 setes the options to produce a svcd compliant. But you > are alowed to change everything. The -f 8 sets the options to > produces something suitable for a DVD-Player. > > Maybay I have forgotten it, but why do you want to do that. It > makes no reall sense to me. Berni, it is very easy to understand. I don't copy DVDs, but make own films from my dv-camera. There are two things, which are very important to me: high quality and the possibility to create DVDs from my XSVCDs later *without* reencoding and having other unexpected problems. As long as my standalone-DVD-players accept the XSVCD with DVD parameters I think -f 8 is the securest way to get no problems later, when I make a DVD from the mpg-file of the XSVCD. With a videobitrate of 5000kbps I can make a film with about 23min. That's enough for me. Most of my clips are about 10min. and then I use 6000kbps VBR. A simple command: transcode -i /multimedia_out_nfs/encodesource3/ -V -y mpeg2enc,toolame -F 8 -o test used the following default values: [export_mpeg2enc.so] cmd=mpeg2enc -v 0 -f 8 -b 1800 -F 3 -n p -o "test".m2v and transcode -i /multimedia_out_nfs/encodesource3/ -V -y mpeg2enc,toolame -F 5 -o test created: [export_mpeg2enc.so] cmd=mpeg2enc -v 0 -q 3 -f 5 -4 2 -2 3 -b 1800 -F 3 -n p -V 230 -o "test".m2v So the difference you see, is: -q -4 2 -2 3 I use different -q values with different sources. But does it make sense to use -4 2 -2 3 for encoding DVDs from dv-camera-sources? Al --- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users
Re: [Mjpeg-users] changing the hue prior to encoding
> What I'd really like is a tool that will scan the clip (or part of it) > and automatically correct white balance and/or maximize contrast. > Hand tweaking of yuvcorrect parameters is tedious. Have you tried yuvcorrect_tune? It's a bit tricky to get going but does allow interactive changes to be made and the effect immediately viewed. I did try it once. Not the friendliest interface in the world, but perhaps better than iterative tweaking. Still, I'm not that good at eyeballing color balance. I'd rather have the computer analyze the histograms and maximize the contrast while perhaps shifting the white balance. Gimp has about 6 different auto color-correction options, usually at least one looks better than what I started with. Although, if a scene is supposed to be all blue Dan --- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users
Re: [Mjpeg-users] changing the hue prior to encoding
Hi Dan - > From: [EMAIL PROTECTED] > I've done that a few times. What you want is yuvcorrect. Here's some > examples I've used to correct white balance: I was going to mention yuvcorrect but I see you've already done that ;) > What I'd really like is a tool that will scan the clip (or part of it) > and automatically correct white balance and/or maximize contrast. > Hand tweaking of yuvcorrect parameters is tedious. Have you tried yuvcorrect_tune? It's a bit tricky to get going but does allow interactive changes to be made and the effect immediately viewed. Cheers, Steven Schultz --- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users
[Mjpeg-users] mplex pict_rate vs picture_rate
Hi - Spot of trouble compiling mplex this afternoon: videostrm_in.cpp: In member function `void VideoStream::ScanFirstSeqHeader()': videostrm_in.cpp:50: `pict_rate' undeclared (first use this function) videostrm_in.cpp:50: (Each undeclared identifier is reported only once for each I see both 'pict_rate' and 'picture_rate' but it's not clear which direction the program is moving - is it towards pict_rate or picture_rate? Cheers, Steven Schultz --- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users
Re: [Mjpeg-users] Error opening video-device
Hey Alan, On Fri, 2003-03-21 at 21:53, Alan Murrell wrote: > i2c-old 3968 2 [zoran saa7185 > saa7111 zr36067] Ho! You've got the kernel driver loaded (zr36067). Unload that first. Ronald -- Ronald Bultje <[EMAIL PROTECTED]> --- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users
Re: [Mjpeg-users] Error opening video-device
Hi Ronald, --- Ronald Bultje <[EMAIL PROTECTED]> wrote: > i2c-old, saa7111, saa7185. Here's the snippet of interest from my 'lsmod': Module Size Used byNot tainted zoran 83568 0 (unused) saa7185 1784 0 (unused) saa7111 2296 0 (unused) i2c-old 3968 2 [zoran saa7185 saa7111 zr36067] Looks like all the modules got loaded :-( I could possibly tr an older driver? Though I am sure this one has worked before. Hrm, actually, you know what, I did try the 0.9.3(??) driver prior to this one because I ran into the same problem, and was thinking that there were some issues with it, and wanted to make sure by trying (to me) a "proven" set of drivers that had worked. But I am loading these from their own directory in '/usr/local/zoran'. But is there perhaps somehow the 0.9.3(??) drivers are hanging around somewhere? Just a thought, but prolly a little off-track... HTH, Alan __ Post your free ad now! http://personals.yahoo.ca --- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users
Re: [Mjpeg-users] mpeg2enc fix
Since the first patch really only changes the sequence header prog_seq bit the desync bug will probably only show on some decoders. If the decoder turns off pulldown based on this bit and the frame rate (wrong!) it will lose sync. If it relies instead on the frame headers (correct!) it will work. That's probably why it hasn't shown up earlier... Actually, it turns out my Sampo plays it fine. But then it plays anything. But mplayer was completely hosed. Dan --- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users
Re: [Mjpeg-users] mpeg2enc fix
On Friday 21 Mar 2003 8:33 pm, you wrote: > Ok, I found the bug. Seems that when MPEG_FORMAT_DVD split into > MPEG_FORMAT_DVD and MPEG_FORMAT_DVD_NAV, it didn't propagate > everywhere. Trivial patch (do I do any other kind?) enclosed. Hi Dan, Thanks for the patch. You're a star! The one that's doing the work is almost certainly just the first. However, the second won't hurt either ;-). Since the first patch really only changes the sequence header prog_seq bit the desync bug will probably only show on some decoders. If the decoder turns off pulldown based on this bit and the frame rate (wrong!) it will lose sync. If it relies instead on the frame headers (correct!) it will work. That's probably why it hasn't shown up earlier... cheers, Andrew --- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users
Re: [Mjpeg-users] changing the hue prior to encoding
Does anyone on this list know how I can change the hue of a video inside of the encoding pipeline? I made a recording with my camcorder and I forgot to do the proper white-balancing prior to the recording. As a consequence, I now have a DV file on my computer that has incorrectly calibrated colors, and I want to correct those colors before I encode the file to mpeg1/mpeg2. I've done that a few times. What you want is yuvcorrect. Here's some examples I've used to correct white balance: # approximate white balance correction for indoor (incandescent light) shot # using outdoor white-balance setting. yuvcorrect -M RGBFIRST \ -R R_1_0_255_0_180 \ -R G_1_0_255_0_215 \ -R B_1_0_215_0_255 \ -Y Y_1_0_190_0_255 # a milder version yuvcorrect -M RGBFIRST \ -R R_1_13_224_0_255 \ -R G_1_12_204_0_255 \ -R B_1_0_176_0_255 # outdoor natural light shot with indoor white-balance yuvcorrect -M RGBFIRST \ -R G_1_0_255_0_185 \ -R B_1_0_255_0_180 \ -R R_1_0_180_0_180 \ -Y Y_1_0_220_0_255 Note that in each case I'm not just adjusting white balance (which would just involve shifting), but also scaling to maximize contrast. These were in some cases ad-hoc tweaked until I liked how it looked, or in some cases I pulled a screenshot into the Gimp and checked out the histogram, etc. You can do some of the same stuff in YCbCr directly, but RGB is just easier to think in. What I'd really like is a tool that will scan the clip (or part of it) and automatically correct white balance and/or maximize contrast. Hand tweaking of yuvcorrect parameters is tedious. Dan --- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users
Re: [Mjpeg-users] difference -f 5 -f 8
On Thursday 20 Mar 2003 7:16 pm, you wrote: > man mpeg2enc says: > >-f|--format 5 -Non-standard SVCD. >As for profile 4 but bit-rate, video buffer size, GOP >sizes and structure can be set to non-standard values. >Frame size may also be non-standard. > >-f|--format 8 -DVD MPEG-2. >Just a very basic implementation. > > It works fine to crete a vob-file from a mpeg/m2v-file, which was > created with -f 5. So what is the difference between -f 5 and -f 8? > > Are there parameters which can be set with -f 5 manually and are > created with -f 8 by default? > > Which GOP is used with -f 8? Is -s a default value for -f 8? I read, > that authoring programs (Win) need -s to accept the file. If you look for the string SVCD and DVD in the source code you'll see the exact differences that are set! Basically, SVCD inserts stuff needed for SVCD DVD for DVD and there are some differences in the way system headers are constructed. However, since its all MPEG-2 a *well-written* MPEG-2 decoder should be able to handle both. Software decoders can usually handle almost anything (they mostly ignore the more-or-less redundant header infos anyway). Alas, you typical set-top DVD/SVCD player is rarely a well-written MPEG-2 decoder. Usually slightly flaky and only tested on a limited range of streams and go nuts if they hit optional headers they don't expect or similar. Andrew --- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users
[Mjpeg-users] changing the hue prior to encoding
Does anyone on this list know how I can change the hue of a video inside of the encoding pipeline? I made a recording with my camcorder and I forgot to do the proper white-balancing prior to the recording. As a consequence, I now have a DV file on my computer that has incorrectly calibrated colors, and I want to correct those colors before I encode the file to mpeg1/mpeg2. A simple hue adjustment inside of the encoding pipeline would be the best solution at this point. Does anyone know of a utility that would allow me to do that? A hypothetical "yuvcoloradjust --hue -20" or something like that. Of course, I can extract all the frames to separate images and use ImageMagick to do the job, but if there is a simpler way, I'd appreciate to hear about it. Thanks, Narfi. --- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users
Re: [Mjpeg-users] Zoran-driver-0.9.3 with dc10old : bug repport?
Hey Alexandre, On Wed, 2003-03-19 at 17:52, Alexandre Abbes wrote: > I suggest there is a kernel oops for me too (like Karl > Pizzolatto). Here is dmesg output : I need a kernel backtrace (ksymoops), the numbers don't tell me much, really. (introduction to ksymoops:) Just type 'ksymoops', copypaste (select text with the mouse, paste it with the middle mouse button) the oops (open it in a text editor or so) into the terminal where you started ksymoops and (optionally) press enter once or twice... It'll give output, copypaste that into an email and send it over to me. Ronald -- Ronald Bultje <[EMAIL PROTECTED]> --- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users
Re: [Mjpeg-users] CVS mpeg2enc and pulldown madness
On Friday 21 Mar 2003 7:38 pm, you wrote: > Is anyone successfully using the CVS version of mpeg2enc to encode > 23.976 fps progressive material with the 3:2 pulldown flag for > playback on a 29.97 fps NTSC tv? If so, can you post your mpeg2enc > flags? Haven't done so in ages... can you email me a the first few hundred KB of the tcmplex-ed stream that worked and the post 1.6.1 one that didn't? Sounds like something is get muddled up between mplex and mpeg2enc... cheers. Andrew --- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users
[Mjpeg-users] mpeg2enc fix
Ok, I found the bug. Seems that when MPEG_FORMAT_DVD split into MPEG_FORMAT_DVD and MPEG_FORMAT_DVD_NAV, it didn't propagate everywhere. Trivial patch (do I do any other kind?) enclosed. Dan --- mpeg2enc.cc.new 2003-03-18 16:16:14.0 -0500 +++ mpeg2enc.cc 2003-03-21 14:24:03.0 -0500 @@ -1326,6 +1326,7 @@ case MPEG_FORMAT_SVCD_NSR : case MPEG_FORMAT_SVCD_STILL : case MPEG_FORMAT_DVD : +case MPEG_FORMAT_DVD_NAV : opt_prog_seq = 0; break; default : @@ -1428,6 +1429,7 @@ case MPEG_FORMAT_SVCD_NSR : case MPEG_FORMAT_SVCD : case MPEG_FORMAT_DVD : +case MPEG_FORMAT_DVD_NAV : /* It would seem DVD and perhaps SVCD demand a 540 pixel display size for 4:3 aspect video. However, many players expect 480 and go weird if this isn't set... --- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users
[Mjpeg-users] CVS mpeg2enc and pulldown madness
Is anyone successfully using the CVS version of mpeg2enc to encode 23.976 fps progressive material with the 3:2 pulldown flag for playback on a 29.97 fps NTSC tv? If so, can you post your mpeg2enc flags? I'm having fits getting this to work post-1.6.1. I've tried both "mpeg2enc -I 0 -p -F 4" and "mpeg2enc -I 0 -p -F 1", in the latter case mpeg2enc seems to just force -F 4 anyway. I've done this for both "yuvkineco -F 1" video (animation) and a commercial DVD, with the following results: 1.6.1 and before: Works great CVS: Linear increase in loss of sync. Video plays too slow, on mplayer at least. Forcing -fps 40 fixes it, not sure why. Same deal if I multiplex with tcmplex instead. The actual pulldown code is just a few lines, and is identical between the versions. I've tried using bbinfo and bbvinfo to compare the two (not that I lnow what most of the output means). One difference is that 1.6.1 sets progressive_sequence=0, while CVS sets it to 1. Another is that top_field_first is inverted between the two. I'll be glad to provide logs or samples to any interested parties. Dan --- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users
Re: [Mjpeg-users] difficulty appending, encoding
On Mittwoch, 19. März 2003 07:49 Marcus Smith wrote: > When I go to play the mpg file it looks great for > about 8-10 minutes, and then the video freezes and the > sound becomes a screeching blast white noise. I > checked the mp2 file, and that seemed to be the > problem as screeched also when I played it alone. I > then took a different approach of going back to my 15 > original avi captures and ripping the audio from the > directly, and then appending them together in a wav > editor. I convert my large avi-files with kino to dv and then I use transcode -i $i -V -y mpeg2enc,toolame ... If I use avi-files there is a 1GB (4:42) limit. After this size encoding stops. Al --- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users
Re: [Mjpeg-users] Error opening video-device
Hey Alan, On Fri, 2003-03-21 at 19:13, Alan Murrell wrote: > Okay, thisis prolly a bone-head question, but I don't > have access to my PVR machine to check... are the > necessary 'i2c' modules that need to be loaded loaded > by the 'update' script, or do they need to be loaded > seperately? I know this was prolly in the README... i2c-old, saa7111, saa7185. They're loaded by the update script, but this might fail. Ronald -- Ronald Bultje <[EMAIL PROTECTED]> --- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users
Re: [Mjpeg-users] difference -f 5 -f 8
Hallo > > If you use -f 5 you are allowed to set most of the parameters on > > your own. > So I can use the same parameters as -f 8 sets with -f 5? If so, > which parameters and values you have to use? Likely, but they might not makes sense. The -f 5 setes the options to produce a svcd compliant. But you are alowed to change everything. The -f 8 sets the options to produces something suitable for a DVD-Player. Maybay I have forgotten it, but why do you want to do that. It makes no reall sense to me. > -w 8500 ? > -g 15 -G 15? -w <-> -b ??!?!?? > > The -f 8 sets a other sequence length by default and a maximal > > video bitrate of 8500, other gope Size. > > What do you mean with "sequence length"? Do you mean GOP? Try: > man mpeg2enc /sequence length No, the sequence length cares about the marking a suitabel point of the stream where mplex can split the output stream into several files. auf hoffentlich bald, Berni the Chaos of Woodquarter Email: [EMAIL PROTECTED] [EMAIL PROTECTED] www: http://www.lysator.liu.se/~gz/bernhard --- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users
Re: [Mjpeg-users] Error opening video-device
Hi Ronald, --- Ronald Bultje <[EMAIL PROTECTED]> wrote: > > MJPEG board driver version 0.9 > > This is the 'old' driver, right? Well, I compiled it from 0.8, but I think this was a "patched" version that someone here had posted a link to, so as to avoid getting those "kernel may be tainted" messages when the drivers are loaded. > Have you loaded all the accompanying i2c modules? Okay, thisis prolly a bone-head question, but I don't have access to my PVR machine to check... are the necessary 'i2c' modules that need to be loaded loaded by the 'update' script, or do they need to be loaded seperately? I know this was prolly in the README... Alan __ Post your free ad now! http://personals.yahoo.ca --- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users
[Mjpeg-users] Zoran-driver-0.9.3 with dc10old : bug repport?
Hi all of you (especialy Ronald) now I try to make the new driver zoran0.9.3 with my dc10old. No problem for compiling, no problem for installing the driver. But there seems to be a problem when I launch xawtv : no window appears. I suggest there is a kernel oops for me too (like Karl Pizzolatto). Here is dmesg output : Linux video capture interface: v1.00 i2c-algo-bit.o: i2c bit algorithm module Linux video codec intermediate layer: v0.2 i2c-core.o: driver vpx3220 registered. Zoran MJPEG board driver version 0.9.3 MJPEG[0]: Zoran ZR36057 (rev 1) irq: 9, memory: 0xe410. DC10(old)[0]: Initializing i2c bus... DC10(old)[0]: i2c_client_register() - driver id = 42 i2c-core.o: client [vpx3216b[0]] registered to adapter [DC10(old)[0]](pos. 0). i2c-core.o: adapter DC10(old)[0] registered as adapter 0. DC10(old)[0]: Initializing videocodec bus... DC10(old)[0]: jpeg_codec_sleep() - sleep GPIO=0x8100 DC10(old)[0]: jpeg_codec_sleep() - wake GPIO=0x8500 ZORAN: 1 card(s) found DC10(old)[0]: zr36057_init() - initializing card[0], zr=c68dd1c0 DC10(old)[0]: dc10_init() DC10(old)[0]: jpeg_codec_sleep() - sleep GPIO=0x2300 DC10(old)[0]: jpeg_codec_sleep() - wake GPIO=0x2700 DC10(old)[0]: jpeg_codec_sleep() - wake GPIO=0x2f00 DC10(old)[0]: jpeg_codec_sleep() - sleep GPIO=0x2b00 DC10(old)[0]: enable_jpg(IDLE) DC10(old)[0]: Guests: 0x00 0x20 0x20 0x20 0x20 0x20 0x21 DC10(old)[0]: Detecting guests activity, please wait... DC10(old)[0]: Guests: 0x00 0x20 0x20 0x20 0x20 0x20 0x21 DC10(old)[0]: 3638: 7 => 0x27 DC10(old)[0]:122: 7 => 0x20 DC10(old)[0]: 19794: 7 => 0x22 DC10(old)[0]:122: 7 => 0x20 DC10(old)[0]: 19792: 7 => 0x22 DC10(old)[0]:121: 7 => 0x20 DC10(old)[0]: 19794: 7 => 0x22 DC10(old)[0]:139: 7 => 0x20 Unable to handle kernel NULL pointer dereference at virtual address 0004 printing eip: c0113ca9 *pde = Oops: 0002 CPU:0 EIP:0010:[]Tainted: P EFLAGS: 00010082 eax: c68e0430 ebx: 0282 ecx: c35b3ecc edx: esi: 0064 edi: ebp: c35b3edc esp: c35b3ec4 ds: 0018 es: 0018 ss: 0018 Process insmod (pid: 962, stackpage=c35b3000) Stack: c35b2000 ff09 c0113c81 c68dd1c0 c68dd1c0 c68dc960 c68d83f7 c68dd1c0 c68dd1c4 c68dd1c0 c68dd1c0 c68d8739 c68dd1c0 c68dd1c0 c68e9bb0 0003 c68dd426 0002 c68d92c6 c68dd1c0 c68d1000 Call Trace:[] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] Code: 89 4a 04 89 45 f4 89 55 f0 89 08 89 f0 e8 f5 f7 ff ff 89 c6 <6>DC10(old)[0]: zoran_open(conf, pid=[969]), users(-)=0 DC10(old)[0]: dc10_init() DC10(old)[0]: jpeg_codec_sleep() - sleep GPIO=0x2100 DC10(old)[0]: jpeg_codec_sleep() - wake GPIO=0x2500 DC10(old)[0]: jpeg_codec_sleep() - wake GPIO=0x2d00 DC10(old)[0]: jpeg_codec_sleep() - sleep GPIO=0x2b00 DC10(old)[0]: enable_jpg(IDLE) DC10(old)[0]: UNKNOWN ioctl cmd: 0x80685600 DC10(old)[0]: VIDIOCGCAP DC10(old)[0]: VIDIOCGFBUF DC10(old)[0]: VIDIOCSFBUF - base=0xe000, w=1152, h=864, depth=16, bpl=2304 DC10(old)[0]: zoran_close(conf, pid=[969]) Unable to handle kernel paging request at virtual address fffc printing eip: c01139a0 *pde = 1063 *pte = Oops: CPU:0 EIP:0010:[]Tainted: P EFLAGS: 00210013 eax: c68ddb98 ebx: ecx: 0001 edx: 0001 esi: c68dd354 edi: 0001 ebp: c5cbbea4 esp: c5cbbe8c ds: 0018 es: 0018 ss: 0018 Process v4l-conf (pid: 969, stackpage=c5cbb000) Stack: 00200282 0001 c68ddb98 c68dd1c0 c68dd354 c2184000 c55c1ba0 c68d531a c55c1ba0 c110d310 c47c7580 c4dd5820 c55c1ba0 c01367ad c47c7580 c55c1ba0 c0123bb0 c017e8fd c3b8b730 c55c1ba0 c4905d80 Call Trace:[] [] [] [] [] [] [] [] [] [] [] [] [] [] Code: 8b 4b fc 8b 01 85 45 ec 74 21 31 c0 9c 5e fa 8b 51 3c 85 d2 My machine has a P166 with 98Mo Ram. Kernel 2.4.20 Alexandre --- This SF.net email is sponsored by: Does your code think in ink? You could win a Tablet PC. Get a free Tablet PC hat just for playing. What are you waiting for? http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users
Re: [Mjpeg-users] lavplay - Error queueing buffer:
Hallo > I'm trying to edit with glav some video captured from VHS but between > individual recordings there are noisy transitions. Often these cause > lavplay 1.6.1 to exit with the error message: > > ++: **ERROR: [lavplay] Error queueing buffer: Invalid argument > > I am using -p H on a Marvel G400. > > Would it be possible to make lavplay ignore or at least not exit > on these errors? It makes it very hard to edit stuff when the editor > keeps crashing. Does it work if you try SW playback ? (-p S) Or does it work if you disable the playback of the sound ? (-a 0) > Also, it has been mentioned before but glav does not quite have frame > level resolution. Is there a good reason for this? The threading maybe? > It would be nice to have this as it is one of the main benefits of using > mjpeg. Sorry, but I didn't exactly get what you mean. If you want to skip some frames you can do this pausing the playback and using the cursor left/right. To go one frame back/forward when you have the glav window (not the "Lavplay Video Playback" window) auf hoffentlich bald, Berni the Chaos of Woodquarter Email: [EMAIL PROTECTED] [EMAIL PROTECTED] www: http://www.lysator.liu.se/~gz/bernhard --- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users
Re: [Mjpeg-users] Error opening video-device
Hey Alan, On Fri, 2003-03-21 at 17:23, Alan Murrell wrote: > Mar 21 08:17:38 pvr kernel: Zoran ZR36060 + ZR36057/67 > MJPEG board driver version 0.9 This is the 'old' driver, right? > Mar 21 08:17:38 pvr kernel: MJPEG[0]: Zoran ZR36057 > (rev 1) irq: 11, memory: 0xcfefd000. > Mar 21 08:17:38 pvr kernel: MJPEG[0]: Initializing i2c > bus... > Mar 21 08:17:38 pvr kernel: MJPEG[0]: Card not > supported Have you loaded all the accompanying i2c modules? Ronald -- Ronald Bultje <[EMAIL PROTECTED]> --- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users
Re: [Mjpeg-users] adjustable --reduce-hf mod
Hi! > From: [EMAIL PROTECTED] > > Based on the past couple days of encoding the one knob I really > really want to tweak is the selecting blurring one - high motion > scenes could do with a bit of selective blurring... > Is that something any of the current tools does in any sense > (selective or not)? Yes, I think a number of folks have mentioned that the yuvmedianfilter tends to over-soften the picture if the luma component is processed. Most of the filters I'm aware of are from the NetPBM suite and really want to work with RGB data instead of YUV. A long time ago I did some experimentation with converting the data to PPM, processing the data and then converting back to YUV. Looked nice but it was quite slow. mpeg2enc does emit information that perhaps could be used in a 2 pass method. One could take the lines of the form: INFO: [mpeg2enc] Frame end 40348 19.19 1487017.09 6.0 243910.37 and construct a processing list for the second pass. On the second encoding run a filter could read the list and only soften/blur the frames that exceed whatever threshold is specified. Perhaps someone could write a blur (Gaussian comes to mind) routines that works on the 4:2:0 data so that conversions to/from PPM/RGB aren't needed. > I really just wanted to make it an optional argument to --reduce-hf, > but I'll be damned if I could get getopt to see the optional argument. Hmmm, yeah - optional arguments might take some extra coding. > If 384 was the default before then perhaps 512 is a bit limiting - > you're already most of the way to the limit. What do your tests > show - any difference between 384 (the default) and 512 ( the new > I'm not sure now why I put a limit on at all. That's not like me. ;) > Very fine detail does slowly disappear, and the noise jumps about a little. > I probably couldn't see any of it on a tv. Perhaps it might show up if you knew exactly where and where to look and had a nice HD LCD display. > Someone earlier said that they got heavy edge ringing. They might try > using a value of 128 or 256 and see if the ringing is reduced. It'd be interesting to hear the results of that if someone performs the experiment. Cheers, Steven Schultz --- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users
[Mjpeg-users] lavplay - Error queueing buffer:
I'm trying to edit with glav some video captured from VHS but between individual recordings there are noisy transitions. Often these cause lavplay 1.6.1 to exit with the error message: ++: **ERROR: [lavplay] Error queueing buffer: Invalid argument I am using -p H on a Marvel G400. Would it be possible to make lavplay ignore or at least not exit on these errors? It makes it very hard to edit stuff when the editor keeps crashing. Also, it has been mentioned before but glav does not quite have frame level resolution. Is there a good reason for this? The threading maybe? It would be nice to have this as it is one of the main benefits of using mjpeg. Martin --- This SF.net email is sponsored by: Tablet PC. Does your code think in ink? You could win a Tablet PC. Get a free Tablet PC hat just for playing. What are you waiting for? http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users
Re: [Mjpeg-users] Error opening video-device
Hi Morten, Okay, looks like my problem is a little more basic than I was thinking... --- Morten_Bgeskov <[EMAIL PROTECTED]> wrote: > correctly, so no help here.. but what does your > dmesg say? I did a 'tail -f /var/log/messages' just before running 'update buz', and here's the output: --- messages --- Mar 21 08:17:38 pvr kernel: Zoran ZR36060 + ZR36057/67 MJPEG board driver version 0.9 Mar 21 08:17:38 pvr kernel: MJPEG[0]: Zoran ZR36057 (rev 1) irq: 11, memory: 0xcfefd000. Mar 21 08:17:38 pvr kernel: MJPEG[0]: Initializing i2c bus... Mar 21 08:17:38 pvr kernel: MJPEG[0]: Card not supported Mar 21 08:17:38 pvr kernel: No known MJPEG cards found. --- messages --- I have watched on bootup as the card is detected, and eventhe Advansys SCSI module gets loaded, so I am not sure why the driver isn't detecting the MJPEG card? Is it the card itself (i.e., what is plugged into the PCI slot) that is being referred to, or is the the breakout box that is being referred to (I have the breakout box connected , except not the sound plugs; just the main part on the Buz card) TIA! Alan __ Post your free ad now! http://personals.yahoo.ca --- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users
Re: [Mjpeg-users] Error opening video-device
Hi Morten, --- Morten_Bgeskov <[EMAIL PROTECTED]> wrote: > Are you sure your lavrec gets run as root?, > otherwise you might have a > problem opening the device ;o) Yup. It's bad practise, I know, but I only log on as root on that box. Alan __ Post your free ad now! http://personals.yahoo.ca --- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users
Re: [Mjpeg-users] difficulty appending, encoding
On Tue, 18 Mar 2003, Marcus Smith wrote: > > Here's what I'm doing: I'm using lavrec to import 2 > hours of video at a time from my vcr with my G400-TV. > This gives me about 15 avi files ranging from 1.5-1.8 > gigs each. I open the first with avidemux, append the > next fourteen, and run three filters to crop, resize, > and detinterlace (this is all NTSC). This gives me one > big avi. When I play the avi in either MPlayer or > Xine, it runs fine. If joining them together is causing trouble, why do it? Just encode them one at a time, then burn them all to the DVD together. dvdauthor will just make a single DVD "title", with each MPEG file being a "chapter". Not only will that solve your file appending issues, it also makes it much easier to fast-forward through your DVD when you're done. This is exactly how I do it for my VHS to DVD conversions -- splitting it into several smaller jobs (about 10 minutes each) and burning them all as chapters. Works like a charm, and I never have any file size issues anywhere along the way. -- Robert Kesterson [EMAIL PROTECTED] --- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users
[Mjpeg-users] difficulty appending, encoding
Hi. I've been spending some time getting to know mjpegtools and other video resources better so I can create a process for myself to import VHS tapes and encode them to mpeg2 and write them to DVD. As such, I've been pouring over the readme's and howto's and whatnot but I have an issue I can't seem to get past. Here's what I'm doing: I'm using lavrec to import 2 hours of video at a time from my vcr with my G400-TV. This gives me about 15 avi files ranging from 1.5-1.8 gigs each. I open the first with avidemux, append the next fourteen, and run three filters to crop, resize, and detinterlace (this is all NTSC). This gives me one big avi. When I play the avi in either MPlayer or Xine, it runs fine. But since I need to encode this to mpeg2 (going by the mjpeg dvd how-to and other resources) I rip the audio either by using lav2wav or lavtrans, and then I rip encode the video using lav2yuv: lav2wav hercules.avi | mp2enc -o hercules.mp2 lav2yuv hercules.avi | mpeg2enc -n n -M 2 -f 8 -s -r 16 -o hercules.m1v And then for multiplexing them to mpeg2: mplex -f 8 hercules.mp2 video.m1v -o hercules.mpg When I go to play the mpg file it looks great for about 8-10 minutes, and then the video freezes and the sound becomes a screeching blast white noise. I checked the mp2 file, and that seemed to be the problem as screeched also when I played it alone. I then took a different approach of going back to my 15 original avi captures and ripping the audio from the directly, and then appending them together in a wav editor. After re-encoding this gives me a perfect sounding mp2. Using this new mp2 file I re-encode the whole thing to mpeg2 again with lav2yuv. This time when I play the file the video simply freezes at the exact same spot as last time but this time without the white noise screech. At this point I think there must be something wrong with the way avidemux appends or saves the avi file. So I come back to the shell to try without visual aids. Since then I've been trying to use every tool I can find that I think I can substitute for avidemux including using lavtans as described in the mjpeg-howto under the "Unify videos" section. This starts to work until it hits 2-gig file size and then craps out. The how-to warns of this IF "there is the 2GB file-size-limit on 32Bit systems with an older glibc." I'm using RedHat 8.1 beta (phoebe) with glibc-2.3.1-46, so I'm not convinced that is my problem. Mencoder also hits this 2-gig file barrier, but then creates additional 2-gig files until its finished encoding. So as it stands now I'm just trying to get single giant m1v file that doesn't freeze, or identify what's happening to make it freeze. The only way I can seem to get a single avi file is with avidemux, which could be causing my problem, and I can't get a single avi file with lavtrans without encurring the 2-gig file limit. Also, it might be worthy of noting that the freeze point always happens at the exact same frame, and this is not a transitional point between two appended files. I'm also concerned that even I do get past the file size limit that any new mpeg2 encodings will produce the same freezing problem. I'm starting to think that I'm going about this all wrong by appending it all together into huge audio and video files before splitting and encoding. I'm confused to the point that I now seek the wisdom of my betters. *grog* I need to sleep. __ Do you Yahoo!? Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop! http://platinum.yahoo.com --- This SF.net email is sponsored by: Does your code think in ink? You could win a Tablet PC. Get a free Tablet PC hat just for playing. What are you waiting for? http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users
Re: [Mjpeg-users] adjustable --reduce-hf mod
Based on the past couple days of encoding the one knob I really really want to tweak is the selecting blurring one - high motion scenes could do with a bit of selective blurring but only the encoder knows when that's needed... Is that something any of the current tools does in any sense (selective or not)? > mpeg2enc.cc to allow the amount by which the quantization for > high-frequency components is increased to be specified on the command > line. I couldn't seem to get optional arguments to work with getopt, > so I resorted to adding --hf-boost|-k, which takes integers from > 0-512, with 384 the default (as in the current code). 0 is the same Hmmm, the option name is confusing - it sounds as if the HF content is being boosted (which would increase the bitrate rather quickly I'd think) rather than the quantization of the HF. I told you it was a quick hack. Yes, it does imply just the opposite of what I meant. (You should see some of the code I've been paid to write!) Might I suggest "--increase-hf-q" instead? Or something that has "q" in it at least? If it makes it into the CVS, then you/Andrew/whoever have my permission to give it any name you want. :) I really just wanted to make it an optional argument to --reduce-hf, but I'll be damned if I could get getopt to see the optional argument. Either I can't read the getopt documentation properly (most likely) or there's something funny going on... If 384 was the default before then perhaps 512 is a bit limiting - you're already most of the way to the limit. What do your tests show - any difference between 384 (the default) and 512 ( the new max)? I wonder what 768 would look like ;) I'm not sure now why I put a limit on at all. That's not like me. The only way I can see any difference along the continuum from 0 to 512 is to use a clean source with lots of detail, take screenshots, and then flip between them on my computer. Very fine detail does slowly disappear, and the noise jumps about a little. I probably couldn't see any of it on a tv. This whole exercise has got me wondering what the "right" way is to design the quantizer matrix - here we are just multiplying some default by a ramp with the given slope, but is a linear ramp the right thing? Should it be quadratic? Logarithmic? With the effect already so subtle I wouldn't even know how to go about evaluating. So I'll probably stick to linear. > This might be useful for those that want some extra bitrate reduction > but find that the current level results in unacceptable artifacts. I I gotta get me a new TV then - I haven't seen artifacts, or rather the ones I do see are the "shades of grey" problem which my feeble attempt made worse in most cases (as it turns out using the yuvmedianfilter on the chroma only is almost as good as y4mblackfix was). Someone earlier said that they got heavy edge ringing. They might try using a value of 128 or 256 and see if the ringing is reduced. Dan --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users
Re: [Mjpeg-users] Error opening video-device
Hey Morten, On Fri, 2003-03-21 at 10:46, Morten Bøgeskov wrote: > Are you sure your lavrec gets run as root?, otherwise you might have a > problem opening the device ;o) Shouldn't it give a 'permission denied' then? Ronald -- Ronald Bultje <[EMAIL PROTECTED]> Linux Video/Multimedia developer --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users
Re: [Mjpeg-users] Error opening video-device
On Fri, 21 Mar 2003, Morten Bøgeskov wrote: >On Fri, 21 Mar 2003, Alan Murrell wrote: > >>Okay, >> >>Here's what I did: >> >> 1. mknod /dev/v4l/video1 c 81 1 (because my bttv >>modules takes '/dev/v4l/video0') >> 2. export LAV_VIDEO_DEV=/dev/v4l/video1 >> 3. cd /usr/local/zoran; update buz >> >>I made sure all modules that should be loaded >>appeaered to be loaded; the 'videodev' module showed >>bot 'zoran' and 'bttv' using it. However, when I use >>the same recording command, I get: >> >>**ERROR: [lavrec] Error opening video-device >>(/dev/v4l/video1): No such device >>++ WARN: [lavrec] Not ready for capture (state = 0)! >> >>Press enter to start recording>Recording time : >>0.00.00:00 >>Lost frames : 000 >>A/V sync ins/del: 000/000 >>Audio errors: 000 >> >>Here is a listing of '/dev/v4l': >> >>[EMAIL PROTECTED] root]# ls -l /dev/v4l >>total 0 >>crw---1 root sys 81, 224 Dec 31 >>1969 vbi0 >>crw---1 root sys 81, 0 Dec 31 >>1969 video0 >>crw---1 root root 81, 1 Mar 21 >>00:10 video1 >> > >Are you sure your lavrec gets run as root?, otherwise you might have a >problem opening the device ;o) woops I didn't get the "(/dev/v4l/video1): No such device" line parsed correctly, so no help here.. but what does your dmesg say? Yours -- Morten Bøgeskov (email: [EMAIL PROTECTED]) - Long after his death his poems were found and wondered over. News of them spread like morning sunlight. For centuries they illuminated and watered the lives of many people whose lives might otherwise have been darker and drier. --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users
Re: [Mjpeg-users] Error opening video-device
Hey Alan, On Fri, 2003-03-21 at 09:08, Alan Murrell wrote: > Forgive me for this likely stupid question... in > theabove, what does the '$(seq 0 3)' reference? The same as `seq 0 3` - the output of the seq command (0 1 2 3). > 2. export LAV_VIDEO_DEV=/dev/v4l/video1 [..] > **ERROR: [lavrec] Error opening video-device > (/dev/v4l/video1): No such device > ++ WARN: [lavrec] Not ready for capture (state = 0)! Just try /dev/v4l/video0. :-). And check your dmesg to see whether the card was detected at all... Ronald -- Ronald Bultje <[EMAIL PROTECTED]> Linux Video/Multimedia developer --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users
Re: [Mjpeg-users] Error opening video-device
On Fri, 21 Mar 2003, Alan Murrell wrote: >Okay, > >Here's what I did: > > 1. mknod /dev/v4l/video1 c 81 1 (because my bttv >modules takes '/dev/v4l/video0') > 2. export LAV_VIDEO_DEV=/dev/v4l/video1 > 3. cd /usr/local/zoran; update buz > >I made sure all modules that should be loaded >appeaered to be loaded; the 'videodev' module showed >bot 'zoran' and 'bttv' using it. However, when I use >the same recording command, I get: > >**ERROR: [lavrec] Error opening video-device >(/dev/v4l/video1): No such device >++ WARN: [lavrec] Not ready for capture (state = 0)! > >Press enter to start recording>Recording time : >0.00.00:00 >Lost frames : 000 >A/V sync ins/del: 000/000 >Audio errors: 000 > >Here is a listing of '/dev/v4l': > >[EMAIL PROTECTED] root]# ls -l /dev/v4l >total 0 >crw---1 root sys 81, 224 Dec 31 >1969 vbi0 >crw---1 root sys 81, 0 Dec 31 >1969 video0 >crw---1 root root 81, 1 Mar 21 >00:10 video1 > Are you sure your lavrec gets run as root?, otherwise you might have a problem opening the device ;o) Yours -- Morten Bøgeskov (email: [EMAIL PROTECTED]) In the darkness of the cinema Nobody sees your little defeat If she rejects you... --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users
Re: [Mjpeg-users] Error opening video-device
Okay, Here's what I did: 1. mknod /dev/v4l/video1 c 81 1 (because my bttv modules takes '/dev/v4l/video0') 2. export LAV_VIDEO_DEV=/dev/v4l/video1 3. cd /usr/local/zoran; update buz I made sure all modules that should be loaded appeaered to be loaded; the 'videodev' module showed bot 'zoran' and 'bttv' using it. However, when I use the same recording command, I get: **ERROR: [lavrec] Error opening video-device (/dev/v4l/video1): No such device ++ WARN: [lavrec] Not ready for capture (state = 0)! Press enter to start recording>Recording time : 0.00.00:00 Lost frames : 000 A/V sync ins/del: 000/000 Audio errors: 000 Here is a listing of '/dev/v4l': [EMAIL PROTECTED] root]# ls -l /dev/v4l total 0 crw---1 root sys 81, 224 Dec 31 1969 vbi0 crw---1 root sys 81, 0 Dec 31 1969 video0 crw---1 root root 81, 1 Mar 21 00:10 video1 As usual, I am stumped :-( Any other thougths or ideas are greatly appreciated... Alan __ Post your free ad now! http://personals.yahoo.ca --- This SF.net email is sponsored by: Tablet PC. Does your code think in ink? You could win a Tablet PC. Get a free Tablet PC hat just for playing. What are you waiting for? http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users
Re: [Mjpeg-users] Error opening video-device
Hey Ronald, --- Ronald Bultje <[EMAIL PROTECTED]> wrote: > /dev/video0 doesn't exist. :-). Yup, figured that out later on in my rambling :-) > ls -la /dev/video*? I'm guessing /dev/v4l/ doesn't > exist or so. [EMAIL PROTECTED] root]# ls -la /dev/video* lr-xr-xr-x1 root root 15 Mar 20 14:52 /dev/video -> /dev/v4l/video0 lr-xr-xr-x1 root root 15 Mar 20 14:52 /dev/video0 -> /dev/v4l/video0 Previously, before I did the 'mknod' and symlinks, '/dev/v4l' existed, but with nothing in it. Previously, I had had my bttv card module loaded as '/dev/v4l/video0'. Maybe I'll try to do a mknod on '/dev/v4l/video1', and see if that works... > Why not just do "for i in $(seq 0 3); do mknod > /dev/video$i c 81 $i; > done && ln -s /dev/video0 /dev/video"? Forgive me for this likely stupid question... in theabove, what does the '$(seq 0 3)' reference? Thanks! Alan __ Post your free ad now! http://personals.yahoo.ca --- This SF.net email is sponsored by: Tablet PC. Does your code think in ink? You could win a Tablet PC. Get a free Tablet PC hat just for playing. What are you waiting for? http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users
Re: [Mjpeg-users] Error opening video-device
Hey Alan, On Fri, 2003-03-21 at 07:34, Alan Murrell wrote: > **ERROR: [lavrec] Error opening video-device > (/dev/video0): No such file or directory /dev/video0 doesn't exist. :-). > And there are absolutely no '/dev/video' devices of > any kind. I had thought that previously when I rand > the 'update buz', it automatically created a > '/dev/video' device? I did try following the README, > and created the /dev/video0 device, like this (because > I am using devfsd, I had to modify things a little): > > mknod /dev/v4l/video0 c 81 0 > ln -sf /dev/v4l/video0 /dev/video0 > ln -sf /dev/v4l/video > > However, I still get the same error (even after trying > to do an 'update buz' again, just to make sure). ls -la /dev/video*? I'm guessing /dev/v4l/ doesn't exist or so. Why not just do "for i in $(seq 0 3); do mknod /dev/video$i c 81 $i; done && ln -s /dev/video0 /dev/video"? Ronald -- Ronald Bultje <[EMAIL PROTECTED]> Linux Video/Multimedia developer --- This SF.net email is sponsored by: Tablet PC. Does your code think in ink? You could win a Tablet PC. Get a free Tablet PC hat just for playing. What are you waiting for? http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users