Skip to content

Add RFC 6381 codec info BitDepth and PixelFormat to video-audit, bids-inject, and split-video#254

Merged
vmdocua merged 4 commits into
masterfrom
enh-codec-rfc-6381
May 23, 2026
Merged

Add RFC 6381 codec info BitDepth and PixelFormat to video-audit, bids-inject, and split-video#254
vmdocua merged 4 commits into
masterfrom
enh-codec-rfc-6381

Conversation

@vmdocua

@vmdocua vmdocua commented May 23, 2026

Copy link
Copy Markdown
Collaborator

Populate VideoCodecRFC6381 / AudioCodecRFC6381 / BitDepth / PixelFormatin BIDS sidecar JSON. Add RFC 6381 codec string support to the BIDS sidecar JSON written by bids-inject.

Tasks:

  • Make bids_inject to internally use ffprobe on the source video to populate VideoCodecRFC6381 AudioCodecRFC6381, BitDepth, and PixelFormat in metadata. In future it is going to be replaced by dedicated new columns in videos.tsv.
  • Extend AudioInfo and VideoInfo models in video_audit with codec_rfc6381 fields and the helpers audio_codec_to_rfc6381 / video_codec_to_rfc6381 to compute them.
  • Populate BitDepth and PixelFormat in BIDS sidecar JSON.
  • Add tests for RFC 6381 propagation, sidecar model population, and the error-recovery path.
  • Manually test new functionality on typhon for sub-qa/ses-20250814 in the ~/branches/QA-reprostim dataset.

In continuation to:

@vmdocua vmdocua self-assigned this May 23, 2026
@vmdocua vmdocua added documentation Changes only affect the documentation enhancement New feature or request patch Increment the patch version when merged tests Add or improve existing tests labels May 23, 2026
gemini-code-assist[bot]

This comment was marked as resolved.

@vmdocua vmdocua changed the title Add RFC 6381 codec info to video-audit, bids-inject, and split-video Add RFC 6381 codec info to video-audit, bids-inject, and split-video May 23, 2026
@vmdocua vmdocua changed the title Add RFC 6381 codec info to video-audit, bids-inject, and split-video Add RFC 6381 codec info BitDepth and PixelFormat to video-audit, bids-inject, and split-video May 23, 2026
@vmdocua vmdocua marked this pull request as ready for review May 23, 2026 21:21
@vmdocua vmdocua merged commit 7296fde into master May 23, 2026
10 checks passed
@vmdocua vmdocua deleted the enh-codec-rfc-6381 branch May 23, 2026 21:22
@github-actions

github-actions Bot commented Jun 8, 2026

Copy link
Copy Markdown

🚀 PR was released in 0.7.33 🚀

@github-actions github-actions Bot added the released This issue/pull request has been released. label Jun 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Changes only affect the documentation enhancement New feature or request patch Increment the patch version when merged released This issue/pull request has been released. tests Add or improve existing tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant