View animation not working with image sequence #120469

Open
opened 2024-04-10 13:57:03 +02:00 by Serge Lyatin · 12 comments

System Information
Operating system: win10
Graphics card: 1050ti

Blender Version
Broken: 4.0.3, 4.1, 4.2
Worked: 3.6.10

Short description of error
Internal animation player should play jpg sequence from attached project folder, but player window closes as soon as animation starts.
EDIT
Added screencast showing the issue in 4.2 with factory defaults.

Exact steps for others to reproduce the error

  1. Undo file registering in version 4+ by making 3.6 default in Preferences
  2. Unpack attached zip and open project file, then do Render > View Animation (ctrl+F11).
**System Information** Operating system: win10 Graphics card: 1050ti **Blender Version** Broken: 4.0.3, 4.1, 4.2 Worked: 3.6.10 **Short description of error** Internal animation player should play jpg sequence from attached project folder, but player window closes as soon as animation starts. EDIT Added screencast showing the issue in 4.2 with factory defaults. <video src="/attachments/0b6a0762-7ab7-4b27-bcdc-0f9e92990e71" controls></video> **Exact steps for others to reproduce the error** 1. Undo file registering in version 4+ by making 3.6 default in Preferences 2. Unpack attached zip and open project file, then do _Render > View Animation (ctrl+F11)_.
Serge Lyatin added the
Priority
Normal
Type
Report
Status
Needs Triage
labels 2024-04-10 13:57:04 +02:00
Member

Plays fine here

**System Information**
Operating system: Linux-6.7.10-200.fc39.x86_64-x86_64-with-glibc2.38 64 Bits, X11 UI
Graphics card: NVIDIA GeForce RTX 3080 Laptop GPU/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 550.67
version: 4.1.0, branch: blender-v4.1-release, commit date: 2024-03-25 20:42, hash: `40a5e739e270`

Does this also happen with Factory Defaults?
Anything written to the console after the following?

Executing command:
  /blender-4.1.0-linux-x64/blender -a -f 25 1.0 -s 0 -e 25 -j 1 -c 4096 /reports/120469/anim_player/0000.jpg

What happens if you just run that command (might be a bit different on windows) ?

Plays fine here ``` **System Information** Operating system: Linux-6.7.10-200.fc39.x86_64-x86_64-with-glibc2.38 64 Bits, X11 UI Graphics card: NVIDIA GeForce RTX 3080 Laptop GPU/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 550.67 version: 4.1.0, branch: blender-v4.1-release, commit date: 2024-03-25 20:42, hash: `40a5e739e270` ``` Does this also happen with Factory Defaults? Anything written to the console after the following? ``` Executing command: /blender-4.1.0-linux-x64/blender -a -f 25 1.0 -s 0 -e 25 -j 1 -c 4096 /reports/120469/anim_player/0000.jpg ``` What happens if you just run that command (might be a bit different on windows) ?
Philipp Oeser added
Status
Needs Information from User
and removed
Status
Needs Triage
labels 2024-04-10 14:13:25 +02:00
Author

Factory defaults doesn't help
I've run this:
E:\blender-4.2.0-alpha+main.68060a9ccfd1-windows.amd64-release\blender.exe -a -f 25 1.0 -s 0 -e 25 -j 1 -c 4096 /reports/120469/anim_player/0000.jpg
and get following error:
wm_main_playanim_intern: '/reports/120469/anim_player/0000.jpg' not an image file

Factory defaults doesn't help I've run this: `E:\blender-4.2.0-alpha+main.68060a9ccfd1-windows.amd64-release\blender.exe -a -f 25 1.0 -s 0 -e 25 -j 1 -c 4096 /reports/120469/anim_player/0000.jpg` and get following error: `wm_main_playanim_intern: '/reports/120469/anim_player/0000.jpg' not an image file`
Member

replace /reports/120469/anim_player with the windows folder where the jpgs sit

replace `/reports/120469/anim_player` with the windows folder where the jpgs sit
Author

Ok, so after this:
E:\blender-4.2.0-alpha+main.68060a9ccfd1-windows.amd64-release\blender.exe -a -f 25 1.0 -s 0 -e 25 -j 1 -c 4096 C:/tmp/anim_player/0000.jpg
Player window appears (full white), nothing happens for half a second, then Windows terminates app process.

Ok, so after this: `E:\blender-4.2.0-alpha+main.68060a9ccfd1-windows.amd64-release\blender.exe -a -f 25 1.0 -s 0 -e 25 -j 1 -c 4096 C:/tmp/anim_player/0000.jpg` Player window appears (full white), nothing happens for half a second, then Windows terminates app process.
Philipp Oeser added
Status
Needs Triage
and removed
Status
Needs Information from User
labels 2024-04-10 15:02:43 +02:00

Seems to work fine for me:

**System Information**
Operating system: Windows-10-10.0.22621-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 3060 Laptop GPU/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 546.01

In debug build I see this assert, but I don't know if it is related to the issue described:
image

@SergeL, have you tried using a different image sequence format, such as PNG or EXR, to see if the issue persists? This will help us determine if the issue is specific to JPG sequences or if it applies to other image formats as well.

Are there any error message in the console when you attempt to view the animation?

