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

36
votes
8answers
138k 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
8answers
27k 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 ...
28
votes
9answers
49k 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?
27
votes
4answers
38k 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) ...
26
votes
1answer
19k 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 ...
24
votes
2answers
84k 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 ...
23
votes
6answers
26k 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 ...
21
votes
2answers
19k 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 ...
20
votes
3answers
20k 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 ...
19
votes
1answer
39k 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 ...
18
votes
4answers
37k 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) ...
16
votes
4answers
84k 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 ...
13
votes
2answers
7k 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
4answers
5k 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; ...
12
votes
1answer
9k 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, ...
11
votes
6answers
31k 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.
11
votes
5answers
17k 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 ...
10
votes
9answers
829 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 ...
9
votes
4answers
5k 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
10k 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 ...
9
votes
1answer
6k 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, ...
8
votes
7answers
32k 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
2answers
13k 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 ...
8
votes
1answer
7k 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 ...
8
votes
2answers
2k views

h264 inside FLV container vs. MP4 container?

I am developing a tube site, and currently having issues with h264 format . By looking at youtube, I noticed they are putting their hi-def videos into mp4 container, so logically I did the same. ...
8
votes
1answer
3k 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
546 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
1answer
7k 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 ...
6
votes
1answer
3k 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 ...
6
votes
3answers
47k 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
3answers
23k 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 ...
6
votes
1answer
5k 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
2answers
7k 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
1answer
5k 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
8k 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
21k 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
5answers
4k views

Extract audio aac from mp4

Is there a command line tool for Windows to extract audio aac from mp4 ?
5
votes
1answer
844 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 ...
4
votes
4answers
6k views

How can I convert MP4 video files to DVD?

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
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
11k 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 ...
4
votes
1answer
1k 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
0answers
674 views

How to merge MP4 files with different bitrates?

I want to merge two or three MP4 videos with MPEG-4 AVC video codec and MP3 (sometimes MP3 Surround) audio codecs. Both audio and video can have different bitrate. If it will be possible, without ...
4
votes
0answers
211 views

Combine/concatenate multiple MP4 files, making each file into a chapter

I am looking to use handbrake to combine 43 short mp4 files into one larger file. However, I want to ensure that the start of each file is recognized as a chapter. I'd be using vlc to play the file.
4
votes
0answers
246 views

Why is the resulting file unplayable when I use FFMPEG to convert a MP4 video to ASF?

I want to convert an .mp4 file to an .asf file, but I need to keep the size of the file below 150 mb (the server I need to upload the file to can only take files under 150 mb). Basically I want to ...
4
votes
1answer
9k 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 ...
3
votes
2answers
6k 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.
3
votes
3answers
1k views

How to apply audio track to a mute h264/mp4-video losslessly?

I have a MP4/h.264-video with no sound. With ffmpeg or similar, how can I apply an audio track to that MP4-file without degrading the quality of the video (i.e. without recoding the video-track)? I'd ...
3
votes
1answer
9k views

how do I convert .iso to .mp4 without mounting with ffmpeg

The problem is - I want to convert .iso with dvd to .mp4 (h264/ac3), but I cannot mount it via mount -o loop, because I'm on a virtual machine that doesn't allow to do that. Googling doesn't help. ...