Windows charmap issue #1

Open
opened 2026-02-10 20:54:09 +01:00 by jan · 0 comments
Owner

(ripper) PS C:\Users\meyer\Desktop\ripper> uv run ripper.py --name "Captain America The First Avenger" -y 2011 -i "G:"

╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ DVD / Blu-ray Ripper │
│ HEVC (H.265) · HandBrakeCLI · Scene Naming │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

                                          Available Encoders

╭──────────────────┬──────────────────────────────────────────────────────────────────────────────────────────╮
│ Codec │ Encoders │
├──────────────────┼──────────────────────────────────────────────────────────────────────────────────────────┤
│ HEVC (H.265) │ nvenc_h265_10bit NVIDIA nvenc_h265 NVIDIA x265_12bit CPU x265_10bit CPU x265 CPU │
├──────────────────┼──────────────────────────────────────────────────────────────────────────────────────────┤
│ H.264 (AVC) │ nvenc_h264 NVIDIA x264_10bit CPU x264 CPU │
├──────────────────┼──────────────────────────────────────────────────────────────────────────────────────────┤
│ AV1 │ svt_av1_10bit CPU svt_av1 CPU │
╰──────────────────┴──────────────────────────────────────────────────────────────────────────────────────────╯

✓ Encoder: nvenc_h265_10bit NVIDIA (10-bit HEVC (H.265))
Exception in thread Thread-6 (_readerthread):
Traceback (most recent call last):
File "C:\Python313\Lib\threading.py", line 1041, in _bootstrap_inner
self.run()
~~~~~~~~^^
File "C:\Python313\Lib\threading.py", line 992, in run
self._target(*self._args, **self._kwargs)
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python313\Lib\subprocess.py", line 1609, in _readerthread
buffer.append(fh.read())
~~~~~~~^^
File "C:\Python313\Lib\encodings\cp1252.py", line 23, in decode
return codecs.charmap_decode(input,self.errors,decoding_table)[0]
~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 1495: character maps to
✓ Disc scanned successfully
✓ Selected title 11 (1h59m06s, 720×576)

              Audio Tracks

╭─────┬──────────┬───────┬──────────┬──────────╮
│ # │ Language │ Codec │ Channels │ Bitrate │
├─────┼──────────┼───────┼──────────┼──────────┤
│ 1 │ English │ AC3 │ 5.1 │ 448 kbps │
│ 2 │ Deutsch │ AC3 │ 5.1 │ 448 kbps │
│ 3 │ Türkçe │ AC3 │ 5.1 │ 448 kbps │
╰─────┴──────────┴───────┴──────────┴──────────╯

      Subtitle Tracks

╭─────┬──────────┬────────┬───────╮
│ # │ Language │ Format │ Flags │
├─────┼──────────┼────────┼───────┤
│ 1 │ Deutsch │ VOBSUB │ │
│ 3 │ English │ VOBSUB │ │
│ 5 │ Türkçe │ VOBSUB │ │
╰─────┴──────────┴────────┴───────╯

╭─────────────────────────────────────────────────────────────────────────────────────── Output ────────────────────────────────────────────────────────────────────────────────────────╮
│ Captain.America.The.First.Avenger.2011.480p.DVD.10bit.x265.DD.5.1.EN.DE.TR.mkv │
│ D:\Videos\ripper\Captain.America.The.First.Avenger.2011.480p.DVD.10bit.x265.DD.5.1.EN.DE.TR │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

⠏ Scanning title 1/1 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0% │ │ 0:00:00 → -:--:--
Traceback (most recent call last):
File "C:\Users\meyer\Desktop\ripper\ripper.py", line 21, in
main()
~~~~^^
File "C:\Users\meyer\Desktop\ripper\ripper\cli.py", line 160, in main
_run_pipeline(args, quality)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^
File "C:\Users\meyer\Desktop\ripper\ripper\cli.py", line 250, in _run_pipeline
returncode = run_encode(cmd, input_path=args.input)
File "C:\Users\meyer\Desktop\ripper\ripper\encode.py", line 121, in run_encode
for line in process.stdout:
^^^^^^^^^^^^^^
File "C:\Python313\Lib\encodings\cp1252.py", line 23, in decode
return codecs.charmap_decode(input,self.errors,decoding_table)[0]
~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 33: character maps to