Seems to work fine for me: ``` **System Information** Operating system: Windows-10-10.0.22621-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 3060 Laptop GPU/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 546.01 ``` In debug build I see this assert, but I don't know if it is related to the issue described: ![image](/attachments/46b3a38a-4b97-4803-945e-cfe9249d77a3) @SergeL, have you tried using a different image sequence format, such as PNG or EXR, to see if the issue persists? This will help us determine if the issue is specific to JPG sequences or if it applies to other image formats as well. Are there any error message in the console when you attempt to view the animation?
Germano Cavalcante added
Status
Needs Information from User
and removed
Status
Needs Triage
labels 2024-04-10 19:55:22 +02:00
Author

@mano-wii PNG & EXR export are no different. Console shows this:

 File "E:\blender-4.2.0-alpha+main.68060a9ccfd1-windows.amd64-release\4.2\python\Lib\importlib\__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed

Executing command:
  'E:\blender-4.2.0-alpha+main.68060a9ccfd1-windows.amd64-release\blender.exe' -a -f 25 1.0 -s 0 -e 25 -j 1 -c 16384 'C:\tmp\anim_player\0000.jpg'
@mano-wii PNG & EXR export are no different. Console shows this: ``` File "E:\blender-4.2.0-alpha+main.68060a9ccfd1-windows.amd64-release\4.2\python\Lib\importlib\__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<frozen importlib._bootstrap>", line 1204, in _gcd_import File "<frozen importlib._bootstrap>", line 1176, in _find_and_load File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 690, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 940, in exec_module File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed Executing command: 'E:\blender-4.2.0-alpha+main.68060a9ccfd1-windows.amd64-release\blender.exe' -a -f 25 1.0 -s 0 -e 25 -j 1 -c 16384 'C:\tmp\anim_player\0000.jpg' ```
Germano Cavalcante added
Status
Needs Triage
and removed
Status
Needs Information from User
labels 2024-04-10 20:16:02 +02:00
Author

Console output with parameter --debug-all

wm_event_do_handlers: Handling event
wmEvent type:1/LEFTMOUSE, val:2/RELEASE, prev_type:1/LEFTMOUSE, prev_val:1/PRESS, modifier={}, keymodifier:0, flag:{}, mouse:(142,901), utf8:'', pointer:000002438D1720C0
Executing command:
  'E:\blender-4.2.0-alpha+main.68060a9ccfd1-windows.amd64-release\blender.exe' -a -f 25 1.0 -s 0 -e 25 -j 1 -c 16384 'C:\tmp\anim_player\0000.jpg'
UI_menutype_draw: opening menu "TOPBAR_MT_editor_menus"
UI_menutype_draw: opening menu "TOPBAR_MT_editor_menus"
UI_menutype_draw: opening menu "VIEW3D_MT_editor_menus"
HWND 00000000001D072E mouse enter
HWND 00000000001D072E mouse enter

wm_event_do_handlers: Handling event
wmEvent type:260/WINDOW_DEACTIVATE, val:2/RELEASE, prev_type:1/LEFTMOUSE, prev_val:2/RELEASE, modifier={}, keymodifier:0, flag:{}, mouse:(215,729), utf8:'', pointer:000002438D1720C0
HWND 00000000001D072E mouse leave
Console output with parameter `--debug-all` ``` wm_event_do_handlers: Handling event wmEvent type:1/LEFTMOUSE, val:2/RELEASE, prev_type:1/LEFTMOUSE, prev_val:1/PRESS, modifier={}, keymodifier:0, flag:{}, mouse:(142,901), utf8:'', pointer:000002438D1720C0 Executing command: 'E:\blender-4.2.0-alpha+main.68060a9ccfd1-windows.amd64-release\blender.exe' -a -f 25 1.0 -s 0 -e 25 -j 1 -c 16384 'C:\tmp\anim_player\0000.jpg' UI_menutype_draw: opening menu "TOPBAR_MT_editor_menus" UI_menutype_draw: opening menu "TOPBAR_MT_editor_menus" UI_menutype_draw: opening menu "VIEW3D_MT_editor_menus" HWND 00000000001D072E mouse enter HWND 00000000001D072E mouse enter wm_event_do_handlers: Handling event wmEvent type:260/WINDOW_DEACTIVATE, val:2/RELEASE, prev_type:1/LEFTMOUSE, prev_val:2/RELEASE, modifier={}, keymodifier:0, flag:{}, mouse:(215,729), utf8:'', pointer:000002438D1720C0 HWND 00000000001D072E mouse leave ```
Member

Unable to confirm either on Windows

**System Information**
Operating system: Windows-10-10.0.22631-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 3050 Laptop GPU/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 551.76
Unable to confirm either on Windows ``` **System Information** Operating system: Windows-10-10.0.22631-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 3050 Laptop GPU/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 551.76 ```
Author

Recently I've found out that internal player only works if Blender version is registered as default in preferences.
Not very convenient, as you can have only one version as main.
Something is going on with this file registering after v4: no taskbar icon [#116868] , no player now.

Recently I've found out that internal player only works if Blender version is registered as default in preferences. Not very convenient, as you can have only one version as main. Something is going on with this file registering after v4: no taskbar icon [https://projects.blender.org/blender/blender/issues/116868] , no player now.

Can you check if you have latest windows version / drivers?

Can you check if you have latest windows version / drivers?
Author

Win10 1709 (16299.192)
Nvidia driver 472.84

Win10 1709 (16299.192) Nvidia driver 472.84
Member

Nvidia driver 472.84

Driver version is quite outdated. Not sure if this will make any difference but best to check again with recent GPU drivers.

> Nvidia driver 472.84 Driver version is quite outdated. Not sure if this will make any difference but best to check again with recent GPU drivers.
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
5 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#120469
No description provided.