Quickime/OSX: render output path with diacritic signs produces no video file #45165

Closed
opened 2015-06-23 23:40:35 +02:00 by Kris Slazinski · 10 comments

System Information
Operating system and graphics card
OSX 10.10.3, NVIDIA GeForce 320M 256 MB

Blender Version
Broken: 2.75 RC1 bff8b5d

Short description of error
When you try to render animation and set render output path with diacritic signs, Blender is rendering the video frame by frame, notifies that it's finished work, but in the end it produces no video file.

Exact steps for others to reproduce the error

  1. Open attached blend file anim.blend
  2. render output path is set to "//renderó/" (ó is an example of diacritic sign in Polish language)
  3. Render animation using Animation button or Ctrl F12
  4. In the //renderó/ folder you end up with no file in the end.
  5. Change output path from "*renderó/" to "*render/"
  6. Render again.
  7. Now everything works and you end up with video file.

Maybe something changed about Blender's language coding? It's not UTF-8 anymore?

**System Information** Operating system and graphics card OSX 10.10.3, NVIDIA GeForce 320M 256 MB **Blender Version** Broken: 2.75 RC1 bff8b5d **Short description of error** When you try to render animation and set render output path with diacritic signs, Blender is rendering the video frame by frame, notifies that it's finished work, but in the end it produces no video file. **Exact steps for others to reproduce the error** 1. Open attached blend file [anim.blend](https://archive.blender.org/developer/F196998/anim.blend) 2. render output path is set to "//renderó/" (ó is an example of diacritic sign in Polish language) 3. Render animation using Animation button or Ctrl F12 4. In the //renderó/ folder you end up with no file in the end. 5. Change output path from "*renderó/" to "*render/" 6. Render again. 7. Now everything works and you end up with video file. Maybe something changed about Blender's language coding? It's not UTF-8 anymore?
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @mallow

Added subscriber: @mallow

Added subscribers: @Sergey, @mont29

Added subscribers: @Sergey, @mont29
jens verwiebe was assigned by Bastien Montagne 2015-06-27 16:03:28 +02:00

Works here on Linux…

Jens, not sure if you still handle issues on that platform? Else please reassign to @sergey.

Works here on Linux… Jens, not sure if you still handle issues on that platform? Else please reassign to @sergey.

Added subscriber: @MartijnBerger

Added subscriber: @MartijnBerger

Actually, it’s Martijn now our OSX maintainer ;)

Actually, it’s Martijn now our OSX maintainer ;)
jens verwiebe removed their assignment 2015-09-08 20:25:41 +02:00
Martijn Berger was assigned by jens verwiebe 2015-09-08 20:30:07 +02:00

Added subscriber: @ideasman42

Added subscriber: @ideasman42

Confirmed this on OSX 10.9.5

Note that unlike win32, OSX path/encoding is the same as Linux/BSD's (From Blender's code-side at least).


This problem us only happening with Quicktime exported movies.

Checked on the code qtkit_export.m and possible causes are:

381 ┊▒▒▒┊▒▒▒qtexport->filename = [[NSString alloc] initWithCString:name
382 ┊▒▒▒┊▒▒▒ encoding:[NSString defaultCStringEncoding]];

Looking at the docs, defaultCStringEncoding is discouraged:

https:*developer.apple.com/library/mac/documentation/Cocoa/Reference/Foundation/Classes/NSString_Class/index.html#*apple_ref/occ/clm/NSString/defaultCStringEncoding

You might sometimes need to use this encoding when interpreting user documents with unknown encodings, in the absence of other hints, but in general this encoding should be used rarely, if at all.


However this is tricky, In Blender all object names are utf8, but paths are an exception, where non utf8 latin1 characters are allowed too.

Even so, it may be best to use UTF8 (NSUTF8StringEncoding) here, since this is what blender uses for all input.

Confirmed this on OSX 10.9.5 Note that unlike win32, OSX path/encoding is the same as Linux/BSD's (From Blender's code-side at least). ---- This problem us only happening with Quicktime exported movies. Checked on the code `qtkit_export.m` and possible causes are: `381 ┊▒▒▒┊▒▒▒qtexport->filename = [[NSString alloc] initWithCString:name` `382 ┊▒▒▒┊▒▒▒ encoding:[NSString defaultCStringEncoding]];` Looking at the docs, `defaultCStringEncoding` is discouraged: https:*developer.apple.com/library/mac/documentation/Cocoa/Reference/Foundation/Classes/NSString_Class/index.html#*apple_ref/occ/clm/NSString/defaultCStringEncoding > You might sometimes need to use this encoding when interpreting user documents with unknown encodings, in the absence of other hints, but in general this encoding should be used rarely, if at all. ---- However this is tricky, In Blender all object names are utf8, but paths are an exception, where non utf8 latin1 characters are allowed too. Even so, it may be best to use UTF8 (`NSUTF8StringEncoding`) here, since this is what blender uses for all input.
Campbell Barton changed title from render output path with diacritic signs produces no video file to Quickime/OSX: render output path with diacritic signs produces no video file 2015-09-11 13:03:46 +02:00

This issue was referenced by 21826af5f7

This issue was referenced by 21826af5f730e7dff441d206b25d5ccd0992dea4
Member

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' 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
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#45165
No description provided.