On Thu, 16 Mar 2006, Alec Robertson wrote: > I'm using cinelerra, rendering dv video to a yuv4mpeg stream and piping > through yuvdeinterlace. After this, there are black bands at the top and > bottom of my movie. Is there any way to avoid this?
I guess it's a compliment and a vote of confidence that mjpegtools is expected to fix other folks' programs - thanks! :) Sounds like cinelerra is emitting an incorrectly formed 'yuv4mpeg2' stream. A little more information in the initial report would be useful - would save time asking for information such as which version of the software is being used, what's the workflow (exact commands being used for example), how big are the black bands (just a couple lines? the size one would expect when letterboxing? most of the frame? ...). We're not psychic (psycho maybe sometimes ;))... As a first step look at the YUV4MPEG2 header before going into any of the 'mjpegtools' programs. Somewhere (in a script? Don't know, that's more info that'd be helpful) there's the sequence ... | yuvdenoise | ... replacing yuvdenoise with : head -n 1 should produce something like: YUV4MPEG2 W720 H480 F30000:1001 Ip A1:1 C420mpeg2 what we'd need to see is what cinelerra is giving - the above is a bogus line for illustrative purposes. Then try putting the head command after yuvdenoise: ... | yuvdenoise | head -n 1 the output willl (should) be the same as before because yuvdenoise doesn't change stream attributes! If the stream is bogus going into yuvdenoise it will be bogus coming out of yuvdenoise ;) I have a hunch that cinelerra is getting the sample aspect ratio wrong (not the first program to ignore or break that). Cheers, Steven Schultz ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Mjpeg-users mailing list Mjpeg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mjpeg-users