Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

1
vote
1answer
35 views

How can you convert a WebM with transparency to MP4 with a background color using ffmpeg?

I'm trying to convert a webm file that has a transparent background to an mp4 file. Mp4 doesn't have transparency so I'm trying to using this color: #D9DADB. How can I make this conversion happen with ...
0
votes
1answer
58 views

FFmpeg can't convert eia_608 subtitles: “Data Ignored since exceeding screen width”

I'm trying to convert iTunes movies that were previously decrypted to an mkv file with FFmpeg for use with Kodi. I want to keep stereo audio and h264 video the same, which I can do. Subtitles I want ...
1
vote
0answers
10 views

Audio in source footage cuts out and starts over a third of the way through (Premiere Pro CS6)

This is a very odd issue that I have been experiencing with a particular video clip. I have a 2 hour long clip that stops the audio at exactly 00:45:21:03 and starts over, as in the audio from the ...
2
votes
1answer
129 views

Add multiple mp3 files to an mp4 file with ffmpeg

I would like to add multiple mp3 files to an mp4 file. For adding a single mp3 to an mp4, I used this command with success: "-i /path/to/mp4File -i /path/to/soundmp3File -codec copy -shortest path/to/...
2
votes
1answer
33 views

Is MP4 a valid or common container for ProRes?

Is MP4 a valid or common container for ProRes? I've only seen it in MOVs and MXFs.
0
votes
0answers
400 views

