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
14 views
+100

'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
-2 votes
0 answers
19 views

What are some competitive, data-based reasons for someone to change a native .mp4 video to .mkv?

I'm in a highly competitive program at university and I've recently realized that many of my field research videos have been accessed on my school's server and the file format has been changed from ....
user1371763's user avatar
0 votes
0 answers
30 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
87 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
9 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
3 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
54 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
23 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
104 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
0 answers
22 views

Issue with repairing 3GP video using untrunc - Error: bad track: 's263'

I am trying to repair a corrupted 3GP video using the untrunc program, but I'm facing an issue due to an error. The command I ran: ./untrunc -v ~/Desktop/logic/Video0086.3gp ~/Desktop/logic/Video0035....
hsrv's user avatar
  • 1
0 votes
1 answer
28 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
0 answers
34 views

Replace MP4 I-Frames with a placeholder

I have an MP4 file which I want to manipulate on a hex basis, without re-encoding. More specifically I want to replace the I-Frames of the MP4 file with a kind of placeholder code. What I want to do ...
kavofa's user avatar
  • 1
0 votes
1 answer
13 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
0 answers
99 views

mp4 videos not supported by powerpoint

I have used ffmpeg-2022-05-26 to convert simple .avi to .mp4 and these videos get supported on almost all platforms, including PowerPoint. When I updated ffmpeg to the version released around 2023-05-...
Girish Kumar's user avatar
0 votes
1 answer
29 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
13 views

How to Stabliize Video when foreground and background are similar?

I have a video of a lizard. The lizard matches its environment very well making it difficult for predators and algorithms to distinguish it from the background. I've tried using 3 different online ...
Al Lelopath's user avatar
0 votes
0 answers
16 views

Command to get only one audio track in output specified by language code with ffmpeg

Ffmpeg Command to get video with only English audio or only one language audio I tried running ffmpeg -i input_video.ext -map 0:v -map 0:a:language=eng -c:v copy -c:a copy -map_metadata -1 -sn output....
Killerlearner's user avatar
0 votes
0 answers
26 views

Why is my rendered video output larger than imported files?

I have imported multiple video files (roughly 3h30min / roughly 11GB). I have stripped out the Audio and reduced my total cuts to roughly 2m12sec. I have tried multiple render video output formats, ...
Mark's user avatar
  • 1
0 votes
0 answers
202 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
66 views

Gray screen issue after recovered video with ffmpeg

After recovered ".mp4" videos from mobile phone, some videos were corrupt. I used the FFMPEG method to fix the videos. Some CMD commands below; First Code: recover_mp4.exe good.mp4 --analyze ...
Mark's user avatar
  • 1
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
82 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
15 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
97 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
24 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
0 votes
0 answers
16 views

why does video need to be in video container files? and why do those file need to be in multimedia container files?

this might be a tough question but i feel the need to ask why does video need to be in video container files? and why do those file need to be in multimedia container files? when people where first ...
how to handbrake 's user avatar
0 votes
1 answer
1k 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
29 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
159 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
0 votes
1 answer
9k 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
  • 101
1 vote
1 answer
2k 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
669 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
496 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
278 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
165 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
405 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
4k 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
678 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
230 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
196 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
227 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
295 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
718 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
6k 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
43 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
5k 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
463 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
144 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
37 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

1
2 3 4 5 6