Re: [Mjpeg-users] fixing fields order in encoded mpeg2(vob)
Aleksander V. Dyomin wrote: Hi! Sorry for my poor english. I have made misstake while writing script to encode my DV to MPEG2. Exporting stream with mplayer I used -vo yuv4mpeg:interlaced option. Later, on hw dvd player, I have seen buggy video, as described at mjpeg-howto(wrong field order). Problem understood, and now I using -vo yuv4mpeg:interlaced_bf (bottom first). All ok. But I have some buggy disks and have not dv-sources for it :( So I cant recode it from sources with right setting. Its possible to change field order in mpeg2 _without_ recoding? I have tested wrong and right files and sizes is equal, and differences is similar on some bytes(some flags is different I think). But I dont found any utilities to change such flags :( Help me plz. There is a program called pulldown which allows the modification of various mpeg flags. It's a hacked up version of bbvinfo. The source can be found here: http://www.inwards.com/inwards/?id=36 I hope this helps. Mark [taken from the command help] PULLDOWN - v0.99d, by Hard Code. [Based on sources by Brent Beyeler ([EMAIL PROTECTED])] PULLDOWN is a tool for modifying the encoding flags in an MPEG-2 video stream. It is most useful for turning a 23.976fps progressive stream into an SVCD or DVD-compliant 29.97fps NTSC interlaced stream via 2:3 pulldown. Using pulldown with only the source file name and no additional arguments creates a new file called PULLDOWN.M2V in your current directory. usage: pulldown source target [options] options: -nopulldown : pulldown will not insert the necessary flags for 2:3 pulldown -framerate [23.976, 25, 29.97] (defaults to 29.97) : changes framerate -norff : strips out all RFF flags -tff [odd, even] : changes the field order -notimecodes : does not recalculate timecodes for the new framerate -prog_seq [p, i] : marks the entire MPEG stream as progressive or interlaced -prog_frames [p, i] : marks each frame as progressive or interalced -drop_frame [true, false] : Set drop_frame_flag for NTSC streams -aspect_ratio [1:1, 4:3, 16:9, 2.21:1] : Change aspect ratio --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Mjpeg-users mailing list Mjpeg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mjpeg-users
[Mjpeg-users] fixing fields order in encoded mpeg2(vob)
Hi! Sorry for my poor english. I have made misstake while writing script to encode my DV to MPEG2. Exporting stream with mplayer I used -vo yuv4mpeg:interlaced option. Later, on hw dvd player, I have seen buggy video, as described at mjpeg-howto(wrong field order). Problem understood, and now I using -vo yuv4mpeg:interlaced_bf (bottom first). All ok. But I have some buggy disks and have not dv-sources for it :( So I cant recode it from sources with right setting. Its possible to change field order in mpeg2 _without_ recoding? I have tested wrong and right files and sizes is equal, and differences is similar on some bytes(some flags is different I think). But I dont found any utilities to change such flags :( Help me plz. --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ Mjpeg-users mailing list Mjpeg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mjpeg-users
Re: [Mjpeg-users] fixing fields order in encoded mpeg2(vob)
On Sun, 30 Oct 2005, Aleksander V. Dyomin wrote: Sorry for my poor english. No need to apologize, your English is fine. I have made mistake while writing script to encode my DV to MPEG2. Exporting stream with mplayer I used -vo yuv4mpeg:interlaced option. That is why I use 'smilutils' rather than MPlayer. DV is always bottom field first but that information apparently is not available to the -vo yuv4mpeg module . The smilutils have not had a release in several years so you will want the 'CVS' version: http://sourceforge.net/cvs/?group_id=14103 My CVS/Root file is: :pserver:[EMAIL PROTECTED]:/cvsroot/kino And CVS/Repository: /cvsroot/kino/smilutils Later, on hw dvd player, I have seen buggy video, as described at mjpeg-howto(wrong field order). Problem understood, and now I using -vo The '-vo yuv4mpeg' probably defaulted to 'top field first' rather than checking what the field order of the input data was. yuv4mpeg:interlaced_bf (bottom first). All ok. But I have some buggy disks and have not dv-sources for it :( So I cant recode it from sources You could re-encode from the mpeg-2 files. That will decrease the quality slightly of course (but if carefully done the difference might not be too noticeable). with right setting. Its possible to change field order in mpeg2 _without_ recoding? I have tested wrong and right files and sizes is It might be possible but I do not know of any tools that will change the flags in the MPEG-2 stream. equal, and differences is similar on some bytes(some flags is different I think). But I haven't found any utilities to change such flags :( One of the differences would be the 'top field first' flag. I do not know of any utilities that will change the necessary flags. Steven Schultz --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ Mjpeg-users mailing list Mjpeg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mjpeg-users