Skip to content

Conversation

awilczyns
Copy link
Collaborator

No description provided.

@DawidWesierski4 DawidWesierski4 changed the title Resolved the issue with interpretation of the F bit in the ST40 packet Fix: issue with interpretation of the F bit in the ST40 packet Jun 24, 2025
Copy link
Collaborator

@DawidWesierski4 DawidWesierski4 left a comment

Choose a reason for hiding this comment

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

Seems to track with https://datatracker.ietf.org/doc/html/rfc8331

   F: 2 bits
           These two bits relate to signaling the field specified by the
           RTP timestamp in an interlaced SDI raster.  A value of 0b00
           indicates that either the video format is progressive or that
           no field is specified.  A value of 0b10 indicates that the
           timestamp refers to the first field of an interlaced video
           signal.  A value of 0b11 indicates that the timestamp refers
           to the second field of an interlaced video signal.  The value
           0b01 is not valid.  Receivers SHOULD ignore an ANC data
           packet with an F field value of 0b01 and SHOULD process any
           other ANC data packets with valid F field values that are
           present in the RTP payload.

           Note that some multi-stream SDI interfaces might use multiple
           interlaced signal streams to transmit progressive images, in
           which case the "F" bits would refer to the field of the
           interlaced stream used for transport of the ANC data packet.

was this tested ?

@awilczyns
Copy link
Collaborator Author

Seems to track with https://datatracker.ietf.org/doc/html/rfc8331

   F: 2 bits
           These two bits relate to signaling the field specified by the
           RTP timestamp in an interlaced SDI raster.  A value of 0b00
           indicates that either the video format is progressive or that
           no field is specified.  A value of 0b10 indicates that the
           timestamp refers to the first field of an interlaced video
           signal.  A value of 0b11 indicates that the timestamp refers
           to the second field of an interlaced video signal.  The value
           0b01 is not valid.  Receivers SHOULD ignore an ANC data
           packet with an F field value of 0b01 and SHOULD process any
           other ANC data packets with valid F field values that are
           present in the RTP payload.

           Note that some multi-stream SDI interfaces might use multiple
           interlaced signal streams to transmit progressive images, in
           which case the "F" bits would refer to the field of the
           interlaced stream used for transport of the ANC data packet.

was this tested ?

Yes

Copy link
Collaborator

@DawidWesierski4 DawidWesierski4 left a comment

Choose a reason for hiding this comment

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

LGTM

@awilczyns awilczyns enabled auto-merge (squash) June 24, 2025 10:34
@awilczyns awilczyns force-pushed the fix-anc-issue-f-bits branch from f8068b6 to 9f7dcdd Compare July 2, 2025 12:24
@Mionsz Mionsz force-pushed the fix-anc-issue-f-bits branch from 9f7dcdd to 1554e30 Compare July 2, 2025 21:49
@Mionsz Mionsz added bug fix Something isn't working review required The code is fully ready for review. labels Jul 2, 2025
awilczyns added 2 commits July 3, 2025 06:05
…ST40 packet

Signed-off-by: Wilczynski, Andrzej <andrzej.wilczynski@intel.com>
…if statement for improved readability.

Signed-off-by: Wilczynski, Andrzej <andrzej.wilczynski@intel.com>
@Mionsz Mionsz force-pushed the fix-anc-issue-f-bits branch from 1554e30 to b2c3681 Compare July 3, 2025 04:05
@awilczyns awilczyns merged commit 7b6d69d into OpenVisualCloud:main Jul 3, 2025
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug fix Something isn't working review required The code is fully ready for review.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants