Questions tagged [mp4]

A digital multimedia container format most commonly used to store video and audio, but which can also be used to store other data such as subtitles and still images.

Filter by
Sorted by
Tagged with
86
votes
5answers
198k views

Repeat/loop Input Video with ffmpeg?

I just want to loop a mp4 video with ffmpeg and keep the current settings and codec. For example if input.mp4 is 0:10 long, and I would want to loop it 4 times so output.mp4 is 0:40 long, how could I ...
29
votes
2answers
25k views

MP4 / h.264 patent issues?

I know this is not a legal forum but I'm assuming this is a daily issue for most people on this site since h.264 video (AVC / MPEG4 part10) is so ubiquitous (and there is a legal tag here). I've read ...
10
votes
1answer
28k views

Convert mp4 to avi while keeping frame rate and quality and being able to play in QuickTime?

I'm trying to convert an mp4 file to avi. I've tried this basic ffmpeg script: ffmpeg -i inputFile.mp4 outputFile.avi It works, but: the encoded avi file is very pixelated does not work with ...
6
votes
2answers
7k views

Removing MP4 encoding information

Is it possible to remove certain information form a MP4 file? Specifically things like tagging and encoding dates, Writing library and application, Encoding settings... No client needs to know when I ...
1
vote
1answer
2k views

Lower framerate without re-encode

I'm looking for a way to lower the framerate of an H264 mp4 video without re-encoding the video. Example: I have a 30 FPS input file and I need it to be 5 FPS. I want to avoid re-encoding because of ...
4
votes
3answers
6k views

Possible to use sRGB as mp4 colorspace?

I have an mp4 using h264 that i'm using in the background of a website. It has to blend in with the background image. I've already created ogv and webm videos for firefox and chrome and these work ...
3
votes
3answers
5k views

Gradient banding

I have a video with a gradient background, with silhouette vector animations on top. The gradient therefore stays exactly the same throughout the video. However, rendering the video as mp4, I'm ...
10
votes
1answer
17k views

Video converted by FFMPEG has a different duration, why?

I convert videos using FFMPEG. My goal is to convert them to the MP4 container format (MPEG-4 Part 14) with AAC-encoded audio stream and MPEG-4 part 10-encoded video stream. I use the following line ...
9
votes
3answers
13k views

Corrupt MP4 [recording interrupted]

I was recording an MP4 file using PlaysTV, and my computer had a power fault half-way through the recording. I'm sure that the file contains valid data, it's just that no media player will recognize ...
6
votes
1answer
8k views

ffmpeg concat introduces a/v sync problem

I have one 2-hour video file and want to add a 10-second title sequence to its start. The long file has perfect a/v sync from start to finish. However, when I use ffmpeg -f concat -i mylist.txt -c ...
6
votes
3answers
7k views

Need help to fix a broken MP4 which lacks a MOOV atom

Please be forgiving to a video file format newbie, who has travelled far and wide all over the Web in search of a relatively simple question and hoped to get an answer (even a fairly complicated one ...
4
votes
1answer
49k views

Big difference in the video file size after the conversion (.mov to .mp4)

After converting from .mov into .mp4, a video file is greatly reduced in size (.mov - 75,2mb .mp4 - 11,9mb) - does this mean that the converted video degraded (loss of color information, or the ...
3
votes
1answer
2k views

Why can't my video play from where I drag the playback bar?

I am stuck and really do not know how to explain it in correct manner. Thus I put it in the layman details. I have two 30~ second length mp4 videos saved in cloud storage. video1 is generated by ...
2
votes
1answer
2k views

Trim audio stream to video stream length

I have an mp4 file (converted from an mkv file) that has a longer audio than video stream. This file doesn't play back nicely in my media streaming app (or MPC-HC) when I reach the end of the file. ...
9
votes
1answer
7k views

Copying h.264 video from TS into MP4 changes frame rate and time

I have large MPEG-TS file that I am converting to MP4 using the below command. If I seek to the same time in the video in both the MP4 and the TS file, the MP4 will be a few frames behind the TS ...
2
votes
3answers
2k views

Quality of VHS converted to DVD

I work for a small library. We have a collection of VHS tapes that we have recorded to DVD using a Magnavox VHS HQ DVD recorder. They came in as .ogg, They came in a a set of files including some .VOB ...
1
vote
1answer
5k views

FFmpeg No such filter error

I'm trying to use FFmpeg to create a new video with some frames repeated and black frames inserted inside. Here is my command: #! /bin/sh fn="Drifting with Cars.mp4" # ffmpeg -y -i "${fn}" -ss 00:00:...
0
votes
1answer
4k views

Errors in converting mp4 to ts with FFmpeg

I was trying to convert a caption-embedded .mp4 file into a .ts file. Only command found after some search was this which uses FFmpeg: ffmpeg -i 1559066401592889640.mp4 -c copy -bsf h264_mp4toannexb ...
7
votes
3answers
85k views

Can I manually change an .mp4 to .m4v by changing the extension in the Finder (mac) or explorer (win)?

I need to change an .mp4 (h264, AAC-Audio) to an exactly same .m4v. Can I just rename it from "X.mp4" to "X.m4v"? By renaming, I mean clicking on it in Finder (Mac) or Explorer (Win) and renaming it.
7
votes
2answers
13k views

How to convert an MTS file without loosing quality?

I have shot some videos on a Panasonic v720 camcorder. The videos are huge. I used the internal feature of the camcorder to convert to MP4 and the quality was reduced very much. What is the best ...
5
votes
2answers
1k views

Are the properties (bitrate, fps) of my h.264 video OK for the web?

I'm converting a Flash vector animation to an mp4 video for the web. After trying and failing with Swiffy, it's the only way I have of preserving the work "for posterity", once Flash is gone. When ...
5
votes
1answer
2k views

Avconv rotating mpeg4 - video loses quality

I'm a newbie in video editing on linux and am trying to rotate a video I took with my phone using AVCONV on an Ubuntu 12.04 machine. It all seems to go honky dory except the output is losing quality. ...
2
votes
1answer
3k views

How to choose the right bitrate, H.264 profile and level for Web Video presentation?

I want to start producing videos and looking around the internet for usual bitrate ranges (VBR) and H.264 profiles and levels for Web Video exports. I found some guides with Vimeo and YouTube and ...
1
vote
1answer
663 views

ffmpeg cut same video to multiple pieces

For the project that I'm working on I have to cut some parts of same video with some subtitles. So I made a bash file that executes multiple ffmpeg commands like this. ffmpeg -i input.mp4 -vf scale="...
0
votes
2answers
3k views

Possible to stream/append images into an existing mp4?

I've been working on a service that downloads a number of images, saves them to disk, and then uses ffmpeg to create an animation (gif or mp4). This can be fairly intensive in terms of memory and CPU ...