Skip to content

feat: build the MPEG-4 Visual reference decoder (vm_dec) - #413

Merged
rsanchez87 merged 1 commit into
masterfrom
feat/mpeg4-video-reference-decoder
Nov 3, 2026
Merged

rsanchez87 merged 1 commit into
masterfrom
feat/mpeg4-video-reference-decoder

Conversation

@rsanchez87

@rsanchez87 rsanchez87 commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

PR to try to solve this issue #348

Only tested on linux (x86_64)

Comment thread build/build_mpeg4_video_decoder.py Resolved
Comment thread build/build_mpeg4_video_decoder.py Resolved
@rsanchez87
rsanchez87 force-pushed the feat/mpeg4-video-reference-decoder branch from 5ad89a5 to 0c7d66c Compare October 26, 2026 09:17
@rsanchez87
rsanchez87 requested a review from ylatuya October 26, 2026 09:19
@rsanchez87
rsanchez87 marked this pull request as ready for review October 26, 2026 10:21
@ylatuya

ylatuya commented Oct 26, 2026

Copy link
Copy Markdown
Contributor

Only tested on linux (x86_64)

It should be enabled for other platforms and tested in the CI

@rsanchez87
rsanchez87 marked this pull request as draft October 26, 2026 10:56
@rsanchez87
rsanchez87 force-pushed the feat/mpeg4-video-reference-decoder branch from fd0b62e to 4e3dbbc Compare October 26, 2026 11:27
@rsanchez87
rsanchez87 marked this pull request as ready for review October 26, 2026 11:41
@rsanchez87

Copy link
Copy Markdown
Contributor Author

Only tested on linux (x86_64)

It should be enabled for other platforms and tested in the CI

Done, tested here https://github.com/fluendo/fluster/actions/runs/40315200021

@rsanchez87
rsanchez87 force-pushed the feat/mpeg4-video-reference-decoder branch from 4e3dbbc to b05b7c5 Compare October 26, 2026 11:43
Comment thread meson.build Resolved
Comment thread build/download_deps.py Resolved
Comment thread build/build_mpeg4_video_decoder.py Resolved
@rsanchez87
rsanchez87 force-pushed the feat/mpeg4-video-reference-decoder branch 2 times, most recently from 381af9a to 0bfa9b2 Compare November 2, 2026 08:29
@rsanchez87
rsanchez87 requested review from ylatuya and removed request for ylatuya November 2, 2026 08:32
@rsanchez87
rsanchez87 force-pushed the feat/mpeg4-video-reference-decoder branch from 229bc78 to 16f1d45 Compare November 2, 2026 09:02
@rsanchez87
rsanchez87 force-pushed the feat/mpeg4-video-reference-decoder branch from 16f1d45 to fc61e23 Compare November 2, 2026 12:15

@mdimopoulos mdimopoulos left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I've tried to test with ref decoder in MacOS (aarch64) without success.
It seems that the decoder binary is built correctly, however when i ./fluster.py r -d ISO-MPEG4-VIDEO -s -v i get

 * test_suites_dir: /Users/midimopo/Work/Repos/fluster/fluster/../test_suites
 * resources_dir: /Users/midimopo/Work/Repos/fluster/fluster/../resources
 * output_dir: /var/folders/gj/20q2p6w15b1gqj1fw5lkbjrw0000gn/T/fluster_output

when i executed the same with FFmpeg MPEG4 decoder i got the usual fluster report.

I wouldn't block the PR for this though

@rsanchez87
rsanchez87 force-pushed the feat/mpeg4-video-reference-decoder branch from fc61e23 to 6aaf537 Compare November 2, 2026 16:24
@ylatuya

ylatuya commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

I've tried to test with ref decoder in MacOS (aarch64) without success. It seems that the decoder binary is built correctly, however when i ./fluster.py r -d ISO-MPEG4-VIDEO -s -v i get

 * test_suites_dir: /Users/midimopo/Work/Repos/fluster/fluster/../test_suites
 * resources_dir: /Users/midimopo/Work/Repos/fluster/fluster/../resources
 * output_dir: /var/folders/gj/20q2p6w15b1gqj1fw5lkbjrw0000gn/T/fluster_output

when i executed the same with FFmpeg MPEG4 decoder i got the usual fluster report.

I wouldn't block the PR for this though

This is by design, the mpeg4_video test suite uses the pixel comparision method and reference decoders are skipped with that configuration. We should probably write better logs to inform that

Enabled by default like the other reference decoders
(-Dmpeg4_video_decoder=false to disable). download_deps.py fetches the ISO
sources and adapts them to current compilers; no ISO code is committed.
Built in CI on Linux (x86_64, ARM64), macOS (ARM64) and Windows (MSYS2)
@rsanchez87
rsanchez87 force-pushed the feat/mpeg4-video-reference-decoder branch from 6aaf537 to 959bf21 Compare November 3, 2026 09:47
@rsanchez87
rsanchez87 merged commit 45d6dca into master Nov 3, 2026
9 checks passed
@rsanchez87
rsanchez87 deleted the feat/mpeg4-video-reference-decoder branch November 3, 2026 10:18
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.

3 participants