-
Notifications
You must be signed in to change notification settings - Fork 0
Description
When trying to add a file i ripped from my DVD collection to the tool, i get an error that says it failed to load video. This happens on both Windows and Linux. On linux in terminal i see an error on the log
** (gst-plugin-scanner:3255): CRITICAL **: 11:14:07.682: _dma_fmt_to_dma_drm_fmts: assertion 'fmt != GST_VIDEO_FORMAT_UNKNOWN' failed
I went down a rabbit hole with chatgpt and since this looked like an issue with GStreamer (strange since it used ffmpeg), i tried disabling the gstreamer kms plugin with "GST_PLUGIN_FEATURE_RANK="kms*:0" npm run tauri dev". Then when i opened the same file i didn't get any error on the console but video-compare still says it failed to load the video so i don't think this is the problem.
Is there a way to enable debug logging in the app to get more information about what is causing this to fail. Here's the mediainfo output for the file that fails to load.
General
Unique ID : 315468857361785291886866796749831949274 (0xED55178633054597171F2B74AB2A4BDA)
Complete name : /home/rob/Desktop/sample (1).mkv
Format : Matroska
Format version : Version 4
File size : 1.64 MiB
Duration : 5 s 5 ms
Overall bit rate mode : Variable
Overall bit rate : 2 756 kb/s
Frame rate : 23.976 FPS
Encoded date : 2026-01-04 19:17:37 UTC
Writing application : mkvmerge 96.0 ('It's My Life') 64-bit
Writing library : libebml v1.4.5 + libmatroska v1.7.1
Video
ID : 1
ID in the original source medium : 224 (0xE0)
Format : MPEG Video
Format version : Version 2
Format profile : Main@Main
Format settings : BVOP
Format settings, BVOP : Yes
Format settings, Matrix : Default
Format settings, GOP : M=3, N=12
Codec ID : V_MPEG2
Codec ID/Info : MPEG 1 or 2 Video
Duration : 5 s 5 ms
Bit rate mode : Variable
Bit rate : 2 744 kb/s
Maximum bit rate : 6 307 kb/s
Width : 720 pixels
Height : 480 pixels
Display aspect ratio : 16:9
Frame rate mode : Variable
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Scan order : 2:3 Pulldown
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.331
Time code of first frame : 00:00:00:00
Time code source : Group of pictures header
GOP, Open/Closed : Closed
Stream size : 1.64 MiB (100%)
Language : English
Default : No
Forced : No
Original source medium : DVD-Video
I can send you a sample file if you want