Blender Git Loki
Git Commits -> Revision 19c0666
June 30, 2021, 07:33 (GMT) |
Fix T88623, T87044: Make encoded videos play correctly in VLC The issue was two fold. We didn't properly: 1. Initialize the codec default values which would lead to VLC complaining because of garbage/wrong codec settings. 2.Calculate the time base for the video. FFmpeg would happily accept this but VLC seems to assume the time base value is at least somewhat correct and couldn't properly display the frames as the internal time base was huge. We are talking about 90k ticks (tbn) for one second of video! This patch initializes all codecs to use their default values and fixes the time base calculation so it follows the guidelines from ffmpeg. Reviewed By: Sergey, Richard Antalik Differential Revision: https://developer.blender.org/D11426 |
Commit Details:
Full Hash: 19c0666d408a56d42310ca4a70df6ba07a2a542d
Parent Commit: 14308b0
Committed By: Jeroen Bakker
Lines Changed: +103, -86