1080i to 1080p encode

HandBrake for Windows support
Forum rules
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
Post Reply
kachijs
Posts: 10
Joined: Thu Jul 06, 2017 1:42 pm

1080i to 1080p encode

Post by kachijs » Tue Aug 07, 2018 11:44 am

Description of problem or question:
Is it possible to encode 1080i/60 to 1080p (deinterlaced)? I have no problem doing this to 720p with yadif deinterlacer, but trying 1080p leaves video interlaced.

HandBrake version (e.g., 1.0.0):

1.1.1

Operating system and version (e.g., Ubuntu 16.04 LTS, macOS 10.13 High Sierra, Windows 10 Creators Update):

Windows 10

Code: Select all

HandBrake 1.1.1 (2018061800) - 64bit
OS: Microsoft Windows NT 10.0.17134.0 - 64bit
CPU: Intel(R) Core(TM) i5-8400 CPU @ 2.80GHz
Ram: 8140 MB, 
GPU Information:
  AMD Radeon (TM) Pro WX 7100 Graphics - 24.20.11001.15002
Screen: 3840x2160
Temp Dir: C:\Users\edgkac146\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake
Data Dir: C:\Users\edgkac146\AppData\Roaming\HandBrake Team\HandBrake\1.1.1.0

-------------------------------------------

[14:43:00] hb_init: starting libhb thread

 # Starting Scan ...

[14:43:00] CPU: Intel(R) Core(TM) i5-8400 CPU @ 2.80GHz
[14:43:00]  - Intel microarchitecture Kaby Lake
[14:43:00]  - logical processor count: 6
[14:43:00] Intel Quick Sync Video support: no
[14:43:00] hb_scan: path=C:\Users\edgkac146\Desktop\20120927_085716m2ts.mp4, title_index=0
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image C:\Users\edgkac146\Desktop\20120927_085716m2ts.mp4
src/libbluray/disc/disc.c:424: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:424: error opening file BDMV\BACKUP\index.bdmv
[14:43:00] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.3
libdvdread: Encrypted DVD support unavailable.
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[14:43:00] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\Users\edgkac146\Desktop\20120927_085716m2ts.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    creation_time   : 2009-04-04 13:00:00
    encoder         : Lavf52.47.0
  Duration: 00:00:35.41, start: 0.000000, bitrate: 14068 kb/s
    Stream #0:0(und): Video: h264 (High) [avc1 / 0x31637661]
      yuv420p, tv, bt709/bt709/bt709
      1920x1080 [PAR 1:1 DAR 16:9], 13941 kb/s
      59.94 fps, 60k tbn (default)
    Metadata:
      creation_time   : 2009-04-04 13:00:00
      handler_name    : VideoHandler
    Stream #0:1(und): Audio: aac (LC) [mp4a / 0x6134706D]
      48000 Hz, stereo, fltp, 125 kb/s (default)
    Metadata:
      creation_time   : 2009-04-04 13:00:00
      handler_name    : SoundHandler
[14:43:00] scan: decoding previews for title 1
[14:43:00] scan: audio 0x1: aac, rate=48000Hz, bitrate=125828 Unknown (AAC) (2.0 ch)
[14:43:03] scan: 10 previews, 1920x1080, 59.940 fps, autocrop = 0/0/0/2, aspect 16:9, PAR 1:1
[14:43:03] scan: supported video decoders: avcodec qsv
[14:43:03] libhb: scan thread found 1 valid title(s)

 # Processing Scan Information ...


 # Scan Finished ...

mduell
Veteran User
Posts: 6075
Joined: Sat Apr 21, 2007 8:54 pm

Re: 1080i to 1080p encode

Post by mduell » Tue Aug 07, 2018 2:09 pm

Post your encoding log from an attempt at 1080p that you claim left it interlaced.

User avatar
Rodeo
HandBrake Team
Posts: 11909
Joined: Tue Mar 03, 2009 8:55 pm

Re: 1080i to 1080p encode

Post by Rodeo » Tue Aug 07, 2018 4:40 pm

We have a scan log, but we need the encode log please.

kachijs
Posts: 10
Joined: Thu Jul 06, 2017 1:42 pm

Re: 1080i to 1080p encode

Post by kachijs » Tue Aug 07, 2018 7:12 pm

Here you go. I can upload source file and exit file if needed.

Code: Select all

