Stack Exchange Network

Stack Exchange network consists of 174 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]

MP4 specifically refers to the MPEG-4 part 14. A standard audio and video container that is part of the MPEG-4 specification developed by ISO / IEC.

2
votes
0answers
17 views

How to find out if some videos of many are corrupt?

My question is: Are there any ways to "scan" a library for corrupted files, so that I can delete or fix them? I have a plex mediaserver running, but when I wanted to see one of my series it had a ...
0
votes
0answers
21 views

Edit MP4 Hex data to vertically or horizontally flip video in a lossless manner

I am trying to do something similar to the questions here and here, but with a small difference. I am trying to flip the video along the Y or X axes instead of doing a rotation. The solution in those ...
0
votes
0answers
30 views

Changing Duration of Mp4 - Hex Editor

Is there a way to make my mp4 file seem to have a longer or shorter duration than it actually has? I tried playing around with an Hex Editor, but being a noob i couldn't make it work.
0
votes
0answers
19 views

sony vegas KERNELBASE.dll fault module

i have sony vegas 16 installed on my brand new pc. when i start vegas and try to import a clip that i have downloaded from youtube in mp4 format 1080p 50fps i freeze and than close itself while ...
0
votes
0answers
12 views

FFMPEG How to extract frames of a video at a certain time frame? [duplicate]

I am working on laying out video stills in a book. I am pretty new to using the command line and discovered ffmpeg just yesterday. Right now, I want to extract 8fps from a video between, for example, ...
0
votes
2answers
94 views

How to capture first X frames every X seconds into a PNG with FFmpeg?

I am new to using the command line. It is pretty cool and exciting to learn, but I am stuck. I have a video where, for example, I want to capture the first 8 frames every 5 seconds into an image. I'...
0
votes
0answers
22 views

Command line to join .mp4 files with different frame width/height etc

I'd like to join multiple mp4 files into 1 file using VLC command line. (I'm using Windows 10, and VLC 3.0.4) I have tried the following command: "D:\VLC\vlc.exe" "1.mp4" "2.mp4" --sout "#gather:std{...
0
votes
0answers
28 views

FFmpeg: how to concat 2 videos? (1 with no audio tracks, 1 with 2 audio tracks)?

ffmpeg -i NoAudio.mp4 -c copy -bsf:v h264_mp4toannexb -f mpegts intermediate1.ts ffmpeg -i 2Audio.mp4 -c copy -bsf:v h264_mp4toannexb -f mpegts intermediate2.ts ffmpeg -i "concat:intermediate1.ts|...
0
votes
0answers
18 views

Unable to play video in IE 11

When I try to access a mp4 video url in IE 11 it prompts the user to download the video instead of playing it in the browser. But I am able to play the video in Chrome/Firefox. Here is a sample url, ...
0
votes
1answer
17 views

Issue with SRT file on Handbrake

I keep having this odd issue with Handbrake. Every time I burn in Captions, it skips the first one. So when I export the movie, all captions appear except the first one. I have seen others reporting ...
1
vote
0answers
54 views

VLC command line or other ways to convert .mp3 to .mp4 with an image file for uploading to Youtube