(ripper) PS C:\Users\meyer\Desktop\ripper> uv run ripper.py --name "Captain America The First Avenger" -y 2011 -i "G:\" ╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │ DVD / Blu-ray Ripper │ │ HEVC (H.265) · HandBrakeCLI · Scene Naming │ ╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ Available Encoders ╭──────────────────┬──────────────────────────────────────────────────────────────────────────────────────────╮ │ Codec │ Encoders │ ├──────────────────┼──────────────────────────────────────────────────────────────────────────────────────────┤ │ HEVC (H.265) │ nvenc_h265_10bit ⚡NVIDIA nvenc_h265 ⚡NVIDIA x265_12bit CPU x265_10bit CPU x265 CPU │ ├──────────────────┼──────────────────────────────────────────────────────────────────────────────────────────┤ │ H.264 (AVC) │ nvenc_h264 ⚡NVIDIA x264_10bit CPU x264 CPU │ ├──────────────────┼──────────────────────────────────────────────────────────────────────────────────────────┤ │ AV1 │ svt_av1_10bit CPU svt_av1 CPU │ ╰──────────────────┴──────────────────────────────────────────────────────────────────────────────────────────╯ ✓ Encoder: nvenc_h265_10bit ⚡NVIDIA (10-bit HEVC (H.265)) Exception in thread Thread-6 (_readerthread): Traceback (most recent call last): File "C:\Python313\Lib\threading.py", line 1041, in _bootstrap_inner self.run() ~~~~~~~~^^ File "C:\Python313\Lib\threading.py", line 992, in run self._target(*self._args, **self._kwargs) ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Python313\Lib\subprocess.py", line 1609, in _readerthread buffer.append(fh.read()) ~~~~~~~^^ File "C:\Python313\Lib\encodings\cp1252.py", line 23, in decode return codecs.charmap_decode(input,self.errors,decoding_table)[0] ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 1495: character maps to <undefined> ✓ Disc scanned successfully ✓ Selected title 11 (1h59m06s, 720×576) Audio Tracks ╭─────┬──────────┬───────┬──────────┬──────────╮ │ # │ Language │ Codec │ Channels │ Bitrate │ ├─────┼──────────┼───────┼──────────┼──────────┤ │ 1 │ English │ AC3 │ 5.1 │ 448 kbps │ │ 2 │ Deutsch │ AC3 │ 5.1 │ 448 kbps │ │ 3 │ Türkçe │ AC3 │ 5.1 │ 448 kbps │ ╰─────┴──────────┴───────┴──────────┴──────────╯ Subtitle Tracks ╭─────┬──────────┬────────┬───────╮ │ # │ Language │ Format │ Flags │ ├─────┼──────────┼────────┼───────┤ │ 1 │ Deutsch │ VOBSUB │ │ │ 3 │ English │ VOBSUB │ │ │ 5 │ Türkçe │ VOBSUB │ │ ╰─────┴──────────┴────────┴───────╯ ╭─────────────────────────────────────────────────────────────────────────────────────── Output ────────────────────────────────────────────────────────────────────────────────────────╮ │ Captain.America.The.First.Avenger.2011.480p.DVD.10bit.x265.DD.5.1.EN.DE.TR.mkv │ │ D:\Videos\ripper\Captain.America.The.First.Avenger.2011.480p.DVD.10bit.x265.DD.5.1.EN.DE.TR │ ╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ⠏ Scanning title 1/1 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0% │ │ 0:00:00 → -:--:-- Traceback (most recent call last): File "C:\Users\meyer\Desktop\ripper\ripper.py", line 21, in <module> main() ~~~~^^ File "C:\Users\meyer\Desktop\ripper\ripper\cli.py", line 160, in main _run_pipeline(args, quality) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^ File "C:\Users\meyer\Desktop\ripper\ripper\cli.py", line 250, in _run_pipeline returncode = run_encode(cmd, input_path=args.input) File "C:\Users\meyer\Desktop\ripper\ripper\encode.py", line 121, in run_encode for line in process.stdout: ^^^^^^^^^^^^^^ File "C:\Python313\Lib\encodings\cp1252.py", line 23, in decode return codecs.charmap_decode(input,self.errors,decoding_table)[0] ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 33: character maps to <undefined>
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: jan/ripper#1