VSE: frozen frames after simple edit/cut in final render #103818

Closed
opened 2023-01-12 00:43:38 +01:00 by Michael · 14 comments

System Information
Operating system: Ubuntu 22.04 and Windows 11
Graphics card: Ubuntu: nvidia RTX3070, Windows: Intel UHD Graphics 620

Blender Version
Broken: 3.4.1, Current Alpha dd9e1eded0
Worked: not sure, maybe 2.93

Short description of error
After a simple edit/cut I often see freeze frames at the beginning of the next clip. When using 100% proxies, the frames are not frozen but they are frozen in final render! I waited for #95683 to arrive in stable but I still experience glitches. As mentioned, using proxies does not help since freeze frames are in the final render.

Exact steps for others to reproduce the error
open .blend and examine the cut. There are 3 frozen frames. They are also in my final render (attached). Compare the cut with proxies activated to see what the cut would look like without freeze frames.

MushroomTutorial_Schnitt04_FreezeFrames.blend
MVI_7752.MP4
MushroomTutorial_Schnitt04_FreezeFrames.mp4
BL_proxy.zip

**System Information** Operating system: Ubuntu 22.04 and Windows 11 Graphics card: Ubuntu: nvidia RTX3070, Windows: Intel UHD Graphics 620 **Blender Version** Broken: 3.4.1, Current Alpha dd9e1eded0d4 Worked: not sure, maybe 2.93 **Short description of error** After a simple edit/cut I often see freeze frames at the beginning of the next clip. When using 100% proxies, the frames are not frozen but they are frozen in final render! I waited for #95683 to arrive in stable but I still experience glitches. As mentioned, using proxies does not help since freeze frames are in the final render. **Exact steps for others to reproduce the error** open .blend and examine the cut. There are 3 frozen frames. They are also in my final render (attached). Compare the cut with proxies activated to see what the cut would look like without freeze frames. [MushroomTutorial_Schnitt04_FreezeFrames.blend](https://archive.blender.org/developer/F14143243/MushroomTutorial_Schnitt04_FreezeFrames.blend) [MVI_7752.MP4](https://archive.blender.org/developer/F14143241/MVI_7752.MP4) [MushroomTutorial_Schnitt04_FreezeFrames.mp4](https://archive.blender.org/developer/F14143240/MushroomTutorial_Schnitt04_FreezeFrames.mp4) [BL_proxy.zip](https://archive.blender.org/developer/F14143247/BL_proxy.zip)
Author

Added subscriber: @Michael-47

Added subscriber: @Michael-47
Author

Added subscriber: @iss

Added subscriber: @iss
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Member

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Member

Hi, thanks for the report. Can confirm this behavior in preview window but unable to confirm it in final render

Hi, thanks for the report. Can confirm this behavior in preview window but unable to confirm it in final render
Author

Hi! I tried it (again) on my two machines (win and ubuntu) and also using another output format. the freeze frames are always in it.

Hi! I tried it (again) on my two machines (win and ubuntu) and also using another output format. the freeze frames are always in it.
Author

I was able to fix the broken file by putting the source video into a subfolder and relinking it in the vse by pointing to the new location in the source property or by using find missing files (both work). weird but maybe it helps...

I was able to fix the broken file by putting the source video into a subfolder and relinking it in the vse by pointing to the new location in the source property or by using find missing files (both work). weird but maybe it helps...

I am not able to reproduce at all. At what timeline frame this issue can be found?

In #103818#1473904, @Michael-47 wrote:
I was able to fix the broken file by putting the source video into a subfolder and relinking it in the vse by pointing to the new location in the source property or by using find missing files (both work). weird but maybe it helps...

Since I am on Windows, I relinked videos in beginning, but I think C:\mnt\... will work there so will re-check.

I am not able to reproduce at all. At what timeline frame this issue can be found? > In #103818#1473904, @Michael-47 wrote: > I was able to fix the broken file by putting the source video into a subfolder and relinking it in the vse by pointing to the new location in the source property or by using find missing files (both work). weird but maybe it helps... Since I am on Windows, I relinked videos in beginning, but I think `C:\mnt\...` will work there so will re-check.

I saw sample render, also checked with exact path, but I did not download proxies yet. With proxies I can reproduce. The issue seems to be within timecode index. I will check this more in detail, as it is related to cut position which should not happen.

Ultimately I wanted to remove timecodes completely, because they are causing more issues than they are solving now, so fix may be removal of this system. For now you can disable them by using "None" option in proxy panel.

I saw sample render, also checked with exact path, but I did not download proxies yet. With proxies I can reproduce. The issue seems to be within timecode index. I will check this more in detail, as it is related to cut position which should not happen. Ultimately I wanted to remove timecodes completely, because they are causing more issues than they are solving now, so fix may be removal of this system. For now you can disable them by using "None" option in proxy panel.
Author

ok, by selecting none for timecodes or disabling the proxies the issue was fixed as well. that's way better than moving the files around. thanks! i do not need proxies, it was just to improve performance a little.

ok, by selecting none for timecodes or disabling the proxies the issue was fixed as well. that's way better than moving the files around. thanks! i do not need proxies, it was just to improve performance a little.

This issue was referenced by a5c3f5b0bc

This issue was referenced by a5c3f5b0bc3339d94b53ed216f6e915b3968658a

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Richard Antalik self-assigned this 2023-01-13 21:33:02 +01:00

I have looked into index file building and process is as follows:

  • Read packet
  • If packet is keyframe, store previous and current seek positions

Technically in parallel to that runs building process with varying delay:

  • decode frame
  • write last seek positions to indexer file

If this delay is greater than GOP size, which in this case is, this process will fail. Fortunately frames carry over data from packets, so this can be fixed.
Please check this with alpha build from https://builder.blender.org/download/daily/, existing proxies have to be rebuilt though, since they are already "corrupted".

I have looked into index file building and process is as follows: - Read packet - If packet is keyframe, store previous and current seek positions Technically in parallel to that runs building process with varying delay: - decode frame - write last seek positions to indexer file If this delay is greater than GOP size, which in this case is, this process will fail. Fortunately frames carry over data from packets, so this can be fixed. Please check this with alpha build from https://builder.blender.org/download/daily/, existing proxies have to be rebuilt though, since they are already "corrupted".
Author

I opened my broken edit with blender-3.5.0-alpha+master.cc332264ae07-linux.x86_64-release from 15th january. After recalculating the proxies the freeze frames where gone. For preview and also for final render. It was just a quick test but it seems to be fixed.

I opened my broken edit with blender-3.5.0-alpha+master.cc332264ae07-linux.x86_64-release from 15th january. After recalculating the proxies the freeze frames where gone. For preview and also for final render. It was just a quick test but it seems to be fixed.
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
4 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#103818
No description provided.