apple_tv_hd_open_audio
Generated from stock preset pack device_targets_open_audio.
Dependencies
| Tool |
Needed |
Why |
ffmpeg |
required |
scenario execution, encode/transcode, and mux packaging |
ffprobe |
required |
criteria probing and stream/metadata inspection |
E2E Verification
This profile is considered e2e-verified when its mapped suites pass in CI.
| Suite |
What it proves |
Toolchain version report |
tests/e2e/run_device_conformance_e2e.sh |
conservative device-target conformance for stock targets |
tests/e2e/.reports/latest/run_device_conformance_e2e_toolchain_versions.md |
| Field |
Value |
| Codec |
h264 |
| Bit depth |
any |
| Color space |
bt709 |
| Min resolution |
352x240 |
| Max resolution |
1920x1080 |
Scenario Map
| Scenario |
Command |
CODEC_JUST_RIGHT RES_JUST_RIGHT |
ffmpeg -nostdin -i $vfo_input -c copy -map 0 -movflags faststart -strict -2 $vfo_output |
RES_TOO_HIGH |
transcode_h264_1080_hdr_to_sdr_profile.sh $vfo_input $vfo_output |
ELSE |
transcode_h264_1080_hdr_to_sdr_profile.sh $vfo_input $vfo_output |
Runtime Behavior
- Scenario
CODEC_JUST_RIGHT RES_JUST_RIGHT uses direct ffmpeg command execution.
- Scenario
RES_TOO_HIGH uses action script transcode_h264_1080_hdr_to_sdr_profile.sh.
- Scenario
ELSE uses action script transcode_h264_1080_hdr_to_sdr_profile.sh.
| Aspect |
What this profile expects / does |
| Starting containers |
mkv, mp4, mov, mxf (anything ffmpeg can demux) |
| Required codec envelope |
h264 / any-bit / bt709 |
| Required resolution range |
352x240 to 1920x1080 |
| If criteria do not match |
candidate is routed to another profile or skipped |
| If criteria match |
scenario order is evaluated and first match executes |
| Output intent |
output container and streams are defined directly by the ffmpeg command |
Flow
flowchart LR
classDef gate fill:#fff7ed,stroke:#f59e0b,color:#7c2d12,stroke-width:1.5px;
classDef stage fill:#e0f2fe,stroke:#0284c7,color:#0c4a6e,stroke-width:1.2px;
classDef output fill:#dcfce7,stroke:#16a34a,color:#14532d,stroke-width:1.2px;
classDef skip fill:#f3f4f6,stroke:#6b7280,color:#1f2937,stroke-width:1.2px;
A[Input candidate: mkv / mp4 / mov / mxf]:::stage --> B[Probe codec bits color resolution]:::stage
B --> C{Matches profile criteria envelope?}:::gate
C -->|No| Z[Handled by other profile or skipped]:::skip
C -->|Yes| D{Evaluate scenarios in order}:::gate
D --> E[First match: CODEC_JUST_RIGHT RES_JUST_RIGHT]:::stage
E --> F[Execute: direct ffmpeg]:::stage
F --> G[Write profile output artifact]:::output
Source
- Preset file:
services/vfo/presets/device_targets_open_audio/vfo_config.preset.conf
- Generated by:
infra/scripts/generate-profile-docs.sh