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

3
votes
1answer
3k 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 ...
0
votes
1answer
12 views

Linux CLI tool for measuring MP4/AAC audio levels? [on hold]

I'm looking for a Linux command-line tool that can scan an existing MP4 container's AAC track, and output the min, max, and average volume levels for that track. Not looking for a normalizing or ...
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
8k views

MP4 and FLV formats, which one is smaller for the same video? [closed]

Is an MP4 file for a video smaller or larger than that of a FLV format?
8
votes
3answers
388 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 ...
3
votes
1answer
2k 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 ...
1
vote
1answer
51 views

Remove .mp4 video top and bottom black bars using ffmpeg

I'm new to ffmpeg and I have heard that it has a filter for black. I want to remove black bars on top and bottom of the video so the video will be cropped to the remaining video without black bars. ...
1
vote
2answers
3k views

any way to recover corrupted mp4?

I have an mp4 file that seems to have gotten corrupted somehow: $ file HDV_1042.MP4 HDV_1042.MP4: data $ mediainfo HDV_1042.MP4 General Complete name : HDV_1042.MP4 File ...
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 ...
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 ...
0
votes
0answers
27 views

Why does VLC cut off the end of my video when transcoding?

I am trying to "bake in" a custom made subtitle file (Advanced SubStation Alpha) for a short (3:46) video. However, despite trying an assortment of commandline options, VLC seems to always cut off the ...
8
votes
5answers
11k 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 ...
-2
votes
1answer
99 views

Fast MP4 thumbnails

I have worked with FFmpeg, AtomicParsley and Mp4Box in the past to set MP4 thumbnails. However today I realized that MediaMonkey can also set them, and fast. The previous three programs listed all ...
8
votes
1answer
5k 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, ...
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 ├── ...
9
votes
4answers
4k 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 ...
1
vote
2answers
15k 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 ...
30
votes
8answers
120k 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 ...
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 ...
0
votes
1answer
64 views

ffmpeg: Adding Drawtext timecode & Watermark with -filter_complex, Stream Matching

I am trying to add the timecode with drawtext and put a logo with ffmpeg. The command line looks like this: ffmpeg -i INPUT.MP4 -i logo.png / -filter_complex ...
0
votes
1answer
35 views

How can I convert videos for Sony Xperia U on my Linux box?

I would like to send a few videos for my girlfriend, but I would ensure they are playable on her mobile phone. I want to carry out the encoding tasks on my Arch Linux box, because my PC is a low end. ...
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 ...
4
votes
2answers
6k 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 ...
1
vote
1answer
55 views

Edit “Media Duration” metadata on MP4 file

I have some video files which were converted to MP4, but not quite correctly. When I examine one with exiftool, I see these metadata values: Duration : 0:11:23 Track Duration ...
7
votes
7answers
28k 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 ...
1
vote
1answer
2k views

Rotate MP4, and change dimensions

I have an MP4 video that was filmed on my Android phone, but the guy filmed it holding my phone some weird way. When viewing it in QuickTime I have to rotate my laptop 90 degrees and then I will see ...
0
votes
1answer
61 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 ...
0
votes
0answers
53 views

How to concatenate MP4 files without losing embedded subtitle or audio tracks?

I have two MP4 files (mediainfo below), one is a short intro scene, and the other is the primary feature. Now, the primary video contains several audio tracks and embedded subtitles. I want to simply ...
0
votes
0answers
33 views

ffmpeg bitrate variating without reason

I got a mp4 video. I just want to split it in 4GB file parts using ffmpeg (to make it writeable on FAT32). C:\ffmpeg\ffmpeg.exe -i "%NAME%.mp4" -n -t %LENGTH% -codec copy "%NAME%_1.mp4" ...
0
votes
0answers
141 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 ...
10
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 ...
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
1k 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
33k 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
1k 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
249 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. ...
2
votes
1answer
169 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
17 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 ...
1
vote
2answers
12k 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
166 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
69 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 ...
2
votes
0answers
270 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
264 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 ...
18
votes
5answers
13k 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
52 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
136 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
121 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 ...