Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Something is wrong with my colour after encoding video recored by obs with the newest nightly build #4009

Closed
HobbyloserMensch opened this issue Dec 5, 2021 · 11 comments

Comments

@HobbyloserMensch
Copy link

HobbyloserMensch commented Dec 5, 2021

Problem Description

this is the videos colour before encoding:
![vlcsnap-2021-12-05-21h30m49s013](https://user-images.githubusercontent.com/89376573/144762977-b5a0d70a-
grafik

grafik
and this is the videos colour after the handbrake encode:
vlcsnap-2021-12-05-21h31m04s953
grafik
something went wrong here and the colour between the first screenshot and the second did not change in the orignial in these milliseconds between the takes.

Activity Log, Crash Log or any other details

HandBrake Nightly 20211118215516-d7940f556-master (2021111901)
OS: Microsoft Windows NT 10.0.22000.0
CPU: AMD Ryzen 7 5800H with Radeon Graphics         
Ram: 32620 MB, 
GPU Information:
  NVIDIA GeForce RTX 3070 Laptop GPU - 30.0.14.9709
Screen: 1706.6666666666667x1066.6666666666667
Temp Dir: C:\Users\wikiw\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake Nightly\
Data Dir: C:\Users\wikiw\AppData\Roaming\HandBrake\Nightly

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

 # Starting Encode ...

[21:29:41] base preset: crf 18 anime English/Japanese passthrough (Modified)
[21:29:41] Remote Process started with Process ID: 40004 using port: 8037. Max Allowed Instances: 1
[21:29:41] Worker: Starting HandBrake Engine ...
[21:29:41] Worker: Starting Web Server on port 8037 ...
[21:29:41] Worker: Disconnected worker monitoring enabled!
[21:29:41] Compile-time hardening features are enabled
[21:29:42] hb_init: starting libhb thread
[21:29:42] thread 2 started ("libhb")
[21:29:42] thread 3 started ("work")
[21:29:42] Starting work at: Sun Dec 05 21:29:42 2021
[21:29:42] 1 job(s) to process
[21:29:42] json job:
{
  "Audio": {
    "AudioList": [
      {
        "Bitrate": -1,
        "DRC": 0,
        "Encoder": "flac24",
        "Gain": 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",
      "copy:mp2"
    ],
    "FallbackEncoder": "ac3"
  },
  "Destination": {
    "ChapterList": [
      {
        "Name": "Chapter 1"
      }
    ],
    "ChapterMarkers": true,
    "AlignAVStart": false,
    "File": "C:\\Users\\wikiw\\Videos\\2021-12-05 16-55-26(1).mkv",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": false
    },
    "Mux": "av_mkv"
  },
  "Filters": {
    "FilterList": [
      {
        "ID": 13,
        "Settings": {
          "crop-bottom": "6",
          "crop-left": "0",
          "crop-right": "2",
          "crop-top": "0",
          "height": "1594",
          "width": "2558"
        }
      },
      {
        "ID": 6,
        "Settings": {
          "mode": "0"
        }
      }
    ]
  },
  "PAR": {
    "Num": 1,
    "Den": 1
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 1
    },
    "Title": 1,
    "Path": "C:\\Users\\wikiw\\Videos\\2021-12-05 16-55-26.mkv"
  },
  "Subtitle": {
    "Search": {
      "Burn": false,
      "Default": false,
      "Enable": false,
      "Forced": false
    },
    "SubtitleList": []
  },
  "Video": {
    "Encoder": "nvenc_h265",
    "Level": "auto",
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "",
    "Preset": "fastest",
    "Profile": "auto",
    "Quality": 0,
    "QSV": {
      "Decode": false
    }
  }
}
[21:29:42] CPU: AMD Ryzen 7 5800H with Radeon Graphics
[21:29:42]  - logical processor count: 16
[21:29:42] Intel Quick Sync Video support: no
[21:29:42] hb_scan: path=C:\Users\wikiw\Videos\2021-12-05 16-55-26.mkv, title_index=1
[21:29:42] thread 4 started ("scan")
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:333: failed opening UDF image C:\Users\wikiw\Videos\2021-12-05 16-55-26.mkv
src/libbluray/disc/disc.c:437: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:437: error opening file BDMV\BACKUP\index.bdmv
src/libbluray/bluray.c:2646: nav_get_title_list(C:\Users\wikiw\Videos\2021-12-05 16-55-26.mkv\) failed
[21:29:42] bd: not a bd - trying as a stream/file instead
libdvdread: Encrypted DVD support unavailable.
libdvdread: DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread: DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
[21:29:42] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from 'C:\Users\wikiw\Videos\2021-12-05 16-55-26.mkv':
  Metadata:
    ENCODER         : Lavf58.29.100
  Duration: 00:28:52.01, start: 0.000000, bitrate: 176083 kb/s
  Stream #0:0: Video: h264 (Main), yuvj420p(pc, bt709, progressive), 2560x1600 [SAR 1:1 DAR 8:5], 62.50 fps, 60 tbr, 1k tbn, 120 tbc (default)
    Metadata:
      DURATION        : 00:28:52.000000000
  Stream #0:1: Audio: pcm_s24le, 48000 Hz, 2 channels, s32 (24 bit), 2304 kb/s (default)
    Metadata:
      DURATION        : 00:28:52.010000000
[21:29:42] Found ffmpeg 0 chapters, container=matroska,webm
[21:29:42] scan: decoding previews for title 1
[21:29:42] scan: preview 1
[21:29:42] fifo_close: trashing 0 buffer(s)
[21:29:42] scan: audio 0x1: pcm_s24le, rate=48000Hz, bitrate=2304000 Unknown (pcm_s24le) (2.0 ch) (2304 kbps)
[21:29:42] scan: preview 2
[21:29:42] scan: preview 3
[21:29:42] scan: preview 4
[21:29:42] scan: preview 5
[21:29:42] scan: preview 6
[21:29:42] scan: preview 7
[21:29:42] scan: preview 8
[21:29:42] scan: preview 9
[21:29:43] scan: preview 10
[21:29:43] scan: 10 previews, 2560x1600, 62.500 fps, autocrop = 0/6/0/2, aspect 1.60:1, PAR 1:1, color profile: 1-1-1, chroma location: left
[21:29:43] Freed 1 buffers of size 1024
[21:29:43] Freed 1 buffers of size 8192
[21:29:43] Freed 1 buffers of size 524288
[21:29:43] Freed 1 buffers of size 1048576
[21:29:43] Freed 2 buffers of size 8388608
[21:29:43] Allocated 18359296 bytes of buffers on this pass and Freed 18359296 bytes, 0 bytes leaked
[21:29:43] thread 4 exited ("scan")
[21:29:43] thread 4 joined ("scan")
[21:29:43] libhb: scan thread found 1 valid title(s)
[21:29:43] Starting Task: Encoding Pass
[21:29:43] Skipping vfr filter
[21:29:43] work: compression level not specified, track 1 setting compression level 5.00
[21:29:43] work: track 1, dithering not supported by codec
[21:29:43] work: only 1 chapter, disabling chapter markers
[21:29:43] job configuration:
[21:29:43]  * source
[21:29:43]    + C:\Users\wikiw\Videos\2021-12-05 16-55-26.mkv
[21:29:43]    + title 1, chapter(s) 1 to 1
[21:29:43]    + container: matroska,webm
[21:29:43]    + data rate: 176083 kbps
[21:29:43]  * destination
[21:29:43]    + C:\Users\wikiw\Videos\2021-12-05 16-55-26(1).mkv
[21:29:43]    + container: Matroska (libavformat)
[21:29:43]  * video track
[21:29:43]    + decoder: h264 8-bit (yuv420p)
[21:29:43]    + filters
[21:29:43]      + AVFilter (crop='x=0:y=0:w=2558:h=1594',scale='width=2558:height=1594:flags=lanczos+accurate_rnd',format='pix_fmts=yuv420p')
[21:29:43]        + crop: x=0, y=0, w=2558, h=1594
[21:29:43]        + scale: width=2558, height=1594, flags=lanczos+accurate_rnd
[21:29:43]        + format: pix_fmts=yuv420p
[21:29:43]      + Crop and Scale (width=2558:height=1594:crop-top=0:crop-bottom=6:crop-left=0:crop-right=2)
[21:29:43]        + source: 2560 * 1600, crop (0/6/0/2): 2558 * 1594, scale: 2558 * 1594
[21:29:43]    + Output geometry
[21:29:43]      + storage dimensions: 2558 x 1594
[21:29:43]      + pixel aspect ratio: 1 : 1
[21:29:43]      + display dimensions: 2558 x 1594
[21:29:43]    + encoder: H.265 (NVEnc)
[21:29:43]      + preset:  fastest
[21:29:43]      + profile: auto
[21:29:43]      + level:   auto
[21:29:43]      + quality: 0.00 (CQ)
[21:29:43]      + color profile: 1-1-1
[21:29:43]      + chroma location: left
[21:29:43]  * audio track 1
[21:29:43]    + decoder: Unknown (pcm_s24le) (2.0 ch) (2304 kbps) (track 1, id 0x1)
[21:29:43]      + bitrate: 2304 kbps, samplerate: 48000 Hz
[21:29:43]    + mixdown: Stereo
[21:29:43]    + encoder: FLAC 24-bit (libavcodec)
[21:29:43]      + samplerate: 48000 Hz
[21:29:43]      + compression level: 5.00
[21:29:43] sync: expecting 108250 video frames
[21:29:43] thread 5 started ("Audio Synchronization")
[21:29:43] encavcodecInit: H.265 (Nvidia NVENC)
[21:29:43] encavcodec: encoding at rc=vbr, multipass=fullres, 0.00
[21:29:43] encavcodec: encoding with stored aspect 1/1
[21:29:43] Writing Metadata to output file...
[21:29:43] thread 6 started ("Muxer")
[21:29:43] thread 7 started ("Reader")
[21:29:43] thread 8 started ("Audio decoder (libavcodec)")
[21:29:43] ffmpeg_read starting chapter 1 at 0
[21:29:43] thread 9 started ("Video decoder (libavcodec)")
[21:29:43] thread a started ("Video Synchronization")
[21:29:43] thread b started ("AVCodec Audio encoder (libavcodec)")
[21:29:43] thread c started ("FFMPEG encoder (libavcodec)")
[21:29:43] thread d started ("Muxer")
[21:29:43] thread e started ("AVFilter")
[21:29:43] sync: first pts video is 0
[21:29:43] sync: "Chapter 1" (1) at frame 1 time 0
[21:29:43] sync: first pts audio 0x1 is 0

 # Encode Stopped

[21:36:59] thread d exited ("Muxer")
[21:36:59] thread d joined ("Muxer")
[21:36:59] work: average encoding speed for job is 109.994110 fps
[21:36:59] thread 9 exited ("Video decoder (libavcodec)")
[21:36:59] thread 5 exited ("Audio Synchronization")
[21:36:59] thread 7 exited ("Reader")
[21:36:59] thread 8 exited ("Audio decoder (libavcodec)")
[21:36:59] thread 6 exited ("Muxer")
[21:36:59] thread e exited ("AVFilter")
[21:36:59] thread b exited ("AVCodec Audio encoder (libavcodec)")
[21:36:59] thread a exited ("Video Synchronization")
[21:36:59] thread e joined ("AVFilter")
[21:36:59] thread 7 joined ("Reader")
[21:36:59] thread 8 joined ("Audio decoder (libavcodec)")
[21:36:59] thread 9 joined ("Video decoder (libavcodec)")
[21:36:59] thread a joined ("Video Synchronization")
[21:36:59] thread b joined ("AVCodec Audio encoder (libavcodec)")
[21:36:59] thread c exited ("FFMPEG encoder (libavcodec)")
[21:36:59] thread c joined ("FFMPEG encoder (libavcodec)")
[21:36:59] pcm_s24le-decoder done: 37448 frames, 0 decoder errors
[21:36:59] h264-decoder done: 47921 frames, 0 decoder errors
[21:36:59] sync: got 47893 frames, 108250 expected
[21:36:59] sync: framerate min 58.824 fps, max 62.500 fps, avg 60.000 fps
[21:36:59] thread 5 joined ("Audio Synchronization")
[21:36:59] encavcodecaudio: closing libavcodec
[21:36:59] encavcodec: closing libavcodec
[21:36:59] mux: file size, 2018396844 bytes
[21:36:59] mux: track 0, 47890 frames, 1839679156 bytes, 18438.83 kbps, fifo 512
[21:36:59] mux: track 1, 8314 frames, 178259311 bytes, 1786.67 kbps, fifo 128
[21:36:59] mux: overhead, 8.16 bytes per frame
[21:36:59] thread 6 joined ("Muxer")
[21:36:59] fifo_close: trashing 5 buffer(s)
[21:36:59] fifo_close: trashing 0 buffer(s)
[21:36:59] fifo_close: trashing 0 buffer(s)
[21:36:59] fifo_close: trashing 0 buffer(s)
[21:36:59] fifo_close: trashing 0 buffer(s)
[21:36:59] fifo_close: trashing 0 buffer(s)
[21:36:59] fifo_close: trashing 0 buffer(s)
[21:36:59] fifo_close: trashing 0 buffer(s)
[21:36:59] fifo_close: trashing 0 buffer(s)
[21:36:59] Freed 138 buffers of size 1024
[21:36:59] Freed 2 buffers of size 2048
[21:36:59] Freed 5 buffers of size 4096
[21:36:59] Freed 15 buffers of size 8192
[21:36:59] Freed 32 buffers of size 16384
[21:36:59] Freed 32 buffers of size 32768
[21:36:59] Freed 32 buffers of size 65536
[21:36:59] Freed 32 buffers of size 131072
[21:36:59] Freed 21 buffers of size 262144
[21:36:59] Freed 19 buffers of size 524288
[21:36:59] Freed 18 buffers of size 1048576
[21:36:59] Freed 32 buffers of size 8388608
[21:36:59] Allocated 310929408 bytes of buffers on this pass and Freed 310929408 bytes, 0 bytes leaked
[21:36:59] Finished work at: Sun Dec 05 21:36:59 2021
[21:36:59] thread 3 exited ("work")
[21:36:59] thread 3 joined ("work")
[21:36:59] libhb: work result = 1
[21:36:59] thread 2 exited ("libhb")
[21:36:59] thread 2 joined ("libhb")

 # Job Cancelled!

