video reformat #43675

Closed
opened 2015-02-15 21:11:47 +01:00 by bruno sanchiz · 6 comments

The addon creates a panel in the SEQUENCE_EDITOR
In the panel we can change the options, needed to create an output video, but which are in the PROPERTIES/Render panel but not easy to find and not int the right order.

Few things I don't know how to put with the panels are at the bottom. They put the right values of resolution_x, resolution_y, resolution_percentage ,render.fps but not with the best way - but I don't know another way with blender.

bpy_panel_video_05.py

import bpy

display the right windows

bpy.data.screens['Default'].areas- [x].type='SEQUENCE_EDITOR'
bpy.data.screens['Default'].areas- [x].type='TIMELINE'

after the video is loaded in the sequence editor :

nom=bpy.data.scenes['Scene'].sequence_editor.sequences- [x].filepath
bpy.data.images.load(nom)
im=bpy.data.images[nom.rpartition('/')[2]]
bpy.data.scenes['Scene'].render.resolution_x,bpy.data.scenes['Scene'].render.resolution_y = im.size- [x] , im.size[1]
bpy.data.scenes['Scene'].render.resolution_percentage=100

bpy.data.scenes['Scene'].render.fps = ???

see on http://blenderartists.org/forum/showthread.php?342975-Video-Converter

The addon creates a panel in the SEQUENCE_EDITOR In the panel we can change the options, needed to create an output video, but which are in the PROPERTIES/Render panel but not easy to find and not int the right order. Few things I don't know how to put with the panels are at the bottom. They put the right values of resolution_x, resolution_y, resolution_percentage ,render.fps but not with the best way - but I don't know another way with blender. [bpy_panel_video_05.py](https://archive.blender.org/developer/F143562/bpy_panel_video_05.py) import bpy # display the right windows bpy.data.screens['Default'].areas- [x].type='SEQUENCE_EDITOR' bpy.data.screens['Default'].areas- [x].type='TIMELINE' # after the video is loaded in the sequence editor : nom=bpy.data.scenes['Scene'].sequence_editor.sequences- [x].filepath bpy.data.images.load(nom) im=bpy.data.images[nom.rpartition('/')[2]] bpy.data.scenes['Scene'].render.resolution_x,bpy.data.scenes['Scene'].render.resolution_y = im.size- [x] , im.size[1] bpy.data.scenes['Scene'].render.resolution_percentage=100 # bpy.data.scenes['Scene'].render.fps = ??? see on http://blenderartists.org/forum/showthread.php?342975-Video-Converter
Author

Changed status to: 'Open'

Changed status to: 'Open'
bruno sanchiz self-assigned this 2015-02-15 21:11:47 +01:00
Author

Added subscriber: @dindoun

Added subscriber: @dindoun

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'

Added subscriber: @ideasman42

Added subscriber: @ideasman42

Blender already has a menu item to match sequence Strip -> Set Render Size

further, such addons can be handy for your own use, but don't think this really fits into Blender,
it duplicates parts of Blender's UI to show a panel which is convenient, but not offering much new functionality.

If we add functionality like this, Id rather make it built-in.

rejecting.

Blender already has a menu item to match sequence `Strip -> Set Render Size` further, such addons can be handy for your own use, but don't think this really fits into Blender, it duplicates parts of Blender's UI to show a panel which is convenient, but not offering much new functionality. If we add functionality like this, Id rather make it built-in. rejecting.
Author

I agree with you
But this functionnality misses me
but we should add the property/render to the "video editing" screen

I've made lots of bpy scripting and I'd like to help blender
can someone contact me?

I agree with you But this functionnality misses me but we should add the property/render to the "video editing" screen I've made lots of bpy scripting and I'd like to help blender can someone contact me?
Sign in to join this conversation.
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-addons#43675
No description provided.