Synchronization between Video and UI/Image editor. #52067

Closed
opened 2017-07-15 09:47:06 +02:00 by Olivier Massot · 9 comments

System imformation :
Computer ASUS Desktop PC P30AD
Graphics card: VGA compatible controller: Intel Corporation 4th Generation Core Processor Family Integrated Graphics Controller (rev 06)
Processor 4 Intel Core i3-4160 CPU @ 3,60 Ghz
Memory : 3914 MB
OS : Ubuntu 16.04.2 LTS

Blender version: Blender 2.78 c (downloaded from Ubuntu Software centre)

Description of the error:
The problem I describe here is a problem I have with all the videos I shot with my Panasonic Camcorder HC-VX870.
In the video I used, I wanted to blur a ship floating on the river Seine. Fro some reasons, I cannot get full synchronization between the Video window (right side of my screen) and the
U/I Image editor (left side of my screen).

Specifications s of the video :
Duration : 1 minute 24 seconds
Container : Quicktime
Video :
Dimensions : 3840 x 2160
Codec : H.264 (High profile)
Frame rate : 25 fps
Bit rate : 61128 kbps
Audio :
Codec : MPEG4-AAC
Channels : Stereo
Sample rate : 48000 Hz
Bit rate : 256 kbps
Media details
Demuxer : lavfpref

What I did,
For each step, only what I describe is is happening in the mentioned window (e.g. step 4: things are happening in the Upper left-side window).

Step 1 : I add the video. It appears in the Upper-right side window. OK.
Image_01.jpg
Step 2 : I open the UV Image Editor in the Upper-left side window . OK.
Step 3 : I create my mask (upper-ledt side window). I call it Blur_01. OK.
Step 4 : In the Upper-left side window, I open the video. It appears. OK. No sinc yet.
Image_03.jpg

Step 5 : In the Upper-left side window, I select View/Properties, in order to sync the left side and right side.
Step 6 : In the Upper-left side window, I now tick the Match movie length and Auto Refresh boxes… and the video disappears (or, with some other videos I tried with, the video freezes on some frame).
Image_02.jpg

As a work-around, I converted another of one of my mp4 videos (4692 frames) into a sequence of 4692 PNG images. I managed to get full sync between the upper-right and left windows and to blur the areas I wanted to blur (i.e; Create mask, applying absolute mode, and make it move around and follow the movements of the object I wanted to blur.)

I also tried on Blender 2,76. I managed to move my mask around in the UV Image Editor, then I ended up with two cases :

  • If I start from image 1 (say image 1 to image 50), everything seems to work fine and I manage to get full sync (i.e. the mask moves around nicely in both windows).

  • If I start from another image (say image 51 to 100), then I cannot get the sync and, while the mask moves around in the Upper-left side window, it stays stuck at image 51 in the Upper -right side window.

Thanking you for your attention and your efforts.

