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
4k 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 ...
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
151 views

Does anyone know of a good app/tool that allows you to edit MP4 files? [duplicate]

Possible Duplicates: How can I merge two mp4 files without losing quality? Which free video editing tool can I use in windows to slice an mp4 file? I need to be able to increase the ...
1
vote
2answers
2k views

Media file repair tool

I have an incomplete MP4 file. It contains audio only, in AAC. Is there any tool that would fix the file so I can play the partial file?
15
votes
2answers
57k 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 ...
11
votes
1answer
4k 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 ...
9
votes
0answers
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, ...
1
vote
1answer
3k 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 ...
3
votes
1answer
7k 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. ...
2
votes
1answer
22 views

Looking for Video Player to Cycle Through Files Easily [closed]

I'd like a Video Player for MAC that know how to play most video formats (wmv, flv, mp4, avi, etc) but would let me cycle through the video files (in current folder) on a keypress (for example, right ...
0
votes
1answer
461 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 ...
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 ...
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 ├── ...
1
vote
2answers
236 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. ...
3
votes
2answers
2k views

Extracting A Clip From An MP4 File In Linux on Kubuntu 11.10

I'm running KUbuntu 11.10 Linux. I would like to extract a clip from an MP4 file. I tried this command: myCLIPrompt:~/Downloads/temp/clips$ mencoder -ss 00:43:13 -endpos 00:02:12 -oac copy -ovc ...
3
votes
1answer
3k 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 ...
0
votes
2answers
99 views

Is it possible to encode subtitles into a MP4 file for use on a PS3?

What's the correct or most up-to-date way of doing this? What program do I use? I want to watch a MP4 on my PS3 with subtitles 'hardcoded', because the PS3 doesn't recognize srt files.
32
votes
8answers
24k 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 ...
1
vote
2answers
4k 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 ...
11
votes
6answers
29k 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.
4
votes
3answers
29k 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, ...
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 ...
1
vote
1answer
114 views

How can I repair a broken 3GP/MP4 file without a moov header?

I was recording audio two days ago and my phone suddenly died while doing so. I used MP4repair and a short clip of sound could be heard and they would be charging $80 to recover it. I thought it was ...
30
votes
8answers
123k 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
4answers
9k views

Which free video editing tool can I use in windows to slice an mp4 file? [closed]

I would like to cut a portion of a podcast which is a mp4 file and upload to youtube. Which is the easiest way to do it?
1
vote
0answers
569 views

FFmpeg AVI to MP4 preserves sound, but not images

Working with FFmpeg at a conversion (any file to MP4 (H.264/AAC)): ffmpeg -y -i testdatei.avi -i logo.jpg -filter_complex overlay=15:15,scale=-1:720 -c:v libx264 -profile:v baseline -preset medium ...
2
votes
3answers
5k views

Reduce size of MP4

I have a MP4 file with a lengh of 22:44. Here are the details: Video: width: 720 px height: 404 px data bitrate: 1022 kBit/s overall bitrate: 1182 kBit/s fps: 24 codec: H264 - MPEG4 AVC ...
1
vote
1answer
528 views

how to save m3u8 stream

I want to save a m3u-stream. The content of the m3u8 files looks like this: #EXTM3U #EXT-X-ALLOW-CACHE:NO #EXT-X-VERSION:3 #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=756617,CODECS="avc1.77.31, ...
0
votes
1answer
26 views

What is a good way to make small audio edits to a very large mp4 file?

I have a video that I'd like to remove a few small things from its audio (coughs, phone vibrations, etc.). It's an mp4 and it's rather huge (over 4GB), and I'm not finding an editor that can manage to ...
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
424 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 ...
0
votes
0answers
58 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 ...
10
votes
5answers
13k 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 ...
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
17k 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 ...
0
votes
1answer
169 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
46 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
3k 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
162 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
29k 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 ...
0
votes
1answer
1k 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
87 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
42 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
162 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 ...
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
2k 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
2k 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 ...
27
votes
4answers
34k 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) ...