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
0
votes
1answer
11 views

error editing a long video using VirtualDub2

I have several long video files that I need to edit (remove some initial parts, breaks and dead moments) and I always got errors when I try to save / export the edited file in mp4. The pcm_f32le: ...
1
vote
1answer
26 views

Some MP4s have keyframes on scene changes. Others seem to have random keyframes, or keyframes every X seconds. What causes this discrepancy?

Some MP4s have keyframes on scene changes; others have keyframes seemingly randomly placed, or placed every 5-10 seconds. I prefer the former, both for ease of editing and because, unless I'm ...
0
votes
1answer
29 views

Injecting/embedding/adding/writing metadata to a .mp4 file so it's recognised as 360

I'm working on a library that injects/embeds/writes metadata into a .mp4 file to allow the video to be displayed correctly as a 360 video. The input file is a standard .mp4 file in the equirectangular ...
0
votes
1answer
15 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. ...
0
votes
0answers
377 views

moov atom not found

I downloaded this video using youtube-dl's HLS downloader. The video was being HLS streamed using AES-128. Even though I could view it perfectly fine when it was being streamed in the browser, VLC ...
0
votes
1answer
17 views

Is public manifest.mpd a issue?

I have a public manifest.mpd file. Is it considered a security issue? It has something called cenc:pssh value so i am bit scared if its okay to be public or not?
0
votes
0answers
8 views

Black video generated using movie maker

I used Windows Movie Maker to combine a video and audio for a school project. It works fine in Movie Maker, but when I try to save it in .wmv or .mp4 using the Save Movie button, the new .wmv or .mp4 ...
0
votes
0answers
78 views

FFMPEG - Nero and Quicktime Format Chapters

Ok, I'm usually really good at finding the answers to my FFMPEG questions myself but I'm a bit stumped. I've got this file, an MP4, here is part of the MediaInfo: Menu 00:00:00.000 ...
0
votes
1answer
21 views

Major issue importing and exporting mp4 with AE and Media Encoder

This is what my footage is looking like after importing into a composition: Here's what I've learned so far: Any mp4 file looks like this when imported. h264 or 265. I'm trying to get screen ...
1
vote
1answer
26 views

Closed Captions missing when converting from mp4 to ts

This is a follow-up question from my previous question HERE. I'm trying to convert a caption-embedded .mp4 video into a .ts file, simply changing the container format. But once I convert the video, ...
0
votes
1answer
36 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 ...
1
vote
1answer
42 views

Adding audio to picture: video too long even when using -shortest

I am trying to combine an audio (.wav) file and picture file (.png) into a video file. The video's length should be the same length as the input audio. Also, the output video should be youtube-...
2
votes
0answers
215 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 ...
0
votes
2answers
117 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
90 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
254 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
20 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
277 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
354 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
165 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
432 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 ...
1
vote
1answer
342 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
12 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
555 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
51 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
44 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
678 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
37 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
737 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
2k 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
392 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
71 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
363 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 ...
2
votes
1answer
291 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
928 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
114 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
303 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
4k 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
1k 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
1k 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
228 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
846 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
863 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
345 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
3k 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
117 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
318 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
18 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
393 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 ...