I am encoding an 29.97 fps interlaced video on SVCD (Mpeg2). Result is jerky when playing on TV due to the wrong field order. I tried to change the field order by unchecking the "upper field first" box in the video settings in CCE, but, selected or unselected does not change anything, bitrate viewer reports the result mpg file with Top field first: Yes.
Encoding the same AVI file with TMPG with Bottom field first works fine when playing on TV.
CCE seems to refuse to change the field order. Is this a know CCE bug or am I missing something ?
Thanks for any help.
+ Reply to Thread
Results 1 to 20 of 20
-
-
Wish I knew...
Basically, everything I've done lately happens to be "Upper Field First"... I don't know if that's because it's Huffy material or what...
I frameserve from a TMPGEnc project file to CCE, so I have the field selected in TMPGEnc. I leave that box unchecked in CCE, and it has the effect of leaving it alone (still upper field first).
Is there any way to select the field order in whatever you're frameserving from? (I assume that's the only way to use CCE without problems)... I suspect the CCE box is merely a way to "Force A" or "Leave alone", instead of toggling "A" and "B". So it looks like you have to choose field order in the frameserve program.
Please, someone, correct me if I'm wrong because I want to understand this is how it goes for sure... -
Originally Posted by FranckV
I tried to change the field order by unchecking the "upper field first" box in the video settings in CCE, but, selected or unselected does not change anything
If you want CCE to encode interlaced video, uncheck all the boxes on the MPEG-2 video settings group except "Add sequence end code" (default) and "Upper field first" (optional).
-----------------------
Originally Posted by homerpez
Please, someone, correct me if I'm wrong because I want to understand this is how it goes for sure... -
ignore koala's condescending comments as he is explaining something that wasn't even asked about merely to prop himself up. yes, there is a bug associated with the top-field checkbox in cce, but this would confuse the issue right now & it's nothing to worry about unless you are diehard to get your letterboxing on 16x16 macroblock boundaries. the top-field checkbox sets flags in the video stream to instruct the decoder on the order to display the fields, but does not impact the encoding algorithm in any significant way. (you can swap the fields manually in a video editor, but there's really no reason to do this). if it looks wrong on your pc that is no indication, you need to check it on a standalone player. in order to check on your pc you'd need to decode the stream & feed it to a video editor to seperate the fields(60fps). if by chance you do get the order wrong you can fix the video without re-encoding by demuxing & running it though pulldown.exe -nopulldown -tff [odd, even]. koala, all your posts are ******* useless sniping
#avisynth check field order example
AVISource("[...path...\VFAPIoutput.avi]") #or loadvfapiplugin
AssumeFrameBased( )
ComplementParity( ) #if it looks ok with this argument field order should be top-first
SeperateFields( ) -
Man! You must all think I'm an imbecile! (The feeling is often mutual)...
All I'm talking about is when you have the problem in your standalone, you should encode again, but switching fields. With me so far?
OK. The problem at hand is that CCE doesn't appear to change the field order to "lower" by leaving the "Upper Field First" box unchecked.
My point is nothing more than IT ONLY APPEARS TO BE A FORCE SWITCH, NOT A TOGGLE.
What I mean is, if the source material is Bottom field first, uncheck the box and it stays that way in encoding. Check the box, and you force the upper field to be encoded first (for whatever reason). It works as a force to upper, rather than a toggle (ala TMPGEnc). So, if you wanted bottom field first in CCE, it might be a program bug that doesn't allow you to swich to that (the frameserve program needs to specify).
koala, koala, koala... you missed the only point I was making! Typical. Go do whatever it is people like you do on a Saturday.
FrankV, assuming you're frameserving... try specifying the field order to "Bottom First" (try the TMPGEnc --> VFAPI method) and then uncheck the CCE boxes... see what happens for you... -
Originally Posted by stanwebber
but this would confuse the issue right now & it's nothing to worry about unless you are diehard to get your letterboxing on 16x16 macroblock boundaries.
the checkbox in cce sets flags in the video stream to instruct the decoder on the order to display the fields, but does not impact the encoding algorithm in any significant way.
Field precedence is meaningless unless you're coding interlaced frames. Do you have any idea what this means? Unless and until you uncheck the little box labelled "Zigzag scanning," CCE doesn't care if the "Upper field first" box is checked or not.
koala, all your posts are ******* useless sniping
--------------------------
Originally Posted by Homerpez
This very thread is a perfect example. Watch:
OK. The problem at hand is that CCE doesn't appear to change the field order to "lower" by leaving the "Upper Field First" box unchecked. My point is nothing more than IT ONLY APPEARS TO BE A FORCE SWITCH, NOT A TOGGLE.
(1) You're using inappropriate encoder settings.
(2) You're processing the video inappropriately prior to encoding.
If the problem is the encoder settings, that's an easy problem to fix. Just deselect everything except "Add sequence end code" and the "Upper field first" box will become a toggle that works the way you expect it to.
If the problem is inappropriate processing, nothing you check or uncheck on the encoder is going to fix the problem because the video is already compromised. You have to go back to square 1 and figure out what it is that you're doing wrong.
What say you in light of these two possibilities? -
that is it you ******* petty little irritating shit. you just cant stop yourself can you? tell my how the cce bug that shifts the image 1 scanline when the top-field box is checked is not germain to the discussion when the topic is the top-field box & someone asked if a bug is associated with it? BTW, WHO SAID ANYTHING ABOUT ZIGZAG SCANNING IN THIS ENTIRE POST EXCEPT YOU? stick to the goddamn topic or shut the **** up. how has any of my information contradicted your's or impinged upon it in any way? you just cant ******* let anyone else be right to share the spotlight because you know & understand everything so much more intensly than us mere humans. you have to tear down anything, everything someone has to offer no matter what. i'd like to see 1 ******* post of yours where you dont have someone else quoted tearing them down. god, you must love that quote button. you wont be able to let this post go by unchallenged either. you simply dont have the self-control. i swear if this post gets past you unchallenged i will publicly declare i'm full of shit & never post another message on this forum EVER, NOT ******* EVER
-
Originally Posted by KoalaBear
-
Wow, it seems my original post generated quite a few interesting points.
Anyway, here is what I found out encoding a 29.97 fps interlaced movie captured using a PCTV board at 640 x 480 resolution in VirtualDub.
CCE always creates the mpg video file (mpv) with the Top FIeld First flag set regardless of what the reality is.
If one does not check the "Upper Field First", then CCE leaves the field order as it is in the AVI file. If checked it reverses the field order.
So, before you encode using CCE, you have to know what the field order is (can easily be check by either using TMPGEnc and the preview of the Deinterlace Even-Odd field filter or in VirtualDub by using the Deinterlace Unfold Side by Side option and looking at which field moves first in the right window.
The above can easily be tested by coding a top field first avi file using CCE with Upper Field Firts checked and then use DVD2AVI to converte the file back to AVI = Field Order in new AVI is opposite of what it was in original AVI.
I do not think it really is a bug in CCE, I believe it is a misinterpretation of the function. The CCE guys should change the text in the dialog.
To be practical, if AVI file is Top Field First, then do not check the Upper Field Box in CCE and if it is Bottom Field First, then check the box.
Hope this helps other CCE user as it took me quite a while to figure this one out. -
Originally Posted by stanwebber
tell my how the cce bug that shifts the image 1 scanline when the top-field box is checked is not germain to the discussion when the topic is the top-field box & someone asked if a bug is associated with it?
The "cce bug that shifts the image 1 scanline when the top-field box is checked" is not germane to the discussion because it's something you pulled out of your ass along with the "letterboxing on 16x16 macroblock boundaries" nonsense.
BTW, WHO SAID ANYTHING ABOUT ZIGZAG SCANNING IN THIS ENTIRE POST EXCEPT YOU? stick to the goddamn topic or shut the **** up.
Why is that simple fact so hard to understand?
================================
Originally Posted by homerpez -
By the way, as the first sentence of my question stated, I am encoding a 29.97 fps interlaced video so I did not check the Zig Zag scanning order box.
-
This interlaced/progressive stuff is easy to understand. The only difficult part is figuring out what each application does with respect to it.
I know about interlace and progressive input. What about the interlaced vs progresive output setting in CCE (or TMPGEnc)? What does that do?
My input video is interlaced, 480x480. When I select interlaced output in CCE (or TMPGEnc), my output MPEG2 file has streaks when I play it back to the television. There are no such streaks if I convert the MPEG file to AVI and play the AVI file. If I select progressive output, my MPEGs play back fine, no streaks.
So, what the hell does this setting do? Is it causing the decoder to do something funky? -
The streaks are horizontal. They are more than a single pixel wide (these are not the comb-like effects one see when playing interlaced source on a progressive display). And they occur in areas of high-motion.
The streaks are very apparent when the MPEG2 file is paused. Yet if I convert the MPEG2 to AVI, play that back, and pause it, there are no streaks in the exact same frames. So, the effect must be coming from something the encoder is doing.
So what does the progressive/interlaced output option (in CCE, or TMPGEnc)? Does it simply set a bit in the MPEG2 file which caused MPEG decoders to do something based on that setting? -
I had the same problem with CCE 2.50 encoding an interlaced NTSC 29.97 fps video source into MPEG2. Changing the field order doesn't change the reported field order in the bitrate viewer. However, the order does change (it's just not reported right). I suggest you to encode a very small portion of your video, burn it ot a CD-RW and to test it on your standalone player. If it's jumpy on your TV, just change the field order in CCE. Don't rely on the bitrate viewer, trust your own eyes.
-
I encode PAL DV streams with CCE. I have been told that PAL DV is always lower fields first and that it should be encoded with that setting. I'm still not satisfied with my CCE encodes and it might be that some of my problems is due to a "low performing" system (I'll get a new "high end" machine delivered Tuesday) and not field order.
However, in my experience interlaced streams encoded with CCE is always reported to be Top Field first regardsless of whether the Upper Field check box is checked or not. I get the best result if I leave the box unchecked and then have the encoded stream run thru "EasyChanger" (a small program that can change certain settings without re-encoding). Hope this helps. -
CCE always encodes with the TOP FIELD FIRST flag in the Mpeg stream so:
- if the source is Top Field First (like VHS in most of the case), then do not check the upper field first box in CCE
- if the source is Bottom Field First (like DV in most case), then since CCE sets the Top Field Flag you have to check the Upper Field First box in CCE, this will invert the field order.
To check the field order, you do not need to burn a small portion on a CD.
Take the original AVI, open in TMPGEnc, Select Top Field First in the advance settings, open the deinterlace filter, select the Even-Odd option, play the movie by holding the mouse down on the slider, in you selected the wrong field order, you will see it is quite obvious (make sure you check the Enable Filter box). -
Frank, I tried that, and I still got the flutter in high motion video when played back on a set top dvd player. However the same video that was rendered in slow motion at 50% did not flutter. What am I doing wrong?
-
I wish I knew !
How about the bitrate, when encoding in CCE (VBR 3 passes), I use:
Avg: 2000, Min: 300, Max 2498
Sound set at 224 kb/s Stereo.
Because 2498 + 224 = 2722 total and SVCD requires 2723 max.
You can check the nominal bitrate and the max, min, avg using bitrate viewer (available in the tools section of this site.
Some DVD player require lower bitrate that standard for SVCD.
So first, let's check the bitrate settings you are using. -
I am encoding for dvd and my bitrates are high. 9000 max 8000 ave. and 4000 min. My video's are usually high motion (athletic events). My guess is that with 50% speed, the fields are identical, so it doesn't matter what field is first. I am frustrated because I think I am very close to understanding the whole encoding concept, but I am obviously missing something.
Similar Threads
-
Field Order
By Tafflad in forum Authoring (DVD)Replies: 9Last Post: 30th Jan 2010, 00:38 -
How do I change the field order on Moviefactory 5? Please!
By jayndani in forum Newbie / General discussionsReplies: 1Last Post: 12th Jan 2009, 06:42 -
How do I change the field order in Moviefactory 5?
By jayndani in forum Newbie / General discussionsReplies: 1Last Post: 12th Jan 2009, 04:42 -
field order and cce
By cd090580 in forum Newbie / General discussionsReplies: 3Last Post: 17th May 2008, 16:11 -
Need to change field order
By Loko in forum Newbie / General discussionsReplies: 6Last Post: 20th May 2007, 20:32