The nix equivalent is gst_all_1.gst-libav I think. Seems it can’t reach h264 and h265 without it.
That seems like a fix worthy of a pull request to me. Perhaps you could submit it?
opened xfce.parole: add gst-libav by worldofpeace · Pull Request #85505 · NixOS/nixpkgs · GitHub