DNxHD to H265

General questions or discussion about HandBrake, Video and/or audio transcoding, trends etc.
Post Reply
Vasco
Posts: 7
Joined: Sun Jul 01, 2018 2:53 pm

DNxHD to H265

Post by Vasco » Sun Jul 01, 2018 2:58 pm

I was left with the impression that Handbrake does a good job transcoding DNxHD to H265 but when I installed Handbrake it doesn't accept DNx footage. Where did I go wrong?

Thank you.
Vasco

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

Re: DNxHD to H265

Post by mduell » Sun Jul 01, 2018 5:40 pm

Vasco wrote:
Sun Jul 01, 2018 2:58 pm
Where did I go wrong?
Here, not providing an activity log.

viewtopic.php?f=6&t=31236

Vasco
Posts: 7
Joined: Sun Jul 01, 2018 2:53 pm

Re: DNxHD to H265

Post by Vasco » Mon Jul 02, 2018 3:10 pm

I sent the activity log via GitHub. Here's the link:
https://github.com/HandBrake/HandBrake/issues/1452

Thank you.

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

Re: DNxHD to H265

Post by mduell » Mon Jul 02, 2018 3:27 pm

Try the nightly.

Vasco
Posts: 7
Joined: Sun Jul 01, 2018 2:53 pm

Re: DNxHD to H265

Post by Vasco » Mon Jul 02, 2018 3:37 pm

Sorry, try what?

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

Re: DNxHD to H265

Post by mduell » Mon Jul 02, 2018 3:44 pm

First hit on google for handbrake nightly

Vasco
Posts: 7
Joined: Sun Jul 01, 2018 2:53 pm

Re: DNxHD to H265

Post by Vasco » Sat Jul 28, 2018 8:28 am

The nightly works. I think. It's been converting a DNx to MKV for 20 hours now, 8 hrs to go. BUT it didn't recognize the chapters. How do I get the chapters in? I made them in Premiere Pro (chapter markers) and Encore sees them but Handbrake doesn't.
Thank you.

rollin_eng
Veteran User
Posts: 2908
Joined: Wed May 04, 2011 11:06 pm

Re: DNxHD to H265

Post by rollin_eng » Sat Jul 28, 2018 9:15 am

Could you please post your HB logs, instructions can be found here:

https://handbrake.fr/docs/en/latest/hel ... y-log.html

Vasco
Posts: 7
Joined: Sun Jul 01, 2018 2:53 pm

Re: DNxHD to H265

Post by Vasco » Sat Jul 28, 2018 10:44 am

I will, as soon as it's done converting. 3 hours left. Or can I do it while it's still working?

Vasco
Posts: 7
Joined: Sun Jul 01, 2018 2:53 pm

Re: DNxHD to H265

Post by Vasco » Sat Jul 28, 2018 2:33 pm

Here's the Activity log:

Code: Select all

HandBrake Nightly 20180726192556-1cab4cf-master (2018072701)
OS: Microsoft Windows NT 10.0.17134.0
Ram: 32647 MB, 
GPU Information:
  NVIDIA Quadro M2200 - 22.21.13.8573
  Intel(R) HD Graphics 630 - 21.20.16.4627
Screen: 1920x1080
Temp Dir: C:\Users\vasco\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake Nightly
Data Dir: C:\Users\vasco\AppData\Roaming\HandBrake\Nightly

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


# Starting Encode ...

