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
1 answer
4 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
0 answers
12 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
3 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....
0 votes
2 answers
476 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 ...
2 votes
2 answers
1k 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
18 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
1 answer
420 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
1 answer
538 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
20 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
511 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
2 answers
732 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
86 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 ...
0 votes
1 answer
229 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
65 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
348 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 ...
0 votes
2 answers
168 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 ...
1 vote
1 answer
364 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
4k 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 ...
0 votes
0 answers
38 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
15 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
563 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
376 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 ...
0 votes
1 answer
449 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
40 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 -...
0 votes
1 answer
83 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 ...
7 votes
3 answers
25k 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
2k 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
10 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 ....
0 votes
1 answer
516 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
1 answer
6k 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
41 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? ...
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 ...
0 votes
0 answers
11 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 ...
0 votes
1 answer
570 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 ...
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 -vcodec h264 -acodec ...
7 votes
1 answer
12k views

Removing / Overlaying logo on mp4 video format with ffmpeg on linux

I'm trying to remove a logo from an .MP4 video format with ffmpeg on a Linux machine without re-encoding (for preserving the same quality) with the following command: ffmpeg -i input.mp4 -vf delogo=x=...
0 votes
0 answers
11 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 G11, if it matters.) When I brought the files into VEGAS (still using version 15.0 Platinum), it reports some ...
0 votes
0 answers
70 views

Change default subtitle track in Dolby Vision mp4

I need change default subtitle track in dolby vision mp4 file. I'm tried to remux via ffmpeg - but after that my tv tell me - the file not supported. For example - on default track 3 i have forced ...
1 vote
1 answer
1k 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 ...
2 votes
1 answer
371 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
1k 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, ...
1 vote
1 answer
202 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 ...
1 vote
2 answers
107 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 ...
103 votes
6 answers
244k 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 ...
0 votes
0 answers
395 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
47 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
248 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 ...

1
2 3 4 5 6