Video Import Reference Freezing Frames #99170

Closed
opened 2022-06-25 18:55:57 +02:00 by Alex · 16 comments

System Information
Operating system: Windows-10-10.0.22000-SP0 64 Bits
Graphics card: Intel(R) UHD Graphics 620 Intel 4.5.0 - Build 27.20.100.8682

Blender Version
Broken: version: 3.1.2, branch: master, commit date: 2022-03-31 17:40, hash: cc66d1020c
Worked: (newest version of Blender that worked as expected)

Short description of error
When scrubbing through video reference there is times when a frame is frozen for one more frame. This delays the amount frames and goes out of sync with its audio. An example: Frame 1, Frame 2, Frame 2, Frame 3, Frame 4, Frame 4, Frame 5

Exact steps for others to reproduce the error
Import an mp4 or mkv file as reference and scrub thorough the timeline to see

Childe Lost in Japan.blend

**System Information** Operating system: Windows-10-10.0.22000-SP0 64 Bits Graphics card: Intel(R) UHD Graphics 620 Intel 4.5.0 - Build 27.20.100.8682 **Blender Version** Broken: version: 3.1.2, branch: master, commit date: 2022-03-31 17:40, hash: `cc66d1020c` Worked: (newest version of Blender that worked as expected) **Short description of error** When scrubbing through video reference there is times when a frame is frozen for one more frame. This delays the amount frames and goes out of sync with its audio. An example: Frame 1, Frame 2, Frame 2, Frame 3, Frame 4, Frame 4, Frame 5 **Exact steps for others to reproduce the error** Import an mp4 or mkv file as reference and scrub thorough the timeline to see [Childe Lost in Japan.blend](https://archive.blender.org/developer/F13229358/Childe_Lost_in_Japan.blend)
Author

Added subscriber: @Nerodaboi

Added subscriber: @Nerodaboi
Author

Not sure what goes here

Not sure what goes here
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Member

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'
Member

Hi, hanks for the report. Steps for recreating the issue are not clear to me.
How you're adding video as a reference? From Add panel? {nav Add > Image > Reference}

When scrubbing through video reference there is times when a frame is frozen for one more frame

Did you find this issue in other files as well or in attached file only?
Maybe a screen recording will help to demonstrate the actual problem.

Hi, hanks for the report. Steps for recreating the issue are not clear to me. How you're adding video as a reference? From Add panel? {nav Add > Image > Reference} > When scrubbing through video reference there is times when a frame is frozen for one more frame Did you find this issue in other files as well or in attached file only? Maybe a screen recording will help to demonstrate the actual problem.
Author
[Certain frames frozen.mp4](https://archive.blender.org/developer/F13234553/Certain_frames_frozen.mp4) [Frozen frames in 2D.mp4](https://archive.blender.org/developer/F13234552/Frozen_frames_in_2D.mp4) These are the videos
Member

Changed status from 'Needs User Info' to: 'Needs Triage'

Changed status from 'Needs User Info' to: 'Needs Triage'

Added subscriber: @mano-wii

Added subscriber: @mano-wii

Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'

Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'

I found a video that I could replicate the problem.
F13299578

Theoretically it is 30 fps (higher than 24 fps), so I don't understand why some frames are repeated.
Maybe it's a thing of the video itself.

I'm not sure if it really is a bug.

I found a video that I could replicate the problem. [F13299578](https://archive.blender.org/developer/F13299578/_091440_.mp4) Theoretically it is 30 fps (higher than 24 fps), so I don't understand why some frames are repeated. Maybe it's a thing of the video itself. I'm not sure if it really is a bug.

Added subscriber: @iss

Added subscriber: @iss

Changed status from 'Needs Developer To Reproduce' to: 'Needs User Info'

Changed status from 'Needs Developer To Reproduce' to: 'Needs User Info'

Sorry for late reply here.
With video file from @mano-wii there is no issue. Even checking with ffmpeg tool ffmpeg -i #99170.mp4 test/out%d.png you can see there are duplicated frames encoded. But even then it is within codec capability to either duplicate frame, or simply not have any frame encoded where it is expected in which case old frame is displayed.

As of f0a3d2beb2, video playback is fetching video frames based on presentation timestamp, so there should be no synchronization issues as long as:

  • AV sync is enabled (in timeline playback popover menu, this is not enabled by default in General template)
  • Scene FPS matches movie FPS

@Nerodaboi please check if you meet these conditions. If you do, and you still have issues, please upload movie file.

Sorry for late reply here. With video file from @mano-wii there is no issue. Even checking with ffmpeg tool `ffmpeg -i #99170.mp4 test/out%d.png` you can see there are duplicated frames encoded. But even then it is within codec capability to either duplicate frame, or simply not have any frame encoded where it is expected in which case old frame is displayed. As of f0a3d2beb2, video playback is fetching video frames based on presentation timestamp, so there should be no synchronization issues as long as: - AV sync is enabled (in timeline playback popover menu, this is not enabled by default in General template) - Scene FPS matches movie FPS @Nerodaboi please check if you meet these conditions. If you do, and you still have issues, please upload movie file.

Added subscriber: @ThomasDinges

Added subscriber: @ThomasDinges

Changed status from 'Needs User Info' to: 'Archived'

Changed status from 'Needs User Info' to: 'Archived'

No activity for more than a week. As per the tracker policy we assume the issue is gone and can be closed.

Thanks again for the report. If the problem persists please open a new report with the required information.

No activity for more than a week. As per the tracker policy we assume the issue is gone and can be closed. Thanks again for the report. If the problem persists please open a new report with the required information.
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
5 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#99170
No description provided.