Skip to main content

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

How to run MP4Box to edit MP4 meta data [closed]

I have a number of MP4 files with loads of waste in the supplemental and meta data sections, and where it is not rubbish, it is plain wrong in some cases. Format being MP4, MP4Box should be the tool ...
Peter Rottengatter's user avatar
0 votes
0 answers
29 views

Same FFmpeg command produces different Matroska MKV output file checksum

The following exemplary FFmpeg command takes an MP4 file, doesn't do any re-encoding, but simply writes the output to an MKV file: ffmpeg -i input.mp4 -c copy output.mkv If I run the same command ...
finefoot's user avatar
  • 141
0 votes
1 answer
27 views

Missing video codec

I have a Samsung TV which can play video files from an external USB source. Generally this works fine, however recently I've come across some mp4 files which it says it can't play. I was a little ...
Rich M's user avatar
  • 101
0 votes
1 answer
90 views

How to extract video tracks from an mp4 file and individually save them to file

My Mercedes-Benz dashcam saves to SD card the video feeds from the front and rear cameras (in 1-minute long chunks) as separate tracks in the same MP4 file. Track 1 is from the front camera; track 2 ...
Deeday-UK's user avatar
  • 101
0 votes
1 answer
61 views

Concatenated Video created with FFMPEG is longer than expected

I am using this Video-List: file 'C:\Users\X\Documents\test\input.mp4' inpoint 00:00:02.7650000 outpoint 00:00:04.7650000 and the following Command: ffmpeg -y -safe 0 -f concat -i output.txt -map 0:v ...
Snickbrack's user avatar
0 votes
0 answers
45 views

Errors adding multiple Subtitles with FFMPEG

I am trying to soft-encode 3 subtitle files into my film. I extracted the subtitles from the DVD using ByteCopy I am using this command to add the files: ffmpeg -i BloodDiamond.mp4 -i ...
Our Man in Bananas's user avatar
0 votes
0 answers
38 views

Help me with corrupt video mp42

Hello I have one corrupted video file created with Chinese Camera DV4K_V23. I created one small sample video from this camera and I uploaded it for someone to help me, to decipher exactly which ...
Dejan's user avatar
  • 1
0 votes
0 answers
177 views

'FFMPEG: moov atom not found' on my dash cam videos

I have several dash cam videos. The first 3 of them are opened through the VLC. Other files - no When trying to open them ffmpeg: ffmpeg version 4.4.2-0ubuntu0.22.04.1 Copyright (c) 2000-2021 the ...
R. Key's user avatar
  • 1
0 votes
0 answers
63 views

variable timestamps for audio samples in MP4

Consider the following ffprobe output for a MP4 file. This is an extraction of first 10 frames in the audio stream and its metadata. The audio stream has a sampling rate of 48000, and is encoded with ...
userDtrm's user avatar
  • 141
0 votes
0 answers
414 views

Use ffmpeg to transform rtsp stream containing B-Frames and no DTS into fragmented mp4

The goal is to play a rtsp video stream in the chrome browser using Websocket and MSE. The structure of the system looks almost identical to https://stackoverflow.com/questions/73562944/ffmpeg-live-...
Stuntman11's user avatar
0 votes
0 answers
19 views

Final Cut Pro v. 10.6.6 - fcpxml file with reference to mp4 file via url works, but only after closing/reopening library

I'm writing software that exports fcpxml files to allow import of video clips into Final Cut Pro. The file looks like this: <?xml version="1.0" encoding="UTF-8"?> <!...
MindModel's user avatar
  • 101
0 votes
0 answers
6 views

Why is my video that worked fine previously glitching now?

Recently I revisited my old kickstarter project, just to find that the video produced heavy glitches, as shown in the picture below. These were (and are) not there in the original .mp4, and only ...
arrobbe's user avatar
0 votes
0 answers
146 views

mixing H.264 and AV1 in a single DASH manifest?

