{ "name": "x264", "version": "0.165.3223", "summary": "x264: the H.264 (AVC) encoder library, for FFmpeg's libx264 encoder", "category": "library", "license": "GPL-2.0-or-later", "homepage": "https://www.videolan.org/developers/x264.html", "source": { "url": "https://deb.debian.org/debian/pool/main/x/x264/x264_0.165.3223+git20250910.0480cb0.orig.tar.xz", "sha256": "de68ca43d0c6e09baeb86a38ed5cde86b0a84a21d6babcc569804201dc9df133" }, "watch": { "kind": "index", "url": "https://deb.debian.org/debian/pool/main/x/x264/", "regex": "x264_0\\.([0-9]+\\.[0-9]+)\\+git[0-9a-z.]+\\.orig\\.tar\\.xz" }, "deps": [], "env_packages": [ "nasm" ], "static": true, "nss": false, "check": "$PKG_CONFIG --modversion x264 | has '^0\\.165\\.' && check_lib x264 'stdint.h x264.h' 'x264_param_t p; x264_picture_t in, out; x264_nal_t *nal; int n, bytes = 0; if (x264_param_default_preset(&p, \"medium\", NULL) < 0) return 1; p.i_log_level = X264_LOG_NONE; p.i_width = 64; p.i_height = 48; p.i_csp = X264_CSP_I420; p.i_fps_num = 25; p.i_fps_den = 1; if (x264_param_apply_profile(&p, \"high\") < 0) return 2; x264_t *h = x264_encoder_open(&p); if (!h || x264_picture_alloc(&in, X264_CSP_I420, 64, 48) < 0) return 3; for (int f = 0; f < 5; f++) { memset(in.img.plane[0], 16 + f * 40, 64 * 48); memset(in.img.plane[1], 128, 32 * 24); memset(in.img.plane[2], 128, 32 * 24); in.i_pts = f; n = x264_encoder_encode(h, &nal, &bytes, &in, &out); if (n < 0) return 4; } while (x264_encoder_delayed_frames(h)) if (x264_encoder_encode(h, &nal, &bytes, NULL, &out) < 0) return 5; x264_picture_clean(&in); x264_encoder_close(h); if (bytes <= 0) return 6' && [ -s share/doc/x264/COPYING ] && echo \"x264 $($PKG_CONFIG --modversion x264): five 64x48 frames encoded as H.264 High through the C API; its licence in share/doc/x264\"" }