VideoHelp Forum




+ Reply to Thread
Results 1 to 10 of 10
  1. Rancid User ron spencer's Avatar
    Join Date
    May 2005
    Location
    Ish-ka-bibble
    Search Comp PM
    I have some TFF interlaced videos. I have used Adobe Media Encoder in the past to encode via MBAFF and was wondering if Handbrake can do the same. I tried entering MBAFF in the advanced options area on the video tab but it does not seem to work. Are there special commands to do this? I had also tried TFF:MBAFF but the resulting video is still progressive and not MBAFF, according to MediaInfo.

    Any thoughts?

    Cheers
    'Do I look absolutely divine and regal, and yet at the same time very pretty and rather accessible?' - Queenie
    Quote Quote  
  2. In the advanced options, type
    -interlace:tff
    Quote Quote  
  3. Rancid User ron spencer's Avatar
    Join Date
    May 2005
    Location
    Ish-ka-bibble
    Search Comp PM
    Originally Posted by Sharc View Post
    In the advanced options, type
    -interlace:tff
    Thanks. That caused Handbrake to stop in error. However, interlace=tff did not. No effect though. It still encoded interlaced as progressive. I also tried interlace=tff:MBAFF but that didn't do anything either.

    Maybe Handbrake does not permit this?
    'Do I look absolutely divine and regal, and yet at the same time very pretty and rather accessible?' - Queenie
    Quote Quote  
  4. Rancid User ron spencer's Avatar
    Join Date
    May 2005
    Location
    Ish-ka-bibble
    Search Comp PM
    Actually the option you need is just tff (or bff as the case may be) and it will do MBAFF.

    Of note is that you need to ensure the height of the video is divisible by 4 for this to work. If it isn't then Handbrake will error out with error:

    x264 [error]: height not divisible by 4 (720x478)
    In this case by removing adding back the automatic crop to 720x480 it runs fine. If the tff (or bff) option is not present then this error will not happen.

    Any idea why?
    'Do I look absolutely divine and regal, and yet at the same time very pretty and rather accessible?' - Queenie
    Quote Quote  
  5. for x264 use this:
    -flags +ilme+ildct -x264opts tff=1
    Quote Quote  
  6. Originally Posted by ron spencer View Post
    Of note is that you need to ensure the height of the video is divisible by 4 for this to work. If it isn't then Handbrake will error out with error:

    x264 [error]: height not divisible by 4 (720x478)
    In this case by removing adding back the automatic crop to 720x480 it runs fine. If the tff (or bff) option is not present then this error will not happen.

    Any idea why?
    Because the source is interlaced and the final format is interlaced 4:2:0 (assuming YV12, AVC/x264 encoding - you didn't tell us your final distribution format though).
    Cropping non-mod4 vertically would destroy the interlaced frame structure.
    Last edited by Sharc; 16th Sep 2022 at 10:09.
    Quote Quote  
  7. Rancid User ron spencer's Avatar
    Join Date
    May 2005
    Location
    Ish-ka-bibble
    Search Comp PM
    Originally Posted by Sharc View Post
    Originally Posted by ron spencer View Post
    Of note is that you need to ensure the height of the video is divisible by 4 for this to work. If it isn't then Handbrake will error out with error:

    x264 [error]: height not divisible by 4 (720x478)
    In this case by removing adding back the automatic crop to 720x480 it runs fine. If the tff (or bff) option is not present then this error will not happen.

    Any idea why?
    Because the source is interlaced and the final format is interlaced 4:2:0 (assuming YV12, AVC/x264 encoding - you didn't tell us your final distribution format though).
    Cropping non-mod4 vertically would destroy the interlaced frame structure.
    Thanks!
    'Do I look absolutely divine and regal, and yet at the same time very pretty and rather accessible?' - Queenie
    Quote Quote  
  8. Handbrake is very bad about messing up the chroma of interlaced sources. Watch out for chroma blending if you do any type of filtering.
    Quote Quote  
  9. Originally Posted by ProWo View Post
    for x264 use this:
    -flags +ilme+ildct -x264opts tff=1
    Good for ffmpeg, but doesn't work for Handbrake's library I think.
    Quote Quote  
  10. Rancid User ron spencer's Avatar
    Join Date
    May 2005
    Location
    Ish-ka-bibble
    Search Comp PM
    Originally Posted by jagabo View Post
    Handbrake is very bad about messing up the chroma of interlaced sources. Watch out for chroma blending if you do any type of filtering.
    There is a chroma smooth filter now which I use. Seems to work.
    'Do I look absolutely divine and regal, and yet at the same time very pretty and rather accessible?' - Queenie
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!