How to install FFmpeg on Jetson TX1

Hello everyone:
I want to decode the video stream of the network camera which encoded by H264.I used to use FFmpeg on ubuntu14.04 (amd64) to achieve this function.Jeton TX1 (with JetPack Brush) can not find ffmpeg files (libavcodec, etc.).How can I use FFmpeg on Jetson TX1?
I hope that someone can help me.Thanks all!