Updated:I had to install the -ffmpeg package for gstreamer which enabled H264. I figured -ugly would work since it had x264 as a dependency but the -ffmpeg package was needed.
I don't know if I can just use the -ffmpeg package and not have the others (like -bad and -ugly) but I will leave installed for now.
