NVENC on Windows nightly media info missing

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
schinivision
Posts: 6
Joined: Thu Nov 01, 2018 7:34 am

NVENC on Windows nightly media info missing

Post by schinivision » Thu Nov 01, 2018 7:55 am

Description of problem or question:
Missing media information in video file when encoding with nvenc.

I've been trying to encode files to watch on my Samsung TV. I tried to speed things up with NVENC but the files are not playable on my TV, stating format not supported. I used MediaInfo to dig into the problem and I found out that if the CPU encoder is used more media information is written to the file. If using NVENC a lot of information is missing. The question is. Is it an configuration error or "intentional" by nvenc to omitt those information

MediaInfo Comparison (left CPU / right Nvenc)
Link to the Image:
https://www.dropbox.com/s/vr699pl6gj63d ... n.PNG?dl=0


Steps to reproduce the problem (If Applicable):
Choose any profile to encode via cpu and then use the same settings and choose nvenc encoding



HandBrake version:
nightly



Operating system and version (e.g., Ubuntu 16.04 LTS, macOS 10.13 High Sierra, Windows 10 Creators Update):
Windows 10 Pro latest update + GTX1070Ti
Nvidia Driver Version 398.36


HandBrake Activity Log ***required***

h264 CPU Encoding

Code: Select all

HandBrake Nightly 20181020140611-dd2de7f-master (2018102101)
OS: Microsoft Windows NT 10.0.17134.0
Ram: 16335 MB, 
GPU Information:
  NVIDIA GeForce GTX 1070 Ti - 24.21.13.9836
Screen: 2560x1440
Temp Dir: C:\Users\-----\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake Nightly
Data Dir: C:\Users\-----\AppData\Roaming\HandBrake\Nightly

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


# Starting Encode ...

[20:11:39] hb_init: starting libhb thread
[20:11:39] 1 job(s) to process
[20:11:39] json job:
{
  "Audio": {
    "AudioList": [
      {
        "Bitrate": 160,
        "DRC": 0.0,
        "Encoder": "av_aac",
        "Gain": 0.0,
        "Mixdown": 4,
        "NormalizeMixLevel": false,
        "Samplerate": 48000,
        "Track": 0,
        "DitherMethod": 0
      },
      {
        "Bitrate": 640,
        "DRC": 0.0,
        "Encoder": "ac3",
        "Gain": 0.0,
        "Mixdown": 4,
        "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": "D:\\Video\\BigBuckBunny\\BigBuckBunny_h264_y_4_2_0.mkv",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": false
    },
    "Mux": "mkv"
  },
  "Filters": {
    "FilterList": [
      {
        "ID": 4,
        "Settings": {
          "mode": "7"
        }
      },
      {
        "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": "0",
          "crop-top": "0",
          "height": "1080",
          "width": "1920"
        }
      },
      {
        "ID": 6,
        "Settings": {
          "mode": "1",
          "rate": "27000000/900000"
        }
      }
    ]
  },
  "PAR": {
    "Num": 1,
    "Den": 1
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 1
    },
    "Title": 1,
    "Path": "D:\\Video\\BigBuckBunny\\bbb_sunflower_1080p_60fps_normal.mp4"
  },
  "Subtitle": {
    "Search": {
      "Burn": false,
      "Default": false,
      "Enable": true,
      "Forced": true
    },
    "SubtitleList": []
  },
  "Video": {
    "Encoder": "x264",
    "Level": "auto",
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "",
    "Preset": "fast",
    "Profile": "auto",
    "Quality": 33.0,
    "QSV": {
      "Decode": false,
      "AsyncDepth": 0
    }
  }
}
[20:11:39] CPU:
[20:11:39]  - logical processor count: 16
[20:11:39] Intel Quick Sync Video support: no
[20:11:39] hb_scan: path=D:\Video\BigBuckBunny\bbb_sunflower_1080p_60fps_normal.mp4, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image D:\Video\BigBuckBunny\bbb_sunflower_1080p_60fps_normal.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
[20:11:39] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.0
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
[20:11:39] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'D:\Video\BigBuckBunny\bbb_sunflower_1080p_60fps_normal.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 1
    compatible_brands: isomavc1
    creation_time   : 2013-12-16T17:59:32.000000Z
    title           : Big Buck Bunny, Sunflower version
    artist          : Blender Foundation 2008, Janus Bager Kristensen 2013
    comment         : Creative Commons Attribution 3.0 - http://bbb3d.renderfarming.net
    genre           : Animation
    composer        : Sacha Goedegebure
  Duration: 00:10:34.53, start: 0.000000, bitrate: 4486 kb/s
    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 4001 kb/s, 60 fps, 60 tbr, 60k tbn, 120 tbc (default)
    Metadata:
      creation_time   : 2013-12-16T17:59:32.000000Z
      handler_name    : GPAC ISO Video Handler
    Stream #0:1(und): Audio: mp3 (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 160 kb/s (default)
    Metadata:
      creation_time   : 2013-12-16T17:59:37.000000Z
      handler_name    : GPAC ISO Audio Handler
    Stream #0:2(und): Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz, 5.1(side), fltp, 320 kb/s (default)
    Metadata:
      creation_time   : 2013-12-16T17:59:37.000000Z
      handler_name    : GPAC ISO Audio Handler
    Side data:
      audio service type: main
