You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The AV_FRAME_DATA_S12M_TIMECODE field is described as:
/**
* Timecode which conforms to SMPTE ST 12-1. The data is an array of 4 uint32_t
* where the first uint32_t describes how many (1-3) of the other timecodes are used.
* The timecode format is described in the documentation of av_timecode_get_smpte_from_framenum()
* function in libavutil/timecode.h.
*/
AV_FRAME_DATA_S12M_TIMECODE
And I have installed the package libavutil-dev version 7:4.4.2-0ubuntu0.22.04.1 and libavutil56, which for Ubuntu22.04 provide libavutil version 56.70.100 as can be seen in the following lines:
So the libavutil version should be sufficient, as far as I understand, but maybe I need something else to make this work, I do not have sufficient experience.
The text was updated successfully, but these errors were encountered:
Overview
Adding
S12M_TIMECODE
field to theav.sidedata.sidedata.Type
Enum would give the ability to read timecode information from SEI metadata.Existing FFmpeg API
The existing FFmpeg enum is defined in
libavutil/frame.h
and is calledAVFrameSideDataType
.The documentation is at https://ffmpeg.org/doxygen/trunk/group__lavu__frame.html#gae01fa7e427274293aacdf2adc17076bc.
The
AV_FRAME_DATA_S12M_TIMECODE
field is described as:This is the link to the
AV_FRAME_DATA_S12M_TIMECODE
field in the docs: https://ffmpeg.org/doxygen/trunk/group__lavu__frame.html#ggae01fa7e427274293aacdf2adc17076bca9f4e4ed5a874d1089ec07c384b81bb70Expected PyAV API
PyAV should have a
S12M_TIMECODE
field in theav.sidedata.sidedata.Type
Enum, which is currently defined as:PyAV/av/sidedata/sidedata.pyx
Lines 11 to 29 in 1b27fc9
Example:
Investigation
N/A
Reproduction
N/A
Versions
This refers to the PyAV installation in a virtualenv, installed with
pip install av
. Not sure if it is useful:N/A
This is the output of my system-wide ffmpeg installation, not sure it really matters here:
Additional context
I tried manually adding a
S12M_TIMECODE
field toav.sidedata.sidedata
, with this edits on the latest commit on main branch (1dfe776):But the compilation fails with this message:
From FFmpeg sources, I can see that
AV_FRAME_DATA_S12M_TIMECODE
was added in libavutil version 56.20.100:https://github.com/FFmpeg/FFmpeg/blob/89215237dd6ac64f94e14aa20a000e0440a00aac/doc/APIchanges#L894-L895
And I have installed the package libavutil-dev version 7:4.4.2-0ubuntu0.22.04.1 and libavutil56, which for Ubuntu22.04 provide libavutil version 56.70.100 as can be seen in the following lines:
So the
libavutil
version should be sufficient, as far as I understand, but maybe I need something else to make this work, I do not have sufficient experience.The text was updated successfully, but these errors were encountered: