PDA

View Full Version : field order


cornolio
9th October 2006, 23:05
Hi, I wasn't sure, where I should ask this question, so sorry if I'm wrong. I have a mpeg2 clip with different values in hardware and software flags and this clip plays bad on hardware dvd player. How could I change one of those values?

Video Dude
10th October 2006, 00:58
1 - Demux the mpeg-2 file

2 - Open the .m2v file in ReStream and change the field order (top field box).
http://www.videohelp.com/tools?tool=Restream

3 - Remux the video and audio back into a mpeg-2 file.


The free version of TMPGEnc can Demux and Remux

cornolio
10th October 2006, 02:00
Ok, I did it. It helped. But what if I want to change tff clip to bff? (not flag) And how could I check what realy mpeg2 clip is, tff or bff? I know how to check avi clip with avisynth, but what about mpeg2?

Video Dude
10th October 2006, 06:02
DGIndex in the DGMPGDec package will display field order.

Open the mpeg-2 in DGIndex.
Then in menu select File --> Preview.
Look in the information box.

http://neuron2.net/dgmpgdec/dgmpgdec.html

cornolio
10th October 2006, 09:42
Thanks. One more question. DGIndex shows flag value or real field order?

Video Dude
10th October 2006, 20:21
I think the flag.


To determine the real:
Open mpeg-2 in DGIndex and save the project to create a .d2v file.

Create avisynth script:
(put dgdecode.dll in the avisynth plugin folder)


mpeg2source("c:\filename.d2v")
AssumeTFF().SeparateFields()


Play in media player or frame step in Virtual Dub.

If video is smooth it is TFF.
If video is jerky it is BFF.

cornolio
10th October 2006, 20:51
script error, there is no function named mpeg2source

cornolio
10th October 2006, 22:27
Sorry, I forgot copy dgdecode.dll. Ok, it works fine. And the last question. How to convert tff clip to bff clip (mpeg2) without re-encoding? Because I want to burn DVD-video and one of clip is tff. Thanks a lot.

Video Dude
11th October 2006, 03:33
You can only change the the flag without re-encoding (using a program like Restream.) To change the real field order you have to reverse the field dominance in AviSynth and re-encode.

DVD can be either TFF or BFF. (You can have both types on a single disc).

If you determine the real field order to be TFF, set the flag to TFF.
If you determine the real field order to be BFF, set the flag to BFF.