Skip to content

Add more diverse Flow examples#177

Open
samdbmg wants to merge 6 commits intomainfrom
sammg/feat/diverse-examples
Open

Add more diverse Flow examples#177
samdbmg wants to merge 6 commits intomainfrom
sammg/feat/diverse-examples

Conversation

@samdbmg
Copy link
Member

@samdbmg samdbmg commented Feb 27, 2026

Details

  • Adds additional TAMS Flow examples:
    • JPEG-2000 video in an MXF container
    • H.264 video in an MXF container
    • PCM audio in a WAV container
  • Reworks the ingest_hls.py example to handle non-HLS input
  • Tweaks the outgest_file.py example to handle non-MPEGTS media
  • Adds some new example media with non-MPEGTS containers accordingly (and a new test film)
  • Improves the example client module by making error handling automatic, and including response body in the thrown exception
  • Fixes a framerate bug in the original HLS example

Jira Issue (if relevant)

Jira URL: https://jira.dev.bbc.co.uk/browse/CLOUDFIT-5513

Related PRs

N/A

Submitter PR Checks

(tick as appropriate)

  • PR completes task/fixes bug
  • API version has been incremented if necessary
  • ADR status has been updated, and ADR implementation has been recorded
  • Documentation updated (README, etc.)
  • PR added to Jira Issue (if relevant)
  • Follow-up stories added to Jira

Reviewer PR Checks

(tick as appropriate)

  • PR completes task/fixes bug
  • Design makes sense, and fits with our current code base
  • Code is easy to follow
  • PR size is sensible
  • Commit history is sensible and tidy

Info on PRs

The checks above are guidelines. They don't all have to be ticked, but they should all have been considered.

Adds examples of:
- PCM audio in WAV containers
- JPEG-2000 video in MXF containers
- H.264 video in MXF containers

Also tidies the list of Flow examples to group by type.
Adds an example of Flow Storage using WAV containers and proxying the
object traffic through the same origin as the API.
Tweaks client request methods to automatically raise on execptions, and
include the response body in those exceptions (makes debugging failure
causes much easier!)
Updates ingest script to accept a list of filenames (rather than an HLS
manifest), and also support setting `ts_offset` and generally retiming
Flows.
Updates output script to remove hard MPEG-TS requirement - ffmpeg's
probing is good enough to correctly detect the format.
Adds MOV and WAV container examples to the ingest scripts, using an
additional test film at 50fps (alongside Big Buck Bunny at 30fps).
@samdbmg samdbmg requested a review from a team as a code owner February 27, 2026 15:05
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.

1 participant