MP4 specifically refers to the MPEG-4 part 14. A standard audio and video container that is part of the MPEG-4 specification developed by ISO / IEC.

learn more… | top users | synonyms

39
votes
8answers
159k views

How can I merge two mp4 files without losing quality?

I have two high-quality mp4 files, which are of two parts of the same show. I want to merge them together into 1 file, and I usually use VirtualDub to merge my files... But it doesn't seem to support ...
36
votes
9answers
29k views

Extracting audio from MP4 video into MP3

I downloaded a few MP4-encoded videos from which I'd like to extract the audio stream into MP3 files for easy listening on my digital player. Most likely, VLC can do this, but the instructions ...
34
votes
1answer
23k views

FFMPEG Splitting MP4 with Same Quality

I have one large MP4 file. I am attempting to split it into smaller files. ffmpeg -i largefile.mp4 -sameq -ss 00:00:00 -t 00:50:00 smallfile.mp4 I thought using -sameq would keep the same quality ...
32
votes
2answers
114k views

Handbrake settings to convert MKV to MP4 while retaining the original quality

I have a ton of MKV files I need to convert to MP4 and my chosen software is Handbrake. I'm stuck on which settings would be best for the conversion. I want to retain full quality. Do I just convert ...
30
votes
9answers
59k views

How to convert WMV to MP4?

How can a set of WMV files be converted to MP4 so I can import them to my Apple TV?
30
votes
6answers
42k views

FFMPEG convert flv to mp4 without losing quality [duplicate]

Currently I'm converting .flv flash files to .webm and .mp4 files to be used with an HTML5 video player. _ I use this ffmpeg command for WEBM: ffmpeg -i filename.flv -vcodec libvpx -acodec libvorbis ...
29
votes
4answers
44k views

Joining H264 *without* re-encoding

I have two halves of a single show in two .MP4 files, encoded in H264. I would like to join them without re-encoding. Is this possible? I managed to create a joined video as a Quicktime file (.mov) ...
25
votes
2answers
30k views

How to extract an audio track from an MP4 video file on Windows?

Having an MP4 video file I'd like to get just the audio track of it. What makes my question different from the others is that I don't want to convert it (like to MP3 or anything) - I'd prefer to keep ...
25
votes
3answers
53k views

How to open and repair an m4v or mp4 video file?

Yesterday I was filming a scene with my phone but suddenly the application crashed and when I try to open the m4v generated it says that is corrupted. I have downloaded the video files (around 36MB) ...
24
votes
3answers
26k views

Convert from MOV to MP4 Container format

I have a digital camera that records nice 1080p H.264 format but unfortunately it uses the MOV container format. Basically I have nothing but the camera and VLC that play this format natively. Is ...
21
votes
1answer
46k views

Converting FLV to MP4 Using FFMPEG and Preserving the Quality

Im trying to use ffmpeg to convert my flv files to mp4 to play them on iOS devices but the converted video has a much worse quality than the original one. Here is the command i use: ffmpeg -i ...
19
votes
5answers
22k views

Join mp4 files in linux

I want to join two mp4 files to create a single one. The video streams are encoded in h264 and the audio in aac. I can not re-encode the videos to another format due to computational reasons. Also, I ...
19
votes
4answers
110k views

How do I create a DVD from an MP4 file using Windows DVD Maker?

I'm trying to create a DVD from an MP4 file using Windows DVD Maker (on Windows 7) but when doing so I get the error that the file type is not supported and cannot be imported. What is the easiest way ...
17
votes
4answers
10k views

How can I remove multiple segments from a video using FFmpeg?

I am trying to delete a few sections of a video using FFmpeg. For example, imagine if you recorded a show on television and wanted to cut out the commercials. This is simple with a GUI video-editor; ...
15
votes
2answers
8k views

Accurately cut video files from command line

I'm having trouble finding a cli application that can take a video file (avi, mkv, and mp4 preferably) and cut out very short clips (2-6 seconds) with precision time accuracy. I've tried ffmpeg, ...
14
votes
1answer
14k views

Streaming mp4 with ffmpeg

I need to create a feed that has two streams - webm and mp4 - so that it can be compatible on all HTML5 video players. The webm stream works perfectly. However, when trying to access the mp4 stream, ...
13
votes
2answers
10k views

FFMPEG - Non-monotonous DTS

