# installer ffmpeg :

 apt-get update
 apt-get install ffmpeg

# installer les codecs Ubuntu 12 :

 apt-get install libavcodec-extra-53
 

# installer les codecs Ubuntu 14 :

 apt-get install libavcodec-extra-54

# utiliser ffmpeg :

 avconv -i [THE_INPUT_FLV_FILE] -c:v libx264 [THE_OUTPUT_MP4_FILE]
 

# mettre un mp4 en stream :

 qt-faststart source_file.mp4 destination_file.mp4