Log in

View Full Version : 1080i MBAFF encoding?


nekrosoft13
30th June 2009, 00:06
here is the media info

General
ID : 0
Complete name : \\NEKROSERV\Share\L Drive\Need_Convertion\D1\00003.m2ts
Format : BDAV
Format/Info : BluRay Video
File size : 6.57 GiB
Duration : 44mn 59s
Overall bit rate : 20.9 Mbps
Maximum Overall bit rate : 48.0 Mbps

Video
ID : 4113 (0x1011)
Menu ID : 1 (0x1)
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Duration : 44mn 59s
Bit rate : 19.2 Mbps
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16/9
Frame rate : 29.970 fps
Standard : NTSC
Resolution : 24 bits
Colorimetry : 4:2:0
Scan type : MBAFF
Bits/(Pixel*Frame) : 0.309
Stream size : 6.03 GiB (92%)

Audio #1
ID : 4352 (0x1100)
Menu ID : 1 (0x1)
Format : AC-3
Format/Info : Audio Coding 3
Duration : 44mn 59s
Bit rate mode : Constant
Bit rate : 224 Kbps
Channel(s) : 2 channels
Channel positions : L R
Sampling rate : 48.0 KHz
Stream size : 72.1 MiB (1%)

Audio #2
ID : 4353 (0x1101)
Menu ID : 1 (0x1)
Format : AC-3
Format/Info : Audio Coding 3
Duration : 44mn 59s
Bit rate mode : Constant
Bit rate : 640 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Surround: L R, LFE
Sampling rate : 48.0 KHz
Stream size : 206 MiB (3%)

Text
ID : 4608 (0x1200)
Menu ID : 1 (0x1)
Format : PGS

What would be a good way to re-encode this file, to shrink it a bit.

Would deinterlacing be possible? what type of scan type is MBAFF? Bottom Field? Top Field?

Would it be possible to decimate this file? restore 23.9fps?

deank
30th June 2009, 00:19
Useful information about your third question can be found here (http://forum.doom9.org/showthread.php?t=120317).


PAFF means "Picture Adaptive Field Frame", MBAFF means "MacroBlock Adaptive Field Frame".

* PAFF allows to decide, on a frame basis, whether to encode each frame as a frame or as two fields. When encoded as two fields, it's as if you would have done a separatefields() on the frame.
* MBAFF allows to decide, on a macroblock basis, whether to encode as field or frame. Actually, it works on vertical pairs of macroblocks, so on 16x32 areas. You can easily put two frame macroblocks ( on under the other ), or two field ones ( one with the top lines, the other with the bottom lines ).

MBAFF is the most efficient method in almost every cases ( if not all ), as soon as the encoder does a proper job, of course.

Finally, MBAFF and PAFF may be used together. In that case, you can code a frame either as MBAFF ( thus having the choice field/frame per macroblock ) or as field.

De-interlacing + pulldown removal (if required) + reencoding will reduce its size (depending on your x264 settings), as progressive video compresses better than interlaced. But a better way is to aim for DVD5 size with deinterlacing and keep the original framerate.

nekrosoft13
30th June 2009, 02:07
thanks for the post, but that doesn't really answer the question. How would I deinterlace those files?

Top Field, Bottom Field?

Guest
30th June 2009, 02:10
thanks for the post, but that doesn't really answer the question. How would I deinterlace those files? Use a deinterlacer.

Top Field, Bottom Field? Inspect the video to determine the correct field order.

Ghitulescu
30th June 2009, 06:32
thanks for the post, but that doesn't really answer the question. How would I deinterlace those files?

Top Field, Bottom Field?

What gain do you expect by deinterlacing? DVDs you know "allow" interlaced video ;)

45 minutes in good h.264 quality fits perfectly a DVD5. I know, quality cannot be defined, it entirely depends on you.

I think nobody told you yet that DVDRs have a transfer limit that should be considered when setting the maximum bitrate (audio+video+subtitles) for a HD material on DVD. There is a thread here concerning this issue. :search:

It looks like being a documentary - thus it may contain native interlaced sequences (camera) + film sequences. I think you should leave it, like deank said, to its original fps, some BD players are really good in deinterlacing it for HDTV screens, sometimes better than many software solutions.

Atak_Snajpera
30th June 2009, 06:59
Top Field, Bottom Field?
Top field for 100%. Only old DV cams used bottom field.