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

8
votes
1answer
4k 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, ...
0
votes
1answer
2k 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 ...
0
votes
0answers
102 views

DVD Rips not plying AC3 5.1 Audio in iTunes

So I have been trying for months now to get iTunes to play my dvd rips with the AC3 track. I have 2 audio tracks on all my files, just like how you would download a movie from the iTunes store. One ...
3
votes
1answer
2k views

How do I merge a folder of PNG images to a mp4 movie using avconv?

I have a folder containing many time stamped PNG images which I'd like to merge to a short movie. The contents of that directory looks like this: └── images ├── img_20130421_115547.png ├── ...
8
votes
0answers
3k 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 ...
2
votes
1answer
2k 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 ...
8
votes
3answers
342 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 ...
1
vote
4answers
4k views

Windows Media Player not playing MP4 files correctly, codec doesn't work either

I have video files with MP4 extension (downloaded from my cellular phone) and it appears automatically associated with WMP in the computer. It doesn't play correctly because the sound is not ...
1
vote
1answer
1k views

ffmpeg - concatenating two MP4 files results in bad output file

I generated two MP4 files - a five-second intro file, which is created by the script below, and the main video (about one minute long) is created by screen-cast-omatic, both in MP4 format. When I ...
1
vote
2answers
328 views

Is there a way to soft embed subtitles into an mp4 file without re-encoding?

I am trying to add an srt file(s) to mp4 files. Is there a way to do it without re-encoding the file. What I have tried: Added subtitles with the handbrake-cli. While this technically worked, it ...
26
votes
4answers
31k 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) ...
0
votes
1answer
2k views

How to merge MP4 files with different frame rates and different audio sample rates

I have four MP4 files called "file_1", "file_2", "file_3" and "file_4" and I wish to merge them into one file in the following order: file_1, file_2, file_3 and file_4. file_1 has the following ...
0
votes
1answer
289 views

“windows media player cannot play the file” mp4

We have an .mp4 video hosted on a web site. I can play back the video from the production version of the web site, but not the test version of the site. The production web site has the .mp4 MIME ...
1
vote
1answer
232 views

Can't get instances of a video (mp4) to play in multiple tabs in Chrome

I have a mp4 that I would like to play in Chrome. The mp4 is stored on s3 and has a url like http://bucket.s3.amazonaws.com/vid.mp4 Now when I put that url into Chrome 27.0.1453.94 the video plays. ...
1
vote
1answer
2k views

Problems with frame rate on video conversion using ffmpeg with libx264

I have problems with transcoding some videos. I ran the most simple ffmpeg command and it takes very long time and the output file is about 10 times bigger. If I provide the frame rate parameter -r it ...
2
votes
1answer
110 views

Cutting multi-bitrate MP4 files for Helix Server with FFmpeg

We are using Helix Server in order to distribute Video On Demand (with multi-bitrate) Content among our audience. This means that there is one MP4 file that contains multiple video streams and one ...
0
votes
0answers
13 views

Troubles getting -t option with ffmpeg to produce a gif with the right fps and length

I created a movie using matplotlib (the Python graphing package). It is 10 seconds long. I attempted to produce a *.gif using ffmpeg with the following command: ffmpeg -i animation.mp4 -pix_fmt ...
0
votes
1answer
2k views

Sound out of sync after merging multiple mp4 files with Avidemux

I am trying to join (merge) two or more .mp4 files together, without re-encoding. Here is what I did: Started Avidemux 2.5.5. With File->Open, selected Input1.mp4. I received this message - "H.264 ...
1
vote
2answers
11k views

How do I add another audio stream to an MP4 file?

I've got an MP4 video file and I want to add another AAC audio track to it. I've tried YAMB and MeGUI (frontends for MP4Box) and it plays correctly in Zoom Player, but it picks the wrong track in WMP ...
2
votes
0answers
76 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 ...
1
vote
1answer
16 views

FFmpeg pass through

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 ...
1
vote
1answer
2k views

How can I rotate MOV and mp4 files in Windows Live Photo Gallery?

I am using Windows Live Photo Gallery on Windows 7 to manage my photos and video clips from camera/phone. If I import photos/videos from camera, it is smart enough to rotate as necessary, but I have ...
2
votes
0answers
112 views

IE11 not playing mp4 file

