mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Merge pull request #3086 from pypeclub/enhancement/use_operational_pattern_to_recognize_op_atom
Transcoding: Use operational patter to recognize OP Atom mxf format
This commit is contained in:
commit
1cb3dc1b71
1 changed files with 2 additions and 2 deletions
|
|
@ -727,9 +727,9 @@ def get_ffmpeg_format_args(ffprobe_data, source_ffmpeg_cmd=None):
|
|||
def _ffmpeg_mxf_format_args(ffprobe_data, source_ffmpeg_cmd):
|
||||
input_format = ffprobe_data["format"]
|
||||
format_tags = input_format.get("tags") or {}
|
||||
product_name = format_tags.get("product_name") or ""
|
||||
operational_pattern_ul = format_tags.get("operational_pattern_ul") or ""
|
||||
output = []
|
||||
if "opatom" in product_name.lower():
|
||||
if operational_pattern_ul == "060e2b34.04010102.0d010201.10030000":
|
||||
output.extend(["-f", "mxf_opatom"])
|
||||
return output
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue