Encoding to MPEG-4(divx) in constant quality mode ignores Output quality settings #61708

Open
opened 2019-02-19 11:44:43 +01:00 by Eduardo Guerras · 6 comments

System Information
Operating system: Debian 9
Graphics card: Intel integrated GPU

Blender Version
Broken: 2.79b release
(example: 2.79b release)
(example: 2.80, edbf15d3c0, blender2.8, 2018-11-28, as found on the splash screen)
Worked: (optional)

Short description of error
Encoding to MPEG-4(divx) ignores 'Output quality' settings like, e.g. Perceptually lossless, Medium quality and such. Only 'None, use constant bitrate' works.

Exact steps for others to reproduce the error
Based on the default startup or an attached .blend file (as simple as possible).

  1. Load default startup
  2. Switch to the VSE
  3. Import any video strip with high quality 1080p footage.
  4. Switch to properties tabs
  5. Unfold 'Encoding'
  6. Choose:
Container: Matroska
Codec: MPEG-4(divx)
Output quality: Perceptually lossless.
  1. Hit Ctrl+F12 or choose menu option Render > Render animation
  2. Watch how the results are ugly and low bitrate.
  3. Repeat steps 6 to 9 with different options of Output quality such as 'Very low quality' and 'High quality' and see how the output video files are identical.

The only way to change the output quality is choosing 'None, use constant bitrate' which defeats the purpose of encoding with constant quality quantifier altogether.

**System Information** Operating system: Debian 9 Graphics card: Intel integrated GPU **Blender Version** Broken: 2.79b release (example: 2.79b release) (example: 2.80, edbf15d3c044, blender2.8, 2018-11-28, as found on the splash screen) Worked: (optional) **Short description of error** Encoding to MPEG-4(divx) ignores 'Output quality' settings like, e.g. Perceptually lossless, Medium quality and such. Only 'None, use constant bitrate' works. **Exact steps for others to reproduce the error** Based on the default startup or an attached .blend file (as simple as possible). 1. Load default startup 2. Switch to the VSE 3. Import any video strip with high quality 1080p footage. 4. Switch to properties tabs 5. Unfold 'Encoding' 6. Choose: ``` Container: Matroska Codec: MPEG-4(divx) Output quality: Perceptually lossless. ``` 7. Hit Ctrl+F12 or choose menu option Render > Render animation 8. Watch how the results are ugly and low bitrate. 9. Repeat steps 6 to 9 with different options of Output quality such as 'Very low quality' and 'High quality' and see how the output video files are identical. The only way to change the output quality is choosing 'None, use constant bitrate' which defeats the purpose of encoding with constant quality quantifier altogether.

Added subscriber: @eguerras-2

Added subscriber: @eguerras-2

Added subscriber: @iss

Added subscriber: @iss

Applies to all renders, not only movies imported in VSE

Applies to all renders, not only movies imported in VSE

Added subscribers: @dr.sybren, @ChristopherAnderssarian

Added subscribers: @dr.sybren, @ChristopherAnderssarian

Something for @dr.sybren?

Something for @dr.sybren?

According to the FFmpeg documentation DivX doesn't support the crf parameter we're using. Instead, it'll have to use the qscale parameter.

This issue is similar to #60911 in the sense that the mapping from quality setting in Blender to parameters for FFmpeg need to become codec-aware.

According to the [FFmpeg documentation](https://trac.ffmpeg.org/wiki/Encode/MPEG-4) DivX doesn't support the `crf` parameter we're using. Instead, it'll have to use the `qscale` parameter. This issue is similar to #60911 in the sense that the mapping from quality setting in Blender to parameters for FFmpeg need to become codec-aware.
Philipp Oeser removed the
Interest
Render & Cycles
label 2023-02-09 13:57:49 +01:00
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#61708
No description provided.