HandBrake 1.1.1 (2018061800) - 64bit
OS: Microsoft Windows NT 10.0.17134.0 - 64bit
CPU: Intel(R) Core(TM) i5-8400 CPU @ 2.80GHz
Ram: 8140 MB, 
GPU Information:
  AMD Radeon (TM) Pro WX 7100 Graphics - 24.20.11001.15002
Screen: 1920x1080
Temp Dir: C:\Users\edgkac146\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake
Data Dir: C:\Users\edgkac146\AppData\Roaming\HandBrake Team\HandBrake\1.1.1.0

-------------------------------------------
# Starting Encode ...

[22:03:54] hb_init: starting libhb thread
[22:03:54] 1 job(s) to process
[22:03:54] json job:
{
  "Audio": {
    "AudioList": [
      {
        "Bitrate": 160,
        "DRC": 0.0,
        "Encoder": 65536,
        "Gain": 0.0,
        "Mixdown": 4,
        "NormalizeMixLevel": false,
        "Samplerate": 48000,
        "Track": 0,
        "DitherMethod": 0
      }
    ],
    "CopyMask": [
      1073807360,
      1073743872,
      1074003968,
      1073750016,
      1090519040,
      1074790400,
      1074266112,
      1107296256
    ],
    "FallbackEncoder": 2048
  },
  "Destination": {
    "ChapterList": [
      {
        "Name": "Chapter 1"
      }
    ],
    "ChapterMarkers": true,
    "AlignAVStart": true,
    "File": "C:\\Users\\edgkac146\\Desktop\\lalala.mp4",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": false
    },
    "Mux": 131072
  },
  "Filters": {
    "FilterList": [
      {
        "ID": 5,
        "Settings": {
          "mode": "3"
        }
      },
      {
        "ID": 3,
        "Settings": {
          "block-height": "16",
          "block-thresh": "40",
          "block-width": "16",
          "filter-mode": "2",
          "mode": "3",
          "motion-thresh": "1",
          "spatial-metric": "2",
          "spatial-thresh": "1"
        }
      },
      {
        "ID": 11,
        "Settings": {
          "crop-bottom": "0",
          "crop-left": "0",
          "crop-right": "2",
          "crop-top": "0",
          "height": "1080",
          "width": "1918"
        }
      },
      {
        "ID": 6,
        "Settings": {
          "mode": "1",
          "rate": "27000000/900900"
        }
      }
    ]
  },
  "PAR": {
    "Num": 1,
    "Den": 1
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 1
    },
    "Title": 1,
    "Path": "C:\\Users\\edgkac146\\Desktop\\20120927_085716m2ts.mp4"
  },
  "Subtitle": {
    "Search": {
      "Burn": true,
      "Default": false,
      "Enable": true,
      "Forced": true
    },
    "SubtitleList": []
  },
  "Video": {
    "Encoder": 65536,
    "Level": "4.2",
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "",
    "Preset": "fast",
    "Profile": "high",
    "Quality": 22.0,
    "HWDecode": false,
    "QSV": {
      "Decode": false,
      "AsyncDepth": 0
    }
  }
}
[22:03:54] CPU: Intel(R) Core(TM) i5-8400 CPU @ 2.80GHz
[22:03:54]  - Intel microarchitecture Kaby Lake
[22:03:54]  - logical processor count: 6
[22:03:54] Intel Quick Sync Video support: no
[22:03:54] hb_scan: path=C:\Users\edgkac146\Desktop\20120927_085716m2ts.mp4, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image C:\Users\edgkac146\Desktop\20120927_085716m2ts.mp4
src/libbluray/disc/disc.c:424: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:424: error opening file BDMV\BACKUP\index.bdmv
[22:03:54] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.3
libdvdread: Encrypted DVD support unavailable.
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[22:03:54] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\Users\edgkac146\Desktop\20120927_085716m2ts.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    creation_time   : 2009-04-04 13:00:00
    encoder         : Lavf52.47.0
  Duration: 00:00:35.41, start: 0.000000, bitrate: 14068 kb/s
    Stream #0:0(und): Video: h264 (High) [avc1 / 0x31637661]
      yuv420p, tv, bt709/bt709/bt709
      1920x1080 [PAR 1:1 DAR 16:9], 13941 kb/s
      59.94 fps, 60k tbn (default)
    Metadata:
      creation_time   : 2009-04-04 13:00:00
      handler_name    : VideoHandler
    Stream #0:1(und): Audio: aac (LC) [mp4a / 0x6134706D]
      48000 Hz, stereo, fltp, 125 kb/s (default)
    Metadata:
      creation_time   : 2009-04-04 13:00:00
      handler_name    : SoundHandler