What Operating System are you running?

Windows 11

What version of HandBrake are you running?

Nightly 20211118215516-d7940f556-master (2021111901

Where did you download HandBrake from?

github

@HobbyloserMensch
Copy link
Author

Problem Description

this is the videos colour before encoding: vlcsnap-2021-12-05-21h30m49s013 ng grafik and this is the videos colour after the handbrake encode: vlcsnap-2021-12-05-21h31m04s953 grafik something went wrong here and the colour between the first screenshot and the second did not change in the orignial in these milliseconds between the takes.

Activity Log, Crash Log or any other details

HandBrake Nightly 20211118215516-d7940f556-master (2021111901)
OS: Microsoft Windows NT 10.0.22000.0
CPU: AMD Ryzen 7 5800H with Radeon Graphics         
Ram: 32620 MB, 
GPU Information:
  NVIDIA GeForce RTX 3070 Laptop GPU - 30.0.14.9709
Screen: 1706.6666666666667x1066.6666666666667
Temp Dir: C:\Users\wikiw\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake Nightly\
Data Dir: C:\Users\wikiw\AppData\Roaming\HandBrake\Nightly

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

 # Starting Encode ...

[21:29:41] base preset: crf 18 anime English/Japanese passthrough (Modified)
[21:29:41] Remote Process started with Process ID: 40004 using port: 8037. Max Allowed Instances: 1
[21:29:41] Worker: Starting HandBrake Engine ...
[21:29:41] Worker: Starting Web Server on port 8037 ...
[21:29:41] Worker: Disconnected worker monitoring enabled!
[21:29:41] Compile-time hardening features are enabled
[21:29:42] hb_init: starting libhb thread
[21:29:42] thread 2 started ("libhb")
[21:29:42] thread 3 started ("work")
[21:29:42] Starting work at: Sun Dec 05 21:29:42 2021
[21:29:42] 1 job(s) to process
[21:29:42] json job:
{
  "Audio": {
    "AudioList": [
      {
        "Bitrate": -1,
        "DRC": 0,
        "Encoder": "flac24",
        "Gain": 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",
      "copy:mp2"
    ],
    "FallbackEncoder": "ac3"
  },
  "Destination": {
    "ChapterList": [
      {
        "Name": "Chapter 1"
      }
    ],
    "ChapterMarkers": true,
    "AlignAVStart": false,
    "File": "C:\\Users\\wikiw\\Videos\\2021-12-05 16-55-26(1).mkv",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": false
    },
    "Mux": "av_mkv"
  },
  "Filters": {
    "FilterList": [
      {
        "ID": 13,
        "Settings": {
          "crop-bottom": "6",
          "crop-left": "0",
          "crop-right": "2",
          "crop-top": "0",
          "height": "1594",
          "width": "2558"
        }
      },
      {
        "ID": 6,
        "Settings": {
          "mode": "0"
        }
      }
    ]
  },
  "PAR": {
    "Num": 1,
    "Den": 1
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 1
    },
    "Title": 1,
    "Path": "C:\\Users\\wikiw\\Videos\\2021-12-05 16-55-26.mkv"
  },
  "Subtitle": {
    "Search": {
      "Burn": false,
      "Default": false,
      "Enable": false,
      "Forced": false
    },
    "SubtitleList": []
  },
  "Video": {
    "Encoder": "nvenc_h265",
    "Level": "auto",
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "",
    "Preset": "fastest",
    "Profile": "auto",
    "Quality": 0,
    "QSV": {
      "Decode": false
    }
  }
}
[21:29:42] CPU: AMD Ryzen 7 5800H with Radeon Graphics
[21:29:42]  - logical processor count: 16
[21:29:42] Intel Quick Sync Video support: no
[21:29:42] hb_scan: path=C:\Users\wikiw\Videos\2021-12-05 16-55-26.mkv, title_index=1
[21:29:42] thread 4 started ("scan")
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:333: failed opening UDF image C:\Users\wikiw\Videos\2021-12-05 16-55-26.mkv
src/libbluray/disc/disc.c:437: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:437: error opening file BDMV\BACKUP\index.bdmv
src/libbluray/bluray.c:2646: nav_get_title_list(C:\Users\wikiw\Videos\2021-12-05 16-55-26.mkv\) failed
[21:29:42] bd: not a bd - trying as a stream/file instead
libdvdread: Encrypted DVD support unavailable.
libdvdread: DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread: DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
[21:29:42] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from 'C:\Users\wikiw\Videos\2021-12-05 16-55-26.mkv':
  Metadata:
    ENCODER         : Lavf58.29.100
  Duration: 00:28:52.01, start: 0.000000, bitrate: 176083 kb/s
  Stream #0:0: Video: h264 (Main), yuvj420p(pc, bt709, progressive), 2560x1600 [SAR 1:1 DAR 8:5], 62.50 fps, 60 tbr, 1k tbn, 120 tbc (default)
    Metadata:
      DURATION        : 00:28:52.000000000
  Stream #0:1: Audio: pcm_s24le, 48000 Hz, 2 channels, s32 (24 bit), 2304 kb/s (default)
    Metadata:
      DURATION        : 00:28:52.010000000
