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.

Filter by
Sorted by
Tagged with
121 votes
7 answers
124k views

In ffmpeg, how to delay only the audio of a .mp4 video without converting the audio?

In my .mp4 file the audio delay is -3840 ms. I synced it in KMplayer, and I don't want to use MKVGUI to make a .mkv file. I just need to delay the audio by 3840 ms, everything else should be left ...
Alireza's user avatar
  • 1,211
98 votes
9 answers
187k views

Use ffmpeg copy codec to combine *.ts files into a single mp4

I've got a bunch of ts segments described by a single index.m3u8 file: index.m3u8 segment1_0_av.ts segment2_0_av.ts segment3_0_av.ts segment4_0_av.ts segment5_0_av.ts I know they are ...
Ana's user avatar
  • 1,651
95 votes
10 answers
88k views

How can I remove multiple segments from a video using FFmpeg?

I am trying to delete a few sections of a video using FFmpeg. For example, imagine if you recorded a show on television and wanted to cut out the commercials. This is simple with a GUI video-editor; ...
Matias's user avatar
  • 1,259
77 votes
3 answers
92k views

FFMPEG Splitting MP4 with Same Quality

I have one large MP4 file. I am attempting to split it into smaller files. ffmpeg -i largefile.mp4 -sameq -ss 00:00:00 -t 00:50:00 smallfile.mp4 I thought using -sameq would keep the same quality ...
Chris Weber's user avatar
  • 1,265
73 votes
6 answers
141k views

How to open and repair an m4v or mp4 video file?

Yesterday I was filming a scene with my phone but suddenly the application crashed and when I try to open the m4v generated it says that is corrupted. I have downloaded the video files (around 36MB) ...
Drake's user avatar
  • 5,654
69 votes
6 answers
143k views

FFMPEG convert flv to mp4 without losing quality [duplicate]

Currently I'm converting .flv flash files to .webm and .mp4 files to be used with an HTML5 video player. _ I use this ffmpeg command for WEBM: ffmpeg -i filename.flv -vcodec libvpx -acodec libvorbis ...
Chad Whitaker's user avatar
65 votes
4 answers
212k 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 ...
Dr. Snail's user avatar
  • 697
57 votes
2 answers
203k views

Handbrake settings to convert MKV to MP4 while retaining the original quality

I have a ton of MKV files I need to convert to MP4 and my chosen software is Handbrake. I'm stuck on which settings would be best for the conversion. I want to retain full quality. Do I just convert ...
orange's user avatar
  • 900
56 votes
8 answers
216k views

How can I merge two mp4 files without losing quality?

I have two high-quality mp4 files, which are of two parts of the same show. I want to merge them together into 1 file, and I usually use VirtualDub to merge my files... But it doesn't seem to support ...
Paolo Bergantino's user avatar
54 votes
9 answers
126k views

How to convert WMV to MP4?

How can a set of WMV files be converted to MP4 so I can import them to my Apple TV?
burnt1ce's user avatar
  • 1,237
52 votes
2 answers
117k views

How to extract subtitles from MP4 and MKV movies

I'm trying to extract subtitles from MP4 and MKV movies. I'm using mp4box (on OS X) but cannot figure out how it works. Any hints?
Open the way's user avatar
  • 8,633
46 votes
7 answers
77k views

Join mp4 files in linux

I want to join two mp4 files to create a single one. The video streams are encoded in h264 and the audio in aac. I can not re-encode the videos to another format due to computational reasons. Also, I ...
Jose Armando's user avatar
46 votes
2 answers
39k views

Remove .mp4 video top and bottom black bars using ffmpeg

I'm new to ffmpeg and I have heard that it has a filter for black. I want to remove black bars on top and bottom of the video so the video will be cropped to the remaining video without black bars. ...
user avatar
44 votes
5 answers
67k views

Joining H264 *without* re-encoding

I have two halves of a single show in two .MP4 files, encoded in H264. I would like to join them without re-encoding. Is this possible? I managed to create a joined video as a Quicktime file (.mov) ...
jdmuys's user avatar
  • 861
44 votes
2 answers
51k views

How to extract an audio track from an MP4 video file on Windows?

Having an MP4 video file I'd like to get just the audio track of it. What makes my question different from the others is that I don't want to convert it (like to MP3 or anything) - I'd prefer to keep ...
Ivan's user avatar
  • 7,523
43 votes
9 answers
36k views

Extracting audio from MP4 video into MP3

I downloaded a few MP4-encoded videos from which I'd like to extract the audio stream into MP3 files for easy listening on my digital player. Most likely, VLC can do this, but the instructions ...
OverTheRainbow's user avatar
35 votes
3 answers
42k views

Convert from MOV to MP4 Container format

I have a digital camera that records nice 1080p H.264 format but unfortunately it uses the MOV container format. Basically I have nothing but the camera and VLC that play this format natively. Is ...
Jeremy Edwards's user avatar
34 votes
1 answer
66k views

