Video import file path error when importing video from recursive directory, using "Add -> Movie" menu option #72255

Closed
opened 2019-12-07 16:29:17 +01:00 by Mikeycal Meyers · 9 comments

System Information
Operating system: Linux-5.0.0-37-generic-x86_64-with-debian-buster-sid 64 Bits
Graphics card: GeForce GTX 1060 6GB/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 430.50

Blender Version
Broken: version: 2.81 (sub 16), branch: master, commit date: 2019-11-20 14:27, hash: 26bd5ebd42

Short description of error
Blender can't add a movie, that is from a nested directory, in the Add -> Movie menu option of the Sequencer, until you have first added a movie from a recursive directory using the blender File Browser -- that is viewable by default in the video editing template.

Exact steps for others to reproduce the error

  1. Open a new Video Editing Template
  2. Go to the Sequencer and Add -> Movie from the sequencer menu
  3. In the new import browser window, navigate to a folder that has subfolders with video files. (We are testing recursion here.)
  4. Set the Display Mode (Dropdown) option to "recursions: One level" -- you can try more levels too, but 1 is enough to cause the problem.
  5. Find a video file that is 1 level down (in a subfolder) and try to add it. You will get an error. (Report: Error: Could not be loaded)
  6. Now, go to the File Browser editor, that is part of the Video Editing template.
  7. Go to the same directory and set recursions: One level.
  8. Drag and drop the same recursive file into the sequencer -- it will work.
  9. Now, go back to the Sequencer Add-> Movie option, and now you will be able to add all recursive videos without a problem.

To sum up, it appears that there is a mystery recursion setting that is turned on only when you import a video from a recursive directory using the File Browser Editor in the Video Editing Template. After it is turned on, importing recursive files works fine.

**System Information** Operating system: Linux-5.0.0-37-generic-x86_64-with-debian-buster-sid 64 Bits Graphics card: GeForce GTX 1060 6GB/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 430.50 **Blender Version** Broken: version: 2.81 (sub 16), branch: master, commit date: 2019-11-20 14:27, hash: `26bd5ebd42` **Short description of error** Blender can't add a movie, that is from a nested directory, in the Add -> Movie menu option of the Sequencer, until you have first added a movie from a recursive directory using the blender File Browser -- that is viewable by default in the video editing template. **Exact steps for others to reproduce the error** 1) Open a new Video Editing Template 2) Go to the Sequencer and Add -> Movie from the sequencer menu 3) In the new import browser window, navigate to a folder that has subfolders with video files. (We are testing recursion here.) 4) Set the Display Mode (Dropdown) option to "recursions: One level" -- you can try more levels too, but 1 is enough to cause the problem. 5) Find a video file that is 1 level down (in a subfolder) and try to add it. You will get an error. (Report: Error: Could not be loaded) 6) Now, go to the File Browser editor, that is part of the Video Editing template. 7) Go to the same directory and set recursions: One level. 8) Drag and drop the same recursive file into the sequencer -- it will work. 9) Now, go back to the Sequencer Add-> Movie option, and now you will be able to add all recursive videos without a problem. To sum up, it appears that there is a mystery recursion setting that is turned on only when you import a video from a recursive directory using the File Browser Editor in the Video Editing Template. After it is turned on, importing recursive files works fine.

Added subscriber: @mikeycal

Added subscriber: @mikeycal

I also tested on blender 2.81a and the error is still present.

Just for clarification, it appears that blender can't find a filepath when you attempt to import using the "recursions" file display mode option in the Add -> Movie sequencer menu, until you do a recursions import from the File Browser editor in the video editing template layout.

I also tested on blender 2.81a and the error is still present. Just for clarification, it appears that blender can't find a filepath when you attempt to import using the "recursions" file display mode option in the Add -> Movie sequencer menu, until you do a recursions import from the File Browser editor in the video editing template layout.
Member

Added subscriber: @JacquesLucke

Added subscriber: @JacquesLucke
Member

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Member

I can confirm that the import fails when using the Add -> Movie.

However, I cannot confirm that it starts to work after having dragged in a movie from the file explorer that belongs to the video editing workspace.
Can it be that you just thought it works, because when you open the file explorer using Add -> Movie a second time, it will already be in the folder that contains all the video files (no recursion necessary).

I can confirm that the import fails when using the `Add -> Movie`. However, I cannot confirm that it starts to work after having dragged in a movie from the file explorer that belongs to the video editing workspace. Can it be that you just thought it works, because when you open the file explorer using `Add -> Movie` a second time, it will already be in the folder that contains all the video files (no recursion necessary).

Added subscriber: @mont29

Added subscriber: @mont29
Bastien Montagne self-assigned this 2020-01-14 15:16:05 +01:00

Looks like this operator somehow adds the 'recursive' directory part twice to its final path… needs to be tamed! :P

Looks like this operator somehow adds the 'recursive' directory part twice to its final path… needs to be tamed! :P

This issue was referenced by 51add8e6d0

This issue was referenced by 51add8e6d0a18569c5c4c077b1aba6c5f13a970a

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
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
4 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#72255
No description provided.