Maniphest T93689

Blender 3.0 Incorrect MP4 exporting. 1072p instead of 1080p
Closed, Archived

Assigned To
None
Authored By
Jeran (Thejeran)
Dec 5 2021, 10:08 AM
Tags
  • BF Blender
  • VFX & Video
  • Video Sequencer
Subscribers
Jeran (Thejeran)
Pratik Borhade (PratikPB2123)
Richard Antalik (ISS)

Description

System Information
Operating system: Windows 10
Graphics card: RTX2080

Blender Version
Broken: 3.0
Worked: 2.93.6

Short description of error
Exporting MP4 with 3.0 has different file outputs than 2.93. Not to mention the vertical dimensions are wrong.
Both of these videos were exported with the same settings but in different versions.

The 3.0 export is 32.7MB
The 2.93 export is 25.0MB

As a result loading the 3.0 MP4 into premiere crashes premiere.

Exact steps for others to reproduce the error

File Format: FFmpeg Video
Container: MPEG-4
Video Codec: H.264
Output Quality: Lossless
Encoding Speed: Good

export

Related Objects

Mentioned Here
rB0ea0ccc4ffd5: FFmpeg: Fix H264 lossless render not lossless

Event Timeline

Jeran (Thejeran) created this task.Dec 5 2021, 10:08 AM
Pratik Borhade (PratikPB2123) added a subscriber: Pratik Borhade (PratikPB2123).Dec 5 2021, 10:25 AM
Richard Antalik (ISS) changed the task status from Needs Triage to Confirmed.Dec 6 2021, 8:09 PM
Richard Antalik (ISS) added projects: VFX & Video, Video Sequencer.
Richard Antalik (ISS) added a subscriber: Richard Antalik (ISS).

This could be caused by rB0ea0ccc4ffd5, resolution shouldn't be changed I think. I don't have premiere here, Can you check if it supports lossless h264 by encoding some file manually with command ffmpeg -i input.mp4 -c:v libx264 -preset medium -crf 0 output.mp4? As described in https://trac.ffmpeg.org/wiki/Encode/H.264 some applications may have trouble decoding lossless video.

Will confirm to check at least why output height is incorrect.

Jeran (Thejeran) added a comment.Dec 6 2021, 8:33 PM
In T93689#1266563, @Richard Antalik (ISS) wrote:

This could be caused by rB0ea0ccc4ffd5, resolution shouldn't be changed I think. I don't have premiere here, Can you check if it supports lossless h264 by encoding some file manually with command ffmpeg -i input.mp4 -c:v libx264 -preset medium -crf 0 output.mp4? As described in https://trac.ffmpeg.org/wiki/Encode/H.264 some applications may have trouble decoding lossless video.

Will confirm to check at least why output height is incorrect.

Those are the same settings I have been using to export and import videos into premiere for the last two years. I don't think it's a premiere issue. It only happened with 3.0 and it happens 100% of the time.

Richard Antalik (ISS) added a comment.Dec 7 2021, 6:08 PM

Problem is, that before 3.0 lossless h.264 render wasn't really lossless, so some settings were changed internally. These new settings should correspond to ffmpeg command I posted. So if video encoded with such command does not work in Premiere, it's most likely because it doesn't support lossless h264 decoding.

Richard Antalik (ISS) closed this task as Archived.Jan 28 2022, 9:54 PM

Sorry for delay, checking this report again, and I don't think there is any bug. The movie resolution is indicated incorrectly in windows properties, In Blender video is imported as 1920x1080, same is reported by ffprobe tool. No pixels are missing in the video.

As far as playback, again I can't check whether this is expected behavior or not. VLC and ffplay have no problems with lossless output so I have to assume this is problem in premiere. if it's not I need to know why and have means to test this, otherwise I can't fix this issue. But if you find issue with software that is free at least if not open source I can check again.

For now I will close this report.