VERSION: 3.1.1-4
OS: Fedora 37
GFX: Nvidia RTX 4060
Describe the bug:
These images, created by Upscaly 2.7, are imported as pic sequence:
$ file In_upscayled_RealESRGAN_General_x4_v3_x4/bild-00001.png
In_upscayled_RealESRGAN_General_x4_v3_x4/bild-00001.png: PNG image data, 2880 x 1920, 8-bit/color RGBA, non-interlaced
then this happens repeatedly:
INFO app: ------------------------------------------------
INFO app: Wed Sep 13 18:16:47 2023
INFO app: Starting new session
INFO app: ------------------------------------------------
INFO app: OpenShot (version 3.1.1)
INFO app: ------------------------------------------------
INFO app: openshot-qt version: 3.1.1
INFO app: libopenshot version: 0.3.2
INFO app: platform: Linux-6.4.13-100.fc37.x86_64-x86_64-with-glibc2.36
INFO app: processor: x86_64
INFO app: machine: x86_64
INFO app: python version: 3.11.4
INFO app: qt5 version: 5.15.9
INFO app: pyqt5 version: 5.15.9
INFO project_data: Setting profile to FHD 1080p 30 fps
INFO project_data: Apply default audio playback settings: 48000, 2 channels
INFO app: checking babl_ext_path: /usr/lib/python3.11/site-packages/openshot_qt/lib/babl-ext
Screen HDMI-1
devicePixelRatio: 1.0
logicalDotsPerInch: 96.0
physicalDotsPerInch: 102.29860133295784
availableSizes: PyQt5.QtCore.QSize(1920, 1080)
Screen HDMI-0
devicePixelRatio: 1.0
logicalDotsPerInch: 96.0
physicalDotsPerInch: 86.43935816780943
availableSizes: PyQt5.QtCore.QSize(1280, 1024)
INFO language: Qt Detected Languages: ['de-DE', 'de', 'de-Latn-DE']
INFO language: LANG Environment Variable: de_DE.UTF-8
INFO language: LOCALE Environment Variable:
INFO language: OpenShot Preference Language: de
INFO app: Setting font to /usr/lib/python3.11/site-packages/openshot_qt/images/fonts/Ubuntu-R.ttf
INFO app: Setting custom dark theme
INFO ui_util: Initializing UI for MainWindow
INFO thumbnail: Starting thumbnail server listening on ('127.0.0.1', 38913)
INFO webkit: WebKit backend initializing
INFO logger_libopenshot: Connecting to libopenshot with debug port: 5556
INFO transition_model: updating transitions model.
INFO effects_model: updating effects model.
INFO emoji_model: updating emoji model.
INFO version: Found current version: {'trans_rate_stable': 0.01, 'openshot_version': '3.1.1', 'trans_rate_unstable': 0.001, 'error_rate_stable': 0.25, 'error_rate_unstable': 0.05}
INFO main_window: InitCacheSettings
INFO main_window: cache-mode: CacheMemory
INFO main_window: cache-limit-mb: 250
INFO main_window: cache-ahead-percent: 0.7
INFO main_window: cache-preroll-min-frames: 24
INFO main_window: cache-preroll-max-frames: 48
INFO main_window: cache-max-frames: 600
INFO main_window: Creating CacheMemory object with 262144000 byte limit
INFO preview_thread: QThread Start Method Invoked
ERROR main_window: Unhandled crash detected: linux-/lib64/libc.so.6 gsignal 0x16 [0x7f18f045fa76]
INFO main_window: updateStatusChanged
INFO main_window: recover_backup
INFO main_window: Recovering backup file: /home//.openshot_qt/backup.osp
INFO settings: reducing file: /home//.openshot_qt/backup.osp to dir: /home//.openshot_qt
INFO settings: Ignore setting recent path: /home//.openshot_qt, most likely due to backup recovery
INFO webkit: Registering objects with WebKit
INFO sentry: Sentry initialized for 'production': 0.25 sample rate, 0.01 transaction rate
INFO project_data: Setting profile to FHD 1080p 30 fps
INFO project_data: Apply default audio playback settings: 48000, 2 channels
INFO project_data: Loading project file: /home//.openshot_qt/backup.osp
INFO project_data: checking project files...
INFO project_data: checking file
INFO project_data: Project data: openshot 3.1.1, libopenshot 0.3.2
INFO project_data: Setting profile to FHD 1080p 30 fps
INFO project_data: Apply default audio playback settings: 48000, 2 channels
Hardware decoding device number: 1
INFO video_widget: Load: Set video widget display aspect ratio to: 1.7777777910232544
INFO video_widget: Set video widget pixel aspect ratio to: 1.0
INFO main_window: updateStatusChanged
INFO main_window: updateStatusChanged
INFO main_window: updateStatusChanged
INFO timeline: Adjusting max size of preview image: PyQt5.QtCore.QSize(472, 362)
INFO main_window: Loaded project /home//.openshot_qt/backup.osp
Hardware decoding device number: 1
[mpeg2video @ 0x7fad601669c0] Invalid setup for format cuda: does not match the type of the provided device context.
INFO webview: Qt Ready
INFO webview: Angular Ready
INFO timeline: Adjusting max size of preview image: PyQt5.QtCore.QSize(852, 480)
[mp2 @ 0x7fad60008c40] Header missing
[mp2 @ 0x7fad60008c40] Header missing
Hardware decoding device number: 1
[mpeg2video @ 0x7fad6001a0c0] Invalid setup for format cuda: does not match the type of the provided device context.
INFO files_treeview: Processing drop event for 1 urls
INFO files_model: Prompt user to import sequence starting from bild-00001.png
INFO files_model: Imported '/home//mnt/Stargate/In_upscayled_RealESRGAN_General_x4_v3_x4/bild-%05d.png' as image sequence with '30/1' FPS and '60.766665140787765' duration
INFO main_window: updateStatusChanged
INFO main_window: updateStatusChanged
Hardware decoding device number: 1
[mpeg2video @ 0x7fad4e937240] Invalid setup for format cuda: does not match the type of the provided device context.
Assertion ((src_linesize) >= 0 ? (src_linesize) : (-(src_linesize))) >= bytewidth failed at libavutil/imgutils.c:350
Caught signal 6 (SIGABRT)
---- Unhandled Exception: Stack Trace ----
/lib64/libc.so.6 ( gsignal + 0x16 ) [0x7fae3345fa76]
/lib64/libc.so.6 ( abort + 0xd7 ) [0x7fae334497fc]
/lib64/libavutil.so.57 ( + 0x3d654) [0x7fae28a66654]
/lib64/libavutil.so.57 ( + 0x42f1c) [0x7fae28a6bf1c]
/lib64/libavutil.so.57 ( av_image_copy + 0x5f ) [0x7fae28a6c08f]
/lib64/libopenshot.so.25 ( openshot::FFmpegReader::GetAVFrame() + 0x182 ) [0x7fae2bd93962]
/lib64/libopenshot.so.25 ( openshot::FFmpegReader::ProcessVideoPacket(long) + 0x36 ) [0x7fae2bd998d6]
/lib64/libopenshot.so.25 ( openshot::FFmpegReader::ReadStream(long) + 0x6df ) [0x7fae2bd9ebaf]
/lib64/libopenshot.so.25 ( openshot::FFmpegReader::GetFrame(long) + 0x6bf ) [0x7fae2bd9fd3f]
/lib64/libopenshot.so.25 ( openshot::FrameMapper::GetOrCreateFrame(long) + 0x339 ) [0x7fae2bdba879]
/lib64/libopenshot.so.25 ( openshot::FrameMapper::GetFrame(long) + 0x826 ) [0x7fae2bdbe506]
/lib64/libopenshot.so.25 ( openshot::Clip::GetOrCreateFrame(long, bool) + 0x356 ) [0x7fae2bd7bcf6]
/lib64/libopenshot.so.25 ( openshot::Clip::GetFrame(std::shared_ptropenshot::Frame, long, openshot::TimelineInfoStruct*) + 0x3a3 ) [0x7fae2bd7e4b3]
/lib64/libopenshot.so.25 ( openshot::Timeline::GetOrCreateFrame(std::shared_ptropenshot::Frame, openshot::Clip*, long, openshot::TimelineInfoStruct*) + 0x32e ) [0x7fae2bdd479e]
/lib64/libopenshot.so.25 ( openshot::Timeline::add_layer(std::shared_ptropenshot::Frame, openshot::Clip*, long, bool, float) + 0xb7 ) [0x7fae2bdd49e7]
/lib64/libopenshot.so.25 ( openshot::Timeline::GetFrame(long) + 0x1849) [0x7fae2bddd839]
/lib64/libopenshot.so.25 ( openshot::VideoCacheThread::run() + 0x302 ) [0x7fae2be32c32]
/lib64/libopenshot-audio.so.9 ( juce::Thread::threadEntryPoint() + 0x72 ) [0x7fae2b918592]
/lib64/libopenshot-audio.so.9 ( + 0x14971d) [0x7fae2b94b71d]
/lib64/libc.so.6 ( + 0x8b15d) [0x7fae334ae15d]
/lib64/libc.so.6 ( + 0x10cc00) [0x7fae3352fc00]
---- End of Stack Trace ----
QObject::killTimer: Timers cannot be stopped from another thread
QObject::~QObject: Timers cannot be stopped from another thread
Note:
if the unprocessed images, which have been exported by OpenShot before Upscaling, are imported as pic sequence, it works as expected.
we get the same Error message:
INFO main_window: updateStatusChanged
INFO main_window: updateStatusChanged
Hardware decoding device number: 1
[mpeg2video @ 0x7f971ba58a40] Invalid setup for format cuda: does not match the type of the provided device context.
INFO webview: Dropping item on timeline - item_id: NMO0UGV0CZ, item_type: clip
INFO main_window: updateStatusChanged
Hardware decoding device number: 1
[mpeg2video @ 0x7f972c078640] Invalid setup for format cuda: does not match the type of the provided device context.
but WITHOUT the crash message:
Assertion ((src_linesize) >= 0 ? (src_linesize) : (-(src_linesize))) >= bytewidth failed at libavutil/imgutils.c:350
Hello @Cyborgscode. This looks like something the lead developer has to look into. I have assigned this issue to him.