Old 11-14-2018, 08:12 AM   #1
nofish
Human being with feelings
 
nofish's Avatar
 
Join Date: Oct 2007
Location: home is where the heart is
Posts: 8,232
Default Set media item to source boundaries?

How to set media item to source boundaries via action?

Only close action I've found is 'Item: Set items length to source media lengths' but this only enlarges/shrinks the end of the item, but not the beginning.
nofish is offline   Reply With Quote
Old 11-15-2018, 02:33 AM   #2
xpander
Human being with feelings
 
xpander's Avatar
 
Join Date: Jun 2007
Location: Terra incognita
Posts: 4,364
Default

Xenakios/SWS: Reset item length and media offset
xpander is offline   Reply With Quote
Old 11-15-2018, 02:49 AM   #3
nofish
Human being with feelings
 
nofish's Avatar
 
Join Date: Oct 2007
Location: home is where the heart is
Posts: 8,232
Default

Nice, thanks.
nofish is offline   Reply With Quote
Old 11-15-2018, 03:26 AM   #4
Xenakios
Human being with feelings
 
Xenakios's Avatar
 
Join Date: Feb 2007
Location: Oulu, Finland
Posts: 7,453
Default

Quote:
Originally Posted by xpander View Post
Xenakios/SWS: Reset item length and media offset
I don't remember though if that correctly handles playrates and such or if someone has since fixed it to deal with those...
__________________
For info on SWS Reaper extension plugin (including Xenakios' previous extension/actions) :
http://www.sws-extension.org/
https://github.com/Jeff0S/sws
--
Xenakios blog (about HourGlass, Paul(X)Stretch and λ) :
http://xenakios.wordpress.com/
Xenakios is offline   Reply With Quote
Old 11-15-2018, 04:13 AM   #5
xpander
Human being with feelings
 
xpander's Avatar
 
Join Date: Jun 2007
Location: Terra incognita
Posts: 4,364
Default

Upon further check, there is something funny about this action. It does seem to visibly get the item back to the original length, but when played back, it will only play back the length the item was before the action was used. Play cursor simply stops even while there is still some item left to play.

An example: Item source originally 2 seconds. It has been resized to one second. Using this action, the item length goes back to 2 seconds, but it will only play back to 1 second.

This problem comes up only if the given item is the last one on the current project timeline. If there are any other items later on the timeline on other tracks, everything plays through fine.

Also, if this item is e.g. moved just a tiny bit, playback will be normal. Almost like the move will update the project end marker, which the action itself didn't do?

Last edited by xpander; 11-15-2018 at 04:30 AM.
xpander is offline   Reply With Quote
Old 11-15-2018, 06:14 PM   #6
FnA
Human being with feelings
 
FnA's Avatar
 
Join Date: Jun 2012
Posts: 2,104
Default

X-Raym has this one too:
Script: X-Raym_Expand selected items length to start and end of their source.eel

@xpander
Reminds me of some things we ran into here:
https://forum.cockos.com/showthread.php?t=208782
FnA is offline   Reply With Quote
Old 11-17-2018, 11:27 AM   #7
xpander
Human being with feelings
 
xpander's Avatar
 
Join Date: Jun 2007
Location: Terra incognita
Posts: 4,364
Default

Thanks for the headsup FnA, that does seem like similar/related issue.
xpander is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 03:35 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.