I am using ffmpeg to convert a freely available public RTSP stream to a mp4 file. I can play the file quite well in Chrome using a standard HTML5 video client on a windows 7 machine but not in IE11. ...
2
votes
1answer
2k views

How to convert an MKV to MP4 with Subtitles

I have an MKV with subtitles. I want to convert it to MP4, but HandBrake does support encoding subtitles from anything other than a DVD. Is there a way to do what I want? I'll take anything on ...
0
votes
1answer
129 views

Improve ffmpeg command for MKV to MP4 for iPad?

I have many MKVs made from DVDs and BRs by MakeMKV that I converting to MP4 so I can play/stream on my iPad Air. I now use this command for converting my MKVs to MP4: ffmpeg -i input.mkv -strict ...
16
votes
5answers
11k views

FFMPEG convert flv to mp4 without losing quality

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 ...
0
votes
1answer
38 views

MP4 video plays past it's length?

I have a video file. MP4. It was originally 25GB and 10 hours long. But then I tried to trim it with movie maker. I did what I needed and then I published the video. No, I didn't save over ...
1
vote
1answer
124 views

How do I convert webm to mp4 for MacOSX?

I'm on MacOSX Lion and would like a method for converting webm to mp4 (or another iTunes compatible format). ffmpeg seems like a possibility but the documentation is a bit obtuse for me; step-by-step ...
4
votes
5answers
2k views

Extract audio aac from mp4

Is there a command line tool for Windows to extract audio aac from mp4 ?
0
votes
0answers
84 views

ffmpeg conversion commandline needed

I want to ask for help on converting a mpg videofile recorded from TV to a mp4 format my SAT Receiver can play, (mp4). Below are the format infos of source and target output by ffmpeg -i: All done on ...
5
votes
3answers
1k 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; ...
6
votes
1answer
3k 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, ...
0
votes
1answer
67 views

How to determine 'Output bit depth' of the libx264 library in ffmpeg?

According to the x264 Encoding Guide, the crf scale depends on whether x264 is 8-bit or 10-bit. Supposedly x264 --help shows the Output bit depth. But on Windows ffmpeg -h full doesn't say anything ...
7
votes
4answers
10k 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 ...
3
votes
3answers
21k 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, ...
0
votes
0answers
22 views

Put bitrate atom into MP4 container

When iTunes encodes audio with the iTunes Plus setting, it shows 256 kbps as the bitrate, but actually these are VBR files. For files that were not encoded with iTunes, what tool can modify the tags ...
5
votes
2answers
6k 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 ...
3
votes
2answers
2k views

Compiling x264 with mp4 support

I need x264 for my project. I have one at /opt/local/bin/x264, but when I execute the following command: x264 --qpfile cuepoints.qp --output output.mp4 input.mp4 it says: x264 [error]: not ...
0
votes
0answers
115 views

Microsoft Expression Encoder 4 Screen Capture in Visual Basic

How can I get Microsoft Expression Encoder 4 in Visual Basic to record the screen in wmv or mp4 video?. I've tried with Microsoft.Expression.Encoder.ScreenCapture.ScreenCaptureJob, but the record in ...
1
vote
0answers
80 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.
3
votes
3answers
598 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 ...
0
votes
1answer
110 views

Read/Write albumart cover type in mp4/m4a with AtomicParsley or any other CLI tool?

Is it possible (and how) to read and/or write the cover type of the artwork embedded in mp4/m4a audio with AP? MP4 audio supports 'Front Cover' and 'Back Cover' types, and I can read/set those values ...
30
votes
8answers
117k 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 ...
11
votes
6answers
28k 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.
0
votes
0answers
95 views

Adding audio to MP4 in Premier Pro and then exporting the new MP4 file

How do I add an audio clip to an MP4 file in Premier Pro and then export the new MP4 file?
11
votes
1answer
43k 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 ...
0
votes
0answers
80 views

Achieve mp4(x264) compression of Debut Video Capture in Sony Vegas

I am using Debut Video Capture software to record my screen (948x534px in mp4 h264 encoder with Ratefactor of 28) and afterwards I edit those clips and render then in Sony Vegas. My problem is that ...
15
votes
3answers
13k 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 ...
1
vote
1answer
652 views

How to merge an image into an audio file?

I am trying to merge a thumbnail-size (104x80) image into an audio file (M4A). I want it to be played in JW Player, but it doesn't seem to support thumbnails. I have tried it in VLC Player, but the ...
5
votes
2answers
4k 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 ...