Skip to content

HandBrake doesn't scanning a source correctly even it's supported #6489

Closed

Description

@KirbyJoe

Problem Description

When I try to scan a video file, it suddenly stops loading properly and displays an error message that it couldn't find a valid source, even though it's in a supported format. This is very frustrating to me.
スクリーンショット 2024-12-15 095709

Activity Log, Crash Log or any other details

HandBrake 1.8.2 (2024081000)
OS: Microsoft Windows NT 10.0.19045.0
CPU: Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz
Ram: 32578 MB, 
GPU Information:
  Intel(R) UHD Graphics 630 - 27.20.100.9664 - (Unsupported Driver Detected)
  NVIDIA GeForce GTX 1080 - 32.0.15.5585
Screen: 1920x1080
Temp Dir: C:\Users\ijoe2\AppData\Local\Temp\
Install Dir: D:\Handbrake\
Data Dir: C:\Users\ijoe2\AppData\Roaming\HandBrake

-------------------------------------------
[09:56:40] hb_init: starting libhb thread

 # Starting Scan ...

[09:56:40] CPU: Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz
[09:56:40]  - Intel microarchitecture Kaby Lake
[09:56:40]  - logical processor count: 12
[09:56:40] hb_scan: path=I:\NSFW4\動画\その他 (全裸あり・エロい方)\エクセル・サーガ\(アニメ) へっぽこ実験アニメーション エクセル・サーガ 第26話 「やりすぎ」(DVD 960x720 x264 AAC).mp4, title_index=0
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'I:\NSFW4\蜍慕判\縺昴・莉・(蜈ィ陬ク縺ゅj繝サ繧ィ繝ュ縺・婿)\繧ィ繧ッ繧サ繝ォ繝サ繧オ繝シ繧ャ\(繧「繝九Γ) 縺ク縺」縺ス縺灘ョ滄ィ薙い繝九Γ繝シ繧キ繝ァ繝ウ 繧ィ繧ッ繧サ繝ォ繝サ繧オ繝シ繧ャ 隨ャ26隧ア 縲後d繧翫☆縺弱�・DVD 960x720 x264 AAC).mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 1
    compatible_brands: isom
    creation_time   : 2009-11-19T15:25:31.000000Z
  Duration: 00:25:40.59, start: 0.000000, bitrate: 1785 kb/s
  Chapters:
    Chapter #0:0: start 0.000000, end 83.016000
      Metadata:
        title           : avan
    Chapter #0:1: start 83.016000, end 175.442000
      Metadata:
        title           : 愛(忠誠心)
    Chapter #0:2: start 175.442000, end 776.442000
      Metadata:
        title           : Apart
    Chapter #0:3: start 776.442000, end 1431.430000
      Metadata:
        title           : Bpart
    Chapter #0:4: start 1431.430000, end 1449.114000
      Metadata:
        title           : NEXT
    Chapter #0:5: start 1449.114000, end 1540.593667
      Metadata:
        title           : メンチ・哀愁のボレロ~逆なのね
  Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 960x720, 1582 kb/s, 24.80 fps, 119.88 tbr, 120k tbn (default)
      Metadata:
        creation_time   : 2009-11-19T14:11:01.000000Z
        handler_name    : GPAC ISO Video Handler
        vendor_id       : [0][0][0][0]
  Stream #0:1[0x2](und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 198 kb/s (default)
      Metadata:
        creation_time   : 2009-11-20T15:24:03.000000Z
        handler_name    : Sound Media Handler
        vendor_id       : [0][0][0][0]
[09:56:40] scan: decoding previews for title 1
[09:56:40] scan: audio 0x1: aac, rate=48000Hz, bitrate=198120 Unknown (AAC LC, 2.0 ch, 198 kbps)
[09:56:42] scan: 60 previews, 960x720, 24.797 fps, autocrop = 0/0/0/0, aspect 4:3, PAR 1:1, color profile: 1-1-1, chroma location: left
[09:56:42] libhb: scan thread found 1 valid title(s)
hb_title_to_dict_internal, chapter, json pack failure: NULL object

 # Scan Finished ...

What Operating System are you running?

Windows 10 Pro 22H2

What version of HandBrake are you running?

1.8.2 (2024081000)

Where did you download HandBrake from?

No response

Activity

  1. github-actions commented on Dec 15, 2024

    @github-actions

    Hello,

    Welcome to the HandBrake repository.

    Warning

    Please be cautious of any non-members suggesting that you download a "DLL" or any other files from 3rd party websites.
    These are likely malicious!
    Members of the HandBrake team can be identified by the "(Member)" label in the top right of any response from them.

    Thank You,
    The HandBrake Bot

  2. sr55 commented on Dec 15, 2024

    @sr55
    Contributor

    Do you happen to have a short sample file you could share to help us reproduce this?

  3. sr55 commented on Dec 15, 2024

    @sr55
    Contributor

    Also, please update to 1.9.0

    HandBrake 1.8.2 is no longer supported.

  4. galad87 commented on Dec 15, 2024

    @galad87
    Contributor

    The chapters names might be in some Japanese encoding instead of UTF-8, then the json packer expects UTF-8 and fails.

  5. KirbyJoe commented on Dec 15, 2024

    @KirbyJoe
    Author
  6. sr55 commented on Jan 8, 2025

    @sr55
    Contributor

    May want to try something like mkvmerge to repack the file into a mkv and process that.

  7. added a commit that references this issue on Feb 2, 2025
    781cada
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions