Eu tenho muitos MKVs feitos de DVDs e BRs pelo MakeMKV que eu convertendo para MP4 para que eu possa tocar / transmitir no meu iPad Air. Eu agora uso este comando para converter meus MKVs para MP4:
ffmpeg -i input.mkv -strict experimental -map 0:0 -map 0:1 -map 0:2 -map 0:3 -c:v copy -c:a aac -b:a 384k -c:s copy output.mp4
Eu tenho vídeo, 2 trilhas sonoras e 1 legenda. Eu quero a menor perda possível, tanto na imagem quanto no som. Eu também preciso de todos os subtítulos e trilhas sonoras do MKV (normalmente 2 trilhas sonoras e 1 legenda).
Eu fiz o download da compilação ffmpeg estática de 32 bits do zeranoe. Eu sou novo no ffmpeg, então eu não sei como obter o libfdk_aac, o qual eu não acredito que esteja no build do zeranoe? Eu li que o libfdk_aac é da mais alta qualidade.
Também vou transmitir isso para o iPad Air, então tenha isso em mente. Tem funcionado bem até agora:)
Alguma ideia para melhorar isso?
Registro atual do ffmpeg
C:\Film>ffmpeg -i abc.mkv -strict experimental -map 0:0 -map 0:1 -map 0:2 -map 0:3 -c:v copy -c:a aa
c -b:a 384K -c:s copy film02.mp4
ffmpeg version N-63378-g1d36def Copyright (c) 2000-2014 the FFmpeg developers
built on May 22 2014 22:01:44 with gcc 4.8.2 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzli
b --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libblu
ray --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-
libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libope
njpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex
--enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrw
benc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enab
le-libx265 --enable-libxavs --enable-libxvid --enable-decklink --enable-zlib
libavutil 52. 86.100 / 52. 86.100
libavcodec 55. 63.100 / 55. 63.100
libavformat 55. 40.100 / 55. 40.100
libavdevice 55. 13.101 / 55. 13.101
libavfilter 4. 5.100 / 4. 5.100
libswscale 2. 6.100 / 2. 6.100
libswresample 0. 19.100 / 0. 19.100
libpostproc 52. 3.100 / 52. 3.100
Input #0, matroska,webm, from 'abc.mkv':
Metadata:
encoder : libmakemkv v1.8.10 (1.3.0/1.4.1) win(x86-release)
creation_time : 2014-05-11 07:39:29
Duration: 01:24:07.80, start: 0.000000, bitrate: 7505 kb/s
Chapter #0.0: start 0.000000, end 135.760000
Metadata:
title : Chapter 01
Chapter #0.1: start 135.760000, end 361.200000
Metadata:
title : Chapter 02
Chapter #0.2: start 361.200000, end 665.120000
Metadata:
title : Chapter 03
Chapter #0.3: start 665.120000, end 888.760000
Metadata:
title : Chapter 04
Chapter #0.4: start 888.760000, end 1077.720000
Metadata:
title : Chapter 05
Chapter #0.5: start 1077.720000, end 1240.800000
Metadata:
title : Chapter 06
Chapter #0.6: start 1240.800000, end 1552.120000
Metadata:
title : Chapter 07
Chapter #0.7: start 1552.120000, end 1657.360000
Metadata:
title : Chapter 08
Chapter #0.8: start 1657.360000, end 1769.920000
Metadata:
title : Chapter 09
Chapter #0.9: start 1769.920000, end 2102.680000
Metadata:
title : Chapter 10
Chapter #0.10: start 2102.680000, end 2355.760000
Metadata:
title : Chapter 11
Chapter #0.11: start 2355.760000, end 2747.320000
Metadata:
title : Chapter 12
Chapter #0.12: start 2747.320000, end 2908.440000
Metadata:
title : Chapter 13
Chapter #0.13: start 2908.440000, end 3056.200000
Metadata:
title : Chapter 14
Chapter #0.14: start 3056.200000, end 3285.640000
Metadata:
title : Chapter 15
Chapter #0.15: start 3285.640000, end 3383.360000
Metadata:
title : Chapter 16
Chapter #0.16: start 3383.360000, end 3689.360000
Metadata:
title : Chapter 17
Chapter #0.17: start 3689.360000, end 3828.320000
Metadata:
title : Chapter 18
Chapter #0.18: start 3828.320000, end 3979.000000
Metadata:
title : Chapter 19
Chapter #0.19: start 3979.000000, end 4308.240000
Metadata:
title : Chapter 20
Chapter #0.20: start 4308.240000, end 4432.040000
Metadata:
title : Chapter 21
Chapter #0.21: start 4432.040000, end 4611.560000
Metadata:
title : Chapter 22
Chapter #0.22: start 4611.560000, end 4861.960000
Metadata:
title : Chapter 23
Chapter #0.23: start 4861.960000, end 5047.800000
Metadata:
title : Chapter 24
Stream #0:0(eng): Video: mpeg2video (Main), yuv420p(tv), 720x576 [SAR 16:15 DAR 4:3], max. 9800
kb/s, 25 fps, 25 tbr, 1k tbn, 50 tbc
Stream #0:1(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s (default)
Metadata:
title : Surround 5.1
Stream #0:2(nor): Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s
Metadata:
title : Surround 5.1
Stream #0:3(nor): Subtitle: dvd_subtitle, 720x576 (default)
Output #0, mp4, to 'film02.mp4':
Metadata:
encoder : Lavf55.40.100
Chapter #0.0: start 0.000000, end 135.760000
Metadata:
title : Chapter 01
Chapter #0.1: start 135.760000, end 361.200000
Metadata:
title : Chapter 02
Chapter #0.2: start 361.200000, end 665.120000
Metadata:
title : Chapter 03
Chapter #0.3: start 665.120000, end 888.760000
Metadata:
title : Chapter 04
Chapter #0.4: start 888.760000, end 1077.720000
Metadata:
title : Chapter 05
Chapter #0.5: start 1077.720000, end 1240.800000
Metadata:
title : Chapter 06
Chapter #0.6: start 1240.800000, end 1552.120000
Metadata:
title : Chapter 07
Chapter #0.7: start 1552.120000, end 1657.360000
Metadata:
title : Chapter 08
Chapter #0.8: start 1657.360000, end 1769.920000
Metadata:
title : Chapter 09
Chapter #0.9: start 1769.920000, end 2102.680000
Metadata:
title : Chapter 10
Chapter #0.10: start 2102.680000, end 2355.760000
Metadata:
title : Chapter 11
Chapter #0.11: start 2355.760000, end 2747.320000
Metadata:
title : Chapter 12
Chapter #0.12: start 2747.320000, end 2908.440000
Metadata:
title : Chapter 13
Chapter #0.13: start 2908.440000, end 3056.200000
Metadata:
title : Chapter 14
Chapter #0.14: start 3056.200000, end 3285.640000
Metadata:
title : Chapter 15
Chapter #0.15: start 3285.640000, end 3383.360000
Metadata:
title : Chapter 16
Chapter #0.16: start 3383.360000, end 3689.360000
Metadata:
title : Chapter 17
Chapter #0.17: start 3689.360000, end 3828.320000
Metadata:
title : Chapter 18
Chapter #0.18: start 3828.320000, end 3979.000000
Metadata:
title : Chapter 19
Chapter #0.19: start 3979.000000, end 4308.240000
Metadata:
title : Chapter 20
Chapter #0.20: start 4308.240000, end 4432.040000
Metadata:
title : Chapter 21
Chapter #0.21: start 4432.040000, end 4611.560000
Metadata:
title : Chapter 22
Chapter #0.22: start 4611.560000, end 4861.960000
Metadata:
title : Chapter 23
Chapter #0.23: start 4861.960000, end 5047.800000
Metadata:
title : Chapter 24
Stream #0:0(eng): Video: mpeg2video (a[0][0][0] / 0x0061), yuv420p, 720x576 [SAR 16:15 DAR 4:3],
q=2-31, max. 9800 kb/s, 25 fps, 16k tbn, 1k tbc
Stream #0:1(eng): Audio: aac ([64][0][0][0] / 0x0040), 48000 Hz, 5.1(side), fltp, 384 kb/s (defa
ult)
Metadata:
title : Surround 5.1
encoder : Lavc55.63.100 aac
Stream #0:2(nor): Audio: aac ([64][0][0][0] / 0x0040), 48000 Hz, 5.1(side), fltp, 384 kb/s
Metadata:
title : Surround 5.1
encoder : Lavc55.63.100 aac
Stream #0:3(nor): Subtitle: dvd_subtitle ([224][0][0][0] / 0x00E0), 720x576 (default)
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (ac3 -> aac)
Stream #0:2 -> #0:2 (ac3 -> aac)
Stream #0:3 -> #0:3 (copy)
Press [q] to stop, [?] for help
frame=126195 fps= 52 q=-1.0 Lsize= 4538620kB time=01:24:07.78 bitrate=7365.7kbits/s
video:4066633kB audio:461409kB subtitle:2539kB other streams:0kB global headers:1kB muxing overhead:
> 0.177437%
>
>C:\Film