Re: [Mjpeg-users] Weird interlacing -- 3:2 pulldown?
On Tue, 19 Aug 2003, Scott Bigham wrote: Yeah, I couldn't find any more recent version of smil2yuv, which is my first guess as the source of that problem. If you're using the CVS version of smilutils then that's the latest :) There were a number of bugs in te smil2wav program that have been fixed recently. It seems that some programs (mp2enc, etc) are do not pay attention to the fields in the RIFF/WAV header but some (such as Apple's AC3 encoder) do. The video source is a Time Warner Cable digital cable box; it's branded Pioneer, and the model number on the back is BD-V1100. The video capture card (I assume that's what you mean) is a Canopus ADVC-50. Ah, another Canopus user - congratulations! The -50 is the internal (or mounts in a drive bay) modle, correct? One possibility which occurred to me after I sent the last e-mail was pilot error: the ADVC-50 has both a component video input and an S-video input and I had both plugged in at once, and it occurred to me that the two might be interfering with each other. The problem seems to I believe that's composite video input (RCA style connector), the only component (Y'PrPb) converters I know of are *far* more expensive than a ADVC-50 or ADVC-100. And yes, having both attached will do Bad Things. The Canopus boxes (I've a -100) can auto (or manually) select analog or digital inputs but having two analog connectors at once confuse the box. recording another episode of the same show; if this turns out to have been the source of the trouble, then We Pre-emptively Apologize for the Interruption(TM). :-} Not to worry - I think we've all made our fair share of similar reports g Cheers, Steven Schultz --- This SF.net email is sponsored by Dice.com. Did you know that Dice has over 25,000 tech jobs available today? From careers in IT to Engineering to Tech Sales, Dice has tech jobs from the best hiring companies. http://www.dice.com/index.epl?rel_code=104 ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users
[Mjpeg-users] temporal-med
Someone (I would assume it was Kevin Atkinson, the author of the above filter but can't find the message now...) posted recently about temporal-med and wanted feedback. I've been using it for a little over a week now and it seems to really work well. I get a little bit of interference because of the distance of the video cable I'm using (not noticeable really, but there if you look for it). This filter seems to do a good job of removing it. I use the following command line: med interlaced true mode search show denoise pwidth 2 pheight 1 I used 'mode median', but it caused some problems. Wrinkles on people's shirts, for example, would 'disappear' as the person moved then re-appear once the person stopped. Made for an interesting effect - too bad it can't take the wrinkles out of my clothes in real life :-) I wasn't able to get it to stop doing that and still see any improvement. But the 'search' mode seems to work quite well. The full chain-o-stuff I run my video through is as follows (not that anyone cares, but I know sometimes people can find it useful...) nice exportvideo -D 0 -Y 2 ${aName}.nuv 2/dev/null | \ nice yuvscaler -I ACTIVE_$Border -v 0 -O INTERLACED_TOP_FIRST | \ nice yuvkineco -F 1 -i 0 -c 12 -n 15 -S 4 -C ${aName}.lst | \ nice med interlaced false mode search show denoise pwidth 2 pheight 1 | \ nice mpeg2enc -f 8 -b ${aRate} -V 230 -n n -s -a 2 -g 6 -G 18 -I 0 -Q 0.00 \ -r 24 -4 2 -2 2 -N -v 0 -p -F 1 -o ${aName}.m2v This does a near-perfect pulldown for me and produces a sharp looking picture. Note that '${aRate}' is a calculated bit rate depending on the length of movie encoded. ACTIVE_$Border depends on the type of movie I'm encoding (some are recording in standard 4:3 NTSC, but were letterboxed so on those I give a different black border from others...) I noticed if I use 'med' before yuvkineco that pulldown sometimes doesn't work quite right (see quite a bit of dropping the wrong frame, which I'm sure I could resolve by playing with more of the yuvkineco parameters...but it is one of those things where it is working the way I want it so I'm not touching it :-) -- Ray --- This SF.net email is sponsored by Dice.com. Did you know that Dice has over 25,000 tech jobs available today? From careers in IT to Engineering to Tech Sales, Dice has tech jobs from the best hiring companies. http://www.dice.com/index.epl?rel_code=104 ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users
[Mjpeg-users] it's juddering probably, but...
I believe i'm experiencing the juddering bug: https://sourceforge.net/docman/display_doc.php?docid=3456group_id=5776#ss3.4 However, my situation doesn't seem to fit into what's described in the HOWTO. I use a NTSC DV camcorder as a source, and convert the DV .avi into DVD-compatible MPEG2 using mpeg2enc as the last step. Then i author the DVD, burn it... Apparently the DVD is fine, i can play it with software players with no problems whatsoever. But if i play it in a standalone player to a TV, i experience juddering, the moving objects are doubled and flickering fast. Here are the initial AVI and the resulting MPEG2 that was used to author the DVD: http://florin.myip.org/debug/ On the DV .avi file i applied the method indicated in the HOWTO to analyse the fields order. It seems like it's a bottom first video stream (see image0 and image1), but otherwise it's ok. I checked it out for the next thousand of frames or so, the order of the fields is fine, there's no back and forth movement, it's all smooth and as it should be. However, i don't know how to analyse the MPEG2 file. I cannot apply the method from the HOWTO, because the intermediary YUV stream is not generated through mjpegtools; mpeg2enc (which was used to encode the MPEG2) is only the last step in a chain where the previous steps were accomplished by a different set of tools. Is there a way to extract the fields from the .m2v file? In theory, i could re-create the DVD with different -z parameters in mpeg2enc, but: - the encoding time is enormous - i'd rather not waste DVD-R's, and i'm not sure if i can test with DVD-RW (not sure if the players will recognize the format) Suggestions? -- Florin Andrei http://florin.myip.org/ --- This SF.net email is sponsored by Dice.com. Did you know that Dice has over 25,000 tech jobs available today? From careers in IT to Engineering to Tech Sales, Dice has tech jobs from the best hiring companies. http://www.dice.com/index.epl?rel_code=104 ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users
[Mjpeg-users] multiple devices
Hi all! Tell please, whether it is possible to increase number of devices with which various programs of videocapture can work about the help of the program? For example the software palantir can provide some simultaneous connections with one card. I want to start simultaneously some appendices(xawtv, motv, Linux Video Studio, palantir) by one machine. Thanks for the answer! dmitriy --- This SF.net email is sponsored by Dice.com. Did you know that Dice has over 25,000 tech jobs available today? From careers in IT to Engineering to Tech Sales, Dice has tech jobs from the best hiring companies. http://www.dice.com/index.epl?rel_code=104 ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users
[Mjpeg-users] libquicktime image size limit?
I don't know if this is in the right place, but here it goes... I have the CVS version of mjpegtools, and the latest version of libquicktime. I'm recording from a composite NSTC source at -d1 resolution from a DC10+, (zoran 0.9.4), stero sound, full quality. I continue to have this happen... bash-2.05b# lavrec -f q -q 100 -U -i n -d 1 -s -w test.mov Press enter to start recording Press enter to pause recording **ERROR: [lavrec] Error writing to output file test.mov: Internal: broken JPEG format ++ WARN: [lavrec] Closing file(s) and exiting - output file(s) my not be readable due to error 0.00.00:00 int:208 lst: 0 ins: 0 del: 0 ae: 0 td1=0.000 td2=0.000 Recording time : 0.00.00:00 Lost frames : 000 A/V sync ins/del: 000/000 Audio errors: 000 However, if I use the avi file format, I have no problems with all the same options. Also no problems for -d12 or -d2 instead of -d1. Similarly, using lavtrans, bash-2.05b# lavtrans test.avi -f q -o test.mov **ERROR: [lavtrans] Error writing output: Internal: broken JPEG format when using a movie at 640x480 resolution. I'm wondering if anyone else has had problems with this, or know of a way around it (other than the obvious use avi, use -d12, or lav2yuv|yuv2lav, lavaddwav.) Thanks, Kevin --- This SF.net email is sponsored by Dice.com. Did you know that Dice has over 25,000 tech jobs available today? From careers in IT to Engineering to Tech Sales, Dice has tech jobs from the best hiring companies. http://www.dice.com/index.epl?rel_code4 ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users
[Mjpeg-users] movement detection
Hi all!! Tell please, whether there is a software for detecting movement? I have written to the list motion.sourseforge.net of dispatch and have received the answer, that their software product processes the image with the help only the processor. But I have a device which can digitize video without the help of the processor. Thanks for the answer! i use capture card PinnacleStudio DC 10 Plus and Linux Video Studio work fine. Thanks for the answer and very sorry for my bad english! dmitriy. --- This SF.net email is sponsored by Dice.com. Did you know that Dice has over 25,000 tech jobs available today? From careers in IT to Engineering to Tech Sales, Dice has tech jobs from the best hiring companies. http://www.dice.com/index.epl?rel_code=104 ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users
[Mjpeg-users] problems compiling mjpegtools under mandrake
Hi, I am using Mandrake 9.1 with Kernel 2.4.21. I am trying to install mjpeg tools but I am encountering some problems. First I did ./configure with the path to jpeg-mmx and to quicktime4linux. I think it went fine, this is the message I got: MJPEG tools 1.6.1 build configuration : - X86 Optimizations: - MMX/3DNow!/SSE enabled : true - cmov support enabled: true* NOTE: ** The resultant binaries will ***NOT*** run on a K6 or Pentium CPU* - video4linux recording/playback: true - software MJPEG playback: true - movtar playback/recording : false - Quicktime playback/recording : true - Quicktime source in : /usr/local/quicktime4linux-1.4-patch - AVI MJPEG playback/recording : true (always) - libDV (digital video) support : true (= v0.9.5) - AVIFILE divx encoding support : true - Gtk+ support for glav : true - glibc support for 2GB files : true Then, Idid 'make'. But I get some errors: lav_io.c: In function `check_DV2_input':lav_io.c:1385: too many arguments to function `dv_decoder_new'lav_io.c:1415: warning: implicit declaration of function `dv_decoder_free'make[2]: *** [lav_io.lo] Error 1make[2]: Leaving directory `/usr/local/mjpegtools-1.6.1/lavtools'make[1]: *** [all-recursive] Error 1make[1]: Leaving directory `/usr/local/mjpegtools-1.6.1'make: *** [all] Error 2 Does anybody have an idea on how tofix this? Help is greatly appreciated. Thanks a lot, Joelle N.MSN 8 helps ELIMINATE E-MAIL VIRUSES. Get 2 months FREE*. --- This SF.net email is sponsored by Dice.com. Did you know that Dice has over 25,000 tech jobs available today? From careers in IT to Engineering to Tech Sales, Dice has tech jobs from the best hiring companies. http://www.dice.com/index.epl?rel_code=104 ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users
Re: [Mjpeg-users] it's juddering probably, but...
Hallo I believe i'm experiencing the juddering bug: https://sourceforge.net/docman/display_doc.php?docid=3456group_id=5776#ss3.4 However, my situation doesn't seem to fit into what's described in the HOWTO. Here are the initial AVI and the resulting MPEG2 that was used to author the DVD: http://florin.myip.org/debug/ 250MB's are a bit big for a ISDN connection, but the first 10 fields (as small jpegs) would be very interresting. On the DV .avi file i applied the method indicated in the HOWTO to analyse the fields order. It seems like it's a bottom first video stream (see image0 and image1), but otherwise it's ok. I checked it out for the next thousand of frames or so, the order of the fields is fine, there's no back and forth movement, it's all smooth and as it should be. Did you However, i don't know how to analyse the MPEG2 file. I cannot apply the method from the HOWTO, because the intermediary YUV stream is not generated through mjpegtools; mpeg2enc (which was used to encode the MPEG2) is only the last step in a chain where the previous steps were accomplished by a different set of tools. Is there a way to extract the fields from the .m2v file? Which command do you use ? You could exctract them with mplayer: mplayer -vo jpeg file.mpg That will create a lots of jpeg's in the current directory. ;) But I'm not soure if you see the problem there. If the stream says that it should play back the top field from the current frame before the bottom field of the stream. And it would be correct the other way round. In theory, i could re-create the DVD with different -z parameters in mpeg2enc, but: - the encoding time is enormous Just encode a few minutes. - i'd rather not waste DVD-R's, and i'm not sure if i can test with DVD-RW (not sure if the players will recognize the format) Suggestions? Test it with CD-RW and SVCD format. You should have the same problem there. 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 Dice.com. Did you know that Dice has over 25,000 tech jobs available today? From careers in IT to Engineering to Tech Sales, Dice has tech jobs from the best hiring companies. http://www.dice.com/index.epl?rel_code=104 ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users
Re: [Mjpeg-users] multiple devices
Hallo Tell please, whether it is possible to increase number of devices with which various programs of videocapture can work about the help of the program? For example the software palantir can provide some simultaneous connections with one card. I want to start simultaneously some appendices(xawtv, motv, Linux Video Studio, palantir) by one machine. You just have to set the enviroment variables LAV_VIDEO_DEV, LAV_AUDIO_DEV, LAV_MIXER_DEV. To set the device the program (lavrec, glav/lavplay) should use. In xawtv you can change it with the -c /dev/device option. In LVS you can change it in the options (video and audio options). If you use v4l one device can only have one connection to a programm. Te zoran driver works around that problem. You have to start xawtv first and can than record. You can stop xawtv (or any other recording application) at any time. But you cannot start a tv application when the recording is running. That problem is solved in v4l2. But the zoran cards does not support simultan playback and recording !!! 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 Dice.com. Did you know that Dice has over 25,000 tech jobs available today? From careers in IT to Engineering to Tech Sales, Dice has tech jobs from the best hiring companies. http://www.dice.com/index.epl?rel_code=104 ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users
Re: [Mjpeg-users] q: how create a second pipe from yuvscaler
Can you use 'tee' to accomplish it? mkfifo pipe1 mkfifo pipe2 tee pipe1 pipe2 $1 /dev/null yuvscaler ... pipe1 mplayer ... pipe2 wait 'tee' will take data from '$1' and write to pipe1 and pipe2 (and also to stdout, therefore the redirection of its stdout to /dev/null, although you could actually do 'tee pipe1 $1 | yuvscaler' if you wanted to, then yuvscaler would pull from tee's stdout). -- Ray On Tue, 19 Aug 2003 15:14:33 +0200 Japie [EMAIL PROTECTED] wrote: Hello guys, I like to use yuvscaler(or whatever yuvtool) as filter between a mplayer and ffmpeg. Creating a pipe to yuvscaler is n problem, but it has to output in another pipe and I don't know how to do this. I use: mkfifo -m 660 stream.yuv mplayer -nosound -benchmark -noframedrop -vo yuv4mpeg -osdlevel 0 $1 cat stream.yuv | yuvscaler -v 0 -M WIDE2STD -O SIZE_352x288 -n p And can encode with: ffmpeg -f yuv4mpegpipe -i rescaled_stream.yuv -f mpeg1video -b 1152 ffmpeg_kvcd.m1v How do I make the output of yuvscaler apear in rescaled_stream.yuv? -- Groetjes Japie http://japie.is.dreaming.org Gnu/Linux 2.4.20-wolk4.1s i686 System Error - Virus 'MS-WINDOWS' found!! Erase [Y/Y]? ;^) --- This SF.net email is sponsored by Dice.com. Did you know that Dice has over 25,000 tech jobs available today? From careers in IT to Engineering to Tech Sales, Dice has tech jobs from the best hiring companies. http://www.dice.com/index.epl?rel_code=104 ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users --- This SF.net email is sponsored by Dice.com. Did you know that Dice has over 25,000 tech jobs available today? From careers in IT to Engineering to Tech Sales, Dice has tech jobs from the best hiring companies. http://www.dice.com/index.epl?rel_code=104 ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users
Re: [Mjpeg-users] it's juddering probably, but...
On 19 Aug 2003, Florin Andrei wrote: I believe i'm experiencing the juddering bug: I use a NTSC DV camcorder as a source, and convert the DV .avi into DVD-compatible MPEG2 using mpeg2enc as the last step. Then i author the DVD, burn it... Apparently the DVD is fine, i can play it with software players with no problems whatsoever. But if i play it in a standalone player to a TV, i experience juddering, the moving objects are doubled and flickering fast. It seems like it's a bottom first video stream (see image0 and image1), but otherwise it's ok. I checked it out for the next thousand DV is bottom field first. No other order is specified in the standard (and interestingly enough this true for both PAL and NTSC - wonder how that happened ;)) of frames or so, the order of the fields is fine, there's no back and forth movement, it's all smooth and as it should be. If you're seeing the juddering problem then something in the tool chain between the capture and the encoder is flipping the field order (or losing track of the order). However, i don't know how to analyse the MPEG2 file. I cannot apply the method from the HOWTO, because the intermediary YUV stream is not generated through mjpegtools; mpeg2enc (which was used to encode the Hmmm, perhaps generating the YUV stream with a different selection of tools might solve the problem... To analyse a MPEG2 file I've found the 'dvdview' program to be very useful. dvdview (and the required library) can be found at http://rachmaninoff.informatik.uni-mannheim.de/dvdview/ The program has a debug/log capability - specifying higher levels of logging will yield the field order. Suggestions? Use DVD-RW or DVD+RW media to avoid coasters? ;) Look at the YUV4MPEG/YUV stream after each step of the pipeline, the 'Ib' tag should always be present - if it changes to 'It' or 'Ip' you've found the program that is changing the field order. Steven Schultz --- This SF.net email is sponsored by Dice.com. Did you know that Dice has over 25,000 tech jobs available today? From careers in IT to Engineering to Tech Sales, Dice has tech jobs from the best hiring companies. http://www.dice.com/index.epl?rel_code=104 ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users