Re: [Mjpeg-users] yuvscaler stops reading stream
Steven M. Schultz wrote: That sounds suspiciously like a 2GB limit being reached somewhere and when the filesize limit is exceeded the program exits breaking the pipeline. How large is the input.avi file? What resolution, etc is the input file? If it's 320x240 or so then zooming/scaling that up to full frame DVD is not going to look very good. the input avi is 1,4GB. The output mpeg2 is around 3,8 GB. The input resolution is 576x320. I watched the output mpeg2 and there is no visible difference in quality as far as I can tell. A very good algorithm it seems. I'm using mandrake community, kernel 2.6. Filesystems are reiserfs and xfs. There shouldn't be a filesize limit problem with those filesystem types but perhaps an application was compiled without largefile support? It seems the mjpeg-tools has large-file size compiled in. I don't see an option for transcode about it, but I saw in their Changelog that a while back support for large AVI-files had entered the code. So, I suppose it's in there. The command without yuvscaler seems to work..although I don't use the "compact" notation of it without the pipes. Only transcode . -y mpeg2enc,ac3 ... The "-O DVD" and "-O SIZE_720x576" are redundant. Once you use "-n p" to specify the video norm then just "-O DVD" is sufficient. thanks. Good to know that. Errors: Couldn't read FRAME HEADER: bad header magic! Couldn't read frame number 182053 End of stream! Normal exit: end of stream with framenumber 182053. Ah, but which program is producing that? The program name should be part of the message - like this: **ERROR: [yuvscaler] Could'nt read YUV4MPEG header! If yuvscaler is producing the error message that means the pipeline into yuvscaler was broken by 'transcode' or 'yuvcorrect'. Can't tell anymore... But the pipeline broke behind transcode. First I did without yuvcorrect and then with it. So, first it broke at yuvscaler and then at yuvcorrect. But I still find it strange that the command worked without yuvscaler and yuvcorrect (mentionned above)... What version of mjpegtools are you using? If it's earlier than 1.6.2 (the last release) I would recommend upgrading. The version before 1.6.2. I'll upgrade... Thanks for your help already!! Michel --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users
[Mjpeg-users] Re: Mandrake 10 and 2.6 kernel? - Curiouser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thursday 20 May 2004 07:04, Bernhard Praschinger wrote: > Hallo > > > I have done everything that everyone tells me, and still I have big > > problems. I'm seriously wondering if there could be a hardware > > conflict problem. I am going to take out the bttv card and see if > > that makes any difference. What do you think? > > Which mainboard do you have. > Asus A7V8X-X > Usually a bttv card does not help with problems related to LVS. But > it would be interresting it you have the same problem with xawtv and > a bttv card. Than it would point to a problem with your garfic card > and/or to X11. > I've taken the bttv card out - it was an old model, and frankly it doesn't matter at all to me. However, it has made no difference, so I'm now down to investigating the relationship between flgrx and X11. I've asked for help on this on the Mandrake list. > You have written that you can record with lavrec. That usually means > that you have a "nearly" working setup. > I would think if you can edit the streams with glav/lavplay, you can > also encode the videos. So most things are working. > Recording is fine. Playing with glav is fine. I tried cutting some unwanted stuff from the end of test.avi while in glav, then used Save All to test_cut.avi. test_cut.avi is reported to be just 49B long. It plays correctly with glav, but not with any other media player. I don't think I'm understanding what happens in this situation. 49B can't be the file, I think, so I'm thinking it must be a sort of edit file that calls up the original test.avi - is that how it works? I haven't tried any of the other CLI commands yet - there are so many concepts to understand, and in trying to troubleshoot this I haven't been able to give enough time to learning them. Anne - -- Registered Linux User No.293302 Have you visited http://twiki.mdklinuxfaq.org yet? -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQFArJb+kFAvMr/nNX8RAhnjAKCQsw0d8Bl1lzEFk/7gJkMBQfcUzQCdGQTS K0UP32aWObNNOYo83ntdgFM= =HhP9 -END PGP SIGNATURE- --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id149&alloc_id66&op=click ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users
Re: [Mjpeg-users] Re: Mandrake 10 and 2.6 kernel? - Curiouser
Hallo > > > I have done everything that everyone tells me, and still I have big > > > problems. I'm seriously wondering if there could be a hardware > > > conflict problem. I am going to take out the bttv card and see if > > > that makes any difference. What do you think? > > > > Which mainboard do you have. > Asus A7V8X-X Nice board. :) After all it is VIA based, the older (older than 2 years) Via Chipsets very likely caused problems with PCI Busmaster cards, like all Zoran cards are. But VIA got better the last 4 years. So that should not be a problem. > > Usually a bttv card does not help with problems related to LVS. But > > it would be interresting it you have the same problem with xawtv and > > a bttv card. Than it would point to a problem with your garfic card > > and/or to X11. > I've taken the bttv card out - it was an old model, and frankly it > doesn't matter at all to me. However, it has made no difference, so > I'm now down to investigating the relationship between flgrx and X11. > I've asked for help on this on the Mandrake list. Ok. > > You have written that you can record with lavrec. That usually means > > that you have a "nearly" working setup. > > I would think if you can edit the streams with glav/lavplay, you can > > also encode the videos. So most things are working. > Recording is fine. Playing with glav is fine. I tried cutting some > unwanted stuff from the end of test.avi while in glav, then used Save > All to test_cut.avi. test_cut.avi is reported to be just 49B long. It > plays correctly with glav, but not with any other media player. I > don't think I'm understanding what happens in this situation. 49B > can't be the file, I think, so I'm thinking it must be a sort of edit > file that calls up the original test.avi - is that how it works? Thats correct. You should now read in the mjpehhowto the "Edit the video" section. The created file is only a text file which tells the other mjpegtools which file you have, and which video frames you want to see. If you want a destructiv version, you have to use lavtrans, but forget that tool for now. After you have edited the file and a editlist file you, can start converting the video with the commandline to a mpeg video. I would still recomend that you read at least the "Converting the stream to MPEG or DIVx videos" part till "Creating MPEG1 Videos". And than the part you need to create the output format you want. > I haven't tried any of the other CLI commands yet - there are so many > concepts to understand, and in trying to troubleshoot this I haven't > been able to give enough time to learning them. There is only one concept, of piping, which makes the mjpegtools rather flexible. If you have a editlist you want to encode you can also use LVS for assambing a command together and encode it than with LVS. I would also reccomend that you take a look at the script LVS can create to see which commands are executed, and how the commmands chains look like. auf hoffentlich bald, Berni the Chaos of Woodquarter Email: [EMAIL PROTECTED] www: http://www.lysator.liu.se/~gz/bernhard --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users
Re: [Mjpeg-users] Re: Mandrake 10 and 2.6 kernel? - Curiouser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thursday 20 May 2004 13:27, Bernhard Praschinger wrote: > > I would still recomend that you read at least the "Converting the > stream to MPEG or DIVx videos" part till "Creating MPEG1 Videos". And > than the part you need to create the output format you want. > Thanks - I'll work on it. Anne - -- Registered Linux User No.293302 Have you visited http://twiki.mdklinuxfaq.org yet? -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQFArKtjkFAvMr/nNX8RAiFTAKCVnY5OIE7LmVUcBfBuh+AOFNrVvgCeMuzX PqYehdM3NOo6qDDTd5UcxN4= =uwkX -END PGP SIGNATURE- --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id149&alloc_id66&op=click ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users
Re: [Mjpeg-users] yuvscaler stops reading stream
On Thu, 20 May 2004, Michel wrote: > the input avi is 1,4GB. The output mpeg2 is around 3,8 GB. The input > resolution is 576x320. I watched the output mpeg2 and there is no > visible difference in quality as far as I can tell. A very good > algorithm it seems. bicubic is quite good. even better is a 4 or 5 cycle Sinc-Lanczos ;) y4mscaler -S option=sinc:5 The times I've scaled up from 320 lines to even 480 the quality to me was not all that good - perhaps my eyeballs are "too golden" ;) > It seems the mjpeg-tools has large-file size compiled in. I don't see an > option for transcode about it, but I saw in their Changelog that a while > back support for large AVI-files had entered the code. So, I suppose I think you have encountered a bug in the large AVI file support though. You mentioned that the pipeline breaks at ~183000 frames of ~25 total. 183000/25 * 1,4GB = 1.024GB That looks very very close to the 1GB AVI limit. > it's in there. The command without yuvscaler seems to work..although I > don't use the "compact" notation of it without the pipes. Only transcode > . -y mpeg2enc,ac3 ... External scalers are, from what I have seen, of higher quality than transcode's builtin scaling. Also you may need to consider the SAR (Sample Aspect Ratio). Many of the MPEG-4/DivX encodings have been created with 1:1 pixels but DVDs use Rec.601 pixels which are 59:54 for PAL (and 10:11 for NTSC). > > The "-O DVD" and "-O SIZE_720x576" are redundant. Once you use > > > > thanks. Good to know that. Even better get a copy of y4mscaler from http://www.mir.com/DMG/Software/y4mscaler.html Then, using no scaling in transcode (or other mpeg-4 to yuv4mpeg2 producing program): ... | y4mscaler -I norm=PAL -I sar=1:1 -O preset=DVD -S option=sinc:4 | ... That will take into account the square input pixels, the PAL DVD pixels and frame size and perform any matte or crop operations needed as well as doing the scaling. > Can't tell anymore... But the pipeline broke behind transcode. First I I really think it's transcode breaking the pipe when it hits the 1GB AVI limit - it's producing a partial frame on output and that is what is causing the following program to emit an error. > The version before 1.6.2. I'll upgrade... Good Idea! ;) Cheers, Steven Schultz --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users
[Mjpeg-users] Thank you
Just wanted to send a note to thank the developers of MJPegTools for a couple of things. First, for creating such a great set of tools. I've used your tools for a couple of years now. Actually, since I started using Linux. I enjoy using them more than the MSWindows tools I was using. I like the flexability and the lack of bugs! Second thanks for monitoring these lists and answering all of the questions that come along. I've never posted to the list but found a lot of useful tips coming from the mail list in general. I hope you guys are here to stay for a long time! Sincerely, Daren Wilz --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users
Re: [Mjpeg-users] Has anyone actually got mjpegtools working with Mandrake 10 and 2.6 kernel? - Curiouser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thursday 20 May 2004 16:04, Bernhard Praschinger wrote: > Hallo > Hello again. > Thanks for the log. I have also taken a look at the source. If you > have a button sw playback please try it. Else LVS ist doing something > "weird". It calls lavplay -p C, and is displaying that what the card > would normaly output to the TVout, to the video card. Pleas don't ask > me how it really works, Ronald has written that part. > In the Options I have JPEG Encoding Type set to Software JPEG > After you can have more than one V4L port I think I can also help you > with the recording part. But I would still do cutting of the movies > in glav. But till that pint I think the playback part will not work. > After all the playback part was something only for root. > OK - I'll have to learn to use the tools from cli. > The problem Ronald and I have is that we have too less time for > maintining LVS. We both have our fingers in nearly every part of the > mjpegtools. > That I can understand - there's never enough time ;-) Anne - -- Registered Linux User No.293302 Have you visited http://twiki.mdklinuxfaq.org yet? -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) iD4DBQFArO+okFAvMr/nNX8RAqRoAJwN2BU3MFCw0cIyDX49IpEYwEXVpwCVHPTy It5earHsyd2CUgq/EAU0lQ== =8DSB -END PGP SIGNATURE- --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id149&alloc_id66&op=click ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users