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

checking errors in video files with FFMPEG

I have a collection of movies in mkv format which i keep in an external harddisk.Sometimes I loan the harddisk to my friends.One day my friend told me,he couldn't play an entire movie,it was crashing ...
1
vote
1answer
177 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 ...
5
votes
1answer
17k views

Convert mp4 to avi while keeping frame rate and quality and being able to play in QuickTime?

I'm trying to convert an mp4 file to avi. I've tried this basic ffmpeg script: ffmpeg -i inputFile.mp4 outputFile.avi It works, but: * the encoded avi file is very pixelated * does not work with ...
0
votes
1answer
23 views

How can I convert a large file from MP4 to MOV?

I recorded a 5 minute video with my phone, it is a 565M MP4 file. I need to submit it as MOV, specifically. All online converters reject the file as 'too large' and all downloadable programs cost at ...
0
votes
1answer
358 views

Need help to fix a broken MP4 which lacks a MOOV atom

Please be forgiving to a video file format newbie, who has travelled far and wide all over the Web in search of a relatively simple question and hoped to get an answer (even a fairly complicated one ...
0
votes
0answers
12 views

How can I reduce mpeg file size without losing quality?

I want to download some free videos from a website. There are two option there: DVD Video *.m2v with 2Gb and H.264 Video *.m4v (.mp4) with 400Mb. The second one has low quality. I want to know if ...
0
votes
2answers
140 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
0answers
15 views

How to use FFMPEG frame transition slowly upward out of view while the next frame slides in the view from bottom to achieve a scrolling effect?

This question also follows another question: How to minimize no of frames/screenshots of web pages required to render a smooth scrolling video using FFMPEG? Scenario: Currently i'm stitching ...
2
votes
1answer
336 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
30 views

Screen-Video with 7 FPS (in Davinci Resolve - or other tools?)

I currently edit/cut a lot of computer screen recording footage. The original mp4 files have 7 FPS and I am totally happy with that quality. If I now edit the files in Davinci Resolve 16, the lowest ...
0
votes
1answer
95 views

AAC stream in MP4 file has wrong duration. How to fix?

I've got an MP4 file that is actually 2:09:42 long. But when playing it in VLC player it is being shown as 7:13:45 long. I'm trying to fix this file. I remuxed it using ffmpeg -i input.mp4 -codec ...
0
votes
1answer
28 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
1answer
112 views

“Unable to open key file” error when remuxing a set of encrypted .ts files (as a .m3u8 playlist) into .mp4 with FFmpeg

I'm trying to remux a set of encrypted .ts files (as a .m3u8 playlist) into a single .mp4 file with the next command: "C:\Users\~\Desktop\test\ffmpeg.exe" -allowed_extensions ALL \ -i "C:\Users\~\...
0
votes
0answers
15 views

Audio bitrate limited to 192 kbps when exporting an mp4 file!

I have the new Magix MEP Premium 2020, when I try to export an Mpeg 4 (mp4, h.264), the highest kbps I get for audio coding is 192 kbps AAC, in the old version of magix that I had (video deluxe 17) I ...
0
votes
1answer
256 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
0answers
21 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 ...
6
votes
3answers
21k views

Merge MP4 with M4A

I have two files, one is MP4 file with video only and another is M4A audio file. What is the best and simpliest method of merging these two tracks in a single MP4 container? Is it possible to do this ...
0
votes
0answers
12 views

Windows MP4 player program(s) seek bar

What Windows MP4 player program(s) has a seek bar button that a) always stays where I put it (in pause mode) b) always shows the nearest frame corresponding its that position. (You might wonder why ...
0
votes
1answer
42 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
vote
1answer
390 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 ...
0
votes
2answers
2k views

Possible to stream/append images into an existing mp4?

I've been working on a service that downloads a number of images, saves them to disk, and then uses ffmpeg to create an animation (gif or mp4). This can be fairly intensive in terms of memory and CPU ...
0
votes
1answer
891 views

How to create MPEG-DASH variants at resolutions where one dimension is not a whole number in pixels?

I've created a bunch of variants and a DASH manifest for Sintel, which more or less works, but does not pass validation. The issue is when I want to scale a video to a specific width, but the height ...
0
votes
1answer
85 views

Compressing a large MP4 file that is on 2.30mins long

I have been sent a video that is only 2.30 mins long. But is a whopping 168mb, unfortunetely this has to be embedded into an app - so I need it as small as possible. I need to get the file size down ...
0
votes
1answer
39 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
1answer
88 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
103 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
0answers
68 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
1answer
43 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
28 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 ...
1
vote
1answer
354 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 ...
6
votes
3answers
13k views

How to extract MOOV atom/metadata from MP4 file?

Can one "dump"/extract the MOOV atom from an MP4 file? If so, how? Hoping for an obscure FFMPEG command. I need to be able to process/play a stream without searching for the MOOV atom over and over ...
0
votes
1answer
330 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
84 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: ...
4
votes
2answers
2k views

How can I ensure that DaVinci Resolve will detect and/or load my .mp4 / .avi files?

New user of DaVinci Resolve, explain-like-I'm-five. =) Have installed and followed instructions for setting up Resolve 12 on my Windows 7 16gb ram computers with GeForce 760 gpu. Initially, Resolve ...
1
vote
1answer
34 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 ...
2
votes
0answers
4k 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
0answers
9 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
178 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
23 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
137 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
562 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 ...
7
votes
3answers
75k views

Can I manually change an .mp4 to .m4v by changing the extension in the Finder (mac) or explorer (win)?

I need to change an .mp4 (h264, AAC-Audio) to an exactly same .m4v. Can I just rename it from "X.mp4" to "X.m4v"? By renaming, I mean clicking on it in Finder (Mac) or Explorer (Win) and renaming it.
2
votes
1answer
109 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-...
58
votes
4answers
129k views

Repeat/loop Input Video with ffmpeg?

I just want to loop a mp4 video with ffmpeg and keep the current settings and codec. For example if input.mp4 is 0:10 long, and I would want to loop it 4 times so output.mp4 is 0:40 long, how could I ...
-1
votes
1answer
924 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?
2
votes
0answers
810 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 ...
5
votes
2answers
5k views

Removing MP4 encoding information

Is it possible to remove certain information form a MP4 file? Specifically things like tagging and encoding dates, Writing library and application, Encoding settings... No client needs to know when I ...
0
votes
2answers
368 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 ...
4
votes
6answers
52k 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 ...
1
vote
0answers
343 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 ...