**System imformation :** Computer ASUS Desktop PC P30AD Graphics card: VGA compatible controller: Intel Corporation 4th Generation Core Processor Family Integrated Graphics Controller (rev 06) Processor 4 Intel Core i3-4160 CPU @ 3,60 Ghz Memory : 3914 MB OS : Ubuntu 16.04.2 LTS **Blender version**: Blender 2.78 c (downloaded from Ubuntu Software centre) **Description of the error**: The problem I describe here is a problem I have with all the videos I shot with my Panasonic Camcorder HC-VX870. In the video I used, I wanted to blur a ship floating on the river Seine. Fro some reasons, I cannot get full synchronization between the Video window (right side of my screen) and the U/I Image editor (left side of my screen). **Specifications s of the video** : Duration : 1 minute 24 seconds Container : Quicktime Video : Dimensions : 3840 x 2160 Codec : H.264 (High profile) Frame rate : 25 fps Bit rate : 61128 kbps Audio : Codec : MPEG4-AAC Channels : Stereo Sample rate : 48000 Hz Bit rate : 256 kbps Media details Demuxer : lavfpref **What I did,** For each step, only what I describe is is happening in the mentioned window (e.g. step 4: things are happening in the Upper left-side window). Step 1 : I add the video. It appears in the Upper-right side window. OK. ![Image_01.jpg](https://archive.blender.org/developer/F667982/Image_01.jpg) Step 2 : I open the UV Image Editor in the Upper-left side window . OK. Step 3 : I create my mask (upper-ledt side window). I call it Blur_01. OK. Step 4 : In the Upper-left side window, I open the video. It appears. OK. No sinc yet. ![Image_03.jpg](https://archive.blender.org/developer/F667985/Image_03.jpg) Step 5 : In the Upper-left side window, I select View/Properties, in order to sync the left side and right side. Step 6 : In the Upper-left side window, I now tick the Match movie length and Auto Refresh boxes… and the video disappears (or, with some other videos I tried with, the video freezes on some frame). ![Image_02.jpg](https://archive.blender.org/developer/F667980/Image_02.jpg) As a work-around, I converted another of one of my mp4 videos (4692 frames) into a sequence of 4692 PNG images. I managed to get full sync between the upper-right and left windows and to blur the areas I wanted to blur (i.e; Create mask, applying absolute mode, and make it move around and follow the movements of the object I wanted to blur.) I also tried on Blender 2,76. I managed to move my mask around in the UV Image Editor, then I ended up with two cases : - If I start from image 1 (say image 1 to image 50), everything seems to work fine and I manage to get full sync (i.e. the mask moves around nicely in both windows). - If I start from another image (say image 51 to 100), then I cannot get the sync and, while the mask moves around in the Upper-left side window, it stays stuck at image 51 in the Upper -right side window. Thanking you for your attention and your efforts.
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @Goeland

Added subscriber: @Goeland

Added subscriber: @mont29

Added subscriber: @mont29

Difficult to help really without a simple .blend file to reproduce the issue, but two things to check:

  • Did you enabled AV-sync synchronization mode in TimeLine editor's header bar?
  • Did you generate valid timecode for your video?
Difficult to help really without a simple .blend file to reproduce the issue, but two things to check: - Did you enabled AV-sync synchronization mode in TimeLine editor's header bar? - Did you generate valid timecode for your video?
Author

Thanks for your email.
- Did you enabled AV-sync synchronization mode in TimeLine editor's header bar?Yes- Did you generate valid timecode for your video?
I import (add) my video.
I go to Properties. I tick the Proxy/Timecode box. I tick 50%. Then I go to the Strip menu and select Rebuild Proxy and Timecode indices and wait until the porcess is complete.
Then in the Upper right side window, I select View and select Proxy size 50% in the Proxy Render size.
In the Upper left side window, I select the UV/Image editor. I open my video. I select View, click on Properties and tick the Match Movie Length and Auto Refresh Boxes. In this window, my video freezes on the last frame, (while in the right side video, frames are moving nicely).

I hope this assists. Thanks again.

Thanks for your email. **- Did you enabled AV-sync synchronization mode in TimeLine editor's header bar?**Yes**- Did you generate valid timecode for your video?** I import (add) my video. I go to Properties. I tick the Proxy/Timecode box. I tick 50%. Then I go to the Strip menu and select Rebuild Proxy and Timecode indices and wait until the porcess is complete. Then in the Upper right side window, I select View and select Proxy size 50% in the Proxy Render size. In the Upper left side window, I select the UV/Image editor. I open my video. I select View, click on Properties and tick the Match Movie Length and Auto Refresh Boxes. In this window, my video freezes on the last frame, (while in the right side video, frames are moving nicely). I hope this assists. Thanks again.

Hmmm, afaik by default the Not TC In Use option is set for timecode, which means you are not using it. Typically, you’ll want to try with Record Run No Gaps option (same panel, below the proxy settings). Then rebuild proxies/timecodes, and check if issue is still there?

Hmmm, afaik by default the `Not TC In Use` option is set for timecode, which means you are not using it. Typically, you’ll want to try with `Record Run No Gaps` option (same panel, below the proxy settings). Then rebuild proxies/timecodes, and check if issue is still there?
Author

Indeed, I did not notice this box.
I tried again with several of my videos. This time, I manage to get a consistent behaviour (meaning that I always got the same result irrespective of the video I picked up).

What I did
I import (add) my video. It appears in the Upper Right side window.
I go toProperties. I tick the Proxy/Timecode box. I tick 50%. I scroll down a bit, and in the Time code box, I select Record Run No Gaps
Then I go to the Strip menuand selectRebuild Proxy and Timecode indices and wait until the process is complete.
Then in the Upper right side window, I select Viewand selectProxy size 50% in the Proxy Render size list.
In the Upper left side window, I select the UV/Image editor. I openmy video. I select View, click on Properties and tick the Match Movie Length and Auto RefreshBoxes. In this window, my video freezes on the last frame, precisely when I tick theMatch Movie Length box, (while in the right side video, frames are moving nicely).

So, still no luck. Thanks for your help.

Indeed, I did not notice this box. I tried again with several of my videos. This time, I manage to get a consistent behaviour (meaning that I always got the same result irrespective of the video I picked up). **What I did** I import *(add*) my video. It appears in the Upper Right side window. I go to*Properties*. I tick the *Proxy/Timecode box.* I tick *50%*. I scroll down a bit, and in the *Time code box*, I select *Record Run No Gaps* Then I go to the *Strip menu*and select*Rebuild Proxy and Timecode indices* and wait until the process is complete. Then in the Upper right side window, I select *View*and select*Proxy size 50%* in the *Proxy Render size* list. In the Upper left side window, I select the *UV/Image editor*. I *open*my video. I select *View*, click on *Properties* and tick the *Match Movie Length* and *Auto Refresh*Boxes. In this window, my video freezes on the last frame, precisely when I tick the*Match Movie Length box*, (while in the right side video, frames are moving nicely). So, still no luck. Thanks for your help.

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Bastien Montagne self-assigned this 2017-08-08 16:22:37 +02:00

Hmmpff… fact is, Image editor is not really designed to play videos, it does not even use proxies afaik. You should rather try to Clip Editor if you need an extra viewer for some reason, and set there the proxy & timecode settings just like in the VSE. Then (obviously!) stop and start playback again.

Anyway, I still cannot reproduce any issue here, would suspect yours is just using a rather heavy video, which the ImageEditor cannot handle correctly in realtime. Will close for now, we can always reopen if a reproducible case is provided (and it is indeed a bug, and not a mere stalling-due-to-lack-of-power issue).

Hmmpff… fact is, Image editor is not really designed to play videos, it does not even use proxies afaik. You should rather try to Clip Editor if you need an extra viewer for some reason, and set there the proxy & timecode settings just like in the VSE. Then (obviously!) stop and start playback again. Anyway, I still cannot reproduce any issue here, would suspect yours is just using a rather heavy video, which the ImageEditor cannot handle correctly in realtime. Will close for now, we can always reopen if a reproducible case is provided (and it is indeed a bug, and not a mere stalling-due-to-lack-of-power issue).
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#52067
No description provided.