VSE: MKV file has varying frames depending on if added as proxied or non-proxied strip #47141

Closed
opened 2016-01-08 06:37:30 +01:00 by David Salvo · 5 comments

I've come across so many hard-to-isolate timing issues with sound/video in the VSE, so I'm trying really hard to isolate them now where possible... Lots of differing lengths between sound/movie streams (with FPS correctly set), and it's hard to know if the problem lies with blender or the AV libraries. I've had problems with the original MTS files, seem to have had more luck converting to MKV, but they seem to have problems as well on and off...

I've attached an MKV file which opens with 2 blank video frames at the end (they will either appear as frozen frames, or black frames) even though it shows the no. of frames as matching the audio (119/119).
However if I create a proxy for it, then open it again, it opens with 117 video frames (which seems to be the correct one).

  1. Open blender VSE
  2. Set framerate to 25 FPS
  3. Open attached file 00085.mkv (will open as 119/119)
  4. Create proxy for file
  5. Open 00085.mkv again, video component will open as 117 frames.

Not sure if there's an easy way to diagnose where the fault lies for this?
I'll try to isolate an error with the original MTS files too if possible.

Am running nightly build 7e6d096, Mint 17.3, NVIDIA G92 [GeForce 9800 GT].

File is below:
00085.mkv

I've come across so many hard-to-isolate timing issues with sound/video in the VSE, so I'm trying really hard to isolate them now where possible... Lots of differing lengths between sound/movie streams (with FPS correctly set), and it's hard to know if the problem lies with blender or the AV libraries. I've had problems with the original MTS files, seem to have had more luck converting to MKV, but they seem to have problems as well on and off... I've attached an MKV file which opens with 2 blank video frames at the end (they will either appear as frozen frames, or black frames) even though it shows the no. of frames as matching the audio (119/119). However if I create a proxy for it, then open it again, it opens with 117 video frames (which seems to be the correct one). 1. Open blender VSE 2. Set framerate to 25 FPS 3. Open attached file 00085.mkv (will open as 119/119) 4. Create proxy for file 5. Open 00085.mkv again, video component will open as 117 frames. Not sure if there's an easy way to diagnose where the fault lies for this? I'll try to isolate an error with the original MTS files too if possible. Am running nightly build 7e6d096, Mint 17.3, NVIDIA G92 [GeForce 9800 GT]. File is below: [00085.mkv](https://archive.blender.org/developer/F271989/00085.mkv)
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @slinkeepie

Added subscriber: @slinkeepie

Added subscriber: @Sergey

Added subscriber: @Sergey

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Sergey Sharybin self-assigned this 2016-01-08 08:45:14 +01:00

This is somewhat broken video, it's easy to see when using "Record Run no Gaps" timecode. This timecode basically tries to decode every frame and if frame fails to be decoded for some reason it's being ignored. Same exact behavior happens with generating proxies -- if some frame fails to be decoded it's being dropped. In your video there are two frames which can not be decoded, which causes video strip to shrink.

What you can do is try transcoding the video in an external application like mencoder or ffmpeg and use transcoded result in Blender.

Thanks for the report, but it's not really a Blender bug.

This is somewhat broken video, it's easy to see when using "Record Run no Gaps" timecode. This timecode basically tries to decode every frame and if frame fails to be decoded for some reason it's being ignored. Same exact behavior happens with generating proxies -- if some frame fails to be decoded it's being dropped. In your video there are two frames which can not be decoded, which causes video strip to shrink. What you can do is try transcoding the video in an external application like mencoder or ffmpeg and use transcoded result in Blender. Thanks for the report, but it's not really a Blender bug.
Sign in to join this conversation.
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
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#47141
No description provided.