[21:29:42] Found ffmpeg 0 chapters, container=matroska,webm
[21:29:42] scan: decoding previews for title 1
[21:29:42] scan: preview 1
[21:29:42] fifo_close: trashing 0 buffer(s)
[21:29:42] scan: audio 0x1: pcm_s24le, rate=48000Hz, bitrate=2304000 Unknown (pcm_s24le) (2.0 ch) (2304 kbps)
[21:29:42] scan: preview 2
[21:29:42] scan: preview 3
[21:29:42] scan: preview 4
[21:29:42] scan: preview 5
[21:29:42] scan: preview 6
[21:29:42] scan: preview 7
[21:29:42] scan: preview 8
[21:29:42] scan: preview 9
[21:29:43] scan: preview 10
[21:29:43] scan: 10 previews, 2560x1600, 62.500 fps, autocrop = 0/6/0/2, aspect 1.60:1, PAR 1:1, color profile: 1-1-1, chroma location: left
[21:29:43] Freed 1 buffers of size 1024
[21:29:43] Freed 1 buffers of size 8192
[21:29:43] Freed 1 buffers of size 524288
[21:29:43] Freed 1 buffers of size 1048576
[21:29:43] Freed 2 buffers of size 8388608
[21:29:43] Allocated 18359296 bytes of buffers on this pass and Freed 18359296 bytes, 0 bytes leaked
[21:29:43] thread 4 exited ("scan")
[21:29:43] thread 4 joined ("scan")
[21:29:43] libhb: scan thread found 1 valid title(s)
[21:29:43] Starting Task: Encoding Pass
[21:29:43] Skipping vfr filter
[21:29:43] work: compression level not specified, track 1 setting compression level 5.00
[21:29:43] work: track 1, dithering not supported by codec
[21:29:43] work: only 1 chapter, disabling chapter markers
[21:29:43] job configuration:
[21:29:43]  * source
[21:29:43]    + C:\Users\wikiw\Videos\2021-12-05 16-55-26.mkv
[21:29:43]    + title 1, chapter(s) 1 to 1
[21:29:43]    + container: matroska,webm
[21:29:43]    + data rate: 176083 kbps
[21:29:43]  * destination
[21:29:43]    + C:\Users\wikiw\Videos\2021-12-05 16-55-26(1).mkv
[21:29:43]    + container: Matroska (libavformat)
[21:29:43]  * video track
[21:29:43]    + decoder: h264 8-bit (yuv420p)
[21:29:43]    + filters
[21:29:43]      + AVFilter (crop='x=0:y=0:w=2558:h=1594',scale='width=2558:height=1594:flags=lanczos+accurate_rnd',format='pix_fmts=yuv420p')
[21:29:43]        + crop: x=0, y=0, w=2558, h=1594
[21:29:43]        + scale: width=2558, height=1594, flags=lanczos+accurate_rnd
[21:29:43]        + format: pix_fmts=yuv420p
[21:29:43]      + Crop and Scale (width=2558:height=1594:crop-top=0:crop-bottom=6:crop-left=0:crop-right=2)
[21:29:43]        + source: 2560 * 1600, crop (0/6/0/2): 2558 * 1594, scale: 2558 * 1594
[21:29:43]    + Output geometry
[21:29:43]      + storage dimensions: 2558 x 1594
[21:29:43]      + pixel aspect ratio: 1 : 1
[21:29:43]      + display dimensions: 2558 x 1594
[21:29:43]    + encoder: H.265 (NVEnc)
[21:29:43]      + preset:  fastest
[21:29:43]      + profile: auto
[21:29:43]      + level:   auto
[21:29:43]      + quality: 0.00 (CQ)
[21:29:43]      + color profile: 1-1-1
[21:29:43]      + chroma location: left
[21:29:43]  * audio track 1
[21:29:43]    + decoder: Unknown (pcm_s24le) (2.0 ch) (2304 kbps) (track 1, id 0x1)
[21:29:43]      + bitrate: 2304 kbps, samplerate: 48000 Hz
[21:29:43]    + mixdown: Stereo
[21:29:43]    + encoder: FLAC 24-bit (libavcodec)
[21:29:43]      + samplerate: 48000 Hz
[21:29:43]      + compression level: 5.00
[21:29:43] sync: expecting 108250 video frames
[21:29:43] thread 5 started ("Audio Synchronization")
[21:29:43] encavcodecInit: H.265 (Nvidia NVENC)
[21:29:43] encavcodec: encoding at rc=vbr, multipass=fullres, 0.00
[21:29:43] encavcodec: encoding with stored aspect 1/1
[21:29:43] Writing Metadata to output file...
[21:29:43] thread 6 started ("Muxer")
[21:29:43] thread 7 started ("Reader")
[21:29:43] thread 8 started ("Audio decoder (libavcodec)")
[21:29:43] ffmpeg_read starting chapter 1 at 0
[21:29:43] thread 9 started ("Video decoder (libavcodec)")
[21:29:43] thread a started ("Video Synchronization")
[21:29:43] thread b started ("AVCodec Audio encoder (libavcodec)")
[21:29:43] thread c started ("FFMPEG encoder (libavcodec)")
[21:29:43] thread d started ("Muxer")
[21:29:43] thread e started ("AVFilter")
[21:29:43] sync: first pts video is 0
[21:29:43] sync: "Chapter 1" (1) at frame 1 time 0
[21:29:43] sync: first pts audio 0x1 is 0

 # Encode Stopped