I have 2 to 6 .mp3 files every day (I'm on Windows 10), and I need to convert them to .mp4 files with an image (same image every day for all files), those mp4 files are to be uploaded to YouTube. File ...
0
votes
1answer
25 views

What are available software to cut multiple clips out of a single video? [closed]

I'm looking for a software application to cut videos into multiple clips, typically by giving it the start and end time of the clip. Sometimes I need to cut about twenty clips from a single video, it ...
0
votes
0answers
61 views

ffmpeg concat ts files including subtitles

I am encoding with ffmpeg. What I'm doing right now is to split it into a ts file and then paste it back to the mp4 file via the concat option. But the problem is that there is a subtitles in this ...
-1
votes
0answers
76 views

How to fix recovered GoPro MP4 files

My GoPro freezed an corrupted not just the last video but the whole sd card. I was able to recover the files and all the jpegs were fine but the mp4 files won't play. Well, they do play in VLC player ...
1
vote
1answer
111 views

Why am I listening to different “piano notes” on Videos?

I have a number of MP4 files which are also available on YouTube, since long ago. These videos are basically showing Music Sheets while a Piano is playing them. The piano is not real, so this is ...
0
votes
1answer
45 views

MPEG video not pausing at accurate timestamp

We are using xuggle API to create MP4 file with variable duration between images. Following is the sample code final com.xuggle.mediatool.IMediaWriter writer = com.xuggle.mediatool.ToolFactory....
1
vote
1answer
598 views

ffmpeg throwing “Non-monotonous DTS in output stream”

So I'm trying to concatenate 3 video files. I'm running Linux, and the command line looks like this: ffmpeg -f concat -safe 0 -i blist.txt -c copy output.mp4 blist.txt contains this: file 'btest/00 ...
0
votes
0answers
187 views

How do I get Picasa showing MP4 videos?

My research suggests that in order to get MP4s visible in Picasa (on Windows 10) I need to either install QuickTime or a codec pack. Both options aren't particularly appealing (for security and ...
0
votes
1answer
94 views

MP4 date on windows 10 explorer

I have several MP4 videos. On windows explorer, under the column "Date", I see the wrong time stamp, it is always 3 hours LATER than the EXIF fields: QuickTime:CreateDate QuickTime:ModifyDate ...
0
votes
1answer
62 views

Deinterlacing failed when encoding a file with h264

Tried using several different h264 encoders but all of them make it have this problem where there are horizontal glitches near movement. I tried using ffmpeg but couldn't figure out how to do it ...
0
votes
0answers
45 views

Ubuntu 16.04 - Video Player glitched UI when trying to play Peek MP4

I just installed Peek ( A screen recorder extension ) and did a test recording. I saved it as an mp4 and tried to play it in the Video Player for Ubuntu (I have installed the dependencies needed to ...
0
votes
1answer
27 views

Why does AAC render grainy output on my system?

I have two different systems (Windows 10 LTSB and Windows Server 2012) running the same version of ffmpeg and I'm running the following command in both of them: ffmpeg -i input.mp3 -vn -c:a aac -b:a ...
1
vote
1answer
35 views

Efficently join audio tracks from avi to mp4

I have around 100 videos (episodes of a series) twice. [avi] 720p video resolution with my preferred audio tracks [mp4] 1080p but the wrong language Obviously, I ...
1
vote
0answers
83 views

ffmpeg mp4 video not working on iphone

I have ffmpeg working on my site to let users create various mp4s, and they all work fine on all devices except for one of my conversion functions, which isnt allowing the video to play on my iphone. ...
0
votes
0answers
355 views

FFMPEG - convert WMV to MP4 Fails

I tried some other recommended conversion commands but none of them worked. Here's the basic command: ffmpeg -i wmvfile.wmv somefile6.mp4 Output: ffmpeg version N-91548-g481741ece0 Copyright (c) ...
0
votes
1answer
96 views

Using ffmpeg to convert file to same as another

For some background, I'm making a webpage which adjusts the playback position in an embedded video when the user scrolls, so if you scroll down, the video will advance and vice versa. This works ...
0
votes
2answers
647 views

Google Drive won't play my videos after upgrading to windows 10

I finally got around to upgrading to windows 10 on my PCs. But now my videos that I had stored in Google Drive won't play. They're MP4. So then I tried using VLC media player because that was ...
0
votes
1answer
172 views

How to efficiently set the duration of the first frame of an mp4 movie?

I have a self-coded app that utilizes the Camera2Video sample Google published on GitHub. Unfortunately, there seems to be an issue from Android 6 on upwards that causes recorded videos to be broken. ...
2
votes
1answer
77 views

mp4 files unplayable after renaming or copy pasting

I have a Windows 7 machine and for a few months now I have a strange thing going on on my PC. When I rename or copy and paste it in a new folder, an .mp4 video it becomes unplayable by any video ...
0
votes
1answer
204 views

VLC can but Instagram and “Gallery” cannot play my videos

I've been busy over the past few days trying to compile a timelapse from a string of images using FFMPEG. After initial issues, I've got it working and have a perfect MP4 that plays in VLC player. It ...
2
votes
1answer
77 views

Why do people still backup their movies as mkv today? [closed]

Why anyone would use the matroska container when mp4 is way more compatible and has at least all mkv features as a container? Am I missing something ?
0
votes
0answers
148 views

ISSUE with ffmpeg (audio not syncronised with the video after merging some “.mp4” files)

Hi programmers :D I have some issues with ffmpeg as you can see in the title ^^ I try to merge 22 .mp4 files (transcode them to .ts first) and merge them to .mp4 right after But after merging all ...
2
votes
1answer
1k views

What archive compression makes .mp4 files the smallest?

Is there an archive-based compression format that is known to make the smallest .mp4 videos? I did a test 1080p 0:12 duration video with the only archival formats I know about: (python3) Joshs-MBP:...
0
votes
0answers
203 views

Concatenate mp4 files with different fps and sar using ffmpeg

I need to merge six mp4 files into one. Here is the information on the files: pt1.mp4 Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 854x480 [SAR 1:1 DAR 427:240], 998 kb/s, 23....
0
votes
0answers
33 views

Join three MP4 files together using ffmpeg? [duplicate]

I'm trying to get ffmpeg to combined three files for example Intro.mp4 Epoisde.E01.mp4 Outro.mp4 can anyone help me get the command line?
0
votes
1answer
75 views

How can I add watermark and set the output bitrate and video size, also doing bulk using ffmpeg?

I was able to add watermark to multiple video using for %%a in ("*.ts") do ffmpeg -i "%%a" -i logoCopy.png -filter_complex "overlay=main_w-overlay_w-40:40" "Logo\%%~na.mp4" And now I'm trying to ...
1
vote
1answer
121 views

How can I remove the first 30 second of 40 min video and add watermark also doing bulk using ffmpeg?

I was able to add watermark to multiple video using for %%a in ("*.ts") do ffmpeg -i "%%a" -i logoCopy.png -filter_complex "overlay=main_w-overlay_w-40:40" "Logo\%%~na.mp4" And now I'm trying to ...
0
votes
0answers
54 views

How do I use ffmpeg to hide a png randomly in one frame of the video?

I like to hide little Easter eggs in all my videos, but it is rather tedious. Is it possible to hide a png in one frame preferably at random locations/orientations within said frame using ffmpeg?
0
votes
1answer
55 views

Why does the -to option sometimes behave differently?

Two different videos are giving me troubles when coming up with code to cut them at a given time, because the same code does not clip the videos in the same way when processed through the same ffmpeg ...
0
votes
0answers
274 views

How to save an edited video with the same quality as the original?

All I need to do is to crop a videoclip. Not sure how to do this. After a little Googling I installed Avidemux and its Crop filter works great, BUT... How do I save the modified video clip without ...
2
votes
0answers
70 views

FFMPEG trimming videos on a docker low cpu setup

So I've been trying to combine multiple mp4s within a docker container running debian Stretch. I have the constraint of not being able to write the output mp4 file to disk, so I need to pipe ffmpeg ...
0
votes
0answers
129 views

Correct MP4 tag to use for show name?

I have some TV show MP4 video files that I want to set the tags on. There are several pieces of information that one would usually want to tag for such files: show name season number episode number ...
0
votes
0answers
87 views

various MP4 Thumbs have different thumbnails

I have some MP4s I have downloaded they are displayed as having a frame inside a sprocket edged 35mm film cell that is most common on Windows thumbnails for video. Though there are some that appear ...
0
votes
0answers
34 views

Batch audio transcoding to original bit-rate (different codec, same resolution & filesize)

Any hints would be gratefully received on s/w, cmd lines, or scripts, to let me batch convert a thoroughly organized directory structure of fully-tagged audio files from one format (in this instance ...
14
votes
2answers
20k views

Best settings for FFMpeg with NVENC

I'm using my FFMPEG with the suport of my GPU (NVENC) to convert files from my satelite receiver (SD, mpeg2 .TS-Files) into h264 .mp4-files Here is the line i'm using ffmpeg -i "e:\input.ts" -vcodec ...
0
votes
1answer
38 views

Using mediainfo/MOVmediaedit to mimic GoPro video format

GoPro has cool "quick edit" video editor, called Quik Desktop. It'll only import videos generated with GP's own cameras. As long as I use GP's camera's Quik is fabulous. However, sometimes I want to ...
0
votes
2answers
410 views

Using ffmpeg to convert stream with delayed audio stream

I am trying to use ffmpeg to convert this TS stream file to MP4. Note how there is no audio until around the 10-second mark. Whenever I try to convert (or copy) this TS file, I get no audio. I suspect ...
0
votes
0answers
82 views

How can I repair seeking in an .mp4 video

I have a video that I downloaded. It runs, but if I try to use the seek function in VLC to skip ahead, the picture goes to grayscale for a few seconds, and I may have to make another skip to get it to ...
0
votes
0answers
81 views

What are trun_flags in a fragmented mp4?

What is the implication of the trun_flags values in a fragmented mp4? I have a parser that works correctly for some values (4, 5) and wrongly for other trun_flags values... Need help on this. I tried ...
0
votes
1answer
96 views

ffmpeg is not even cutting this and other mp4s to the nearest second

I have a file Other - Analogue Clock-JEJqy1Wlovw.mp4 which is just a download from https://www.youtube.com/watch?v=JEJqy1Wlovw It's 2 minutes 13 seconds long. I had some issues cutting it to the ...