VSE strip and snapping offset #46035

Closed
opened 2015-09-07 00:34:24 +02:00 by JA 12 · 10 comments

System Information
Ubuntu 14.04 64bit, Gnome 3 Classic, nvidia graphics.

Blender Version
Broken: 2.75.4 ef629e0

Getting weird offsets when adding a movie strip, image strip, using a hotkey to move to the end frame and snapping image strip handle to the time cursor.
screen2.png
End frame is set to frame 4989 as on the timeline. The time cursor is moved on the last frame with shift+right arrow and image strip handle is snapped to that.

This results to image not showing (shows on the frame before), video not showing, and none of the information match up: image strip information says its length is 4988 when it's clearly 4989, it also says the playhead is at 4988 and still frame at 4987 whatever that is.

Sequencer seems to end at frame 4990 where the video frame ends, but it doesn't show up on the last frame (that snaps to 4989) but on the frame before that (4988).

Exact steps for others to reproduce the error
Add a video strip, adjust frame range to match. Add an image strip, shift+right arrow to go to end frame, select right handle and shift+S to snap.

Would have provided a test file with an image (since video files can't be packed) but looks like I can't find a way to pack the image on the strip either. Can't find a pack button on the strip properties, menus, added the image in the UV/Image editor which could be packed but that can't be dragged as a image strip or added through add menu. So no file.

**System Information** Ubuntu 14.04 64bit, Gnome 3 Classic, nvidia graphics. **Blender Version** Broken: 2.75.4 ef629e0 Getting weird offsets when adding a movie strip, image strip, using a hotkey to move to the end frame and snapping image strip handle to the time cursor. ![screen2.png](https://archive.blender.org/developer/F230948/screen2.png) End frame is set to frame 4989 as on the timeline. The time cursor is moved on the last frame with shift+right arrow and image strip handle is snapped to that. This results to image not showing (shows on the frame before), video not showing, and none of the information match up: image strip information says its length is 4988 when it's clearly 4989, it also says the playhead is at 4988 and still frame at 4987 whatever that is. Sequencer seems to end at frame 4990 where the video frame ends, but it doesn't show up on the last frame (that snaps to 4989) but on the frame before that (4988). **Exact steps for others to reproduce the error** Add a video strip, adjust frame range to match. Add an image strip, shift+right arrow to go to end frame, select right handle and shift+S to snap. Would have provided a test file with an image (since video files can't be packed) but looks like I can't find a way to pack the image on the strip either. Can't find a pack button on the strip properties, menus, added the image in the UV/Image editor which could be packed but that can't be dragged as a image strip or added through add menu. So no file.
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @ja12

Added subscriber: @ja12

Added subscriber: @ideasman42

Added subscriber: @ideasman42

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Campbell Barton self-assigned this 2015-09-07 08:42:33 +02:00

Snapping to the last frame not showing the image is working as intended, This last frame is where a new strip would be added without overlapping.

As for the offset with the audio, this is caused by a mismatch with the frame-rate.

Try set the frame-rate to 23.98 or 29.97, then re-import the video.

Closing, since this is a common misunderstanding.
See: http://blender.stackexchange.com/questions/6268


We can re-open if you are sure everything is set correctly, but the file still doesn't load right.
In this case we would need an example file so we can redo the error.

Snapping to the last frame not showing the image is working as intended, This last frame is where a new strip would be added without overlapping. As for the offset with the audio, this is caused by a mismatch with the frame-rate. Try set the frame-rate to 23.98 or 29.97, then re-import the video. Closing, since this is a common misunderstanding. See: http://blender.stackexchange.com/questions/6268 --- We can re-open if you are sure everything is set correctly, but the file still doesn't load right. In this case we would need an example file so we can redo the error.
Author

In #46035#332940, @ideasman42 wrote:
Closing, since this is a common misunderstanding.
See: http://blender.stackexchange.com/questions/6268

There is no audio. In a sentence, the confusion comes from UI saying one thing and then doing something else. The strips are of different length and the last frame (the end frame) is transparent.
vse_offset.zip

vse_offset1.png
I add a video strip (fps 15) and the strip says it's 380 frames. I set end frames as 380 by typing in the value. Going to the other end of the strip: the strip reaches frame 381, the time cursor snaps at the end frame (380) and edit strip info says playhead 379.

vse_offset2.png
Adding an image while the time cursor is at frame 1. Selecting the right handle, moving the time cursor to the end frame, and then snapping the handle to it. Video strip and image strip are offset by 1 frame. The time cursor is at frame 380, the image strip says it's 379 frames.

The last frame for the image is transparent, so is the second from last frame of the video strip. If I wanted to end the video on the last visible frame I would visually have to set the end frame to -2 frames from the video strip. Or maybe adding another file just right after the video file, the image would show up transparent, then the video would be transparent and then it would continue with the new file.

The report is/was about the strip offsets in case they're not right.

> In #46035#332940, @ideasman42 wrote: > Closing, since this is a common misunderstanding. > See: http://blender.stackexchange.com/questions/6268 There is no audio. In a sentence, the confusion comes from UI saying one thing and then doing something else. The strips are of different length and the last frame (the end frame) is transparent. [vse_offset.zip](https://archive.blender.org/developer/F231169/vse_offset.zip) ![vse_offset1.png](https://archive.blender.org/developer/F231160/vse_offset1.png) I add a video strip (fps 15) and the strip says it's 380 frames. I set end frames as 380 by typing in the value. Going to the other end of the strip: the strip reaches frame 381, the time cursor snaps at the end frame (380) and edit strip info says playhead 379. ![vse_offset2.png](https://archive.blender.org/developer/F231162/vse_offset2.png) Adding an image while the time cursor is at frame 1. Selecting the right handle, moving the time cursor to the end frame, and then snapping the handle to it. Video strip and image strip are offset by 1 frame. The time cursor is at frame 380, the image strip says it's 379 frames. The last frame for the image is transparent, so is the second from last frame of the video strip. If I wanted to end the video on the last visible frame I would visually have to set the end frame to -2 frames from the video strip. Or maybe adding another file just right after the video file, the image would show up transparent, then the video would be transparent and then it would continue with the new file. The report is/was about the strip offsets in case they're not right.

Changed status from 'Archived' to: 'Open'

Changed status from 'Archived' to: 'Open'

My bad, re-opening.

but still not sure this is a bug. though it is indeed confusing.

In the test file, the last frame the cursor image (top strip) is visible is 279, so if you wanted to end the animation there. You would need to set the last frame of the animation to 279.

My bad, re-opening. but still not sure this is a bug. though it is indeed confusing. In the test file, the last frame the cursor image (top strip) is visible is 279, so if you wanted to end the animation there. You would need to set the last frame of the animation to 279.

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'

Ok, I follow you now.

The last frame displayed, and the last frame used for snapping is off by one, but its intentional.

  • Shift right moves the playhead to the last visible frame.
  • Snapping the strip will move it to the point up-until, but not occupying the current play-heads frame.

... This makes sense if you consider you could have a play-head on the start of a strip, and you may want to snap the end of an earlier strip to it, however in this one case its not working so usefully.

For editing (in this case), it would make sense for Shift-right to go to the lastframe+1, but not for playback.

Hint - Use page-up/down instead of first-last frame shortcut keys, this uses frames useful for snapping.

Even so, this isn't a bug. its just a mix of options not working so usefully together.

Ok, I follow you now. The last frame displayed, and the last frame used for snapping is off by one, but its intentional. - Shift right moves the playhead to the last visible frame. - Snapping the strip will move it to the point up-until, but not occupying the current play-heads frame. ... This makes sense if you consider you could have a play-head on the start of a strip, and you may want to snap the end of an earlier strip to it, however in this one case its not working so usefully. For editing (in this case), it would make sense for Shift-right to go to the lastframe+1, but not for playback. Hint - Use page-up/down instead of first-last frame shortcut keys, this uses frames useful for snapping. Even so, this isn't a bug. its just a mix of options not working so usefully together.
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#46035
No description provided.