I used the example in the ffmpeg-all man page to write an ffmpeg command line to build an MPEG-DASH stream with multiple encoding options from a single source file: ffmpeg -i <input>.mp4 -map 0 -...
Wouter Verhelst's user avatar
0 votes
0 answers
87 views

Jumping forward or backward in a .mp4 file takes a long time in VLC

Recently, I randomly played around a bit with the video encoder settings of my OBS Studio (29.1.2) and recorded a video playing in the browser. In this particular video (recorded with some settings I ...
pSycHEdELia's user avatar
1 vote
1 answer
223 views

ffmpeg h264 to mp4 conversion from multiple files fails to preserve in-sequence resolution changes

This will be a long post, so I thank you in advance for your patience in digesting it. Context I have different sources that generate visual content that eventually need to be all composed into a ...
LB2's user avatar
  • 111
0 votes
1 answer
43 views

Decoding H.264/AVC Frames in MP4: What's the Output Format?

I am currently working on a personal programming challenge to develop an MP4 decoder using VB.NET and the .NET Framework 4.8.1 as a WinForms application. I have obtained the ISO 14496-12 documentation,...
Daniel's user avatar
  • 103
0 votes
1 answer
22 views

Converting DVD (VIDEO_TS) to MP4 (h.264/h.265) using VLC plays only audio or video but not both

Opening the converted .mp4 file with windows 10 mediaplayer doesn't play the audio but does play the video. Opening the converted .mp4 file with the same VLC used to convert the DVD to MP4 doesn't ...
Maarten ten Velden's user avatar
0 votes
1 answer
55 views

Handbrake Output Visually Freezes on Interstitial

I downloaded an m3u8 stream using a Chrome plugin, and it created an mp4 file which I can play fully in VLC. Next, I am attempting to use Handbrake to encode this file to be played on an old iPod Nano....
Matt Mc's user avatar
  • 101
0 votes
0 answers
347 views

FFmpeg recover_mp4 help

ive been using ffmpeg and recover mp4 to try and restore a dashcam video from a car accident. im a beginner using this method/ software and im running into this issue. not sure how to "increase ...
taylor thomas's user avatar
0 votes
0 answers
22 views

How much better is Thunderbolt external HDD for video editing?

For the two activities of transferring 10GB-large mp4 (.mts) video files from external HDD to laptop, and editing these same files directly on the connected external HDD drive, how much better/...
user610620's user avatar
0 votes
1 answer
162 views

ffmpeg how to change audio tbn

I changed my video container with: ffmpeg -hide_banner -y -i in.mkv -c copy -video_track_timescale 1k out.mp4 But video_track_timescale only changes video tbn, not audio tbn. To check it: ffprobe -...
kwjsksai's user avatar
  • 103
0 votes
1 answer
17 views

What are the apparently extra files on a DVD, and what gets lost when the VOB file is converted to MP4?

This is for curiosity only; I'm not trying to break copyright. (I own the disc and there's a much better quality version available on YouTube). I copy one file from the disc, convert it from .vob to ....
Ray Butterworth's user avatar
0 votes
0 answers
192 views

Converting MTS to MP4 gives strange artefacts

I am converting video taken with various personal cameras in .MTS format to mp4 in order to reduce the file size. I am getting some strange artefacts and I wonder what simple mistake I am making? ...
beneix's user avatar
  • 1
0 votes
0 answers
29 views

How to add subtitles choices to MP4

So I have a Mp4 file, and I want to add multiples subtitles choices to it that will stay forever. A bit like how YouTube, like there are the subtitles choices, and you select which one you want or ...
Eli-ott's user avatar
  • 101
0 votes
1 answer
2k views

ffmpeg-converted video file won't play in Windows Media Player or Movies & TV

I am using ffmpeg-python to convert an hevc mkv file to an h264 mp4. This is the relevant code: ffmpeg.input(video_file).output(out_name, vcodec='libx264', **{'pix_fmt': 'yuv420p'}).run() Yet after ...
Bob Smith's user avatar
  • 103