[18:35:06] hb_init: starting libhb thread
[18:35:06] 1 job(s) to process
[18:35:06] json job:
{
  "Audio": {
    "AudioList": [
      {
        "Bitrate": 320,
        "DRC": 0.0,
        "Encoder": "av_aac",
        "Gain": 0.0,
        "Mixdown": 6,
        "NormalizeMixLevel": false,
        "Samplerate": 48000,
        "Track": 0,
        "DitherMethod": 0
      }
    ],
    "CopyMask": [
      "copy:aac",
      "copy:ac3",
      "copy:dtshd",
      "copy:dts",
      "copy:eac3",
      "copy:flac",
      "copy:mp3",
      "copy:truehd"
    ],
    "FallbackEncoder": "ac3"
  },
  "Destination": {
    "ChapterList": [
      {
        "Name": "Chapter 1"
      }
    ],
    "ChapterMarkers": true,
    "AlignAVStart": false,
    "File": "G:\\Thailand\\MKV\\Thailand.mkv",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": false
    },
    "Mux": "mkv"
  },
  "Filters": {
    "FilterList": [
      {
        "ID": 11,
        "Settings": {
          "crop-bottom": "0",
          "crop-left": "0",
          "crop-right": "0",
          "crop-top": "0",
          "height": "2160",
          "width": "3840"
        }
      },
      {
        "ID": 6,
        "Settings": {
          "mode": "1"
        }
      }
    ]
  },
  "PAR": {
    "Num": 1,
    "Den": 1
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 1
    },
    "Title": 1,
    "Path": "G:\\Thailand\\DNx\\Thailand Lowest VoiceOver.mxf"
  },
  "Subtitle": {
    "Search": {
      "Burn": false,
      "Default": false,
      "Enable": false,
      "Forced": false
    },
    "SubtitleList": []
  },
  "Video": {
    "Encoder": "x265",
    "Level": "auto",
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "",
    "Preset": "fast",
    "Profile": "auto",
    "Quality": 2.0,
    "QSV": {
      "Decode": false,
      "AsyncDepth": 0
    }
  }
}
[18:35:06] CPU: Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
[18:35:06]  - Intel microarchitecture Kaby Lake
[18:35:06]  - logical processor count: 8
[18:35:06] Intel Quick Sync Video support: yes
[18:35:06]  - Intel Media SDK hardware: API 1.21 (minimum: 1.3)
[18:35:06]  - H.264 encoder: yes
[18:35:06]     - preferred implementation: hardware (any) via D3D11
[18:35:06]     - capabilities (hardware):  breftype icq+la+i+downs vsinfo opt1 opt2+mbbrc+extbrc+trellis+ib_adapt+nmpslice
[18:35:06]  - H.265 encoder: yes (8bit: yes, 10bit: yes)
[18:35:06]     - preferred implementation: hardware (any) via D3D11
[18:35:06]     - capabilities (hardware):  bpyramid icq vsinfo opt1
[18:35:06] hb_scan: path=G:\Thailand\DNx\Thailand Lowest VoiceOver.mxf, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image G:\Thailand\DNx\Thailand Lowest VoiceOver.mxf
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
[18:35:06] 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
[18:35:06] dvd: not a dvd - trying as a stream/file instead
Input #0, mxf, from 'G:\Thailand\DNx\Thailand Lowest VoiceOver.mxf':
  Metadata:
    uid             : 8efc5fc1-9039-11e8-8641-ace2d3e92084
    generation_uid  : 8efc5fc2-9039-11e8-b101-ace2d3e92084
    company_name    : Adobe Systems Incorporated
    product_name    : Adobe Media Encoder
    product_version : 12.0.0
    application_platform: win32
    product_uid     : 0c3919fe-46e8-11e5-a151-feff819cdc9f
    modification_date: 2018-07-25T18:35:52.000000Z
    material_package_umid: 0x060A2B340101010501010D1113000000689DFD03248305A4836CACE2D3E92084
    timecode        : 00:06:01:06
  Duration: 01:58:11.72, start: 0.000000, bitrate: 732364 kb/s
    Stream #0:0: Video: dnxhd (DNXHR HQ), yuv422p(bt709/unknown/unknown, progressive), 3840x2160, SAR 1:1 DAR 16:9, 25 fps, 25 tbr, 25 tbn, 25 tbc
    Metadata:
      file_package_umid: 0x060A2B340101010501010D121357CFC7679DFD03248305A4F994ACE2D3E92084
      file_package_name: Source Package
      track_name      : Track 1
    Stream #0:1: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s
    Metadata:
      file_package_umid: 0x060A2B340101010501010D121357CFC7679DFD03248305A4F994ACE2D3E92084
      file_package_name: Source Package
      track_name      : Track 2
[18:35:06] scan: decoding previews for title 1
[18:35:06] scan: audio 0x1: pcm_s16le, rate=48000Hz, bitrate=1536000 Unknown (pcm_s16le) (2.0 ch)
[18:35:08] scan: 10 previews, 3840x2160, 25.000 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[18:35:08] libhb: scan thread found 1 valid title(s)
[18:35:08] starting job
[18:35:08] work: sanitizing track 1 mixdown Dolby Pro Logic II to Stereo
[18:35:08] work: only 1 chapter, disabling chapter markers
[18:35:08] job configuration:
[18:35:08]  * source
[18:35:08]    + G:\Thailand\DNx\Thailand Lowest VoiceOver.mxf
[18:35:08]    + title 1, chapter(s) 1 to 1
[18:35:08]    + container: mxf
[18:35:08]    + data rate: 732364 kbps
[18:35:08]  * destination
[18:35:08]    + G:\Thailand\MKV\Thailand.mkv
[18:35:08]    + container: Matroska (libavformat)
[18:35:08]  * video track
[18:35:08]    + decoder: dnxhd
[18:35:08]    + filters
[18:35:08]      + Framerate Shaper (mode=1)
[18:35:08]        + frame rate: 25.000 fps -> constant 25.000 fps
[18:35:08]      + Crop and Scale (width=3840:height=2160:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[18:35:08]        + source: 3840 * 2160, crop (0/0/0/0): 3840 * 2160, scale: 3840 * 2160
[18:35:08]    + Output geometry
[18:35:08]      + storage dimensions: 3840 x 2160
[18:35:08]      + pixel aspect ratio: 1 : 1
[18:35:08]      + display dimensions: 3840 x 2160
[18:35:08]    + encoder: H.265 (libx265)
[18:35:08]      + preset:  fast
[18:35:08]      + profile: auto
[18:35:08]      + quality: 2.00 (RF)
[18:35:08]  * audio track 1
[18:35:08]    + decoder: Unknown (pcm_s16le) (2.0 ch) (track 1, id 0x1)
[18:35:08]      + bitrate: 1536 kbps, samplerate: 48000 Hz
[18:35:08]    + mixdown: Stereo
[18:35:08]    + dither: none
[18:35:08]    + encoder: AAC (libavcodec)
[18:35:08]      + bitrate: 320 kbps, samplerate: 48000 Hz
[18:35:08] sync: expecting 177293 video frames
[18:35:08] encavcodecaInit: Unknown avcodec option stereo_mode
x265 [info]: HEVC encoder version 2.8
x265 [info]: build info [Windows][GCC 7.1.0][64 bit] 8bit+10bit+12bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x265 [info]: Main profile, Level-5 (Main tier)
x265 [info]: Thread pool created using 8 threads
x265 [info]: Slices                              : 1
x265 [info]: frame threads / pool features       : 3 / wpp(34 rows)
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge         : hex / 57 / 2 / 2
x265 [info]: Keyframe min / max / scenecut / bias: 25 / 250 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt        : 15 / 4 / 0
x265 [info]: b-pyramid / weightp / weightb       : 1 / 1 / 0
x265 [info]: References / ref-limit  cu / depth  : 3 / on / on
x265 [info]: AQ: mode / str / qg-size / cu-tree  : 1 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress            : CRF-2.0 / 0.60
x265 [info]: tools: rd=2 psy-rd=2.00 rskip signhide tmvp fast-intra
x265 [info]: tools: strong-intra-smoothing lslices=8 deblock sao
[18:35:08] sync: first pts video is 0
[18:35:08] sync: "Chapter 1" (1) at frame 1 time 0
[18:35:08] sync: first pts audio 0x1 is 0
avformatMux: track 0, av_interleaved_write_frame failed with error 'No space left on device'
[16:49:47] work: average encoding speed for job is 2.163942 fps
[16:49:47] vfr: 173267 frames output, 0 dropped and 0 duped for CFR/PFR
[16:49:47] vfr: lost time: 0 (0 frames)
[16:49:47] vfr: gained time: 0 (0 frames) (0 not accounted for)
[16:49:50] pcm_s16le-decoder done: 173298 frames, 0 decoder errors
[16:49:50] dnxhd-decoder done: 173327 frames, 0 decoder errors
[16:49:50] sync: got 173287 frames, 177293 expected
[16:49:50] sync: framerate min 25.000 fps, max 25.000 fps, avg 25.000 fps
x265 [info]: frame I:    789, Avg QP:4.21  kb/s: 611007.69
x265 [info]: frame P:  34130, Avg QP:4.11  kb/s: 632304.92
x265 [info]: frame B: 138314, Avg QP:7.94  kb/s: 410401.70
x265 [info]: Weighted P-Frames: Y:15.2% UV:12.8%
x265 [info]: consecutive B-frames: 0.8% 0.2% 0.1% 0.2% 98.8%
encoded 173233 frames in 80081.91s (2.16 fps), 455034.26 kb/s, Avg QP:7.17
avformatMux: track 0, av_interleaved_write_frame failed with error 'No space left on device'
Last error repeated 2 times
avformatMux: track 1, av_interleaved_write_frame failed with error 'No space left on device'
[16:49:50] mux: track 0, 173214 frames, 394086842683 bytes, 454989.46 kbps, fifo 256
[16:49:50] mux: track 1, 324803 frames, 276645419 bytes, 319.40 kbps, fifo 512
[16:49:50] libhb: work result = 4

# Encode Completed ...
Last edited by Rodeo on Sat Jul 28, 2018 8:42 pm, edited 1 time in total.
Reason: Logs in [code][/code] blocks please

User avatar
s55
HandBrake Team
Posts: 9268
Joined: Sun Dec 24, 2006 1:05 pm

Re: DNxHD to H265

Post by s55 » Sat Jul 28, 2018 2:35 pm

Couple points:
1, chapter markers don't appear to be in a format HandBrake supports.
2, that encode failed due to being out of disk space or exceeding a quota.

Vasco
Posts: 7
Joined: Sun Jul 01, 2018 2:53 pm

Re: DNxHD to H265

Post by Vasco » Sat Jul 28, 2018 3:27 pm

Thank you. I know why it failed but that was a test so no problem. Can you advise what to do about the chapters?

Post Reply