When I use FFMPEG to convert a video from MP4 to M3U8, using the following command, ffmpeg -i op.mp4 -b:v 128k -flags -global_header -map 0:0 -map 0:1 -f segment -segment_time 4 -segment_list_size 0 ...
12
votes
6answers
10k views

How can I convert .mov to mp4?

I have a .mov file I've just recorded that's 600MB, I want to convert it to a smaller .mp4 file. How can I do this?
12
votes
6answers
35k views

How can I merge or concatenate two or more MP4 files creating another MP4 file? [duplicate]

How can I concatenate or merge 2 or more MP4 files, in a final output MP4 file also? I have tried in the DOS window to use the COPY command (I have read it somewhere) but it doesn't function well.
12
votes
1answer
5k views

How do I replace the audio in an MP4 file without re-encoding?

I've got a video in an MP4 container that I would like to replace the audio track in (not add another audio stream to, nor convert the audio format of). Someone elsewhere online suggested to use ...
11
votes
2answers
13k views

FFmpeg drops frames when encoding a png image sequence into an x264 mp4 video

I'm trying to encode an image-sequence (frame0001.png, frame0002.png, ... , frame0160.png) into an x264 video using the following command: ffmpeg -i frame%04d.png -sameq -r 24 out.mp4 After ...
10
votes
9answers
959 views

Convert mp4 to mp3