[20:11:39] scan: decoding previews for title 1
[20:11:39] scan: audio 0x1: mp3float, rate=48000Hz, bitrate=160000 Unknown (MP3) (2.0 ch)
[20:11:39] scan: audio 0x2: ac3, rate=48000Hz, bitrate=320000 Unknown (AC3) (5.1 ch)
[20:11:39] scan: 10 previews, 1920x1080, 60.000 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[20:11:39] scan: supported video decoders: avcodec qsv
[20:11:39] libhb: scan thread found 1 valid title(s)
[20:11:39] Skipping subtitle scan.  No suitable subtitle tracks.
[20:11:39] starting job
[20:11:39] decomb filter thread started for segment 0
[20:11:39] decomb filter thread started for segment 1
[20:11:39] decomb filter thread started for segment 2
[20:11:39] decomb filter thread started for segment 3
[20:11:39] decomb filter thread started for segment 5
[20:11:39] decomb filter thread started for segment 4
[20:11:39] decomb filter thread started for segment 6
[20:11:39] decomb check thread started for segment 13
[20:11:39] decomb filter thread started for segment 8
[20:11:39] decomb filter thread started for segment 9
[20:11:39] decomb filter thread started for segment 10
[20:11:39] decomb filter thread started for segment 11
[20:11:39] decomb filter thread started for segment 12
[20:11:39] decomb filter thread started for segment 13
[20:11:39] mask erode thread started for segment 0
[20:11:39] decomb filter thread started for segment 15
[20:11:39] decomb check thread started for segment 0
[20:11:39] decomb check thread started for segment 1
[20:11:39] decomb check thread started for segment 2
[20:11:39] decomb check thread started for segment 3
[20:11:39] decomb check thread started for segment 4
[20:11:39] decomb check thread started for segment 5
[20:11:39] mask dilate thread started for segment 4
[20:11:39] mask dilate thread started for segment 7
[20:11:39] decomb check thread started for segment 8
[20:11:39] decomb check thread started for segment 9
[20:11:39] decomb check thread started for segment 10
[20:11:39] decomb check thread started for segment 11
[20:11:39] decomb check thread started for segment 12
[20:11:39] decomb filter thread started for segment 7
[20:11:39] decomb check thread started for segment 14
[20:11:39] decomb check thread started for segment 15
[20:11:39] mask filter thread started for segment 0
[20:11:39] mask filter thread started for segment 1
[20:11:39] work: only 1 chapter, disabling chapter markers
[20:11:39] job configuration:
[20:11:39]  * source
[20:11:39]    + D:\Video\BigBuckBunny\bbb_sunflower_1080p_60fps_normal.mp4
[20:11:39]    + title 1, chapter(s) 1 to 1
[20:11:39]    + container: mov,mp4,m4a,3gp,3g2,mj2
[20:11:39]    + data rate: 4486 kbps
[20:11:39]  * destination
[20:11:39]    + D:\Video\BigBuckBunny\BigBuckBunny_h264_y_4_2_0.mkv
[20:11:39]    + container: Matroska (libavformat)
[20:11:39]  * video track
[20:11:39] mask filter thread started for segment 2
[20:11:39]    + decoder: h264
[20:11:39]      + bitrate 4001 kbps
[20:11:39]    + filters
[20:11:39]      + 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)
[20:11:39]      + Decomb (mode=39)
[20:11:39]      + Framerate Shaper (mode=1:rate=27000000/900000)
[20:11:39] mask filter thread started for segment 3
[20:11:39]        + frame rate: 60.000 fps -> constant 30.000 fps
[20:11:39]      + Crop and Scale (width=1920:height=1080:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[20:11:39]        + source: 1920 * 1080, crop (0/0/0/0): 1920 * 1080, scale: 1920 * 1080
[20:11:39]    + Output geometry
[20:11:39]      + storage dimensions: 1920 x 1080
[20:11:39]      + pixel aspect ratio: 1 : 1
[20:11:39]      + display dimensions: 1920 x 1080
[20:11:39]    + encoder: H.264 (libx264)
[20:11:39]      + preset:  fast
[20:11:39]      + profile: auto
[20:11:39]      + level:   auto
[20:11:39] mask filter thread started for segment 4
[20:11:39]      + quality: 33.00 (RF)
[20:11:39]      + color profile: 1-1-1
[20:11:39]  * audio track 1
[20:11:39]    + decoder: Unknown (MP3) (2.0 ch) (track 1, id 0x1)
[20:11:39]      + bitrate: 160 kbps, samplerate: 48000 Hz
[20:11:39]    + mixdown: Stereo
[20:11:39]    + dither: none
[20:11:39]    + encoder: AAC (libavcodec)
[20:11:39]      + bitrate: 160 kbps, samplerate: 48000 Hz
[20:11:39]  * audio track 2
[20:11:39]    + decoder: Unknown (MP3) (2.0 ch) (track 1, id 0x1)
[20:11:39]      + bitrate: 160 kbps, samplerate: 48000 Hz
[20:11:39] mask filter thread started for segment 5
[20:11:39]    + mixdown: Stereo
[20:11:39]    + dither: none
[20:11:39]    + encoder: AC3 (libavcodec)
[20:11:39]      + bitrate: 640 kbps, samplerate: 48000 Hz
[20:11:39] mask filter thread started for segment 6
[20:11:39] mask filter thread started for segment 7
[20:11:39] mask filter thread started for segment 8
[20:11:39] mask filter thread started for segment 9
[20:11:39] mask filter thread started for segment 10
[20:11:39] mask filter thread started for segment 11
[20:11:39] mask filter thread started for segment 12
[20:11:39] mask filter thread started for segment 13
[20:11:39] mask filter thread started for segment 14
[20:11:39] mask filter thread started for segment 15
[20:11:39] decomb filter thread started for segment 14
[20:11:39] mask erode thread started for segment 1
[20:11:39] mask erode thread started for segment 2
[20:11:39] mask erode thread started for segment 3
[20:11:39] mask erode thread started for segment 4
[20:11:39] mask erode thread started for segment 5
[20:11:39] mask erode thread started for segment 6
[20:11:39] mask erode thread started for segment 7
[20:11:39] mask erode thread started for segment 8
[20:11:39] mask erode thread started for segment 9
[20:11:39] mask erode thread started for segment 10
[20:11:39] mask erode thread started for segment 11
[20:11:39] mask erode thread started for segment 12
[20:11:39] mask erode thread started for segment 13
[20:11:39] mask erode thread started for segment 14
[20:11:39] mask erode thread started for segment 15
[20:11:39] mask dilate thread started for segment 0
[20:11:39] mask dilate thread started for segment 1
[20:11:39] mask dilate thread started for segment 2
[20:11:39] mask dilate thread started for segment 3
[20:11:39] decomb check thread started for segment 6
[20:11:39] mask dilate thread started for segment 5
[20:11:39] mask dilate thread started for segment 6
[20:11:39] decomb check thread started for segment 7
[20:11:39] mask dilate thread started for segment 8
[20:11:39] mask dilate thread started for segment 9
[20:11:39] mask dilate thread started for segment 10
[20:11:39] mask dilate thread started for segment 11
[20:11:39] mask dilate thread started for segment 12
[20:11:39] mask dilate thread started for segment 13
[20:11:39] mask dilate thread started for segment 14
[20:11:39] mask dilate thread started for segment 15
[20:11:39] yadif thread started for segment 0
[20:11:39] yadif thread started for segment 1
[20:11:39] yadif thread started for segment 2
[20:11:39] yadif thread started for segment 3
[20:11:39] yadif thread started for segment 4
[20:11:39] yadif thread started for segment 5
[20:11:39] yadif thread started for segment 6
[20:11:39] yadif thread started for segment 7
[20:11:39] yadif thread started for segment 9
[20:11:39] yadif thread started for segment 8
[20:11:39] yadif thread started for segment 10
[20:11:39] yadif thread started for segment 11
[20:11:39] yadif thread started for segment 12
[20:11:39] yadif thread started for segment 13
[20:11:39] yadif thread started for segment 14
[20:11:39] yadif thread started for segment 15
[20:11:39] sync: expecting 38071 video frames
[20:11:39] encx264: min-keyint: 30, keyint: 300
[20:11:39] encx264: encoding at constant RF 33.000000
[20:11:39] encx264: unparsed options: ref=2:weightp=1:subme=6: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.0
[20:11:39] sync: first pts audio 0x1 is 0
[20:11:39] sync: first pts audio 0x1 is 0
[20:11:39] sync: first pts video is 3000
[20:11:39] sync: "Chapter 1" (1) at frame 1 time 3000

# Encode Stopped

[20:12:01] work: average encoding speed for job is 155.822876 fps
[20:12:01] comb detect: heavy 2 | light 68 | uncombed 3319 | total 3389
[20:12:01] decomb: deinterlaced 2 | blended 68 | unfiltered 3310 | total 3380
[20:12:01] vfr: 1685 frames output, 1686 dropped and 0 duped for CFR/PFR
[20:12:01] vfr: lost time: 0 (0 frames)
[20:12:01] vfr: gained time: 0 (0 frames) (0 not accounted for)
[20:12:01] mp3float-decoder done: 2401 frames, 0 decoder errors
[20:12:01] mp3float-decoder done: 2401 frames, 0 decoder errors
[20:12:01] h264-decoder done: 3451 frames, 0 decoder errors
[20:12:01] sync: got 3403 frames, 38071 expected
[20:12:01] sync: framerate min 60.000 fps, max 60.000 fps, avg 60.000 fps
x264 [info]: frame I:11    Avg QP:26.92  size:105428
x264 [info]: frame P:439   Avg QP:31.23  size:  7794
x264 [info]: frame B:1171  Avg QP:35.09  size:  1188
x264 [info]: consecutive B-frames:  1.8%  4.3%  3.7% 90.2%
x264 [info]: mb I  I16..4: 28.8% 57.2% 14.0%
x264 [info]: mb P  I16..4:  1.6%  3.3%  0.1%  P16..4: 21.3%  3.1%  2.0%  0.0%  0.0%    skip:68.6%
x264 [info]: mb B  I16..4:  0.7%  0.3%  0.0%  B16..8:  7.6%  0.3%  0.0%  direct: 1.1%  skip:90.1%  L0:37.5% L1:61.5% BI: 0.9%
x264 [info]: 8x8 transform intra:54.8% inter:83.7%
x264 [info]: coded y,uvDC,uvAC intra: 23.2% 32.6% 11.7% inter: 1.8% 2.4% 0.1%
x264 [info]: i16 v,h,dc,p: 62% 20%  7% 11%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 21% 11% 44%  3%  4%  4%  4%  5%  4%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 22% 12% 13%  8% 10% 11%  8%  9%  6%
x264 [info]: i8c dc,h,v,p: 70% 15% 12%  3%
x264 [info]: Weighted P-Frames: Y:3.6% UV:3.6%
x264 [info]: ref P L0: 75.9% 24.1%
x264 [info]: ref B L0: 87.5% 12.5%
x264 [info]: ref B L1: 96.6%  3.4%
x264 [info]: kb/s:884.26
[20:12:01] mux: track 0, 1620 frames, 5968551 bytes, 841.63 kbps, fifo 2048
[20:12:01] mux: track 1, 2659 frames, 1141235 bytes, 160.93 kbps, fifo 4096
[20:12:01] mux: track 2, 1773 frames, 4538880 bytes, 640.03 kbps, fifo 2048
[20:12:01] libhb: work result = 1

# Encode Completed ...
h264 nvenv

Code: Select all

HandBrake Nightly 20181020140611-dd2de7f-master (2018102101)
OS: Microsoft Windows NT 10.0.17134.0
Ram: 16335 MB, 
GPU Information:
  NVIDIA GeForce GTX 1070 Ti - 24.21.13.9836
Screen: 2560x1440
Temp Dir: C:\Users\-----\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake Nightly
Data Dir: C:\Users\-----\AppData\Roaming\HandBrake\Nightly

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


# Starting Encode ...

[19:59:02] hb_init: starting libhb thread
[19:59:02] 1 job(s) to process
[19:59:02] json job:
{
  "Audio": {
    "AudioList": [
      {
        "Bitrate": 160,
        "DRC": 0.0,
        "Encoder": "av_aac",
        "Gain": 0.0,
        "Mixdown": 4,
        "NormalizeMixLevel": false,
        "Samplerate": 48000,
        "Track": 0,
        "DitherMethod": 0
      },
      {
        "Bitrate": 640,
        "DRC": 0.0,
        "Encoder": "ac3",
        "Gain": 0.0,
        "Mixdown": 4,
        "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": "D:\\Video\\BigBuckBunny\\BigBuckBunny_h264_nvenc_y_4_2_0.mkv",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": false
    },
    "Mux": "mkv"
  },
  "Filters": {
    "FilterList": [
      {
        "ID": 4,
        "Settings": {
          "mode": "7"
        }
      },
      {
        "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": "0",
          "crop-top": "0",
          "height": "1080",
          "width": "1920"
        }
      },
      {
        "ID": 6,
        "Settings": {
          "mode": "1",
          "rate": "27000000/900000"
        }
      }
    ]
  },
  "PAR": {
    "Num": 1,
    "Den": 1
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 1
    },
    "Title": 1,
    "Path": "D:\\Video\\BigBuckBunny\\bbb_sunflower_1080p_60fps_normal.mp4"
  },
  "Subtitle": {
    "Search": {
      "Burn": false,
      "Default": false,
      "Enable": true,
      "Forced": true
    },
    "SubtitleList": []
  },
  "Video": {
    "Encoder": "nvenc_h264",
    "Level": "4.0",
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "-pix_fmt yuv420p",
    "Preset": "hq",
    "Profile": "auto",
    "Quality": 33.0,
    "QSV": {
      "Decode": false,
      "AsyncDepth": 0
    }
  }
}
[19:59:02] CPU:
[19:59:02]  - logical processor count: 16
[19:59:02] Intel Quick Sync Video support: no
[19:59:02] hb_scan: path=D:\Video\BigBuckBunny\bbb_sunflower_1080p_60fps_normal.mp4, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image D:\Video\BigBuckBunny\bbb_sunflower_1080p_60fps_normal.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
[19:59:02] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.0
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
[19:59:02] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'D:\Video\BigBuckBunny\bbb_sunflower_1080p_60fps_normal.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 1
    compatible_brands: isomavc1
    creation_time   : 2013-12-16T17:59:32.000000Z
    title           : Big Buck Bunny, Sunflower version
    artist          : Blender Foundation 2008, Janus Bager Kristensen 2013
    comment         : Creative Commons Attribution 3.0 - http://bbb3d.renderfarming.net
    genre           : Animation
    composer        : Sacha Goedegebure
  Duration: 00:10:34.53, start: 0.000000, bitrate: 4486 kb/s
    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 4001 kb/s, 60 fps, 60 tbr, 60k tbn, 120 tbc (default)
    Metadata:
      creation_time   : 2013-12-16T17:59:32.000000Z
      handler_name    : GPAC ISO Video Handler
    Stream #0:1(und): Audio: mp3 (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 160 kb/s (default)
    Metadata:
      creation_time   : 2013-12-16T17:59:37.000000Z
      handler_name    : GPAC ISO Audio Handler
    Stream #0:2(und): Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz, 5.1(side), fltp, 320 kb/s (default)
    Metadata:
      creation_time   : 2013-12-16T17:59:37.000000Z
      handler_name    : GPAC ISO Audio Handler
    Side data:
      audio service type: main
