Skip to content
This repository was archived by the owner on Dec 14, 2024. It is now read-only.
This repository was archived by the owner on Dec 14, 2024. It is now read-only.

App crashes almost everytime I drop an mkv file #9

@kanzww

Description

@kanzww
Uncaught exception: index 291 is out of bounds for axis 0 with size 291
  File "C:\Users\xerot\ntscqtplus\app\NtscApp.py", line 374, in <lambda>
    lambda: self.set_current_frames(*self.get_current_video_frames())

  File "C:\Users\xerot\ntscqtplus\app\NtscApp.py", line 721, in set_current_frames
    self.nt_update_preview()

  File "C:\Users\xerot\ntscqtplus\app\NtscApp.py", line 926, in nt_update_preview
    ntsc_out_image = self.videoRenderer.apply_main_effect(self.nt, self.current_frame, self.next_frame, self.videoTrackSlider.value())

  File "C:\Users\xerot\ntscqtplus\app\InterlacedRenderer.py", line 18, in apply_main_effect
    frame1 = nt.composite_layer(frame1, frame1, field=0, fieldno=0, frameno=frameno)

  File "C:\Users\xerot\ntscqtplus\app\ntsc.py", line 721, in composite_layer
    self.emulate_vhs(yiq, field, fieldno)

  File "C:\Users\xerot\ntscqtplus\app\ntsc.py", line 655, in emulate_vhs
    self.vhs_edge_wave(yiq, field)

  File "C:\Users\xerot\ntscqtplus\app\ntsc.py", line 579, in vhs_edge_wave
    if rnds[y] != 0:
can you tell me how to fix this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions