Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
0answers
6 views

Sony AVC vs. MAGIX AVC vs. MainConcept MPEG-2: what's the difference?

In VEGAS Pro 16.0 I'm given (at least) three options if I want to render a 1080p 30fps video for YouTube upload: Sony AVC/MVC, template "Internet 1920x1080-30p" Use this setting to create the ...
-4
votes
0answers
28 views

Download a blocked video MP4 720p [closed]

Hello to all Readers/Experts, ---Question: how to download videos like this one? //tvthek.orf.at/profile/Archiv/7648449/Neues-beim-Wiener-Sommernachtskonzert/13919349/Neues-beim-Wiener-...
0
votes
2answers
43 views

Concatenating in sync MP4 (H264+PCM instead of AAC) from a Sony 2018 Camera

I downloaded these files (at max resolution 4K, that is important), in this order: https://vimeo.com/195782736 https://vimeo.com/196725716 https://vimeo.com/195776765 https://vimeo.com/196651176 ...
1
vote
0answers
35 views

MP4 Video created with ffmpeg C++ api does not show in OSX

I am writing a MP4 video from scratch using the C++ API (libav* 4.1.1). This video can be played back just fine using ffplay or VLC. But the Finder Preview and the Quicktime Player on OSX (10.13 and ...
0
votes
1answer
27 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
0answers
15 views

ffmpeg mp4 video created from mp3 with image has longer duration

I am trying to convert an mp3 to mp4 with images. Below are two ffmpeg commands I tried. Length of mp3: 23 sec Here, the length of the video is same as the mp3, but video's sound does not work when ...
1
vote
0answers
77 views

What's wrong with VLC seeking and/or MKV created by ffmpeg?

I have creeated a video using FFmpeg. It is a result of putting 4 videos together, tiled, using -filter_complex with overlays. Following the how-to here, I have it created as MKV. When playing this ...
0
votes
1answer
47 views

Removing Metadata Title in mp4 files

I was able to remove metadata titles in mkv files through mkvtoolnix with this code @echo off for /r %%g in (*.mkv) do ("D:\Programs\MKVToolsNix\mkvpropedit" "%%~g" --tags all:"" --delete title ) I ...
1
vote
1answer
52 views

ffmpeg clear video cache

I am running a compression script to compress my large AVI files to small mp4 files. The script look like this #!/bin/bash FILEPATH="$1" COMPRESSIONPATH="$2" ffmpeg -i $FILEPATH -vcodec h264 -acodec ...
1
vote
1answer
217 views

How can you convert a WebM with transparency to MP4 with a background color using ffmpeg?

I'm trying to convert a webm file that has a transparent background to an mp4 file. Mp4 doesn't have transparency so I'm trying to using this color: #D9DADB. How can I make this conversion happen with ...
0
votes
1answer
189 views

FFmpeg can't convert eia_608 subtitles: “Data Ignored since exceeding screen width”

I'm trying to convert iTunes movies that were previously decrypted to an mkv file with FFmpeg for use with Kodi. I want to keep stereo audio and h264 video the same, which I can do. Subtitles I want ...
1
vote
0answers
11 views

Audio in source footage cuts out and starts over a third of the way through (Premiere Pro CS6)

This is a very odd issue that I have been experiencing with a particular video clip. I have a 2 hour long clip that stops the audio at exactly 00:45:21:03 and starts over, as in the audio from the ...
2
votes
1answer
265 views

Add multiple mp3 files to an mp4 file with ffmpeg

I would like to add multiple mp3 files to an mp4 file. For adding a single mp3 to an mp4, I used this command with success: "-i /path/to/mp4File -i /path/to/soundmp3File -codec copy -shortest path/to/...
2
votes
1answer
36 views

Is MP4 a valid or common container for ProRes?

Is MP4 a valid or common container for ProRes? I've only seen it in MOVs and MXFs.
0
votes
1answer
41 views

Video cam with poor compression ratio (H.264 produces videos at 2.9MB/sec)

I just purchased a cheap dashboard video-camera that is advertised to have a H.264 codec inside. However, after the first video test I have seen that a 43sec movie takes 123MB! How is this possible. I ...
1
vote
1answer
338 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 ...
0
votes
1answer
33 views

I have a .ts video containing a 720° video record it with an AllieCam360

Hi I have an AllieCam a camera to record 720 videos 360x2 lenses, the format it use is .ts, the program requires a login online, but the manufacturers drop the business and the web site is offline, so ...
-1
votes
1answer
518 views

How convert avi and wmv to mp4 for html video tag?

I want to convert avi and wmv to mp4 for web and I use below code: ffmpeg -I input.wmv output.mp4 Is that enough?
0
votes
1answer
723 views

Low conversion quality using ffmpeg

I need to convert flv video into mp4 video, so I used this command: ffmpeg -i input.flv -c -vcodec libx264 -acodec copy output.mp4 But output video has little bit worse video quality, how can I fix ...
0
votes
1answer
219 views

Can camcorder Sony HDR CX455 record videos in MP4 at 1920 x 1080i to be uploaded to YouTube?

The specs of the camcorder Sony HDR CX455 states that it can record videos in the following formats: 1920 x 1080p at 24/30/60 fps (50 Mb/s XAVC S) 1440 x 1080i at 60 fps (5 Mb/s AVCHD) 1280 x 720p ...
2
votes
1answer
60 views

Lossless concatenation of slightly different MP4 files

I am trying to combine 2 or more .mp4 videos into a single video (concatenation). But I am getting timestamps errors (with ffmpeg concat demuxer protocol). The videos are very similar (same resolution,...
1
vote
0answers
282 views

Extract file thumbnail from mp4 file

I'm currently converting a few mp4 file to mkv. In the process they lose their file thumbnails and I wanted to keep them. So I'm searching for a way to extract the custom thumbnails from the mp4 files ...
0
votes
0answers
20 views

migrate away from youtube to self-served html5

We apparently missed a problem with user tracking (GDPR related) in our use of some minor embedded video from youtube. Since I'd rather not add the whole permission mess, I suppose we should be able ...
2
votes
1answer
231 views

Trim a segment of live, still-encoding H.264/FLV with ffmpeg

I am encoding a video with ffmpeg into H.264 stored in an FLV container. I would like to be able to trim segments of this video out as it is still encoding. The video contains no audio. I am encoding ...
1
vote
1answer
629 views

How to convert MPEG-4 to AVC/h.264?

I would like to use ffmpeg, mencoder or still something free. I cannot concatenate two videos because of different video codecs: $ mkvmerge -o merged.mkv 1.mkv \+ 2.mp4 mkvmerge v19.0.0 ('Brave ...
1
vote
1answer
76 views

ffmpeg: How to avoid “start: 0.033333” when extraction audio from mp4

When extracting audio and video separately from a mp4 and recombining again ffmpeg -accurate_seek -ss 30 -t 10 -i input.mp4 -vn output-audio.mp4 ffmpeg -accurate_seek -ss 30 -t 10 -i input.mp4 -an ...
1
vote
1answer
261 views

AAC and AC3 audio tracks in M4V file

I've noticed that in movies download from iTunes Store there is duplicated audio track - the first one is AAC and the second one is AC3 but this is visible as one audio track with option "Prefer AC3 ...
2
votes
1answer
3k views

FFMPEG: Loop video to the length of audio

E.g. if video is 1 minute, but audio is 1 hour. Make video loop throughout for 1 hour of the audio track. I use this solution to loop image through the lenght of the audio ffmpeg -y -loop 1 -r 6 -i ...
1
vote
1answer
764 views

Wrong frame-rate, corrupted playback of isom/mp4 files remuxed from H.264/AC3 MPEG-TS

NOTE: This question is superceded by this new one, please do not answer below this post. What happened? [Edit] DVB file ('file1') in TS format of H.264/AC3@50i cannot be properly remuxed into any ...
2
votes
1answer
977 views

ffmpeg transpose=clock rotates 180 degrees instead 90

I have 2 similar videos created on the same mobile. The first one can be downloaded here. If I'm using the following command the result is correctly rotated by 90 degrees: ffmpeg -i 20180114_193135....
1
vote
1answer
155 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="...
2
votes
1answer
691 views

Use ffmpeg to remove specific chapters out of an MP4

I would like to know how to use ffmpeg to remove specific chapters from a video file. Below is an example. I would like to remove all the Chapters marked "Advertisement". I've searched everywhere ...
3
votes
1answer
681 views

How to auto-tune the audio track of a video file to produce a modified video file

I would like to auto-tune the audio track of an mp4 video file. I know I can convert the mp4 to mp3 first and auto-tune the mp3 file, but I want the output to be a modified video clip with the audio ...
-1
votes
1answer
126 views

How do i increase the volume of a video I recorded?

I shot a .mp4 video from my cellphone. Turns out that the volume is very low. How can I increase it?
1
vote
1answer
2k views

Proper command to remux mpeg-ts to mp4 with FFmpeg?

Should I just use plain command like this: ffmpeg -i C:\video_input.ts -c:v copy -c:a copy -bsf:a aac_adtstoasc C:\video_output.mp4 but I have seen many using -copyts to it, why is this needed I do ...
0
votes
1answer
96 views

Static frame video and a motion-intensive appendix: how to render fast?

A frequent task is to render a 5–30 minutes video from a single image + soundtrack and then append a pre-rendered outro logo animation sequence. Output is hd720 h264 mp4 for YouTube. What would be ...
1
vote
1answer
273 views

Concat files of different encodings?

I have nearly 130 files that I want to burn onto a DVD as an end result. I've gone down a bit of a rabbit hole and ended up at ffmpeg trying to combine all the files into a single giant 2 and a half ...
0
votes
1answer
16 views

mp4 file expands wildly when shortening clip

noob here, I took a video of myself for a wedding greeting with my phone (LG Nexus 5 [Android]) sitting (the phone that is) in a windshield suction holder. The video is 3'42" long and when downloaded ...
5
votes
1answer
334 views

What is the colour range of most videos?

Colour range (Limited, Expanded) is something I've only thought of recently, and I'm worried I may have introduced colour banding into some of my videos. When doing a standard MP4 export from ffmpeg, ...
0
votes
2answers
1k 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 ...
1
vote
2answers
2k views

How to fade out mp4 audio AND video with FFmpeg?

How to fade out audio AND video in *.mp4 file? If I try code from this answer: ffmpeg -i "c:/input.mp4" -filter:v 'fade=in:0:30,fade=out:227:30' -c:v libx264 -crf 22 -preset veryfast -c:a copy "c:/...
2
votes
0answers
29 views

what encoder can take advantage of 16-core setup? converting/ripping Blu-ray to mp4 format

I'm thinking of upgrading my 6-core setup (single CPU) setup to a 2x8-core/CPU setup. I'm wondering what software will allow me to fully utilize all the cores. I've been using handbrake but I do not ...
1
vote
1answer
585 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 ...
1
vote
0answers
355 views

Change resolution according to bandwidth at the start of the video

The use case described here is very much the same as the YouTube's feature where a lower resolution of the video is selected if the user's network speed is low. But, I'd like to do this only at the ...
1
vote
1answer
66 views

Can a SONY HXR-NX30U camera record two external audio inputs?

I own a Sony HXR-NX30U which has two XLR input ports. I would like to use both, the directional built in shotgun mic and a lapel mic. Is that possible? In other words: Does the camera support it? If ...
1
vote
1answer
339 views

Is H264 an actual file format?

Is there an actual H.264 file or is it just the codec that renders the video into an .mp4 or .mov file? For an application, I have to hand in a portfolio with videos. Their website says that, "...
1
vote
3answers
80 views

Converting Container Problems

Why does it seem to be so difficult to simply change a video's container? For example, when I download ".avi" & ".mkv" video's from the internet & want to watch them on my Apple devices (...
0
votes
1answer
718 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 ...
1
vote
1answer
3k views

ffmpeg merge 60fps and 30 fps mp4 into one file

I have been trying to merge some mp4 files with different frame rates without success. When I merge the files, there always seems to be a problem with the output. Most of the time the audio is not in ...
2
votes
2answers
2k views

Is it possible to encode MP4 video with VP9 codec?

Does MP4 support VP9 codec or is it exclusive to WebM?