[22:03:54] scan: decoding previews for title 1
[22:03:54] scan: audio 0x1: aac, rate=48000Hz, bitrate=125828 Unknown (AAC) (2.0 ch)
[22:03:56] scan: 10 previews, 1920x1080, 59.940 fps, autocrop = 0/0/0/2, aspect 16:9, PAR 1:1
[22:03:56] scan: supported video decoders: avcodec qsv
[22:03:56] libhb: scan thread found 1 valid title(s)
[22:03:56] Skipping subtitle scan.  No suitable subtitle tracks.
[22:03:56] starting job
[22:03:56] decomb filter thread started for segment 0
[22:03:56] decomb filter thread started for segment 1
[22:03:56] decomb filter thread started for segment 2
[22:03:56] decomb filter thread started for segment 3
[22:03:56] mask erode thread started for segment 2
[22:03:56] mask erode thread started for segment 3
[22:03:56] mask dilate thread started for segment 1
[22:03:56] mask dilate thread started for segment 4
[22:03:56] decomb check thread started for segment 2
[22:03:56] decomb check thread started for segment 3
[22:03:56] decomb check thread started for segment 4
[22:03:56] decomb check thread started for segment 5
[22:03:56] mask filter thread started for segment 0
[22:03:56] mask filter thread started for segment 1
[22:03:56] mask filter thread started for segment 2
[22:03:56] mask filter thread started for segment 3
[22:03:56] mask filter thread started for segment 5
[22:03:56] mask filter thread started for segment 4
[22:03:56] mask erode thread started for segment 0
[22:03:56] mask erode thread started for segment 1
[22:03:56] decomb filter thread started for segment 4
[22:03:56] mask erode thread started for segment 4
[22:03:56] decomb filter thread started for segment 5
[22:03:56] decomb check thread started for segment 0
[22:03:56] mask dilate thread started for segment 3
[22:03:56] mask dilate thread started for segment 2
[22:03:56] decomb check thread started for segment 1
[22:03:56] mask dilate thread started for segment 5
[22:03:56] mask erode thread started for segment 5
[22:03:56] mask dilate thread started for segment 0
[22:03:56] work: track 1, dithering not supported by codec
[22:03:56] work: only 1 chapter, disabling chapter markers
[22:03:56] job configuration:
[22:03:56]  * source
[22:03:56]    + C:\Users\edgkac146\Desktop\20120927_085716m2ts.mp4
[22:03:56]    + title 1, chapter(s) 1 to 1
[22:03:56]    + container: mov,mp4,m4a,3gp,3g2,mj2
[22:03:56]    + data rate: 14068 kbps
[22:03:56]  * destination
[22:03:56]    + C:\Users\edgkac146\Desktop\lalala.mp4
[22:03:56]    + container: MPEG-4 (libavformat)
[22:03:56]      + align initial A/V stream timestamps
[22:03:56]  * video track
[22:03:56]    + decoder: h264
[22:03:56]      + bitrate 13941 kbps
[22:03:56]    + filters
[22:03:56]      + Comb Detect (mode=3:spatial-metric=2:motion-thresh=1:spatial-thresh=1:filter-mode=2:block-thresh=40:block-width=16:block-height=16)
[22:03:56]      + avfilter (yadif='mode=0:auto=1')
[22:03:56]        + yadif: mode=0, auto=1
[22:03:56]      + Framerate Shaper (mode=1:rate=27000000/900900)
[22:03:56]        + frame rate: 59.940 fps -> constant 29.970 fps
[22:03:56]      + Crop and Scale (width=1918:height=1080:crop-top=0:crop-bottom=0:crop-left=0:crop-right=2)
[22:03:56]        + source: 1920 * 1080, crop (0/0/0/2): 1918 * 1080, scale: 1918 * 1080
[22:03:56]    + Output geometry
[22:03:56]      + storage dimensions: 1918 x 1080
[22:03:56]      + pixel aspect ratio: 1 : 1
[22:03:56]      + display dimensions: 1918 x 1080
[22:03:56]    + encoder: H.264 (libx264)
[22:03:56]      + preset:  fast
[22:03:56]      + profile: high
[22:03:56]      + level:   4.2
[22:03:56]      + quality: 22.00 (RF)
[22:03:56]  * audio track 1
[22:03:56]    + decoder: Unknown (AAC) (2.0 ch) (track 1, id 0x1)
[22:03:56]      + bitrate: 125 kbps, samplerate: 48000 Hz
[22:03:56]    + mixdown: Stereo
[22:03:56]    + encoder: AAC (libavcodec)
[22:03:56]      + bitrate: 160 kbps, samplerate: 48000 Hz
[22:03:57] sync: expecting 2122 video frames
[22:03:57] encx264: min-keyint: 30, keyint: 300
[22:03:57] encx264: encoding at constant RF 22.000000
[22:03:57] encx264: unparsed options: level=4.2:ref=2:weightp=1:subme=6:vbv-bufsize=78125:vbv-maxrate=62500:rc-lookahead=30
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x264 [info]: profile High, level 4.2
[22:03:57] sync: first pts video is 0
[22:03:57] sync: "Chapter 1" (1) at frame 1 time 0
[22:03:57] sync: first pts audio 0x1 is 0
[22:04:18] reader: done. 1 scr changes
[22:04:20] work: average encoding speed for job is 46.976418 fps
[22:04:20] comb detect: heavy 738 | light 55 | uncombed 268 | total 1061
[22:04:20] vfr: 1064 frames output, 0 dropped and 3 duped for CFR/PFR
[22:04:20] vfr: lost time: 0 (0 frames)
[22:04:20] vfr: gained time: 0 (0 frames) (0 not accounted for)
[22:04:20] aac-decoder done: 1572 frames, 0 decoder errors
[22:04:20] h264-decoder done: 1061 frames, 0 decoder errors
[22:04:20] sync: got 1061 frames, 2122 expected
[22:04:20] sync: framerate min 7.493 fps, max 59.960 fps, avg 29.900 fps
x264 [info]: frame I:11    Avg QP:16.10  size: 38860
x264 [info]: frame P:303   Avg QP:20.21  size: 23834
x264 [info]: frame B:750   Avg QP:22.22  size:  7597
x264 [info]: consecutive B-frames:  4.3%  4.1%  2.8% 88.7%
x264 [info]: mb I  I16..4: 40.0% 55.6%  4.4%
x264 [info]: mb P  I16..4:  7.5% 10.7%  0.7%  P16..4: 30.6%  5.7%  4.2%  0.0%  0.0%    skip:40.7%
x264 [info]: mb B  I16..4:  2.9%  7.9%  0.1%  B16..8:  9.7%  1.3%  0.0%  direct:11.6%  skip:66.5%  L0:47.4% L1:47.4% BI: 5.3%
x264 [info]: 8x8 transform intra:65.4% inter:82.2%
x264 [info]: coded y,uvDC,uvAC intra: 33.2% 51.0% 4.0% inter: 8.5% 20.0% 0.1%
x264 [info]: i16 v,h,dc,p: 45% 31% 11% 13%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 33% 20% 37%  1%  1%  2%  2%  2%  2%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 33% 26% 14%  3%  5%  5%  4%  4%  4%
x264 [info]: i8c dc,h,v,p: 53% 24% 21%  2%
x264 [info]: Weighted P-Frames: Y:15.5% UV:5.0%
x264 [info]: ref P L0: 62.9% 37.1%
x264 [info]: ref B L0: 76.8% 23.2%
x264 [info]: ref B L1: 93.1%  6.9%
x264 [info]: kb/s:3007.51
[22:04:20] mux: track 0, 1064 frames, 13346319 bytes, 3004.62 kbps, fifo 1024
[22:04:20] mux: track 1, 1573 frames, 504970 bytes, 113.68 kbps, fifo 2048
[22:04:20] libhb: work result = 0

# Encode Completed ...

Woodstock
Veteran User
Posts: 2660
Joined: Tue Aug 27, 2013 6:39 am

Re: 1080i to 1080p encode

Post by Woodstock » Tue Aug 07, 2018 7:20 pm

According to the log, the decomb and deinterlace filters were not turned on for this encode. The combing detection found interlaced video, but nothing was active to remove it.

kachijs
Posts: 10
Joined: Thu Jul 06, 2017 1:42 pm

Re: 1080i to 1080p encode

Post by kachijs » Tue Aug 07, 2018 7:35 pm

I have set Deinterlace filter - do i have to set something else besides filter? I do the same for 720p and it deinterlaces the video...

https://i.imgur.com/TKRcouD.png

kachijs
Posts: 10
Joined: Thu Jul 06, 2017 1:42 pm

Re: 1080i to 1080p encode

Post by kachijs » Tue Aug 14, 2018 6:48 am

anyone ?

Post Reply