Log in

View Full Version : 25p > 25i softcoded ord hardcoded?


Jan Marijniszoon
13th August 2009, 09:48
I analyzed the stream of a broadcasted HD movie (1080i50).
The movie is first speed up to 25p. Then I think they use duplicate fields and weave them together, creating a 1080i stream, but for the eye it remains progressive.
When I run the stream through DGAVCIndex it says: Frame Struct - Fields (TFF)

I tried to reproduce this myself. I wanted to make a 1080p23.976 as 1080i50
I used the following AviSynth script:

LoadPlugin("DGDecode.dll")
Mpeg2Source("movie.d2v")
AssumeFPS(25)
ChangeFPS(50)
AssumeFrameBased()
AssumeTFF()
SeparateFields()
SelectEvery(4, 0, 3)
Weave()

Then I encode the movie with x264 and marked the option "encode interlaced".
When I run the stream through DGAVCIndex it says: Frame Struct - MBAFF
So I guess I created a 'hardcoded' interlaced stream which seems inefficient.

So here is my question:
is there a way to just encode as 25p and then afterwards make the h.264 stream 50i using some kind of flag aka the 'softcoded' method?

Guest
13th August 2009, 14:52
There is a pulldown patch for x264 floating around. I also have a GUI utility that does it on an already encoded ES but I haven't released it yet.

Jan Marijniszoon
13th August 2009, 17:34
hi neuron2, thanks for replying.

I'll be waiting for that fine utility then!