Skip to main content

All Questions

0 votes
0 answers
3k views

How can I force a subtitle track to be set as active on an MP4 video?

I'm converting .mkv's to mp4 and it's working, however the issue is that when I open the .mp4, the subtitle track is disabled by default. I have to manually select it as such: How can I make it so ...
Mnea's user avatar
  • 1
1 vote
1 answer
1k views

FFmpeg: Issues muxing/copying ASS subtitle streams from one MKV source with another MKV, causes 33secs of missing subtitle at the beginning

Hey first time posting, But I really tried to look all around for a solution, even tried a couple of options that worked for me before for a similar issue with WebVTT from another solution [here]. ...
Jinhjy's user avatar
  • 11
0 votes
0 answers
637 views

ffmpeg: adding subtitles (.srt) to MKV only adds first subtitle frame

I am trying to add a separate .srt file to an existing MKV container using ffmpeg: > ffmpeg -i 'input.mkv' -fix_sub_duration -i 'subtitles.srt' -map 0 -c copy -map 1 -c:s:1 srt 'output.mkv' I am ...
AlpacasInSpace's user avatar
0 votes
1 answer
8k views

Remove embedded subtitle streams from media file without "streaming/remuxing"

This related post gives a solution: mkvmerge -o output.mkv input.mkv -S # remove all subtitle tracks This other related post gives a solution: ffmpeg -i input.mp4 -c:v copy -c:a copy -map_metadata 0:...
Abraham's user avatar
  • 164
1 vote
1 answer
2k views

How to convert an mkv file with several subtitle tracks into mp4 with one of the subtitle streams hardcoded using ffmpeg?

I would like to know how to convert an mkv file with several subtitle and audio tracks into an mp4 with one of the subtitle tracks hardcoded and a single audio track selected using ffmpeg? It should ...
Aspiring Dev's user avatar
0 votes
1 answer
885 views

FFMPEG, resize, watermark and compress a video

I can't quite combine a couple of commands in FFMPEG. I'm trying to Burn in an external subtitle file map all other streams since the file contains many audio and subtitle tracks i don't wish to ...
Karim Gawish's user avatar
10 votes
2 answers
18k views

Understanding FFMPEG Error Extracting Subtitles

I'm trying to extract some subtitles as an srt file because there are some lines I'd like to edit therein before remuxing the video. Unfortunately I'm running into an error that I really don't ...
oldboy's user avatar
  • 393
0 votes
1 answer
908 views

Reencode mkv to mp4 with forced subs only

I've asked a similar question before but I couldn't get it to work and since it is an old post, I'm trying again. I want to convert to mp4 from mkv because many of my players have issues with mkv. ...
Huston's user avatar
  • 99
3 votes
1 answer
8k views

How do I simply edit the subtitles of a MKV file while preserving the video, audio, and attachment streams?

So when I look at the original video: ffprobe -v error -show_entries stream=index,codec_name,codec_type example.mkv I see something like this: [STREAM] index=0 codec_name=h264 codec_type=video [/...
Flair's user avatar
  • 133
3 votes
3 answers
5k views

Extract closed captions (CC) From .mkv file interlaced in video stream

Video output: ffmpeg -i output.mkv Input #0, matroska,webm, from 'output.mkv': Metadata: encoder : libebml v1.3.6 + libmatroska v1.4.9 creation_time : 2018-08-31T06:43:45.000000Z Duration: ...
sard's user avatar
  • 31
2 votes
1 answer
4k views

How to concatenate MKVs with different tracks

I have an mkv film and a separate mkv with an introduction by the director. I'm trying to use mkvmerge to concatenate them. However, the film has subtitles and the intro has no subtitles, and this ...
Dave's user avatar
  • 123
3 votes
0 answers
10k views

Extracting subtitles from MKV files with ffmpeg or mplayer

An MKV file containing multiple sets of subtitles refuses to play them on a SmartTV or similar devices, seeing no subtitles at all. mplayer manages the file without problems. Here's what is in the ...
Edward Sternin's user avatar
0 votes
1 answer
1k views

Issue trying to combine mkv with SRT subtitles

Am facing this issue when trying to embed subtitles into mkv format. ffmpeg -i Silence2016.mkv English.srt -map 0 -map 1 -c copy output.mkv ffmpeg version 3.2.2 Copyright (c) 2000-2016 the FFmpeg ...
the lucas's user avatar
2 votes
1 answer
3k views

ffmpeg cut, encode MKV to MP4, and burn subtitles

I want to cut a section of an MKV and encode it to MP4, while also burning the subtitles. But I don't know how to do that all in 1 pass (related question), so I tried it step by step. When I first ...
Ketho's user avatar
  • 440
1 vote
1 answer
9k views

ffmpeg trying to hardcode subs using -c:s mov_text but fails

Please bear with me; I'm still learning the intricacies of ffmpeg and have hit a problem with subtitles. So, I am trying to change the container of a video from mkv to mp4, and simultaneously ...
The All Powerful's user avatar

15 30 50 per page