VSE unable to display contents of some .mkv files. #108883
Labels
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#108883
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Windows-10-10.0.22621-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 3060 Laptop GPU/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 516.94
Blender Version
Broken: version: 3.3.6, branch: master, commit date: 2023-04-17 14:03, hash:
948f8298b982
Worked: 3.5.1-4.0 (tested with those two shared mkv files below)
Short description of error
Some video strip in VSE won't load video content.
Videos are in mkv format and play correctly in VLC player.
Converting these videos to mp4 fixes the problem.
Upon drag and dropping the same videos on VSE timeline they display only one frame for some reason.
Exact steps for others to reproduce the error
this is a link to a shared google drive folder.
In it is a demo blender file with first VSE movie strip being problematic and the other one is working.
In that same folder are also mkv video files referenced by VSE.
https://drive.google.com/drive/folders/1_eewHTMO4Kvn7dTIxCOCZrO6MAxuWsbr?usp=drive_link
Can't replicate the issue from
ffprobe
seems to give reasonable output for video stream.Tried 3.5.1-4.0. @Georgefly Could you try using a newer version of blender?
I tried with both 3.5.1 just now (see screenshot attatched) and 4.0.0 Alpha as well both giving same faulty result.
Clicking on the file folder under Source in the sidebar, then clicking on the mkv file resets the ending offset to 0, allowing the movie to be displayed. Before, it appears that the end (-131) is set to be before the beginning(-1). I think this is simply a case of the offset being incorrectly set some how. @Georgefly any idea how they might have gotten that way?
Negative strip length could be related to #107588
I can confirm that:
All the mkv files used in the original blend file were generated using Ubisoft Shot manager about a year ago and at roughly that time also loaded to VSE for editing. At that time all were displayed correctly. Now when I reopened the file, all strips were missing content due to change of a file name and therefore filepath. Using code generated by Chat GPT (visible in demo file) I changed filepaths of all the strips to correct ones but still for some of those this thing happened.
Sorry for a wall of text. I don't know how to shorten it and it all seems to me possibly important.
In #103662 (comment) @iss says:
Glancing over the code I can't see how an incorrect filepath leads to inverted strip offsets, but both #103662 and this report have those two things in common.
I am not quite sure what is the issue here, but from comments it seems, that somehow file path got broken and when repaired with script, operation was not sucessful.
So I see 2 issues:
I see, that when I click on filepath property and press enter, the content appears, so I can investigate that.
As far as negative offsets go, these are normal. You can extend strip length beyond content length this way. Since content length was set to 1 it likely applied negative offset to not lose strip position.
As far as I can see, the only issue that prevents strip from being rendered is, that it doesn't have length defined, which happens when you set filepath. So I would need steps to reproduce that issue in order to fix the bug
@iss
To my understanding the filepath got broken because I changed the name of a parent file higher in the file structure (see filepaths under).
This was the filepath in the original file if it helps :
D:+Škola+\2022 - 2023 (4r, 2. mgr r.)\playblasts\5 serious\all\Sh0800_00040-00169.mkv
This was the filepath before I used the script to change it on all the strips (onli difference was that "+" characters were missing)
D:\Škola\2022 - 2023 (4r, 2. mgr r.)\playblasts\5 serious\all\Sh0800_00040-00169.mkv
Unfortunatelly I'm not sure what would be the exact steps to reproduce this.
If I can help in any way, or any of you can somehow direct me on what to do to help, please let me know.