Converting .ts to .mp4 (Output file #0 does not contain any stream)

I'm trying to convert a .ts file a recorded of a soccer game from my TV receiver. For that purpose I'm trying to use FFMPEG to do so. The command I've used is ffmpeg -i 000.ts -c copy ffmpeg-output....
0
votes
1answer
36 views

Video cam with poor compression ratio (H.264 produces videos at 2.9MB/sec)

I just purchased a cheap dashboard video-camera that is advertised to have a H.264 codec inside. However, after the first video test I have seen that a 43sec movie takes 123MB! How is this possible. I ...
1
vote
1answer
200 views

How to choose the right bitrate, H.264 profile and level for Web Video presentation?

I want to start producing videos and looking around the internet for usual bitrate ranges (VBR) and H.264 profiles and levels for Web Video exports. I found some guides with Vimeo and YouTube and ...
0
votes
0answers
47 views

Weather graphics with ffmpeg

I am a meteorologist producing my own weather maps. I've borrowed the code I use to produce animations from other VP.SE answers. The question is, am I doing it right? Here's my code. cd /home/...
0
votes
0answers
36 views

How to Export 8K Stereoscopic 7680x7680 or Higher from Premier pro

How do I export an Stereoscopic video for YouTube from Adobe Premier? The resolution I need is 7680x7680 and it does not possible seem possible to export that with the builtin presets. I tried all of ...
0
votes
1answer
31 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
votes
1answer
305 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?
0
votes
1answer
364 views

Low conversion quality using ffmpeg

I need to convert flv video into mp4 video, so I used this command: ffmpeg -i input.flv -c -vcodec libx264 -acodec copy output.mp4 But output video has little bit worse video quality, how can I fix ...
0
votes
1answer
133 views

Can camcorder Sony HDR CX455 record videos in MP4 at 1920 x 1080i to be uploaded to YouTube?

The specs of the camcorder Sony HDR CX455 states that it can record videos in the following formats: 1920 x 1080p at 24/30/60 fps (50 Mb/s XAVC S) 1440 x 1080i at 60 fps (5 Mb/s AVCHD) 1280 x 720p ...
2
votes
1answer
50 views

Lossless concatenation of slightly different MP4 files

I am trying to combine 2 or more .mp4 videos into a single video (concatenation). But I am getting timestamps errors (with ffmpeg concat demuxer protocol). The videos are very similar (same resolution,...
1
vote
0answers
204 views

Extract file thumbnail from mp4 file

I'm currently converting a few mp4 file to mkv. In the process they lose their file thumbnails and I wanted to keep them. So I'm searching for a way to extract the custom thumbnails from the mp4 files ...
0
votes
0answers
20 views

migrate away from youtube to self-served html5

We apparently missed a problem with user tracking (GDPR related) in our use of some minor embedded video from youtube. Since I'd rather not add the whole permission mess, I suppose we should be able ...
0
votes
0answers
41 views

FFMPEG/tensorflow warping .mp4's with no observable pattern of correlation as to why

not sure if this is the right place for this but here goes nothing. The function that performs the processing is here: def ffwd_video(path_in, path_out, checkpoint_dir, device_t='/gpu:0', batch_size=...
2
votes
1answer
210 views

Trim a segment of live, still-encoding H.264/FLV with ffmpeg

I am encoding a video with ffmpeg into H.264 stored in an FLV container. I would like to be able to trim segments of this video out as it is still encoding. The video contains no audio. I am encoding ...
1
vote
1answer
465 views

How to convert MPEG-4 to 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 ...
1
vote
1answer
53 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
0answers
24 views

Recover unfinished MP4 video

I was using a Sony AX700 camera recording to an MP4 with xavc coding to capture around 2 hours of footage. However, I forgot to stop recording before I took the card out of the camera. And now the ...
0
votes
0answers
431 views

Unable to properly import MP4 Video in MAGIX Vegas Pro 14 Edit (has no Video Data, although it has)

I have this MP4 video: H264 MPEG-4 AVC (part 10) (avc1) MPEG Audio Layer 1/2 (mp4a) portrait resolution of 544x962 at 29.75 FPS encoded with Planar 4:2:0 YUV It plays well in the VLC Media Player (...
-1
votes
0answers
371 views

Corrupted MP4 with valid information

This is my first question, but not my first read. I got files corrupted when transferring them from encrypted Andriod SD Card via USB to Debian Jessie (such thing I did many times before. In fact, is ...
0
votes
1answer
221 views

AAC and AC3 audio tracks in M4V file

I've noticed that in movies download from iTunes Store there is duplicated audio track - the first one is AAC and the second one is AC3 but this is visible as one audio track with option "Prefer AC3 ...
2
votes
1answer
2k views

FFMPEG: Loop video to the length of audio

E.g. if video is 1 minute, but audio is 1 hour. Make video loop throughout for 1 hour of the audio track. I use this solution to loop image through the lenght of the audio ffmpeg -y -loop 1 -r 6 -i ...
1
vote
1answer
613 views

Wrong frame-rate, corrupted playback of isom/mp4 files remuxed from H.264/AC3 MPEG-TS

NOTE: This question is superceded by this new one, please do not answer below this post. What happened? [Edit] DVB file ('file1') in TS format of H.264/AC3@50i cannot be properly remuxed into any ...
2
votes
1answer
741 views

ffmpeg transpose=clock rotates 180 degrees instead 90

I have 2 similar videos created on the same mobile. The first one can be downloaded here. If I'm using the following command the result is correctly rotated by 90 degrees: ffmpeg -i 20180114_193135....
-1
votes
0answers
140 views

Converting .MTS (AVCHD format) to mp4 leads to a doubled frame rate [duplicate]

So, this my be a duplicate of How can I convert .MTS file (AVCHD) to .mp4 by ffmpeg without re-encoding H264 video stream? but I still don't understand what's the exact reason. When I try to convert ...
1
vote
1answer
120 views

ffmpeg cut same video to multiple pieces

For the project that I'm working on I have to cut some parts of same video with some subtitles. So I made a bash file that executes multiple ffmpeg commands like this. ffmpeg -i input.mp4 -vf scale="...
2
votes
1answer
611 views

Use ffmpeg to remove specific chapters out of an MP4

I would like to know how to use ffmpeg to remove specific chapters from a video file. Below is an example. I would like to remove all the Chapters marked "Advertisement". I've searched everywhere ...
3
votes
1answer
529 views

How to auto-tune the audio track of a video file to produce a modified video file

I would like to auto-tune the audio track of an mp4 video file. I know I can convert the mp4 to mp3 first and auto-tune the mp3 file, but I want the output to be a modified video clip with the audio ...
-1
votes
0answers
126 views

Why is it almost impossible to play certain mp4 files ?

I have this mp4 file. I've tried Ubuntu and Windows, and maybe ten different media players, for example VLC. I have tried on three different computers (Windows, Ubuntu, Ubuntu). I manage to play the ...
-1
votes
0answers
20 views

Reverse engineer the CRF value used during transcoding by ffmpeg [duplicate]

I'm trying to learn about the transcoding settings used by Instagram for their videos for their progressive mp4 files. As an experiment, I uploaded 5 videos of varying bitrates(22Mbps to 2Mbps), using ...
-1
votes
0answers
198 views

FFMPEG “Buffer queue overflow, dropping.” when merging 2 videos with delay

I already searched for similiar questions, tried the answers, but didn't find my solution. I wanted to merge 2 videos, into one and added some delay to the second video to jump in later. without delay,...
0
votes
0answers
95 views

How do WEBM videos allow cutting on non-keyframes?

When I trim an MP4 or MOV video, if the cuts are not on keyframes, the results are unpredictable and usually bad. If the starting cut is not on a keyframe, the video will simply start from the nearest ...
-1
votes
1answer
72 views

How do i increase the volume of a video I recorded?

I shot a .mp4 video from my cellphone. Turns out that the volume is very low. How can I increase it?
1
vote
1answer
2k views

Proper command to remux mpeg-ts to mp4 with FFmpeg?

Should I just use plain command like this: ffmpeg -i C:\video_input.ts -c:v copy -c:a copy -bsf:a aac_adtstoasc C:\video_output.mp4 but I have seen many using -copyts to it, why is this needed I do ...
0
votes
1answer
82 views

Static frame video and a motion-intensive appendix: how to render fast?

A frequent task is to render a 5–30 minutes video from a single image + soundtrack and then append a pre-rendered outro logo animation sequence. Output is hd720 h264 mp4 for YouTube. What would be ...
1
vote
1answer
246 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
1answer
15 views

mp4 file expands wildly when shortening clip

noob here, I took a video of myself for a wedding greeting with my phone (LG Nexus 5 [Android]) sitting (the phone that is) in a windshield suction holder. The video is 3'42" long and when downloaded ...
5
votes
1answer
276 views

What is the colour range of most videos?

Colour range (Limited, Expanded) is something I've only thought of recently, and I'm worried I may have introduced colour banding into some of my videos. When doing a standard MP4 export from ffmpeg, ...
0
votes
2answers
955 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 ...
1
vote
2answers
2k views

How to fade out mp4 audio AND video with FFmpeg?

How to fade out audio AND video in *.mp4 file? If I try code from this answer: ffmpeg -i "c:/input.mp4" -filter:v 'fade=in:0:30,fade=out:227:30' -c:v libx264 -crf 22 -preset veryfast -c:a copy "c:/...
2
votes
0answers
26 views

what encoder can take advantage of 16-core setup? converting/ripping Blu-ray to mp4 format

I'm thinking of upgrading my 6-core setup (single CPU) setup to a 2x8-core/CPU setup. I'm wondering what software will allow me to fully utilize all the cores. I've been using handbrake but I do not ...
0
votes
0answers
25 views

How do I make a very sharp screen capture to be placed on a website background (no streaming)

I managed to create a sharp video after doing a lot of research. However, now my problem is when scaling down in the browser. I am trying to do something similar to this: https://framer.com/features/...
1
vote
1answer
496 views

Why can't my video play from where I drag the playback bar?

I am stuck and really do not know how to explain it in correct manner. Thus I put it in the layman details. I have two 30~ second length mp4 videos saved in cloud storage. video1 is generated by ...
1
vote
0answers
335 views

Change resolution according to bandwidth at the start of the video

The use case described here is very much the same as the YouTube's feature where a lower resolution of the video is selected if the user's network speed is low. But, I'd like to do this only at the ...
1
vote
1answer
58 views

Can a SONY HXR-NX30U camera record two external audio inputs?

I own a Sony HXR-NX30U which has two XLR input ports. I would like to use both, the directional built in shotgun mic and a lapel mic. Is that possible? In other words: Does the camera support it? If ...
1
vote
1answer
296 views

Is H264 an actual file format?

Is there an actual H.264 file or is it just the codec that renders the video into an .mp4 or .mov file? For an application, I have to hand in a portfolio with videos. Their website says that, "...