Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

WebPublisher: Fix wrong number of frames for video file #2851

Conversation

kalisp
Copy link
Member

@kalisp kalisp commented Mar 8, 2022

Brief description

Wrong value 0-1 was hardcoded, now ffprobe is used to try get frame count from a file

Description

In the case of any weird video format, fallback to values stored in DB (Ftrack) is used.

Testing notes:

  1. Publish any video file as a 'render' family via WebPublisher
  2. Compare number of frames in the file and in published record (shoul be visible in Loader or when Loaded to Nuke)

…ith ffprobe

Previously wrong hardcoded value was used. This implementation needs to be monitored for weird format of published video files.
@kalisp kalisp added the type: bug Something isn't working label Mar 8, 2022
@kalisp kalisp requested a review from 64qam March 8, 2022 12:54
@kalisp kalisp self-assigned this Mar 8, 2022
@mkolar
Copy link
Member

mkolar commented Mar 8, 2022

@kalisp kalisp merged commit 2793ac6 into develop Mar 8, 2022
@kalisp kalisp deleted the bugfix/OP-2860_Nuke-loader---loading-mp4-from-web-publisher-incorrect-duration branch March 8, 2022 15:43
@mkolar mkolar added this to the 3.9.0 milestone Mar 15, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants