Skip to main content

All Questions

Tagged with
10 votes
2 answers
51k views

How to convert MKV videos to lossless MP4 videos that are compatible with iOS devices on Windows?

I’m new to FFmpeg (Windows), and need some help. I want to convert my MKVs to MP4 with as little loss in quality as possible. The MKVs are made with MakeMKV and contain among others DTS soundtrack. ...
Striky's user avatar
  • 103
8 votes
2 answers
16k views

How do I tell ffmpeg to transcode to a video codec supported by Windows Media player?

The command below executed without error. ffmpeg -i thevideo.mkv outvideo.avi Subsequent attempts to play outvideo.avi in Windows Media player threw this error You may need an additional video ...
Everyone's user avatar
  • 1,824
1 vote
1 answer
610 views

Copy audio stream, while also re-encoding with filters?

I'm using this command to copy the video & audio streams while also encoding the first audio stream to a stereo AAC track as well: ffmpeg -y -i in.mkv -map 0:v -c:v copy -map 0:a:0? -c:a:0 copy -...
Saxon Rix's user avatar
30 votes
5 answers
86k views

How to convert an MKV to AVI with minimal loss

To convert an MKV to AVI, I do two things. The first thing I do is this: ffmpeg -i filename.mkv -vcodec copy -acodec copy output.avi or this: ffmpeg -i filename.mkv -sameq -acodec copy output.avi ...
tony_sid's user avatar
  • 14.5k
15 votes
5 answers
59k views

Convert MKV with DTS sound to MP4 video with AAC or AC3 audio

I've got a 4.3 GB 720p movie and want to convert this MKV with DTS sound to MP4 video with AAC or AC3 audio. I sometimes get: ffmpeg: unrecognized option '-c:v' …and: aac unrecognized ¬and other ...
dale's user avatar
  • 259
6 votes
2 answers
8k views

Make MKV file suitable for streaming with ffmpeg (or avconv) - how to move all metadata to beginning of file?

My question, I think, is pretty simple... Sometimes I like to download large MKV files from a webserver of mine, and play them back while they are downloading. However, if I do this on MKV files I've ...
Fredrick Brennan's user avatar
3 votes
3 answers
16k views

.MKV to .MP4 with 2 soundtrack (audio)

I found this thread: Handbrake settings to convert MKV to MP4 while retaining the original quality And I can "convert" .MKV to .MP4 with the following code: for %%a in ("*.mkv") do D:\Programme\...
Benjamin Schäfer's user avatar
1 vote
3 answers
4k views

FFMPEG: convert MP4 to same MP4 (in a different container) and add Subtitles

The main reason for this post is that I have movie.mp4 that I have downloaded an SRT for. When I manually add the SRT VLC uses its settings to change the font/size etc of the SRT. But if I Embed the ...
FreeSoftwareServers's user avatar
0 votes
2 answers
3k views

Batch merge/mux MP4 and SRT files to MKV

So I've been searching around to an answer to this and have been able to find very many similar cases, but unable to actually find an answer to what I'm trying to do. I took a look at these two ...
user avatar