VP9 source video results in borked render #92349

Closed
opened 2021-10-19 18:39:43 +02:00 by Maxim · 12 comments

System Information
Operating system: Arch Linux
Graphics card: AMD Polaris 22 (DRM 3.42.0, 5.14.12-arch1-1, LLVM 12.0.1)

Blender Version
Broken: 2.93.5, commit date: 2021-10-05 12:04, hash: a791bdabd0

Short description of error

After importing VP9 video and trying to render I got blocky render.

0007.jpg 0006.jpg

Exact steps for others to reproduce the error

  1. Loaded default environment and chose "Video Editing"
  2. Uploaded video file
  3. Made simple modifications (split, audio replacement) without touching video parameters
  4. Render video

Source video information (from ffmpeg -i):

Input #0, matroska,webm, from 'filename.mkv':
  Metadata:
    ENCODER         : Lavf58.76.100
  Duration: 00:03:20.11, start: 0.000000, bitrate: 348 kb/s
  Stream #0:0(eng): Video: vp9 (Profile 0), yuv420p(tv), 480x360, SAR 1:1 DAR 4:3, 24.87 fps, 24.87 tbr, 1k tbn, 1k tbc (default)
    Metadata:
      DURATION        : 00:03:20.000000000
  Stream #0:1: Audio: aac (LC), 44100 Hz, stereo, fltp (default)
    Metadata:
      HANDLER_NAME    : SoundHandler
      VENDOR_ID       : [0][0][0][0]
      DURATION        : 00:03:20.109000000

I do not use accelerated rendering.

I tried to change output parameters for video:

  • Raw PNG frames
  • MPEG-4 + H.264 Good
  • MPEG-4 + H.264 Loseless
  • MKV + H.264 Good
  • WebM + VP9 Good

Every time render gets borked. Preview shows original quality which isn't as bad as seen on screenshots.

When I converted source from MKV+VP9 to MPEG-4+H.264 blender finished render without artifacts.

**System Information** Operating system: Arch Linux Graphics card: AMD Polaris 22 (DRM 3.42.0, 5.14.12-arch1-1, LLVM 12.0.1) **Blender Version** Broken: 2.93.5, commit date: 2021-10-05 12:04, hash: a791bdabd0b2 **Short description of error** After importing VP9 video and trying to render I got blocky render. ![0007.jpg](https://archive.blender.org/developer/F11289192/0007.jpg) ![0006.jpg](https://archive.blender.org/developer/F11289205/0006.jpg) **Exact steps for others to reproduce the error** 1. Loaded default environment and chose "Video Editing" 2. Uploaded video file 3. Made simple modifications (split, audio replacement) without touching video parameters 4. Render video Source video information (from `ffmpeg -i`): ``` Input #0, matroska,webm, from 'filename.mkv': Metadata: ENCODER : Lavf58.76.100 Duration: 00:03:20.11, start: 0.000000, bitrate: 348 kb/s Stream #0:0(eng): Video: vp9 (Profile 0), yuv420p(tv), 480x360, SAR 1:1 DAR 4:3, 24.87 fps, 24.87 tbr, 1k tbn, 1k tbc (default) Metadata: DURATION : 00:03:20.000000000 Stream #0:1: Audio: aac (LC), 44100 Hz, stereo, fltp (default) Metadata: HANDLER_NAME : SoundHandler VENDOR_ID : [0][0][0][0] DURATION : 00:03:20.109000000 ``` I do not use accelerated rendering. I tried to change output parameters for video: - Raw PNG frames - MPEG-4 + H.264 Good - MPEG-4 + H.264 Loseless - MKV + H.264 Good - WebM + VP9 Good Every time render gets borked. Preview shows original quality which isn't as bad as seen on screenshots. When I converted source from MKV+VP9 to MPEG-4+H.264 blender finished render without artifacts.
Author

Added subscriber: @gudvinr

Added subscriber: @gudvinr

Added subscriber: @mano-wii

Added subscriber: @mano-wii

To reproduce the problem, a video file with the same specifications seems to be needed.
I haven't found a file like that to test, so I'm tagging the VFX team, (in case they have a file like that and can take a look at the problem).

To reproduce the problem, a video file with the same specifications seems to be needed. I haven't found a file like that to test, so I'm tagging the VFX team, (in case they have a file like that and can take a look at the problem).
Member

Added subscriber: @EAW

Added subscriber: @EAW
Member

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'
Member

I was thinking that this was most likely a duplicate of #91405 (VSE: Block artefacts in WEBM video on preview or export), but you are saying that the preview is ok? Can you upload a sample video?

I was thinking that this was most likely a duplicate of #91405 (VSE: Block artefacts in WEBM video on preview or export), but you are saying that the preview is ok? Can you upload a sample video?
Author

I don't think it's quite possible (mostly from legal perspective I guess) but if it's fine I could send it via e-mail to someone.

I don't think it's quite possible (mostly from legal perspective I guess) but if it's fine I could send it via e-mail to someone.

Added subscriber: @iss

Added subscriber: @iss

@gudvinr can you send video to richardantalik@gmail.com? I would like to investigate it.

@gudvinr can you send video to richardantalik@gmail.com? I would like to investigate it.
Author

@iss sure, I sent you video at 2021-11-07. Didn't get a reply though so there's this comment.

@iss sure, I sent you video at 2021-11-07. Didn't get a reply though so there's this comment.

Sorry I was away for a week, but I have pushed fix yesterday, so issue should be fixed.

Sorry I was away for a week, but I have pushed fix yesterday, so issue should be fixed.

Closed as duplicate of #91405

Closed as duplicate of #91405
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser Project (Legacy)
Interest
Asset System
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#92349
No description provided.