[19:59:03] scan: decoding previews for title 1
[19:59:03] scan: audio 0x1: mp3float, rate=48000Hz, bitrate=160000 Unknown (MP3) (2.0 ch)
[19:59:03] scan: audio 0x2: ac3, rate=48000Hz, bitrate=320000 Unknown (AC3) (5.1 ch)
[19:59:03] scan: 10 previews, 1920x1080, 60.000 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[19:59:03] scan: supported video decoders: avcodec qsv
[19:59:03] libhb: scan thread found 1 valid title(s)
[19:59:03] Skipping subtitle scan.  No suitable subtitle tracks.
[19:59:03] starting job
[19:59:03] decomb filter thread started for segment 0
[19:59:03] decomb filter thread started for segment 1
[19:59:03] decomb filter thread started for segment 9
[19:59:03] decomb filter thread started for segment 3
[19:59:03] decomb filter thread started for segment 15
[19:59:03] decomb filter thread started for segment 5
[19:59:03] decomb filter thread started for segment 6
[19:59:03] decomb filter thread started for segment 7
[19:59:03] decomb filter thread started for segment 8
[19:59:03] decomb filter thread started for segment 2
[19:59:03] mask filter thread started for segment 0
[19:59:03] decomb filter thread started for segment 11
[19:59:03] decomb filter thread started for segment 12
[19:59:03] decomb filter thread started for segment 13
[19:59:03] decomb filter thread started for segment 14
[19:59:03] decomb filter thread started for segment 4
[19:59:03] decomb check thread started for segment 0
[19:59:03] mask filter thread started for segment 14
[19:59:03] decomb check thread started for segment 2
[19:59:03] decomb check thread started for segment 3
[19:59:03] decomb check thread started for segment 4
[19:59:03] decomb check thread started for segment 5
[19:59:03] decomb check thread started for segment 6
[19:59:03] decomb check thread started for segment 7
[19:59:03] decomb check thread started for segment 8
[19:59:03] decomb check thread started for segment 9
[19:59:03] decomb check thread started for segment 10
[19:59:03] mask dilate thread started for segment 7
[19:59:03] decomb check thread started for segment 12
[19:59:03] decomb check thread started for segment 13
[19:59:03] decomb check thread started for segment 14
[19:59:03] decomb check thread started for segment 15
[19:59:03] decomb filter thread started for segment 10
[19:59:03] yadif thread started for segment 2
[19:59:03] mask filter thread started for segment 2
[19:59:03] mask filter thread started for segment 3
[19:59:03] mask filter thread started for segment 4
[19:59:03] mask filter thread started for segment 5
[19:59:03] yadif thread started for segment 15
[19:59:03] mask filter thread started for segment 7
[19:59:03] mask filter thread started for segment 8
[19:59:03] work: only 1 chapter, disabling chapter markers
[19:59:03] job configuration:
[19:59:03]  * source
[19:59:03]    + D:\Video\BigBuckBunny\bbb_sunflower_1080p_60fps_normal.mp4
[19:59:03]    + title 1, chapter(s) 1 to 1
[19:59:03]    + container: mov,mp4,m4a,3gp,3g2,mj2
[19:59:03]    + data rate: 4486 kbps
[19:59:03]  * destination
[19:59:03]    + D:\Video\BigBuckBunny\BigBuckBunny_h264_nvenc_y_4_2_0.mkv
[19:59:03] mask filter thread started for segment 9
[19:59:03]    + container: Matroska (libavformat)
[19:59:03]  * video track
[19:59:03]    + decoder: h264
[19:59:03]      + bitrate 4001 kbps
[19:59:03]    + filters
[19:59:03] mask filter thread started for segment 10
[19:59:03]      + 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)
[19:59:03]      + Decomb (mode=39)
[19:59:03]      + Framerate Shaper (mode=1:rate=27000000/900000)
[19:59:03] mask filter thread started for segment 11
[19:59:03]        + frame rate: 60.000 fps -> constant 30.000 fps
[19:59:03]      + Crop and Scale (width=1920:height=1080:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[19:59:03]        + source: 1920 * 1080, crop (0/0/0/0): 1920 * 1080, scale: 1920 * 1080
[19:59:03]    + Output geometry
[19:59:03]      + storage dimensions: 1920 x 1080
[19:59:03] mask filter thread started for segment 12
[19:59:03]      + pixel aspect ratio: 1 : 1
[19:59:03]      + display dimensions: 1920 x 1080
[19:59:03]    + encoder: (null)
[19:59:03]      + preset:  hq
[19:59:03]      + options: -pix_fmt yuv420p
[19:59:03]      + profile: auto
[19:59:03] mask filter thread started for segment 13
[19:59:03]      + level:   4.0
[19:59:03]      + quality: 33.00 (CQ)
[19:59:03]      + color profile: 1-1-1
[19:59:03]  * audio track 1
[19:59:03]    + decoder: Unknown (MP3) (2.0 ch) (track 1, id 0x1)
[19:59:03]      + bitrate: 160 kbps, samplerate: 48000 Hz
[19:59:03]    + mixdown: Stereo
[19:59:03] decomb check thread started for segment 1
[19:59:03]    + dither: none
[19:59:03]    + encoder: AAC (libavcodec)
[19:59:03]      + bitrate: 160 kbps, samplerate: 48000 Hz
[19:59:03]  * audio track 2
[19:59:03]    + decoder: Unknown (MP3) (2.0 ch) (track 1, id 0x1)
[19:59:03]      + bitrate: 160 kbps, samplerate: 48000 Hz
[19:59:03]    + mixdown: Stereo
[19:59:03]    + dither: none
[19:59:03] mask filter thread started for segment 15
[19:59:03]    + encoder: AC3 (libavcodec)
[19:59:03]      + bitrate: 640 kbps, samplerate: 48000 Hz
[19:59:03] mask erode thread started for segment 0
[19:59:03] mask erode thread started for segment 1
[19:59:03] mask erode thread started for segment 2
[19:59:03] mask erode thread started for segment 3
[19:59:03] mask erode thread started for segment 4
[19:59:03] mask erode thread started for segment 5
[19:59:03] mask erode thread started for segment 6
[19:59:03] mask erode thread started for segment 7
[19:59:03] mask erode thread started for segment 8
[19:59:03] mask erode thread started for segment 9
[19:59:03] mask erode thread started for segment 10
[19:59:03] mask erode thread started for segment 11
[19:59:03] mask erode thread started for segment 12
[19:59:03] mask erode thread started for segment 13
[19:59:03] mask erode thread started for segment 14
[19:59:03] mask erode thread started for segment 15
[19:59:03] mask dilate thread started for segment 0
[19:59:03] mask dilate thread started for segment 1
[19:59:03] mask dilate thread started for segment 2
[19:59:03] mask dilate thread started for segment 3
[19:59:03] mask dilate thread started for segment 4
[19:59:03] mask dilate thread started for segment 5
[19:59:03] mask dilate thread started for segment 6
[19:59:03] decomb check thread started for segment 11
[19:59:03] mask dilate thread started for segment 8
[19:59:03] mask dilate thread started for segment 9
[19:59:03] mask dilate thread started for segment 10
[19:59:03] mask dilate thread started for segment 11
[19:59:03] mask dilate thread started for segment 12
[19:59:03] mask dilate thread started for segment 13
[19:59:03] mask dilate thread started for segment 14
[19:59:03] mask dilate thread started for segment 15
[19:59:03] yadif thread started for segment 0
[19:59:03] yadif thread started for segment 1
[19:59:03] mask filter thread started for segment 1
[19:59:03] yadif thread started for segment 3
[19:59:03] yadif thread started for segment 4
[19:59:03] yadif thread started for segment 5
[19:59:03] yadif thread started for segment 6
[19:59:03] yadif thread started for segment 7
[19:59:03] yadif thread started for segment 8
[19:59:03] yadif thread started for segment 9
[19:59:03] yadif thread started for segment 10
[19:59:03] yadif thread started for segment 11
[19:59:03] yadif thread started for segment 12
[19:59:03] yadif thread started for segment 13
[19:59:03] yadif thread started for segment 14
[19:59:03] mask filter thread started for segment 6
[19:59:03] sync: expecting 38071 video frames
[19:59:03] encavcodecInit: H.264 (Nvidia NVENC)
[19:59:03] encavcodec: encoding at rc=vbr CQ 33.00, init_qp 1, rc-lookahead 16, spatial_aq 1, aq-strength default
[19:59:03] encavcodec: bit_rate.4 62208000
[19:59:03] encavcodec: encoding with stored aspect 1/1
[19:59:04] sync: first pts audio 0x1 is 0
[19:59:04] sync: first pts audio 0x1 is 0
[19:59:04] sync: first pts video is 3000
[19:59:04] sync: "Chapter 1" (1) at frame 1 time 3000
[20:01:47] reader: done. 1 scr changes
[20:01:47] work: average encoding speed for job is 232.525803 fps
[20:01:48] comb detect: heavy 396 | light 2363 | uncombed 35313 | total 38072
[20:01:48] decomb: deinterlaced 396 | blended 2363 | unfiltered 35313 | total 38072
[20:01:48] vfr: 19037 frames output, 19035 dropped and 0 duped for CFR/PFR
[20:01:48] vfr: lost time: 0 (0 frames)
[20:01:48] vfr: gained time: 0 (0 frames) (0 not accounted for)
[20:01:48] mp3float-decoder done: 26425 frames, 0 decoder errors
[20:01:48] mp3float-decoder done: 26425 frames, 0 decoder errors
[20:01:48] h264-decoder done: 38072 frames, 0 decoder errors
[20:01:48] sync: got 38072 frames, 38071 expected
[20:01:48] sync: framerate min 60.000 fps, max 60.000 fps, avg 60.000 fps
[20:01:48] mux: track 0, 19037 frames, 195666660 bytes, 2466.52 kbps, fifo 2048
[20:01:48] mux: track 1, 29729 frames, 12746498 bytes, 160.68 kbps, fifo 2048
[20:01:48] mux: track 2, 19818 frames, 50734080 bytes, 639.54 kbps, fifo 2048
[20:01:48] libhb: work result = 0

# Encode Completed ...

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

Re: NVENC on Windows nightly media info missing

Post by s55 » Thu Nov 01, 2018 7:41 pm

The lack of metadata should be irrelevant. You could try the different nvenc presets to see if any of those work. It's more than likely a specific h.264 feature your TV doesn't support, or simply has broken support for. Personally, I gave up on my Samsung TV playing video. It's massively fussy.

Setting Level 4.0, Main profile may also help restrict things.

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

Re: NVENC on Windows nightly media info missing

Post by Rodeo » Thu Nov 01, 2018 7:44 pm

That's not metadata though, the profile and level are essential data that should be present and parseable in all H.264 bitstreams. It looks like possibly malformed or missing extradata (avcC).

schinivision
Posts: 6
Joined: Thu Nov 01, 2018 7:34 am

Re: NVENC on Windows nightly media info missing

Post by schinivision » Sat Nov 03, 2018 6:59 pm

Thanks for your replies.
@S55 I tried all the presets and none of them do contain information about codec or color space etc. (see attached media info)

@Rodeo @S55 I am aware that a lot of media player (based on a x64 or ARM) will understand that file anyway by "magic" (vlc etc.) But my gut feeling is that this missing information is what my Samsung TV or other TV's might stop them from playing the file. If I decode it via CPU in H264 with the same settings codec and quality, frame rate etc. the TV plays the files without a problem. The question is just how to "force" nvenc to write this information into the file? I will try to update the nvidia driver but I don't think that this will solve the problem. Are there any "options" that can be added to handbrake?

Code: Select all

General
Unique ID                                : 192393380032246176389918377310095054609 (0x90BD9DFEE46CD5E5FFC1FC5958F29711)
Complete name                            : D:\Video\BigBuckBunny\profileTest\BlueRayProfile_h264.mkv
Format                                   : Matroska
Format version                           : Version 4
File size                                : 248 MiB
Duration                                 : 10 min 34 s
Overall bit rate                         : 3 273 kb/s
Movie name                               : Big Buck Bunny, Sunflower version
Encoded date                             : UTC 2018-11-03 17:26:09
Writing application                      : HandBrake 20181020140611-dd2de7f-master 2018102101
Writing library                          : Lavf58.12.100
ErrorDetectionType                       : Per level 1
ARTIST                                   : Blender Foundation 2008, Janus Bager Kristensen 2013
COMPOSER                                 : Sacha Goedegebure
GENRE                                    : Animation
SUMMARY                                  : Creative Commons Attribution 3.0 - http://bbb3d.renderfarming.net

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Codec ID                                 : V_MPEG4/ISO/AVC
Duration                                 : 10 min 34 s
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 30.000 FPS
Default                                  : Yes
Forced                                   : No

General
Unique ID                                : 99837320458964084060713416858948501972 (0x4B1BF7EFDFA2D5488B16135E125681D4)
Complete name                            : D:\Video\BigBuckBunny\profileTest\DefaultProfile_h264.mkv
Format                                   : Matroska
Format version                           : Version 4
File size                                : 248 MiB
Duration                                 : 10 min 34 s
Overall bit rate                         : 3 276 kb/s
Movie name                               : Big Buck Bunny, Sunflower version
Encoded date                             : UTC 2018-11-03 17:09:24
Writing application                      : HandBrake 20181020140611-dd2de7f-master 2018102101
Writing library                          : Lavf58.12.100
ErrorDetectionType                       : Per level 1
ARTIST                                   : Blender Foundation 2008, Janus Bager Kristensen 2013
COMPOSER                                 : Sacha Goedegebure
GENRE                                    : Animation
SUMMARY                                  : Creative Commons Attribution 3.0 - http://bbb3d.renderfarming.net

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Codec ID                                 : V_MPEG4/ISO/AVC
Duration                                 : 10 min 34 s
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 30.000 FPS
Default                                  : Yes
Forced                                   : No

General
Unique ID                                : 83477102223861496645344715405554847676 (0x3ECD1AE6CF057627E43E9E45EAA78FBC)
Complete name                            : D:\Video\BigBuckBunny\profileTest\FastProfile_h264.mkv
Format                                   : Matroska
Format version                           : Version 4
File size                                : 269 MiB
Duration                                 : 10 min 34 s
Overall bit rate                         : 3 553 kb/s
Movie name                               : Big Buck Bunny, Sunflower version
Encoded date                             : UTC 2018-11-03 17:17:48
Writing application                      : HandBrake 20181020140611-dd2de7f-master 2018102101
Writing library                          : Lavf58.12.100
ErrorDetectionType                       : Per level 1
ARTIST                                   : Blender Foundation 2008, Janus Bager Kristensen 2013
COMPOSER                                 : Sacha Goedegebure
GENRE                                    : Animation
SUMMARY                                  : Creative Commons Attribution 3.0 - http://bbb3d.renderfarming.net

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Codec ID                                 : V_MPEG4/ISO/AVC
Duration                                 : 10 min 34 s
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 30.000 FPS
Default                                  : Yes
Forced                                   : No

General
Unique ID                                : 137402044056250788353886362192613195500 (0x675EABCDA7A79F5B0CB5F76BE06FBEEC)
Complete name                            : D:\Video\BigBuckBunny\profileTest\HighPerformanceLowLatencyProfile_h264.mkv
Format                                   : Matroska
Format version                           : Version 4
File size                                : 250 MiB
Duration                                 : 10 min 34 s
Overall bit rate                         : 3 303 kb/s
Movie name                               : Big Buck Bunny, Sunflower version
Encoded date                             : UTC 2018-11-03 17:34:30
Writing application                      : HandBrake 20181020140611-dd2de7f-master 2018102101
Writing library                          : Lavf58.12.100
ErrorDetectionType                       : Per level 1
ARTIST                                   : Blender Foundation 2008, Janus Bager Kristensen 2013
COMPOSER                                 : Sacha Goedegebure
GENRE                                    : Animation
SUMMARY                                  : Creative Commons Attribution 3.0 - http://bbb3d.renderfarming.net

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Codec ID                                 : V_MPEG4/ISO/AVC
Duration                                 : 10 min 34 s
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 30.000 FPS
Default                                  : Yes
Forced                                   : No

General
Unique ID                                : 275323426436083218344248972509290624222 (0xCF215CF682BDC5111F147F78ECBAF4DE)
Complete name                            : D:\Video\BigBuckBunny\profileTest\HighPerformanceProfile_h264.mkv
Format                                   : Matroska
Format version                           : Version 4
File size                                : 269 MiB
Duration                                 : 10 min 34 s
Overall bit rate                         : 3 553 kb/s
Movie name                               : Big Buck Bunny, Sunflower version
Encoded date                             : UTC 2018-11-03 17:20:35
Writing application                      : HandBrake 20181020140611-dd2de7f-master 2018102101
Writing library                          : Lavf58.12.100
ErrorDetectionType                       : Per level 1
ARTIST                                   : Blender Foundation 2008, Janus Bager Kristensen 2013
COMPOSER                                 : Sacha Goedegebure
GENRE                                    : Animation
SUMMARY                                  : Creative Commons Attribution 3.0 - http://bbb3d.renderfarming.net

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Codec ID                                 : V_MPEG4/ISO/AVC
Duration                                 : 10 min 34 s
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 30.000 FPS
Default                                  : Yes
Forced                                   : No

General
Unique ID                                : 112316519802234384269333440995794526956 (0x547F5FF7B82C8030B54E9FAA39F6A2EC)
Complete name                            : D:\Video\BigBuckBunny\profileTest\HighQualityLowLatencyProfile_h264.mkv
Format                                   : Matroska
Format version                           : Version 4
File size                                : 248 MiB
Duration                                 : 10 min 34 s
Overall bit rate                         : 3 275 kb/s
Movie name                               : Big Buck Bunny, Sunflower version
Encoded date                             : UTC 2018-11-03 17:31:43
Writing application                      : HandBrake 20181020140611-dd2de7f-master 2018102101
Writing library                          : Lavf58.12.100
ErrorDetectionType                       : Per level 1
ARTIST                                   : Blender Foundation 2008, Janus Bager Kristensen 2013
COMPOSER                                 : Sacha Goedegebure
GENRE                                    : Animation
SUMMARY                                  : Creative Commons Attribution 3.0 - http://bbb3d.renderfarming.net

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Codec ID                                 : V_MPEG4/ISO/AVC
Duration                                 : 10 min 34 s
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 30.000 FPS
Default                                  : Yes
Forced                                   : No

General
Unique ID                                : 35066536964328775766932149017862296362 (0x1A6191C17B7ADD4380FB38358B01532A)
Complete name                            : D:\Video\BigBuckBunny\profileTest\HighQualityProfile_h264.mkv
Format                                   : Matroska
Format version                           : Version 4
File size                                : 248 MiB
Duration                                 : 10 min 34 s
Overall bit rate                         : 3 273 kb/s
Movie name                               : Big Buck Bunny, Sunflower version
Encoded date                             : UTC 2018-11-03 17:23:22
Writing application                      : HandBrake 20181020140611-dd2de7f-master 2018102101
Writing library                          : Lavf58.12.100
ErrorDetectionType                       : Per level 1
ARTIST                                   : Blender Foundation 2008, Janus Bager Kristensen 2013
COMPOSER                                 : Sacha Goedegebure
GENRE                                    : Animation
SUMMARY                                  : Creative Commons Attribution 3.0 - http://bbb3d.renderfarming.net

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Codec ID                                 : V_MPEG4/ISO/AVC
Duration                                 : 10 min 34 s
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 30.000 FPS
Default                                  : Yes
Forced                                   : No

General
Unique ID                                : 114402643643008080850552814822787168596 (0x561125D061E5296F20F8CB18DED4B954)
Complete name                            : D:\Video\BigBuckBunny\profileTest\LowLatencyProfile_h264.mkv
Format                                   : Matroska
Format version                           : Version 4
File size                                : 248 MiB
Duration                                 : 10 min 34 s
Overall bit rate                         : 3 276 kb/s
Movie name                               : Big Buck Bunny, Sunflower version
Encoded date                             : UTC 2018-11-03 17:28:56
Writing application                      : HandBrake 20181020140611-dd2de7f-master 2018102101
Writing library                          : Lavf58.12.100
ErrorDetectionType                       : Per level 1
ARTIST                                   : Blender Foundation 2008, Janus Bager Kristensen 2013
COMPOSER                                 : Sacha Goedegebure
GENRE                                    : Animation
SUMMARY                                  : Creative Commons Attribution 3.0 - http://bbb3d.renderfarming.net

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Codec ID                                 : V_MPEG4/ISO/AVC
Duration                                 : 10 min 34 s
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 30.000 FPS
Default                                  : Yes
Forced                                   : No

General
Unique ID                                : 32458774585205299345298370871141528401 (0x186B5524D38EC42BFB7F6E8B295AF351)
Complete name                            : D:\Video\BigBuckBunny\profileTest\MediumProfile_h264.mkv
Format                                   : Matroska
Format version                           : Version 4
File size                                : 248 MiB
Duration                                 : 10 min 34 s
Overall bit rate                         : 3 273 kb/s
Movie name                               : Big Buck Bunny, Sunflower version
Encoded date                             : UTC 2018-11-03 17:15:00
Writing application                      : HandBrake 20181020140611-dd2de7f-master 2018102101
Writing library                          : Lavf58.12.100
ErrorDetectionType                       : Per level 1
ARTIST                                   : Blender Foundation 2008, Janus Bager Kristensen 2013
COMPOSER                                 : Sacha Goedegebure
GENRE                                    : Animation
SUMMARY                                  : Creative Commons Attribution 3.0 - http://bbb3d.renderfarming.net

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Codec ID                                 : V_MPEG4/ISO/AVC
Duration                                 : 10 min 34 s
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 30.000 FPS
Default                                  : Yes
Forced                                   : No

General
Unique ID                                : 281500972815630630077450526966736863710 (0xD3C71D83C6628945F47C8112AAE9C1DE)
Complete name                            : D:\Video\BigBuckBunny\profileTest\SlowProfile_h264.mkv
Format                                   : Matroska
Format version                           : Version 4
File size                                : 248 MiB
Duration                                 : 10 min 34 s
Overall bit rate                         : 3 273 kb/s
Movie name                               : Big Buck Bunny, Sunflower version
Encoded date                             : UTC 2018-11-03 17:12:11
Writing application                      : HandBrake 20181020140611-dd2de7f-master 2018102101
Writing library                          : Lavf58.12.100
ErrorDetectionType                       : Per level 1
ARTIST                                   : Blender Foundation 2008, Janus Bager Kristensen 2013
COMPOSER                                 : Sacha Goedegebure
GENRE                                    : Animation
SUMMARY                                  : Creative Commons Attribution 3.0 - http://bbb3d.renderfarming.net

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Codec ID                                 : V_MPEG4/ISO/AVC
Duration                                 : 10 min 34 s
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 30.000 FPS
Default                                  : Yes
Forced                                   : No

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

Re: NVENC on Windows nightly media info missing

Post by s55 » Sat Nov 03, 2018 7:22 pm

@schinivision -> There is nothing you can do to force this. It requires a code change in HandBrake. It's being worked but if it fixes it, then the TV firmware is also buggy.

And sadly, no firmware updates for my slightly older Samsung TV. Unfortunately, it's h.264 playback is completely broken and won't play anything so I can't test to confirm if this works.

schinivision
Posts: 6
Joined: Thu Nov 01, 2018 7:34 am

Re: NVENC on Windows nightly media info missing

Post by schinivision » Sat Nov 03, 2018 7:34 pm

Update:

Updating the Nvidia driver to 416.34 produces the same result (information still missing)
Either the "bug" still exists in the new version of the driver or it is something regarding how to use it.

Any ideas?

Code: Select all

General
Unique ID                                : 77220718445566305271932106318083487057 (0x3A182B5DAD346B616B9D4D572BBF7551)
Complete name                            : D:\Video\BigBuckBunny\profileTest2\HighQualityProfile_h264.mkv
Format                                   : Matroska
Format version                           : Version 4
File size                                : 248 MiB
Duration                                 : 10 min 34 s
Overall bit rate                         : 3 273 kb/s
Movie name                               : Big Buck Bunny, Sunflower version
Encoded date                             : UTC 2018-11-03 19:16:37
Writing application                      : HandBrake 20181020140611-dd2de7f-master 2018102101
Writing library                          : Lavf58.12.100
ErrorDetectionType                       : Per level 1
ARTIST                                   : Blender Foundation 2008, Janus Bager Kristensen 2013
COMPOSER                                 : Sacha Goedegebure
GENRE                                    : Animation
SUMMARY                                  : Creative Commons Attribution 3.0 - http://bbb3d.renderfarming.net

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Codec ID                                 : V_MPEG4/ISO/AVC
Duration                                 : 10 min 34 s
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 30.000 FPS
Default                                  : Yes
Forced                                   : No


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

Re: NVENC on Windows nightly media info missing

Post by s55 » Sat Nov 03, 2018 8:20 pm

It's not an Nividia driver issue. It will require a code change in HandBrake to write this.

schinivision
Posts: 6
Joined: Thu Nov 01, 2018 7:34 am

Re: NVENC on Windows nightly media info missing

Post by schinivision » Sat Nov 03, 2018 8:32 pm

@S55 Sorry i was writing the previous update and did not see your update... Thanks for the clarification. The question is now is it a "bug" or an enhancement to handbrake :wink: .

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

Re: NVENC on Windows nightly media info missing

Post by Rodeo » Sat Nov 03, 2018 8:58 pm

s55 wrote:
Sat Nov 03, 2018 7:22 pm
@schinivision -> There is nothing you can do to force this. It requires a code change in HandBrake. It's being worked but if it fixes it, then the TV firmware is also buggy.
No. The lack of parameter sets in the Matroska extradata (CodecPrivate) is a HandBrake bug, plain and simple. They're supposed to be there.

The fact that VLC and some other players can play it means the parameter sets are also present in the H.264 bitstream, which is technically another HandBrake bug. In Matroska and MP4 files, the parameter sets are supposed to be in the extradata and only in the extradata, not the bitstream (though in practice having it in the bitstream as well is a non-issue).

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

Re: NVENC on Windows nightly media info missing

Post by s55 » Sat Nov 03, 2018 9:00 pm

I'm not saying it's not a HandBrake Bug, it is.

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

Re: NVENC on Windows nightly media info missing

Post by Rodeo » Sat Nov 03, 2018 9:05 pm

Yes, but the highlighted statement above is also incorrect (unless you actually meant "It's being worked but if it doesn't fix it, then the TV firmware is also buggy").

User avatar
JohnAStebbins
HandBrake Team
Posts: 5313
Joined: Sat Feb 09, 2008 7:21 pm

Re: NVENC on Windows nightly media info missing

Post by JohnAStebbins » Sun Nov 04, 2018 12:30 am

Rodeo wrote:
Sat Nov 03, 2018 9:05 pm
Yes, but the highlighted statement above is also incorrect (unless you actually meant "It's being worked but if it doesn't fix it, then the TV firmware is also buggy").
I'm not sure if you would call it "buggy" or not. But the TV firmware is definitely incomplete. The resulting mkv files *have* sps and pps inline in the stream instead of in private data. This is a bit unusual, but not illegal. And everything needed to decode the stream is present.

A PR is under review to put the sps and pps in private data.

schinivision
Posts: 6
Joined: Thu Nov 01, 2018 7:34 am

Re: NVENC on Windows nightly media info missing

Post by schinivision » Sun Nov 04, 2018 8:51 am

I ran another test with mp4 as a container format and the "missing" information is present in MP4 (See code block). It seems to just affect the Matroska (mkv) file format. I will try to test it on my Samsung TV when I have time and post an update.

Code: Select all

General
Complete name                            : D:\Video\BigBuckBunny\profileTest2\HighQualityProfile_h264.mp4
Format                                   : MPEG-4
Format profile                           : Base Media / Version 2
Codec ID                                 : mp42 (isom/iso2/avc1/mp41)
File size                                : 248 MiB
Duration                                 : 10 min 34 s
Overall bit rate mode                    : Variable
Overall bit rate                         : 3 274 kb/s
Movie name                               : Big Buck Bunny, Sunflower version
Performer                                : Blender Foundation 2008, Janus Bager Kristensen 2013
Composer                                 : Sacha Goedegebure
Genre                                    : Animation
Encoded date                             : UTC 2018-11-03 21:01:14
Tagged date                              : UTC 2018-11-03 21:01:14
Writing application                      : HandBrake 20181020140611-dd2de7f-master 2018102101
Comment                                  : Creative Commons Attribution 3.0 - http://bbb3d.renderfarming.net

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : Main@L5
Format settings                          : CABAC / 1 Ref Frames
Format settings, CABAC                   : Yes
Format settings, RefFrames               : 1 frame
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 10 min 34 s
Bit rate mode                            : Variable
Bit rate                                 : 2 467 kb/s
Maximum bit rate                         : 108 Mb/s
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 30.000 FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.040
Stream size                              : 187 MiB (75%)
Encoded date                             : UTC 2018-11-03 21:01:14
Tagged date                              : UTC 2018-11-03 21:01:14
Color range                              : Limited
Color primaries                          : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.709
Codec configuration box                  : avcC

schinivision
Posts: 6
Joined: Thu Nov 01, 2018 7:34 am

Re: NVENC on Windows nightly media info missing

Post by schinivision » Sun Nov 11, 2018 2:29 pm

Hi. I still have no luck with my Samsung (as supposed) but I think I found something else.

Changing the "Encoder Profile" or "Encoder Level" when using H.264 NVENC does not change the profile of the output file (or at least the media info states it is a different one)

I tried now two different settings for "Encoder Profile": Baseline and High

From the Handbrake log:

Code: Select all

"Video": {
    "Encoder": "nvenc_h264",
    "Level": "4.0",
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "-pix_fmt yuv420p",
    "Preset": "default",
    "Profile": "high",
    "Quality": 33.0,
    "QSV": {
      "Decode": false,
      "AsyncDepth": 0
    }
  }
produces this for real (Stating Main@L5)

Code: Select all

ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : Main@L5
Format settings                          : CABAC / 1 Ref Frames
Format settings, CABAC                   : Yes
Format settings, RefFrames               : 1 frame
Codec ID                                 : avc1

Writing application                      : HandBrake 20181020140611-dd2de7f-master 2018102101
Either way if you change the Profile or the level at the end it will always be Main@L5.
Can anybody confirm this? Because that is something that is different to the CPU encoded file that works on my Samsung.

BR
Stefan

Post Reply