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

1
vote
1answer
398 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 ...
0
votes
1answer
559 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 ...
3
votes
1answer
8k 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
61 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" ...
4
votes
0answers
693 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 ...
2
votes
1answer
944 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 ...
2
votes
0answers
605 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. ...
0
votes
1answer
817 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
409 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
3k 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 ...
0
votes
1answer
361 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 ...
2
votes
1answer
294 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 ...
4
votes
0answers
216 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.
2
votes
2answers
6k 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 ...
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 ...
1
vote
0answers
277 views

Seekbar not working in Chrome

I have uploaded a video to my Windows Storage and noticed, that the seekbar (of the default Chrome's html5 player) is not working. Url of that video is: ...
7
votes
2answers
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 ...
2
votes
1answer
9k 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 ...
-2
votes
2answers
124 views

Convert Blu-ray movie to DVD quality [closed]

I have a 30GB .mp4 file (personal full HD movie) which I want to convert to a DVD quality (4.7GB) movie. What is the best way/tool to do that?
1
vote
1answer
902 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
517 views

How to check is h264 mp4 file is correct?

I writing applcation which split live stream from web camera to multiple h264 mp4 files. Now I have some problems like missing keyframes and maybe another. Are there any tools to check my output ...
13
votes
4answers
6k 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; ...
0
votes
2answers
1k views

Remove beginning and end from multiple MP4 files in bulk

I have several 100 videos that I need to remove the first 20 seconds and the last 30 seconds of. Obviously not practical to do this one at a time. Can I automate this somehow, maybe in an OS X ...
2
votes
1answer
3k 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
0answers
233 views

FFMPEG converted file for jwplayer shows black

im new to ffmpeg, and I'm trying to convert it to mp4 to play on jwplayer, the video converts, the sound is good, but all i can see is black color, maybie anyone knows the answer to this problem? ...
1
vote
2answers
9k 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 ...
0
votes
1answer
352 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 ...
8
votes
1answer
8k 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 ...
1
vote
0answers
172 views

How to merge 2 mp4 files with 1 atom?

I'm merging two mp4 files for video streaming. the problem is, the merged file contains two atoms, 1 atom from each file and that is a problem when it comes to streaming. the client needs to wait ...
0
votes
1answer
795 views

What is the fastest and best way to convert an rmvb video to mp4/mkv without losing any quality?

The file will be played in a Popbox3D. My old method was to convert the video using vidcoder (an offshoot of handbrake) using normal settings, but I've recently confirmed that this significantly ...
2
votes
1answer
1k views

MP4 takes too long to start

I'm converting my video to H.264 / MP4 with ffmpeg. I then move the moov atom to the start of the file with qt-faststart, so I can stream the video. Everything works fine with small videos of 5–10 ...
0
votes
1answer
3k views

Converted MP4 not playing in Chrome

I recently converted a file from .avi to .mp4 using the Free MP4 Video Converter (v. 5.0.28 build 827) from DVDVideoSoft. I tried opening the new MP4 file in Chrome. I can hear the audio from the file ...
1
vote
0answers
259 views

Invalid sample format error while converting a DVD iso file to Mp4

I get the following error when I convert a ISO file to MP4. The ISO file contains a VIDEO_TS directory with the video files: ffmpeg -i DieRelativeringVanMenswees.iso DieRelativeringVanMenswees.mp4 ...
21
votes
2answers
20k 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 ...
0
votes
1answer
564 views

FFmpeg fails to stream to FMS 4.5

I'm attempting to use ffmpeg to transcode an input video from whatever format it's in to an mp4 with h.264 video and MP3 audio and have the output go directly to FMS 4.5 using rtmp so the video will ...
1
vote
2answers
428 views

Appending MP4s loses sound from second file

When I try to join two MP4s together using ffmpeg, the first file plays fine and has sound, but the second one loses all sound and becomes a lot choppier. I encoded both the files from MKVs using ...
0
votes
1answer
619 views

MP4Box and concatenating files with different aspect ratio

I have a large directory of small video clips taken with a cell phone. I've been able to use mp4box to concatenate them into a single file nicely EXCEPT if they are different aspect ratio. In this ...
4
votes
0answers
252 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 ...
0
votes
2answers
332 views

Concatinating mp4 files to a single mp4 file

I have some mp4 video files with me and i need to concatenate them one by one and make a single MP4 video file. I came to know about FFMPEG through which we can concat files. I tried doing ffmpeg ...
3
votes
2answers
4k 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 ...
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 ...
6
votes
1answer
4k 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 ...
2
votes
2answers
4k 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 ...
1
vote
1answer
398 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
0answers
297 views

How do I create a streamable and seekable MP4?

I want to create an MP4 that supports seeking and streaming. DASH appears to be what I want except that the segment seek points are stored in an external file (the MPD) which doesn't work for my ...
0
votes
1answer
231 views

Save “fingerprint” info inside MP4 videos

I have a Debian server serving MP4 videos (for download, as files) and I was wondering if there is a way to save some unique "exif" information for each user that downloads a file. I would like to do ...
0
votes
3answers
2k views

VLC on CentOS 6 always shows black screen

I downloaded VLC on my CentOS 6. When I play a video by double clickig on finder, or using the vlc command in terminal, it shows a black screen. Sound works fine though. Do you have any idea what ...
2
votes
1answer
4k 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
326 views

extracting mp3 audio from mp4: audio longer than video?

I have an mp4 video that has no audio/video sync issue. I tried to extract audio to an mp3 file, following the suggestion in this thread: Extracting audio from MP4 video into MP3 ffmpeg -i ...
3
votes
1answer
3k 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 ├── ...