Runs GStreamer media pipelines for decode, decode plus compose, and encode on Intel® GPUs and finds the largest number of channels that keep 30 FPS each.
Test suite
test_media_pipelines (src/esq/suites/media/performance/test_media_pipelines.py)
Integration type
Type 1: generic suite . ESQ's own benchmark container runs the pipelines, and the profile selects the operation, codec, bitrate, resolution, and device.
Key metric
max_streams (channels), with avg_fps
Devices
iGPU, dGPU
How It Works
Build the media benchmark image and check that the GStreamer VA plugins are available.
Generate or loop the input video for the codec, bitrate, and resolution.
Run the operation pipeline with an increasing number of channels in parallel.
Report the largest channel count that kept 30 FPS per channel, and the average FPS.
Parameters
Parameter
Default
Description
operation
decode
decode, compose (decode and compose), or encode
codec
H.264
H.264 or H.265
bitrate
4Mbps
Stream bitrate
resolution
1080p
Stream resolution and frame rate, for example 1080p30 or 4k30
device
igpu
Device category
display_output
auto
Show the composed output on a display. Unset detects whether a display is available.
container_image, image_tag, dockerfile_name, docker_nocache
media_perf_runner, 1.0, Dockerfile, false
Benchmark image build
timeout
300
Seconds for the test case. The profiles use 3600.
kpi_refs
[]
KPIs to validate
Profiles
Expand a profile to see the test cases it runs with this suite.
profile.horizontal.media.performance-pipelines
Test ID
Test case
MDA-DEC-001
Media Decode 4Mbps H.264 1080p@30 (iGPU)
MDA-DEC-002
Media Decode 16Mbps H.264 4k@30 (iGPU)
MDA-DEC-003
Media Decode 4Mbps H.264 1080p@30 (dGPU)
MDA-DEC-004
Media Decode 16Mbps H.264 4k@30 (dGPU)
MDA-DEC-005
Media Decode 2Mbps H.265 1080p@30 (iGPU)
MDA-DEC-006
Media Decode 8Mbps H.265 4k@30 (iGPU)
MDA-DEC-007
Media Decode 2Mbps H.265 1080p@30 (dGPU)
MDA-DEC-008
Media Decode 8Mbps H.265 4k@30 (dGPU)
MDA-ENC-001
Media Encode 4Mbps H.264 1080p@30 (iGPU)
MDA-ENC-002
Media Encode 16Mbps H.264 4k@30 (iGPU)
MDA-ENC-003
Media Encode 4Mbps H.264 1080p@30 (dGPU)
MDA-ENC-004
Media Encode 16Mbps H.264 4k@30 (dGPU)
MDA-ENC-005
Media Encode 2Mbps H.265 1080p@30 (iGPU)
MDA-ENC-006
Media Encode 8Mbps H.265 4k@30 (iGPU)
MDA-ENC-007
Media Encode 2Mbps H.265 1080p@30 (dGPU)
MDA-ENC-008
Media Encode 8Mbps H.265 4k@30 (dGPU)
Run
esq run --profile profile.horizontal.media.performance-pipelines --filter test_id = MDA-DEC-001