Siavash Sameni
3ea25a0656
fix(android): use MediaCodec input layout for video encode
Mirror to GitHub / mirror (push) Failing after 29s
Build Release Binaries / build-amd64 (push) Failing after 4m1s
2026-05-26 11:35:24 +04:00
Siavash Sameni
d2046060b5
fix(video): request android sync frames via mediacodec
Mirror to GitHub / mirror (push) Failing after 27s
Build Release Binaries / build-amd64 (push) Failing after 3m5s
2026-05-25 21:28:59 +04:00
Siavash Sameni
5d05b021aa
fix(wzp-video): gate shiguredo AV1 crates to macOS only; fix Linux relay build
...
- Cargo.toml: merge duplicate [target.macos.deps] sections; move
shiguredo_dav1d/svt_av1/video_toolbox into single block
- lib.rs: dav1d + svt_av1 modules and re-exports guarded by
cfg(target_os = "macos") instead of cfg(not(android))
- factory.rs: AV1 encoder/decoder paths split into macos (svt-av1/dav1d)
and linux fallback (NotInitialized); update doc comments and tests
- build-linux-docker.sh: build only wzp-relay + wzp-web (drops
wzp-client which pulled in shiguredo crates); fix Docker copy step;
add --deploy flag + deploy_relay(); fix branch auto-detection
- build-tauri-android.sh: default to release build, arm64 only
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-05-25 06:33:35 +04:00
Siavash Sameni
f3e3ee5ed0
fix(wzp-video): cfg-gate dav1d + svt-av1 off Android target
...
shiguredo_dav1d and shiguredo_svt_av1 build scripts panic with
'unsupported target: os=android, arch=aarch64'. The AV1 SW fallback
is only needed on macOS / Linux desktop — Android uses MediaCodec
for AV1 anyway.
- Cargo.toml: AV1 SW deps moved under cfg(not(target_os = "android"))
- lib.rs: cfg-gate the dav1d and svt_av1 modules and re-exports
- factory.rs: on Android, Av1Main paths return NotInitialized when
HW MediaCodec is also unavailable (only path on Android)
- factory tests: assert NotInitialized on Android, Ok elsewhere
Unblocks T4.3.1.1 (Android target-compile of wzp-video / mediacodec).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-05-12 19:58:37 +04:00
Siavash Sameni
9334aa5ccd
T6.1: AV1 encoder/decoder with HW probe + SVT-AV1 SW fallback
...
- New: av1_obu.rs — OBU framer, depacketizer, keyframe detection, LEB128 helpers
- New: dav1d.rs — SW AV1 decoder wrapper (shiguredo_dav1d)
- New: svt_av1.rs — SW AV1 encoder wrapper (shiguredo_svt_av1)
- Add CodecId::Av1Main = 12 with match-arm fixes in downstream crates
- Add VideoToolboxAv1Decoder for macOS M3+ HW decode
- Add MediaCodecAv1Encoder/Decoder for Android (video/av01)
- Add extract_sequence_header_obu() helper for AV1 decoder CSD
- Add 10-frame encode-decode roundtrip test (svt_av1 + dav1d)
- Fix clippy unused import in dav1d.rs
- 15 tests; all workspace tests pass; cargo fmt clean
2026-05-12 18:44:44 +04:00
Siavash Sameni
2e0bdc5904
T5.2: VideoQualityController with per-mode allocation gates + 8-step target table
2026-05-12 12:34:32 +04:00
Siavash Sameni
397f9d2141
T4.3.1: MediaCodec AMediaCodec wiring via ndk crate (Android); fix wzp-android build on non-Android
2026-05-12 10:03:43 +04:00
Siavash Sameni
410c2a4335
T4.2.1: Real VideoToolbox VTCompressionSession / VTDecompressionSession wiring (macOS)
2026-05-12 09:51:34 +04:00
Siavash Sameni
490d2d31c6
T4.1: wzp-video crate scaffold + H.264 NAL framer + depacketizer
2026-05-12 07:22:54 +04:00