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
2 views

ffmpeg to output something video/mp4; codecs="avc1.42401f" can read

I have a webapp that plays a video through the MediaSource API. The codec is set to video/mp4; codecs="avc1.42401f" and I cannot change that. I'm able to play the following file https://...
2 votes
2 answers
8k views

ffmpeg merge 60fps and 30 fps mp4 into one file

I have been trying to merge some mp4 files with different frame rates without success. When I merge the files, there always seems to be a problem with the output. Most of the time the audio is not in ...
0 votes
0 answers
6 views

Decode frames from mp4 file while new ones are encoded into a it

I wrote a video player (written in C++ and C#) that shows a live video stream and also encodes it into mp4 file at the same time. I want to also be able to playback (seek backward or forward) the ...
0 votes
0 answers
5 views

Can I check if audio was removed from a mp4 video file?

I have a mp4 video file that has no sound. I would like to check if its audio was edited/removed. Can I somehow check this in the meta data? Are there any other hints that the audio was removed? The ...
0 votes
1 answer
137 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 ...
0 votes
2 answers
888 views

How to embed cover art into MP4 without errors?

I want to add artwork to my MP4 file. How do I do this successfully / without errors? I've tried these methods with numerous MP4 files, none worked. If you would like to replicate the errors / bugs, ...
0 votes
1 answer
46 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 ...
2 votes
1 answer
545 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
0 answers
9 views

Trimming mp4 file with multiple audio tracks

Setup: For recording gaming footage I use OBS together with Voice meeter to split my audio sources for later editing with DaVinci Resolve. I use the "Replay" function of OBS that records the ...
0 votes
2 answers
404 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
0 answers
6 views

How can I transcode webcam MP4 footage to ProRes without losing lip-sync?

A client has recorded footage on a webcam and delivered it as MP4 files. I am trying to transcode these files to ProRes 422 LT to work with them in Premiere. However, on doing so, the audio goes out ...
0 votes
1 answer
384 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
1 answer
222 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
1 answer
4k views

Video artifact removal and restoration - How can it be done? (Really?)

I have been researching this for the past couple of days, and all I could find on the subject were a bunch of research papers, a demonstration video of a model that isn't publicly available, and a ...
0 votes
0 answers
15 views

How to open MP4 video with mp42 codec (hvcC) in Vegas Pro?

Apparently the video is with no content. Vegas pro detects the file but shows a black footage for 8 hours. Thanks in advance. General Complete name : C:\Docs\A09_20220424145630_007....
1 vote
1 answer
198 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 (...
0 votes
2 answers
651 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
1 answer
21 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 ...
2 votes
1 answer
56 views

How to convert a 720° ".ts" video recorded with an AllieCam360?

I have an AllieCam camera to record 720 videos 360x2 lenses. The format it use is .ts and the program requires you to login online. Now the manufacturers drop the business and the web site is offline. ...
1 vote
1 answer
51 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
3k views

How to concatenate MPEG-4 and 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 ...
0 votes
0 answers
14 views

Confused about Bitrate

I am recording demos using a screen recorder (Wondershare DemoCreator) which will be uploaded to a video streaming website. The website has certain recommendations for video quality like, Codec: H.264 ...
1 vote
1 answer
325 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
2 answers
86 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
3 answers
910 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 ...
1 vote
0 answers
46 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 ...
0 votes
1 answer
201 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
234 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
2k 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
1 answer
97 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 ...
1 vote
1 answer
273 views

How to Merge Multiple MP4 videofiles using concat of ffmpeg while transposing 180 degrees two MP4 videofiles

How to Merge Multiple MP4 videofiles using concat while transposing 180o two MP4 videofiles? Currently, i am using the following ffmpeg (concat) command: ffmpeg -f concat -safe 0 -i VIDEOFILES.txt -...
0 votes
0 answers
129 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 ...
0 votes
0 answers
42 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 ...
0 votes
0 answers
17 views

Merging multiple files but specify the time each file is inserted (alternatively, stretch them to a specified duration)

Situation: 3 hours of video, consisting of 18 H264 mp4 files that should have exactly 10-minutes each but they last just a little bit less (some milliseconds missing). When merging them, I end up ...
1 vote
2 answers
540 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 ...
1 vote
1 answer
55 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'...
4 votes
1 answer
2k views

Lossless convert 3gp video to mp4 using ffmpeg

I'm trying to get lossless conversion of 3gp to mp4 using ffmpeg. I tried ffmpeg -i input.3gp -vcodec h264 -c:a aac output.mp4 I tried with "libx264" for the video codec, I tried just a ...
6 votes
2 answers
22k 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 ...
0 votes
0 answers
8 views

MP4 format - metadata - adding markers for events occuring within the video

I am recording IP camera footage to mp4 files. The cameras also produce events when motion is detected by them. My server receives these events. I would like to insert metadata markers in the finished ...
0 votes
0 answers
97 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 ....
0 votes
0 answers
47 views

mp4 video became white after rendering in kdenlive

I have cut a little piece in the end of 45 minute video. After rendering, it shows only a white screen and also its size grew from 2gb to 9mb. That was my very first video in kdenlive but I'm sure I ...
1 vote
1 answer
364 views

What is the difference between .mts and .mp4 video files?

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 ...
2 votes
1 answer
765 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 ...
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 ...
1 vote
1 answer
157 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
0 answers
20 views

Splicing attempt with ffmpeg runs without error, but doesn't insert the file

I am trying to do the same thing that the person asking this inserting video clip into another video but keep original audio question is. My text file, concat2.txt, looks like this: file '...
1 vote
1 answer
139 views

Is my MP4 file size too big?

I am working on a film, which I'm editing, and I rendered the one-hour long video to MP4, and the file size is 64,8 GB, and I think it's absurd, when google says the typical file size for MP4 is 700 ...
1 vote
1 answer
30 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 ...
0 votes
2 answers
1k 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
0 answers
15 views

Removing only chapter data from mp4 not video or audio tracks

I have an mp4 video file with chapters. I would like to keep the video and audio data but not have them separated into chapters. I would preferably like to do this without re-encoding or suffering any ...

1
2 3 4 5