Rendering lossless animations fails in most of my players #81509

Closed
opened 2020-10-07 15:25:24 +02:00 by user1 · 18 comments

System Information
Operating system: Linux-5.4.0-48-generic-x86_64-with-debian-buster-sid 64 Bits
Graphics card: GeForce GT 630/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 390.138

Blender Version
Broken: version: 2.91.0 Alpha, branch: master, commit date: 2020-10-06 20:17, hash: 099ce95ef3
Worked: (newest version of Blender that worked as expected)

Short description of error
"Lossless" rendered sequences only play as expected with Linux-Player "Celluloid". VLC and Kaffeine give bad results. This problem exists a while now. Sorry i waited so long to report it.

Exact steps for others to reproduce the error
Render some frames. It does not matter what format you use (AVI, Quick, MP4,...) with setting "lossless".
Play the clip with VLC or Kaffeine.
Lossless_Celluloid.mp4
Lossless_VLC.mp4
Lossless_Kaffeine.mp4
To avoid this, i usually use "perceptually lossless" instead.

**System Information** Operating system: Linux-5.4.0-48-generic-x86_64-with-debian-buster-sid 64 Bits Graphics card: GeForce GT 630/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 390.138 **Blender Version** Broken: version: 2.91.0 Alpha, branch: master, commit date: 2020-10-06 20:17, hash: `099ce95ef3` Worked: (newest version of Blender that worked as expected) **Short description of error** "Lossless" rendered sequences only play as expected with Linux-Player "Celluloid". VLC and Kaffeine give bad results. This problem exists a while now. Sorry i waited so long to report it. **Exact steps for others to reproduce the error** Render some frames. It does not matter what format you use (AVI, Quick, MP4,...) with setting "lossless". Play the clip with VLC or Kaffeine. [Lossless_Celluloid.mp4](https://archive.blender.org/developer/F8964711/Lossless_Celluloid.mp4) [Lossless_VLC.mp4](https://archive.blender.org/developer/F8964712/Lossless_VLC.mp4) [Lossless_Kaffeine.mp4](https://archive.blender.org/developer/F8964713/Lossless_Kaffeine.mp4) To avoid this, i usually use "perceptually lossless" instead.
Author

Added subscriber: @user1

Added subscriber: @user1

Added subscriber: @iss

Added subscriber: @iss

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

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

Can't reproduce this on windows.

Please upload simple .blend file that has this issue and also upload small rendered video.

Can't reproduce this on windows. Please upload simple .blend file that has this issue and also upload small rendered video.
Author
[Lossless vid bug.mp4](https://archive.blender.org/developer/F8974831/Lossless_vid_bug.mp4) [Lossless vid bug.blend](https://archive.blender.org/developer/F8974830/Lossless_vid_bug.blend)
Author

I added the video, but on my side this page lookes like this:
Bildschirmfoto zu 2020-10-10 15-20-14.png

These are the settings i chose:
Bildschirmfoto zu 2020-10-10 15-20-02.png

I added the video, but on my side this page lookes like this: ![Bildschirmfoto zu 2020-10-10 15-20-14.png](https://archive.blender.org/developer/F8974860/Bildschirmfoto_zu_2020-10-10_15-20-14.png) These are the settings i chose: ![Bildschirmfoto zu 2020-10-10 15-20-02.png](https://archive.blender.org/developer/F8974862/Bildschirmfoto_zu_2020-10-10_15-20-02.png)
Author

And this is the same render, only set to "perceptually lossless":
Perceptually lossless0001-0024.mp4

And this is the same render, only set to "perceptually lossless": [Perceptually lossless0001-0024.mp4](https://archive.blender.org/developer/F8974869/Perceptually_lossless0001-0024.mp4)

Thanks for info.
I have downloaded Lossless_vid_bug.mp4 and I had no issues playing that video in VLC. Same if I render video myself.
But I have noticed, that the video can not be played back in web browser, again same happens when I render video myself.

Ffprobe shows

Stream #0:0(und): Video: h264 (High 4:4:4 Predictive) (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 18018 kb/s, 24 fps, 24 tbr, 90k tbn, 48 tbc (default)

I thought that yuv420p pixel format is not correct here, but using yuv444p did not change anything.

Still I am not convinced that this is bug in Blender.

@user1 Please click on "messages" or press Ctrl+M in VLC, open problematic video file and post output here.

Thanks for info. I have downloaded `Lossless_vid_bug.mp4` and I had no issues playing that video in VLC. Same if I render video myself. But I have noticed, that the video can not be played back in web browser, again same happens when I render video myself. Ffprobe shows ``` Stream #0:0(und): Video: h264 (High 4:4:4 Predictive) (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 18018 kb/s, 24 fps, 24 tbr, 90k tbn, 48 tbc (default) ``` I thought that `yuv420p` pixel format is not correct here, but using `yuv444p` did not change anything. Still I am not convinced that this is bug in Blender. @user1 Please click on "messages" or press Ctrl+M in VLC, open problematic video file and post output here.
Author

VLC sais:

"egl_x11 error: cannot select OpenGL API
avcodec info: Using NVIDIA VDPAU Driver Shared Library 390.138 Thu May 14 04:01:38 PDT 2020 for hardware decoding
avcodec info: Using NVIDIA VDPAU Driver Shared Library 390.138 Thu May 14 04:01:38 PDT 2020 for hardware decoding
avcodec info: Using NVIDIA VDPAU Driver Shared Library 390.138 Thu May 14 04:01:38 PDT 2020 for hardware decoding
avcodec info: Using NVIDIA VDPAU Driver Shared Library 390.138 Thu May 14 04:01:38 PDT 2020 for hardware decoding
avcodec info: Using NVIDIA VDPAU Driver Shared Library 390.138 Thu May 14 04:01:38 PDT 2020 for hardware decoding
..."

VLC sais: "egl_x11 error: cannot select OpenGL API avcodec info: Using NVIDIA VDPAU Driver Shared Library 390.138 Thu May 14 04:01:38 PDT 2020 for hardware decoding avcodec info: Using NVIDIA VDPAU Driver Shared Library 390.138 Thu May 14 04:01:38 PDT 2020 for hardware decoding avcodec info: Using NVIDIA VDPAU Driver Shared Library 390.138 Thu May 14 04:01:38 PDT 2020 for hardware decoding avcodec info: Using NVIDIA VDPAU Driver Shared Library 390.138 Thu May 14 04:01:38 PDT 2020 for hardware decoding avcodec info: Using NVIDIA VDPAU Driver Shared Library 390.138 Thu May 14 04:01:38 PDT 2020 for hardware decoding ..."

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

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

Sorry for late response.

I suspect this could be caused by HW decoder. Unfortunately I don't have enough expertise in codecs and time to learn about what is problem here.

Sorry for late response. I suspect this could be caused by HW decoder. Unfortunately I don't have enough expertise in codecs and time to learn about what is problem here.
Member

Added subscriber: @filedescriptor

Added subscriber: @filedescriptor
Member

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

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

No activity for more than a week. As per the tracker policy, we assume the issue is gone and can be closed.

Thanks again for the report. If the problem persists please open a new report with the required information.

No activity for more than a week. As per the tracker policy, we assume the issue is gone and can be closed. Thanks again for the report. If the problem persists please open a new report with the required information.

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

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

Reopening because I think this should be checked.

I think we could check if this bug is caused by Blender by rendering series of images into movie with same settings, once in VSE then with ffmpeg alone. then it will be either ffmpeg bug or decoder.

I will try to check this.

Reopening because I think this should be checked. I think we could check if this bug is caused by Blender by rendering series of images into movie with same settings, once in VSE then with ffmpeg alone. then it will be either ffmpeg bug or decoder. I will try to check this.

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

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

I have encoded series of images into video with command ffmpeg.exe -r 24 -f image2 -s 1280x720 -i %04d.png -c:v libx264 -crf 0 -pix_fmt yuv420p test.mp4

ffprobe shows

Stream #0:0(und): Video: h264 (High 4:4:4 Predictive) (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 9239 kb/s, 24 fps, 24 tbr, 12288 tbn, 48 tbc (default)

Same problem as with video encoded with Blender.

Therefore this is either bug in ffmpeg or decoder.

I have encoded series of images into video with command `ffmpeg.exe -r 24 -f image2 -s 1280x720 -i %04d.png -c:v libx264 -crf 0 -pix_fmt yuv420p test.mp4` ffprobe shows ``` Stream #0:0(und): Video: h264 (High 4:4:4 Predictive) (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 9239 kb/s, 24 fps, 24 tbr, 12288 tbn, 48 tbc (default) ``` Same problem as with video encoded with Blender. Therefore this is either bug in ffmpeg or decoder.
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
3 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#81509
No description provided.