Witam serdecznie. Posiadam klip audio-video w formacie MKV:
Format : Matroska
Format version : Version 4 / Version 2
Writing application : mkvmerge v8.2.0 ('World of Adventure') 64bit
Writing library : libebml v1.3.1 + libmatroska v1.4.2
Video
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main@L4@Main
Codec ID : V_MPEGH/ISO/HEVC
Bit rate : 1 297 Kbps
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Bits/(Pixel*Frame) : 0.059
Stream size : 212 MiB (88%)
Writing library : x265 1.7+497-975352b2c022:[Windows][GCC 5.2.0][64 bit] 8bit+10bit+12bit
Encoding settings : wpp / ctu=64 / min-cu-size=8 / max-tu-size=32 / tu-intra-depth=1 / tu-inter-depth=1 / me=3 / subme=5 / merange=57 / no-rect / no-amp / max-merge=2 / temporal-mvp / no-early-skip / rdpenalty=0 / no-tskip / no-tskip-fast / strong-intra-smoothing / no-lossless / no-cu-lossless / no-constrained-intra / no-fast-intra / open-gop / no-temporal-layers / interlace=0 / keyint=250 / min-keyint=23 / scenecut=40 / rc-lookahead=240 / lookahead-slices=0 / bframes=8 / bframe-bias=0 / b-adapt=2 / ref=6 / limit-refs=0 / weightp / weightb / aq-mode=2 / qg-size=32 / aq-strength=1.00 / cbqpoffs=0 / crqpoffs=0 / rd=3 / psy-rd=0.30 / rdoq-level=0 / psy-rdoq=0.00 / signhide / deblock / sao / no-sao-non-deblock / b-pyramid / cutree / rc=crf / crf=25.0 / qcomp=0.60 / qpmin=0 / qpmax=51 / qpstep=4 / ipratio=1.40 / pbratio=1.30
Default : Yes
Forced : No
Audio #1
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : A_AAC
Bit rate : 87.6 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Frame rate : 46.875 fps (1024 spf)
Compression mode : Lossy
Delay relative to video : 20ms
Stream size : 14.3 MiB (6%)
Title : English
Language : English
Default : Yes
Forced : No
Audio #2
ID : 3
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : A_AAC
Duration : 22mn 51s
Bit rate : 76.7 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Frame rate : 46.875 fps (1024 spf)
Compression mode : Lossy
Delay relative to video : 20ms
Stream size : 12.5 MiB (5%)
Language : English
Default : No
Forced : No
Text #1
ID : 4
Format : ASS
Codec ID : S_TEXT/ASS
Codec ID/Info : Advanced Sub Station Alpha
Duration : 22mn 37s
Bit rate : 225 bps
Count of elements : 667
Compression mode : Lossless
Stream size : 37.3 KiB (0%)
Language : English
Default : No
Forced : No
Text #2
ID : 5
Format : ASS
Codec ID : S_TEXT/ASS
Codec ID/Info : Advanced Sub Station Alpha
Duration : 22mn 37s
Bit rate : 225 bps
Count of elements : 667
Compression mode : Lossless
Stream size : 37.3 KiB (0%)
Language : English
Default : No
Forced : No
z bardzo dobrym obrazem lecz tragicznym dźwiękiem. Chciałbym zmienić ścieżkę dźwiękową (dodać przygotowany podkład muzyczny zamiast szumu tła).
Najchętniej skorzystałbym z tego, że MKV to kontener i po prostu podmienił ścieżkę audio bez zmieniania ścieżki video. Być może udałoby mi się to zrobić lecz ścieżka audio i video muszą mieć dokładnie tą samą długość. Aby przyciąć ścieżkę audio do odpowiedniej długości potrzebuję umieścić plik MKV w Sony Vegas (mam tylko to narzędzie). Niestety Sony Vegas nie czyta pliku MKV. Nie czyta też żadnego innego kontenera, którego udało mi się uzyskać MUXując mój klip MKV. Nawet formatFactory nie daje rady odtworzyć ani pliku MKV ani jego MUXów.
Czy ktoś z Was miałby inny pomysł na ten kodek?