Converting FLV to MP4 Using FFMPEG and Preserving the Quality

Im trying to use ffmpeg to convert my flv files to mp4 to play them on iOS devices but the converted video has a much worse quality than the original one. Here is the command i use: ffmpeg -i input....
user avatar
34 votes
4 answers
30k views

Accurately cut video files from command line

I'm having trouble finding a cli application that can take a video file (avi, mkv, and mp4 preferably) and cut out very short clips (2-6 seconds) with precision time accuracy. I've tried ffmpeg, ...
curmil's user avatar
  • 1,055
31 votes
4 answers
46k views

How do I replace the audio in an MP4 file without re-encoding?

I've got a video in an MP4 container that I would like to replace the audio track in (not add another audio stream to, nor convert the audio format of). Someone elsewhere online suggested to use ...
nc4pk's user avatar
  • 9,117
29 votes
1 answer
7k views

What makes a MP4 streamable?

I'm digging into the Telegram bot API, and it show this option for sendVideo: supports_streaming Boolean Optional Pass True if the uploaded video is suitable for streaming This suggests that ...
Maarten's user avatar
  • 603
27 votes
3 answers
115k views

What's the easiest way to save a GIFV as a simple GIF?

Usually I open the context menu right clicking on the image. Now theres no option for "save image as", just options for the WEBM/MP4 format.
Herr_Schwabullek's user avatar
27 votes
2 answers
62k views

ffmpeg: re-encode a video, keeping settings similar

I'm dealing with some mp4 videos that were encoded on mobile phones and are pretty huge. I think ffmpeg can do better. I'm trying to figure out what flags to use to preserve fps, resolution, and ...
OneSolitaryNoob's user avatar
27 votes
3 answers
49k views

Shouldn't we always use Web Optimized for Handbrake?

I use Handbrake sometimes to compress video files, and notice that the "Web Optimized" option is not chosen by default, and cannot be set to the default in Options either. But I tried both Web ...
nonopolarity's user avatar
  • 9,646
24 votes
1 answer
29k views

FFmpeg split video and merge back

I'm trying to use FFmpeg to split video based on some start_time and end_time inputs, and replace those with other video files. For instance, for input 10 15 I will need to replace EXACT seconds 10 to ...
user avatar
23 votes
3 answers
49k views

How can I get high quality/low size MP4s like the LOL release group?

