Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

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
0answers
10 views

Constructing playable mp4 video file from MPEG-Dash segments

I am having an unencrypted MPEG-Dash manifest file and I am trying to re-construct from the downloaded segments a playable video file. I have so far tried to concatenate the initialization file to ...
0
votes
2answers
27 views

How to prevent ffmpeg from dropping frames when trimming?

I'm using ffmpeg to trim a Zoom video recording (format: ISO Media, MP4 v2 [ISO 14496-14]) via this command: ffmpeg \ -ss 00:11:42 \ -to 01:11:22 \ -i input-original.mp4 \ -c copy \ output-...
0
votes
1answer
20 views

Smallest Possible Video File in H.264 Format

I am writing some unit-tests for a software that does some work with videos. To do so, I need a programmatically generated video file that is both small and legitimate in that it is actually a ...
0
votes
0answers
23 views

Video loss when converting MP4/h264/aac to Matroska/VP8/Vorbis/

I received a MP4 video with an h264 video stream and an aac sound stream. I want must convert it to (sic): Ogg Vorbis or Ogg Speex format for audio, and Matroska VP8 or Ogg Theora for video I ...
0
votes
1answer
27 views

How do I change output file format in ffmpeg batch, when using drag and drop?

I've been searching around for this for some time but can't find a working solution. I found this question, which is close, but not exactly what I need. I'm windows and ffmpeg to convert movs to mp4. ...
0
votes
2answers
40 views

how can I convert slow motion video into normal speed without losing fps or audio sample rate?

I want to download a slow-motion video playlist (with the frame rate of the videos being either 480 fps or 1000 fps.) and be able to speed up the videos at least 16x without losing the frame rate or ...
0
votes
1answer
44 views

How to extract each video scene with FFmpeg

I'm trying to detect scenes and save them as individual files with FFmpeg. I found this long command somewhere, but it fails with a good detection. I change the scenecut value, but I don't see any ...
0
votes
1answer
59 views

ffmpeg: Preserve timecode when converting mov to mp4

This seems simple enough. I want to do a basic conversion of a .mov file to a .mp4 file using ffmpeg. The hitch seems to be that I also need to preserve the timecode. I've looked at many posts from ...
0
votes
1answer
21 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
27 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
36 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 ...
1
vote
1answer
65 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. ...
1
vote
0answers
1k 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
23 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
104 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
41 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
117 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 ...
2
votes
1answer
52 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
407 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
218 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
174 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
489 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
440 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
675 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
233 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
527 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
409 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
702 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
66 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
45 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
915 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
794 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
528 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
85 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
399 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
316 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
1k 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
130 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
328 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
256 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
937 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 ...