I would like to convert mp4 (video included) to mp3 (without video). what is the best way of doing this apart from using audacity (or similar software) and performing manual conversion (recording as ...
10
votes
4answers
6k views

How do you split a large MPEG-4 video file into smaller files?

I have an hour of raw footage from a users group meeting that I want to split in to 10-minute chunks so I can upload them to YouTube. I did some searching and couldn't really find a good way to ...
9
votes
2answers
19k views

How can I get high quality/low size MP4s like the LOL release group?

Release group LOL does an excellent job at encoding their releases on The Vampire Diaries (on other shows like How I Met Your Mother the bitrate is higher, so doesn't seem this effective). About 200 ...
9
votes
2answers
29k views

What's the easiest way to save a GIFV as a simple GIF?

Usually I open the context menu right clicking on the image. Now theres no option for "save image as", just options for the WEBM/MP4 format.
9
votes
1answer
12k views

How do I add MP3, MP4 and H.264 support to Chromium on Windows?

Google Chrome on Windows comes with support for the above media formats, however, Chromium does not. I want to add support for my own personal use, how can I do this? I know that on Ubuntu this is ...
9
votes
2answers
3k views

Why is H.264 video so much faster in an FLV container than in an MP4 container?

I am developing a tube site, and currently having issues with H.264 format. I noticed that YouTube put their hi-def videos into an MP4 container, so logically I did the same. Next, I installed ...
9
votes
2answers
14k views

Shouldn't we always use Web Optimized for Handbrake?

I use Handbrake sometimes to compress video files, and notice that the "Web Optimized" option is not chosen by default, and cannot be set to the default in Options either. But I tried both Web ...
8
votes
7answers
36k views

Rotate a MP4 file, while preserving codec and quality attributes

I need to rotate a MP4 video by 90 degrees. There is software like Free Video Flip and Rotate available that does this but produces an AVI file. Do you have any suggestions for a software to produce ...
8
votes
1answer
16k views

Use ffmpeg copy codec to combine *.ts files into a single mp4

I've got a bunch of ts segments described by a single index.m3u8 file: index.m3u8 segment1_0_av.ts segment2_0_av.ts segment3_0_av.ts segment4_0_av.ts segment5_0_av.ts I know they ...
8
votes
5answers
6k views

Extract audio aac from mp4

Is there a command line tool for Windows to extract audio aac from mp4 ?
8
votes
1answer
4k views

When spliting MP4s with ffmpeg how do I include metadata?

I have a few MP4s that i want to upload to my flickr account but they have a maximum size of 500mb as mine is only about 550 i was planing to simply split them in half then upload them, but i want to ...
8
votes
3answers
654 views

How to convert .avi video that has 1 static image in the video (with sound) to mp4 video with ffmpeg to least possible size?

I've an .avi video (divx) that's at 25fps and it has mp3 audio at 64kbit/s. This video has just one image throughout the entire video. I'm trying to convert this video to mp4 but to make it as small ...
7
votes
3answers
31k views

Batch Convert .mkv to .mp4

I want to batch convert all .mkv files in a folder into .mp4 with VLC. It should use the original video-/audio stream and if possible the .ass subtitle of the .mkv. It's not really a conversion, it's ...
7
votes
4answers
9k views

How to convert 50 episodes from DVD into 50 .mp4 with HandBrake, easily?

I loaded a DVD with 50 episodes in it (chose VIDEO_TS from the program), now when i open it in HandBrake, it shows 50 "titles" in there. i choose 320x240 output format and start converting. Then i ...
6
votes
3answers
69k views

How to split a mp4 video into jpg pictures? [duplicate]

I have a video(with 4 min) in mp4 format(probably MPEG-4) that I need to convert into a lot of pictures(jpg's). I would need to take a lot of Print Screen and paste on MS Paint to manually do that, ...
6
votes
1answer
6k views

How do I convert the format of an audio track inside an MP4 video?

I have an MP4 File with an AVC video track and an MP3 (not AAC) audio track. Video: MPEG4 Video (H264) 1920x1080 [Video] Audio: MPEG Audio 44100Hz stereo 192kbps [Audio] While some video players ...
6
votes
1answer
7k views

accurate cutting of video (+ audio) with ffmpeg

I want my website to allow users to accurately create their own clips from a source video I provide. I have a source video file that I first want to convert to something suitable for a website: ...
5
votes
2answers
12k views

Why is converting WMV to MP4 so slow?

I am trying to convert a video from WMV to MP4 with FFmpeg but it takes couple of hours. If I try to convert it to AVI it only takes about 10-15 minutes. ffmpeg version ffmpeg version ...
5
votes
4answers
24k views

Convert MP4 to OGG (Video)

Does anyone know a way to convert .mp4 video to .ogg video (in Windows)? None of the converters I've seen online seem to do the job.
5
votes
2answers
13k views

Conversion from WMV to MP4 file fails with FFmpeg

When converting a WMV file to an MP4 file, it says [mp4 @ 0x989c160] track 1: could not find tag, codec not currently supported in container and Could not write header for output ...
5
votes
1answer
1k views

Not able to play a mp4 video purchased from Google Play

I purchased a movie from Google Play, then used Ant Video Player to download it. It's in MP4 format (or, at least, has an MP4 extension). When I try to open it in Windows Media Player, I get the error ...
5
votes
1answer
13k views

ffmpeg: Could not find codec parameters for stream 0 (Video: h264) unspecified size

I try to convert a video from .raw to .mp4. For this reason I did download, build and install both x264 and ffmpeg. However, command: ffmpeg -f h264 -i output.raw -vcodec copy output.mp4 fails with ...
4
votes
4answers
8k views

How can I convert MP4 video files to DVD? [closed]

I've got some MP4 video files that I'd like to put onto DVD. What is the best software (preferably free) for accomplishing such a task?
4
votes
3answers
40k views

Which is better between a .flv and a .mp4 video files with same encoding?

There is a server from which I can download videos, and I can choose if I want .flv or .mp4. The encoding is the same: -> FLV Flash Video 1 video stream: 640*360 (16:9), at 25,000 fps, AVC ...
4
votes
3answers
6k views

Synchronizing audio and video using MP4Box / ffmpeg to concatenate files

I have two H.264 encoded MPEG-4 files that I need to concatenate. I have been using MP4Box for this task by first ensuring the files are encoded identically (even went so far as to compare output from ...
4
votes
2answers
2k views

Which FFmpeg command do I use to passthrough FLV to MP4?

I've a number of downloaded FLV files which I would like to convert to MP4. They are already in the correct format so I am told all I need to do is to remux the video and audio streams into an MP4 ...
4
votes
1answer
18k views

How to change ffmpeg -threads settings

Working on a tube site. I'm running videos through ffmpeg on a linux dedicated server to convert to mp4. The server specs: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte ...
4
votes
1answer
2k views

What tools should I use to edit H.264 MP4 GoPro videos?

I have recorded videos using a GoPro, which produces MP4 files containing H.264 encoded videos. I would like to do some simple editing tasks on these videos without losing quality:- Cut various ...
4
votes
2answers
5k views

Convert mp4 video to a format xbox 360 can play

Here is a video file my Xbox 360 refuses to play: $ MP4Box -info video.mp4 * Movie Info * Timescale 90000 - Duration 02:18:33.365 Fragmented File no - 2 track(s) File Brand ...