Release group LOL does an excellent job at encoding their releases on The Vampire Diaries (on other shows like How I Met Your Mother the bitrate is higher, so doesn't seem this effective). About 200 ...
thankyouinadv's user avatar
23 votes
2 answers
19k views

How do I convert webm to mp4 for MacOSX?

I'm on MacOSX Lion and would like a method for converting webm to mp4 (or another iTunes compatible format). ffmpeg seems like a possibility but the documentation is a bit obtuse for me; step-by-step ...
Son of the Wai-Pan's user avatar
22 votes
5 answers
158k views

How do I create a DVD from an MP4 file using Windows DVD Maker?

I'm trying to create a DVD from an MP4 file using Windows DVD Maker (on Windows 7) but when doing so I get the error that the file type is not supported and cannot be imported. What is the easiest way ...
Guy's user avatar
  • 4,117
21 votes
3 answers
29k views

FFmpeg drops frames when encoding a png image sequence into an x264 mp4 video

I'm trying to encode an image-sequence (frame0001.png, frame0002.png, ... , frame0160.png) into an x264 video using the following command: ffmpeg -i frame%04d.png -sameq -r 24 out.mp4 After encoding,...
PtrFdr's user avatar
  • 591
20 votes
2 answers
84k views

How to change ffmpeg -threads settings

Working on a tube site. I'm running videos through ffmpeg on a linux dedicated server to convert to mp4. The server specs: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte ...
user avatar
20 votes
2 answers
36k views

How do I add MP3, MP4 and H.264 support to Chromium on Windows?

Google Chrome on Windows comes with support for the above media formats, however, Chromium does not. I want to add support for my own personal use, how can I do this? I know that on Ubuntu this is ...
Jay's user avatar
  • 201
20 votes
2 answers
39k views

Streaming mp4 with ffmpeg

I need to create a feed that has two streams - webm and mp4 - so that it can be compatible on all HTML5 video players. The webm stream works perfectly. However, when trying to access the mp4 stream, ...
Fibericon's user avatar
  • 264
18 votes
6 answers
74k views

Change the frame rate of an MP4 video with ffmpeg

I have a video in mp4 format with a frame rate of .33 (1 frame for 3 seconds). I want to increase the frame rate to 5 frames/sec. I have tried the below command but it does not do any thing: ffmpeg -...
firemonkey's user avatar
17 votes
8 answers
56k views

Rotate a MP4 file, while preserving codec and quality attributes

I need to rotate a MP4 video by 90 degrees. There is software like Free Video Flip and Rotate available that does this but produces an AVI file. Do you have any suggestions for a software to produce ...
thegate's user avatar
  • 173
16 votes
4 answers
27k views

Extract audio aac from mp4

Is there a command line tool for Windows to extract audio aac from mp4 ?
iceman's user avatar
  • 2,450
16 votes
4 answers
47k views

Convert MP4 to OGG (Video)

Does anyone know a way to convert .mp4 video to .ogg video (in Windows)? None of the converters I've seen online seem to do the job.
user avatar
16 votes
2 answers
26k views

FFMPEG - Non-monotonous DTS

When I use FFMPEG to convert a video from MP4 to M3U8, using the following command, ffmpeg -i op.mp4 -b:v 128k -flags -global_header -map 0:0 -map 0:1 -f segment -segment_time 4 -segment_list_size 0 ...
Divya Bhargov's user avatar
15 votes
7 answers
27k views

How to convert 50 episodes from DVD into 50 .mp4 with HandBrake, easily?

I loaded a DVD with 50 episodes in it (chose VIDEO_TS from the program), now when i open it in HandBrake, it shows 50 "titles" in there. i choose 320x240 output format and start converting. Then i ...
Rookie's user avatar
  • 1,233
14 votes
2 answers
40k views

Command line to convert OGV to MP4 video files

I want to convert every [OGV|OGG] video file Ogg data, Skeleton v3.0 I have into MP4 or WebM. Can people please suggest a command line to do so, in order to keep the quality? Also do they need ...
hendry's user avatar
  • 1,844
14 votes
6 answers
15k views

How can I convert .mov to mp4?

I have a .mov file I've just recorded that's 600MB, I want to convert it to a smaller .mp4 file. How can I do this?
JL.'s user avatar
  • 5,788
14 votes
2 answers
28k views

Why is converting WMV to MP4 so slow?

I am trying to convert a video from WMV to MP4 with FFmpeg but it takes couple of hours. If I try to convert it to AVI it only takes about 10-15 minutes. ffmpeg version ffmpeg version N-43206-...
Giorgi's user avatar
  • 641
14 votes
6 answers
44k views

How can I merge or concatenate two or more MP4 files creating another MP4 file? [duplicate]

How can I concatenate or merge 2 or more MP4 files, in a final output MP4 file also? I have tried in the DOS window to use the COPY command (I have read it somewhere) but it doesn't function well.
Mª Isabel Teixeira's user avatar
12 votes
1 answer
35k views

how do I convert .iso to .mp4 without mounting with ffmpeg

The problem is - I want to convert .iso with dvd to .mp4 (h264/ac3), but I cannot mount it via mount -o loop, because I'm on a virtual machine that doesn't allow to do that. Googling doesn't help. ...
Kirill Zaitsev's user avatar
12 votes
1 answer
28k views

accurate cutting of video (+ audio) with ffmpeg

I want my website to allow users to accurately create their own clips from a source video I provide. I have a source video file that I first want to convert to something suitable for a website: ...
Pete Oakey's user avatar
12 votes
1 answer
86k views

ffmpeg: Could not find codec parameters for stream 0 (Video: h264) unspecified size

I try to convert a video from .raw to .mp4. For this reason I did download, build and install both x264 and ffmpeg. However, command: ffmpeg -f h264 -i output.raw -vcodec copy output.mp4 fails with ...
dempap's user avatar
  • 429
11 votes
3 answers
56k views

Batch Convert .mkv to .mp4

I want to batch convert all .mkv files in a folder into .mp4 with VLC. It should use the original video-/audio stream and if possible the .ass subtitle of the .mkv. It's not really a conversion, it's ...
IamHere's user avatar
  • 111
11 votes
2 answers
44k views

How To Convert Offline files downloaded from Lynda.com

As a premium member you can download course video files from Lynda.com. I have downloaded files for the courses that I have completed. The files in reside in the respective folder and have a .Lynda ...
vai0's user avatar
  • 111
10 votes
9 answers
7k views

Convert mp4 to mp3

I would like to convert mp4 (video included) to mp3 (without video). what is the best way of doing this apart from using audacity (or similar software) and performing manual conversion (recording as ...
quest49's user avatar
  • 203
10 votes
4 answers
10k views

How do you split a large MPEG-4 video file into smaller files?

I have an hour of raw footage from a users group meeting that I want to split in to 10-minute chunks so I can upload them to YouTube. I did some searching and couldn't really find a good way to ...
Robert Greiner's user avatar
10 votes
4 answers
115k views

Which is better between a .flv and a .mp4 video files with same encoding?

There is a server from which I can download videos, and I can choose if I want .flv or .mp4. The encoding is the same: -> FLV Flash Video 1 video stream: 640*360 (16:9), at 25,000 fps, AVC (...
Oriol's user avatar
  • 1,449

1
2 3 4 5
10