1 vote
1 answer
42 views

Do mobile phones really record in these odd framerates?

I received several video files for editing that were recorded on a mobile phone. (Samsung S21, if it matters.) When I brought the files into VEGAS (still using version 15.0 Platinum), it reports some ...
Theodore's user avatar
  • 123
0 votes
1 answer
326 views

Grey overlay when reading mp4 files in WMP

For a few days, when I play a mp4 video in Windows Media Player (WMP), there is something like a grey filter/overlay. Thus, the whites are greyish and blacks lack depth. This problem is only ...
Sulli's user avatar
  • 1
1 vote
1 answer
13k views

"Non-monotonous DTS in output stream 0:0 This may result in incorrect timestamps in the output file." error

Adding all mp4 file in the directory with FFMPEG . my usual command: ffmpeg -f concat -safe 0 -i <(for f in ./*.mp4; do echo "file '$PWD/$f'"; done) -c copy output.mp4 This shows below ...
Shezan's user avatar
  • 111
1 vote
1 answer
3k views

Using FFMPEG to convert an MKV with multiple subtitles, audio tracks and chapters to a plain mp4

I have MKV files which contain multiple subtitle options, multiple audio options, and multiple chapters. I'm wanting to convert to MP4. The MKV's are x265 with DD 5.1. I just want x264 MP4's with ...
Adam's user avatar
  • 113
0 votes
2 answers
978 views

How to copy the file name to the video metadata title?

I have a bunch of video files, They have the correct file name but the title in the metadata is gibberish, I want to copy the file name & set it as the tile in the metadata.
ThunderE75's user avatar
1 vote
1 answer
743 views

How to convert camrec to mp4 using ffmpeg?

I raise such problem but in the same post I raise the solution. The first thing to know is that the .camrec format (from Camtasia) is a compressed file, so we must first decompress these files before ...
GIO's user avatar
  • 11
1 vote
1 answer
381 views

Cryptic FFmpeg + Python error: "Cannot find a matching stream for unlabeled input pad 0 on filter Parsed_crop_1"

I want to use ffmpeg with Python in a Jupyter notebook to create a video from 2000 PNG image files generated by matplotlib. I'm on a Windows 7 machine. The frames are very narrow and high, so I'd like ...
mattze_frisch's user avatar
1 vote
2 answers
210 views

How can I easily shrink over-large MP4s where high quality is not relevant?

I have some smartphone video that is absurdly large for what is low-quality casual video: 100MB per minute. What is the easiest way to compress this (on Mac) using command-line or GUI, given that I ...
Joshua Fox's user avatar
1 vote
1 answer
662 views

DVD similar menu for USB with mp4 movies that work on SmartTV with USB?

I have converted my old VHS-movies to MP4 and put them on a USB to be able to watch them on my smartTV which works well. However, I want a DVD-simular menu where I can have a description, and maybe a ...
Xtreme's user avatar
  • 111
1 vote
1 answer
5k views

How can we keep the subtitle track when converting from MKV to MP4 with ffmpeg?

I have an MKV with integrated subtitles as such: I want to keep "English [Full] - [English]" when converting to MP4. Currently I use this command: ffmpeg -i myMovie.mkv -vcodec copy -acodec ...
user38357's user avatar
0 votes
1 answer
821 views

FFmpeg embed thumbnail Windows

I have seen commands like this online: ffmpeg -i video.mp4 -i image.png -map 1 -map 0 -c copy \ -disposition:0 attached_pic out.mp4 However these command don't work as advertised with Windows ...
Zombo's user avatar
  • 1
2 votes
0 answers
270 views

DaVinci Resolve 16 - Can you embed markers as chapters into the rendered metadata?

In DaVinci Resolve 16, I see that you can edit the Metadata and that will get embedded into the mp4 container. I also noticed that if an mp4 has embedded Chapters that Resolve doesn't recognize those ...
Podis's user avatar
  • 121
0 votes
0 answers
1k views

MP4 file has incorrect length (duration) and plays back 5x slower than it should

I have five GoToMeeting (GTM) .mp4 recordings that I saved and downloaded from a five-day class I was teaching. Each recording represents each day's appx. 8 hour class duration. I am importing them ...
KurtM's user avatar
  • 1
0 votes
0 answers
296 views

Compressing video to specific size accurately

I'm using guide provided at this page to compress videos to specific size with ffmpeg. The sizes I'm aiming are relatively small (8mb wanted compared to 50mb original) and when I'm trying to compress ...
Anton's user avatar
  • 1
1 vote
1 answer
302 views

MP4 Playback Compatibility Issues on files with Chapters

I'm trying to distribute an MP4 file with Chapters included, I'm fine if devices not supporting the chapters just ignore them, so long as the video still plays. I recently discovered some devices won'...
Peter Barton's user avatar
0 votes
0 answers
383 views

How to edit my Playstation 5 4K gameplay?

Members. I'm facing a few issues while trying to edit 4K gameplay footage from my PS5. PS5 has two options to capture gameplay: 1080P (.mp4) 4K (.webm) First, the captured 4K footage extension is ....
peacelover007's user avatar
3 votes
1 answer
999 views

How to play Video TS folder in VLC or convert it to MP4

I am trying to play a DVD by copying the contents (a Video TS and a Jacket_P folder) to my computer. I copied the Video_TS and Jacket_P folders from a DVD to my computer. The Video_TS folder has the ...
user436788's user avatar
12 votes
1 answer
7k views

How is this .mp4 file 596523 hours long?

I came across this joke mp4 file online. (Warning: direct download link to an 8 mb file.) Media players as well as ffmpeg both list the file as having a length of 596523:14:07.00 (!). My first guess ...
margalo's user avatar
  • 223
1 vote
1 answer
47 views

Issue after importing video in Premiere

I imported some videos in Premiere Pro (MOV format, captured with iPhone), but after adding them to the timeline, they start to have issues, like video and sound not sync, and videos that repeat ...
Lorenzo's user avatar
  • 23
0 votes
1 answer
10k views

.EXE VIDEO CONVERT TO MP4

I have a video that extension is .exe. I try to open this file in Windows but I can't. I try to convert this file to mp4 but again return empty file. How can I open .exe video?
Sun's user avatar
  • 1
2 votes
1 answer
544 views

Need to concatenate several MP4 from Garmin dashcam with telemetry

I have a Garmin 66W dashcam for my work (street mapping surveyor) which produces several 1min. MP4 videos of my journey (60 min. = 60 videos). All these videos have telemetry data on it as metadata (...
Suporte JM's user avatar
0 votes
1 answer
153 views

How do I use the transitions in Davinci Resolve 17?

This program stands in stark contrast of the simple but effective Windows Movie Maker of old, Davinci is not as 'simple' and it seems like it very 'complex' at times. One of the things that I liked ...
GAP's user avatar
  • 51
0 votes
1 answer
57 views

How to make DVR-generated MP4 easily playable in Windows?

I have a HAR324-8 DVR, and when I export a video clip, I get an MP4 that I cannot play with Windows Media Player 12, Chrome, or Edge browser. When I open the file with VLC Media Player 3.0.16, it will ...
simgineer's user avatar
  • 101
0 votes
1 answer
424 views

A 2 Gigabyte MP4 file on AWS S3 can be played on Browser instantly (no need to download the whole file before streaming), why? [closed]

I thought when streaming a mp4 file on a browser, the browser needs to download the whole MP4 file before playing, because the player needs to know metadata like video codec, audio codec, etc. and ...
shintaroid's user avatar
0 votes
1 answer
794 views

Combine mp4 video and a RTMP stream into 1 RTMP output stream via ffmpeg

I need a ffmpeg command to first feed a mp4 video into a RTMP output stream, then followed by a RTMP input subsequently; what should be the parameters to get it working?
Jason Lin's user avatar

1
2 3 4 5 6