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 ...
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 ...
-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 ....
1 vote
1 answer
376 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 ...
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 ...
0 votes
3 answers
1k views

How to solve audio/video sync issue on my mp4 screenrecording?

I'm relatively new to video editing and struggling to solve a problem whereas the video (i.e my lips) is out of sync with the audio (i.e my voice). The beginning of the video is fine but by the end ...
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 ...
0 votes
1 answer
705 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?
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 ...
0 votes
1 answer
429 views

ffmpeg mov_text subtitle too small when converting mkv to mp4

I want to remux a mkv file into mp4. I used the following command. ffmpeg -i "input.mkv" -c:v copy -c:a copy -map 0:0 -map 0:1 -map 0:2 -map 0:3 -c:s mov_text "output.mp4" Problem:...
0 votes
2 answers
3k 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 ...
4 votes
7 answers
81k views

Is it possible to create a continuously looping video?

Is is possible to create a continuously looping video? Maybe by editing the container it's in so that it restarts automatically? I have a demonstration video that is playing on a TV in the lobby of ...
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 ...
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....
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 ...
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-...
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 ...
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 ...
0 votes
2 answers
537 views

Issues with transcoding to a MXF container

I'm new here, so hi to all :). I'm new to FFmpeg too, and I'm trying to transcode a HEVC file to a mxf file and I'm having some issues. The original file is a rip I made from a Bluray HDR movie a ...
0 votes
1 answer
626 views

ffmpeg - Slow down video and loop/repeat audio

I am trying to use ffmpeg to slow down a video speed by 25% (75% speed) without changing the audio speed. ffmpeg -i input_video.mkv -filter:v "setpts=1.3*PTS" "SlowVideo25.mp4" On ...
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"?> <!...
0 votes
2 answers
765 views

How to convert ts to mp4

I have a lot of videos needed to convert from ts to mp4, how can I convert it without losing quality? I mean a lot like 30+ each week. I did a search already but none can do it fast enough, doing it ...
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 ...
0 votes
1 answer
109 views

imported a movie now it has two audio tracks

ok, so i ripped a dvd with handbrake, converted it to an mp4, i import the mp4 to kdenlive and kdenlive is doing this thing where it's giving me two audio tracks, so at first i thought it was a right ...
1 vote
1 answer
2k 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 ...
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 ...
1 vote
1 answer
69 views

Premiere Pro on Windows 10 N version - Can't import MP4

I've tried to install various codecs - not working. I still can download whole Media Feature, but that's what I would like to avoid, since N version is way lightier. Can you please advice me how I ...
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 ...
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 -...
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 ...
0 votes
2 answers
203 views

Merging mp4 files and preserving subtitles

I'm in the process of digitizing my entire movie collection. For the most part, it's pretty smooth. I'm using Handbrake to put everything in mp4 format, and it's getting moved to my Plex server. The ...
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....
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 ...
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,...
2 votes
3 answers
1k views

Widely compatible video format with lossless audio

I'm a software developer. My software produces animated video files with music. The video files should be compatible with a wide range of software, and they should have excellent audio quality. The ...
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.
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 ...
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-...
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 ...
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....
2 votes
2 answers
2k views

FFmpeg convert 1 JPEG frame to 10 sec video

I have a 952×600 JPEG image, generated by a PHP script. I want to create another PHP script that uses ffmpeg, which converts that JPEG image to a MP4 video, which has only 1 frame that lasts for 10 ...
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 ...
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, ...
1 vote
1 answer
647 views

I want to convert .mp4 to .ts using H264 at constant framerate 25fps

I've been trying to do this conversion for a couple of days reading through forums ffmpeg -i in1.mp4 -vcodec libx264 -s 720x576 -vf "fps=25"-vsync cfr -b:v 2300k -acodec aac -b:a 128k out1....
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 ...
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/...
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 -...
8 votes
3 answers
27k views

Howto Repaire or fix the duration of a mp4 video

I'm having a film that's ffmpeg and other progs claims to be 07:03:52 long, but the real playtime is actually more like 2:35:00 ffprobe video.mp4 ffprobe version 3.0.2 Copyright (c) 2007-2016 the ...
1 vote
1 answer
3k views

What is the difference between .mts and .mp4 video files, and which is better to edit?

I know that .mts video files use MPEG-4 video compression. But why then don't they just have the .mp4 file name extension? Since they don't, this means they are not digitally nor conceptually ...
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 ....

1
2 3 4 5 6