[21:36:59] thread d exited ("Muxer")
[21:36:59] thread d joined ("Muxer")
[21:36:59] work: average encoding speed for job is 109.994110 fps
[21:36:59] thread 9 exited ("Video decoder (libavcodec)")
[21:36:59] thread 5 exited ("Audio Synchronization")
[21:36:59] thread 7 exited ("Reader")
[21:36:59] thread 8 exited ("Audio decoder (libavcodec)")
[21:36:59] thread 6 exited ("Muxer")
[21:36:59] thread e exited ("AVFilter")
[21:36:59] thread b exited ("AVCodec Audio encoder (libavcodec)")
[21:36:59] thread a exited ("Video Synchronization")
[21:36:59] thread e joined ("AVFilter")
[21:36:59] thread 7 joined ("Reader")
[21:36:59] thread 8 joined ("Audio decoder (libavcodec)")
[21:36:59] thread 9 joined ("Video decoder (libavcodec)")
[21:36:59] thread a joined ("Video Synchronization")
[21:36:59] thread b joined ("AVCodec Audio encoder (libavcodec)")
[21:36:59] thread c exited ("FFMPEG encoder (libavcodec)")
[21:36:59] thread c joined ("FFMPEG encoder (libavcodec)")
[21:36:59] pcm_s24le-decoder done: 37448 frames, 0 decoder errors
[21:36:59] h264-decoder done: 47921 frames, 0 decoder errors
[21:36:59] sync: got 47893 frames, 108250 expected
[21:36:59] sync: framerate min 58.824 fps, max 62.500 fps, avg 60.000 fps
[21:36:59] thread 5 joined ("Audio Synchronization")
[21:36:59] encavcodecaudio: closing libavcodec
[21:36:59] encavcodec: closing libavcodec
[21:36:59] mux: file size, 2018396844 bytes
[21:36:59] mux: track 0, 47890 frames, 1839679156 bytes, 18438.83 kbps, fifo 512
[21:36:59] mux: track 1, 8314 frames, 178259311 bytes, 1786.67 kbps, fifo 128
[21:36:59] mux: overhead, 8.16 bytes per frame
[21:36:59] thread 6 joined ("Muxer")
[21:36:59] fifo_close: trashing 5 buffer(s)
[21:36:59] fifo_close: trashing 0 buffer(s)
[21:36:59] fifo_close: trashing 0 buffer(s)
[21:36:59] fifo_close: trashing 0 buffer(s)
[21:36:59] fifo_close: trashing 0 buffer(s)
[21:36:59] fifo_close: trashing 0 buffer(s)
[21:36:59] fifo_close: trashing 0 buffer(s)
[21:36:59] fifo_close: trashing 0 buffer(s)
[21:36:59] fifo_close: trashing 0 buffer(s)
[21:36:59] Freed 138 buffers of size 1024
[21:36:59] Freed 2 buffers of size 2048
[21:36:59] Freed 5 buffers of size 4096
[21:36:59] Freed 15 buffers of size 8192
[21:36:59] Freed 32 buffers of size 16384
[21:36:59] Freed 32 buffers of size 32768
[21:36:59] Freed 32 buffers of size 65536
[21:36:59] Freed 32 buffers of size 131072
[21:36:59] Freed 21 buffers of size 262144
[21:36:59] Freed 19 buffers of size 524288
[21:36:59] Freed 18 buffers of size 1048576
[21:36:59] Freed 32 buffers of size 8388608
[21:36:59] Allocated 310929408 bytes of buffers on this pass and Freed 310929408 bytes, 0 bytes leaked
[21:36:59] Finished work at: Sun Dec 05 21:36:59 2021
[21:36:59] thread 3 exited ("work")
[21:36:59] thread 3 joined ("work")
[21:36:59] libhb: work result = 1
[21:36:59] thread 2 exited ("libhb")
[21:36:59] thread 2 joined ("libhb")

 # Job Cancelled!

