Tuesday, April 30, 2024
 Popular · Latest · Hot · Upcoming
-2
rated 0 times [  -2] [ 0]  / answers: 1 / hits: 119309  / 3 Years ago, thu, august 5, 2021, 12:24:16

I have a MKV video I want to convert to MP4, but every which way I try and convert it (Handbrake, WinFF, FFmpeg, MEncoder,...) I lose the video's subtitles. How can I convert the video, keeping the subtitles, or add a subtitles .srt?


I also would like 2-pass encoding with a video bitrate 4054 and audio bitrate 160.


Thanks.


I was asked for the ffmpeg -i:


joe@joe-Leopard-Extreme:/media/Elements/Home Folder/Videos$ ffmpeg -i iron.mkv
ffmpeg version 0.8.3-4:0.8.3-0ubuntu0.12.04.1, Copyright (c) 2000-2012 the Libav developers
built on Jun 12 2012 16:52:09 with gcc 4.6.3
*** THIS PROGRAM IS DEPRECATED ***
This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.
[matroska,webm @ 0x1a319a0] Estimating duration from bitrate, this may be inaccurate
Input #0, matroska,webm, from 'iron.mkv':
Metadata:
title : Iron
Duration: 02:06:01.67, start: 0.000000, bitrate: 1280 kb/s
Chapter #0.0: start 0.000000, end 546.170622
Metadata:
title : Chapter 00
Chapter #0.1: start 546.170622, end 1080.579489
Metadata:
title : Chapter 01
Chapter #0.2: start 1080.579489, end 1609.941667
Metadata:
title : Chapter 02
Chapter #0.3: start 1609.941667, end 2101.849733
Metadata:
title : Chapter 03
Chapter #0.4: start 2101.849733, end 2595.259333
Metadata:
title : Chapter 04
Chapter #0.5: start 2595.259333, end 3158.488667
Metadata:
title : Chapter 05
Chapter #0.6: start 3158.488667, end 3564.644400
Metadata:
title : Chapter 06
Chapter #0.7: start 3564.644400, end 4052.423356
Metadata:
title : Chapter 07
Chapter #0.8: start 4052.423356, end 4304.300000
Metadata:
title : Chapter 08
Chapter #0.9: start 4304.300000, end 4711.206489
Metadata:
title : Chapter 09
Chapter #0.10: start 4711.206489, end 5080.575489
Metadata:
title : Chapter 10
Chapter #0.11: start 5080.575489, end 5700.111067
Metadata:
title : Chapter 11
Chapter #0.12: start 5700.111067, end 6269.346400
Metadata:
title : Chapter 12
Chapter #0.13: start 6269.346400, end 6811.471333
Metadata:
title : Chapter 13
Chapter #0.14: start 6811.471333, end 7561.679000
Metadata:
title : Chapter 14
Stream #0.0(eng): Video: h264 (High), yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc
Stream #0.1(eng): Audio: ac3, 48000 Hz, 5.1, s16, 640 kb/s (default)
Metadata:
title : 3/2+1
Stream #0.2(ita): Audio: ac3, 48000 Hz, 5.1, s16, 640 kb/s
Metadata:
title : 3/2+1
Stream #0.3(eng): Subtitle: pgssub (default)
Stream #0.4(eng): Subtitle: pgssub
Stream #0.5(eng): Subtitle: pgssub
Stream #0.6(eng): Subtitle: pgssub
At least one output file must be specified
joe@joe-Leopard-Extreme:/media/Elements/Home Folder/Videos

More From » video

 Answers
7

Well I found a way to make it work, not ideal, but it works. I can add a srt to a video with mkvmerge. Only downfall is it makes the video mkv, not mp4.


[#34409] Saturday, August 7, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
skaing

Total Points: 462
Total Questions: 124
Total Answers: 113

Location: Nauru
Member since Thu, Feb 2, 2023
1 Year ago
;