flv to mp4 converter in Trusty

I don't think so there is GUI app is available in Ubuntu repository.

But you can simply convert your required formats in terminal. Try the following,

First you have to install libav-tools, Open terminal(Ctrl+Alt+T) and type the below command,

$ sudo apt-get install libav-tools

Now you can do your needs, for FLV file to MP4

$ avconv -i input.flv -codec copy output.mp4

Have a look at winff

It is a graphical application that uses ffmpeg (like a lot of other programs) to convert videos and audio.

It is included in the official Ubuntu repositories, so you can simply install it with

sudo apt-get install winff

The official website includes a link to a wiki and a mailing list if you need specific support and documentation with this tool


Handbrake is in the official repositories since Trusty (14.04). It is a small, efficient DVD ripper and video transcoder with a clean GTK GUI.

It can convert from a number of video formats, including flv, to either MPEG-4 or Matroska.

To install:

$ sudo apt-get install handbrake

Abstract from the blog Transcoding an audio or a video file - http://www.frasq.org/en/transcoding-an-audio-or-a-video-file (look for mp4flv in the page):

To convert a FLV already containing a video in H264 and an audio in AAC in MP4:

ffmpeg -i file.flv -acodec copy -vcodec copy -y video.mp4    

MP4Box -raw 1 video.mp4 -out video.h264
MP4Box -raw 2 video.mp4 -out audio.aac

MP4Box -add video.h264 -add audio.aac file.mp4

rm -f video.mp4 video.h264 audio.aac

If the FLV contains an audio in MP3, extract the video while converting the MP3 in AAC:

ffmpeg -i file.flv -vcodec copy -y video.h264 -f adts -ar 44100 -f wav -ac 2 - | faac -b 128 -o audio.aac -

Assemble the MP4 with MP4Box:

MP4Box -add video.h264 -add audio.aac file.mp4

The blog explains how to install ffmpeg, faac, MP4Box, etc.

La version en français : Transcoder des fichiers audio et vidéo - http://www.frasq.org/fr/transcoder-des-fichiers-audio-et-video


avconv -i input.flv -c:a copy output.mp4

This has the effect of transcoding the video stream with the default codec and copying the audio stream.

avconv can be installed with

sudo apt-get install libav-tools