[Mjpeg-users] yuvscaler stops reading stream
Heya, I'm trying to encode a divx of 3 hours to mpeg2. Yuvscaler stop everytime at frame 182053 (totally there are around 25 frames) with a bad frame header-message. Everytime I try a attempt to do the encoding I have to wait 20 hours till the encoding process arives at frame 182053 I tried 2 times and it crashed everty time... Very frustrating!!! I'm using mandrake community, kernel 2.6. Filesystems are reiserfs and xfs. The command: transcode -i .avi -y yuv4mpeg,null --hard_fps -J modfps --export_fps 0,3 -q 0 -Q 5 -z -o /dev/stdout | yuvcorrect | yuvscaler -M BICUBIC -O DVD -n p -O SIZE_720x576 | mpeg2enc -f 8 -F 3 -a 3 -4 2 -2 1 -q 8 --keep-hf -o t.m2v 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. Anyone has an idea/knows how to solve this?? I prefer to not reencode the first 182053 frames AGAIN. So if anyone knows/has an indea how to concatenate 2 m2v-files, I would also appreciate that. Thanks, Brabants 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] yuvscaler stops reading stream
Heya, I'm trying to encode a divx of 3 hours to mpeg2. Yuvscaler stop everytime at frame 182053 (totally there are around 25 frames) with a bad frame header-message. Everytime I try a attempt to do the encoding I have to wait 20 hours till the encoding process arives at frame 182053 I tried 2 times and it crashed everty time... Very frustrating!!! I'm using mandrake community, kernel 2.6. Filesystems are reiserfs and xfs. The command: transcode -i .avi -y yuv4mpeg,null --hard_fps -J modfps --export_fps 0,3 -q 0 -Q 5 -z -o /dev/stdout | yuvcorrect | yuvscaler -M BICUBIC -O DVD -n p -O SIZE_720x576 | mpeg2enc -f 8 -F 3 -a 3 -4 2 -2 1 -q 8 --keep-hf -o t.m2v 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. Anyone has an idea/knows how to solve this?? I prefer to not reencode the first 182053 frames AGAIN. So if anyone knows/has an indea how to concatenate 2 m2v-files, I would also appreciate that. Thanks, Brabants 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
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
Re: [Mjpeg-users] yuvscaler stops reading stream
The version before 1.6.2. I'll upgrade... Good Idea! ;) Cheers, Steven Schultz I couldn't upgrade mjpeg-tools... I installed the latest version of transcode (from cvs) and it doesn't support the new yuv4mpeg-header(got compilation errors from transcode on the yuv4mpeg-export-plugin). So I reinstalled mjpegtools from source. Ther version before 1.6.2 (1.6.1.93?). I compiled the latest transcode ..From cvs with mjpegtools-flag (to be sure) and it works now. I read something in their changelog that if yuv4mpeg doesn't have the right frame/second value any more, transcode should take over ..or correct it. Maybe that was it?? Or it was something else maybe. I'm pleased now and because I installed mjpeg-tools from source (I had transcode already from source I believe) it goes 1/3 (even some faster) faster than before. My 30 hour process, has been reduced to 20 hours and even less I think. I thik it was around 18 hours. Not completely sure though. Thanks for the other tips!! thanks again for your help... 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
Re: [Fwd: [Mjpeg-users] Using OpenGL to speed-up mjpeg-tools with 3D cards?] (fwd)
Heya all, you maybe could have a look at the jashaka (http://www.jahshaka.com/)-project. I believe they have encoding that uses the graphic-card. Thiis page may help a little bit(?): http://www.jahshaka.org/modules.php?name=News&file=article&sid=39&mode=&order=0&thold=0 Michel signature.asc Description: OpenPGP digital signature
[Mjpeg-users] Using libjpeg-mmx in my code ?
Hello, I am trying to compile a working libjpeg-mmx.a to which I could link some code I have to simply display jpeg pictures. This code works fine when linked with libjpeg.a, and decompress the picture perfectly. In order to fasten the decompression, I thought I would use jpeg-mmx. I have tried to use the normal jpeg decompression algorithm (same that work with libjpeg.a) and linking to libjpeg-mmx.a but everytime I do this, I see a green picture as the resuslt of the decompression. I then looked to see if the library worked properly, and tried to use the djpeg tool linked to the jpeg-mmx library that was part of the tar and got the same result; a green picture of the proper size, but only with green pixels. I then tried to compile it (make clean;./configure; make) on different systems (dual PIII, Athlon XP, and the latest a P4), and I always get the same result. How can I compile a libjpeg-mmx.a that will work for my linking to a normal jpeg decompression algorithm ? Thanks for any help, -- Martial MICHEL --- 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
[Mjpeg-users] Pinnacle/Miro card information
Dear all, First of all, thanks for bringing information and providing drivers. I am a real GNU/Linux fan, but I lost a lot of time transcoding DV into mpeg-2. Now, it is time to invest into a hardware compression card! I am looking for a DV capture card including an mpeg-2 codec supported by the Kernel 2.6. Here are my questions: 1) Stock kernel 2.6 support Are there any mpeg-2 codec included in the stock 2.6.6 kernel? Or do we need to download the zoran drivers and compile them? 2) Pinnacle/Miro DC10+ (no firewire card) From http://mjpeg.sourceforge.net/driver-zoran/cards.php, I understand that the Pinnacle/Miro DC10+ is well supported and that the DC30+ is not fully supported (interupt problem). Should I consider using a DC10+ or a DC30+? On the web page, does "internal" mean that I can use the mpeg tools "internaly" (I will not be using the capture connectors) to transcode DV streams into mpeg-2? 3) Pinnacle Studio DV 9 (firewire) In fact, I would rather choose a card including BOTH a firewire port and an mpeg-2 codec. Apparently, the Studio DV9 IEEE 1394 port is supported natively by the Kernel. Is the Studio DV 9 card mpeg-2 codec supported? Sorry for asking questions which may sound "obvious", but I need some confirmation before buying a proper card. Thanks for your answer. Best regards, Jean-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_id149&alloc_id66&op=click ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users