What Operating System are you running?

Windows 11

What version of HandBrake are you running?

Nightly 20211118215516-d7940f556-master (2021111901

Where did you download HandBrake from?

github

@galad87
Copy link
Contributor

galad87 commented Dec 6, 2021

Probably the classic file with the wrong color range info, can you upload a short sample produced by obs so we can take a look at what's wrong?

@HobbyloserMensch
Copy link
Author

@galad87
Copy link
Contributor

galad87 commented Dec 9, 2021

I checked and found nothing wrong in the full -> limited range conversion. What I found is that on my computer some players play your mkv file with the wrong range if I use the hardware decoder. Which player are you using? Maybe try to disable the hardware decoder in the player and see if something changes.

@HobbyloserMensch
Copy link
Author

vlc

@HobbyloserMensch
Copy link
Author

can it encode full range with extra arguments?

@galad87
Copy link
Contributor

galad87 commented Dec 9, 2021

It's not an HandBrake issue, but it's probably an issue with your player that plays your original file wrong. Try another player or try to disable the hardware decoder in vlc preferences and see what happens.

@HobbyloserMensch
Copy link
Author

i also noticed that it introduces lots of artifacs even on low crf x265

@HobbyloserMensch
Copy link
Author

grafik
i tried playing with hw acceleration off and i get the same results
vlc is in german in this grafik

@galad87
Copy link
Contributor

galad87 commented Dec 9, 2021

mpv displays it properly.
It's mpv, QuickTime, HandBrake versus vlc. I would say vlc might be the wrong one.

@HobbyloserMensch
Copy link
Author

workaroung by recording 4-4-4 colour range with obs works
i just do not use the other one then it should be fine
and if i work with my media server i want to have the right color regardless of the player so i have to encode it in a way all players understand the color

@galad87 galad87 closed this as completed Dec 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants