HandBrake to encode HD video for Youtube

I’ve just defeated a problem I had with Youtube not accepting my videos encoded with Handbrake.

I usually encode videos using the High Profile preset in Handbrake but for some reason Youtube wasn’t very happy with that. It uploaded fine but after converting it it only displayed the first 30 seconds of my video. And that in fast forward speed. Not what I wanted.

By default Handbrake use the x264 encoder. If you select FFmpeg in the Video tab it works fines. I also increased the quality to QP:5 which seems to be ok for Youtube.