Skip to content

S12M timecode support#530

Closed
jdek wants to merge 3 commits into
Upipe:masterfrom
jdek:master
Closed

S12M timecode support#530
jdek wants to merge 3 commits into
Upipe:masterfrom
jdek:master

Conversation

@jdek

@jdek jdek commented Oct 23, 2018

Copy link
Copy Markdown

Source from lavc, Source/Sink for Blackmagic

@cmassiot

Copy link
Copy Markdown
Collaborator

I guess we do not have a recent enough version of ffmpeg to build it ?

@jdek

jdek commented Oct 29, 2018

Copy link
Copy Markdown
Author

Yes, I guess I would need to add some sort of guard for ffmpeg version?

@cmassiot

Copy link
Copy Markdown
Collaborator

Yes it would be lovely.

@nto

nto commented Nov 23, 2018

Copy link
Copy Markdown
Collaborator

Just add a check for the needed ffmpeg symbols in configure, so you don't need to depend on a specific release.

if (side_data) {
uref_pic_set_s12m(uref, side_data->data, side_data->size);
}

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about using the AV_FRAME_DATA_S12M_TIMECODE macro to check for availability :

#ifdef AV_FRAME_DATA_S12M_TIMECODE
     side_data = av_frame_get_side_data(frame, AV_FRAME_DATA_S12M_TIMECODE);
     if (side_data) {
         uref_pic_set_s12m(uref, side_data->data, side_data->size);
     }
#endif

@JDarnley JDarnley mentioned this pull request Jun 21, 2024
@cmassiot

Copy link
Copy Markdown
Collaborator

Superseded by #991.

@cmassiot cmassiot closed this Jan 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants