Hello everyone.
This is my first post, and I'm somewhat new to this field.
I have this video file, which has 3 audio tracks. Currently, Audio #3 is the default audio track. What I want is to,
make Audio #1 as the default audio track,
remove Audio #2,
while keeping everything else the same as the source.
Here is the MediaInfo of the source file.
What is the best way to do this? I appreciate any help you can provide.Code:General Unique ID : 240280729378745007439953695493743031178 (0xB4C4629AF546917106232EF5244DB38A) Complete name : E:\input.mkv Format : Matroska Format version : Version 4 File size : 647 MiB Duration : 42 min 15 s Overall bit rate : 2 141 kb/s Encoded date : UTC 2019-06-27 17:43:12 Writing application : mkvmerge v32.0.0 ('Astral Progressions') 64-bit Writing library : libebml v1.3.7 + libmatroska v1.5.0 Writing frontend : StaxRip v1.9.0.0 Video ID : 1 Format : HEVC Format/Info : High Efficiency Video Coding Format profile : Main 10@L3@Main Codec ID : V_MPEGH/ISO/HEVC Duration : 42 min 15 s Bit rate : 1 420 kb/s Width : 720 pixels Height : 576 pixels Display aspect ratio : 16:9 Original display aspect ratio : 16:9 Frame rate mode : Constant Frame rate : 25.000 FPS Standard : PAL Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 10 bits Bits/(Pixel*Frame) : 0.137 Stream size : 429 MiB (66%) Title : Encoded by M Writing library : x265 3.0_Au+16-0018ca1ca42f:[Windows][MSVC 1916][64 bit] 10bit Encoding settings : cpuid=1111039 / frame-threads=3 / numa-pools=12 / wpp / no-pmode / no-pme / no-psnr / no-ssim / log-level=2 / input-csp=1 / input-res=720x576 / interlace=0 / total-frames=63375 / level-idc=0 / high-tier=1 / uhd-bd=0 / ref=4 / no-allow-non-conformance / no-repeat-headers / annexb / no-aud / no-hrd / info / hash=0 / no-temporal-layers / open-gop / min-keyint=25 / keyint=250 / gop-lookahead=0 / bframes=8 / b-adapt=2 / b-pyramid / bframe-bias=0 / rc-lookahead=80 / lookahead-slices=0 / scenecut=40 / radl=0 / no-splice / no-intra-refresh / ctu=64 / min-cu-size=8 / rect / no-amp / max-tu-size=32 / tu-inter-depth=1 / tu-intra-depth=1 / limit-tu=0 / rdoq-level=2 / dynamic-rd=0.00 / no-ssim-rd / signhide / no-tskip / nr-intra=0 / nr-inter=0 / no-constrained-intra / no-strong-intra-smoothing / max-merge=3 / limit-refs=3 / limit-modes / me=3 / subme=5 / merange=57 / temporal-mvp / weightp / weightb / no-analyze-src-pics / deblock=-3:-3 / no-sao / no-sao-non-deblock / rd=4 / no-early-skip / rskip / no-fast-intra / no-tskip-fast / no-cu-lossless / no-b-intra / no-splitrd-skip / rdpenalty=0 / psy-rd=2.00 / psy-rdoq=1.50 / no-rd-refine / no-lossless / cbqpoffs=0 / crqpoffs=0 / rc=crf / crf=22.5 / qcomp=0.60 / qpstep=4 / stats-write=0 / stats-read=0 / ipratio=1.40 / pbratio=1.30 / aq-mode=3 / aq-strength=1.00 / cutree / zone-count=0 / no-strict-cbr / qg-size=32 / no-rc-grain / qpmax=69 / qpmin=0 / no-const-vbv / sar=4 / overscan=0 / videoformat=5 / range=0 / colorprim=2 / transfer=2 / colormatrix=2 / chromaloc=0 / display-window=0 / max-cll=0,0 / min-luma=0 / max-luma=1023 / log2-max-poc-lsb=8 / vui-timing-info / vui-hrd-info / slices=1 / no-opt-qp-pps / no-opt-ref-list-length-pps / no-multi-pass-opt-rps / scenecut-bias=0.05 / no-opt-cu-delta-qp / no-aq-motion / no-hdr / no-hdr-opt / no-dhdr10-opt / no-idr-recovery-sei / analysis-reuse-level=5 / scale-factor=0 / refine-intra=0 / refine-inter=0 / refine-mv=0 / refine-ctu-distortion=0 / no-limit-sao / ctu-info=0 / no-lowpass-dct / refine-analysis-type=0 / copy-pic=1 / max-ausize-factor=1.0 / no-dynamic-refine / no-single-sei / no-hevc-aq / no-svt / qp-adaptation-range=1.00 Default : Yes Forced : No Audio #1 ID : 2 Format : AAC LC Format/Info : Advanced Audio Codec Low Complexity Codec ID : A_AAC-2 Duration : 42 min 14 s Bit rate : 140 kb/s Channel(s) : 2 channels Channel layout : L R Sampling rate : 48.0 kHz Frame rate : 46.875 FPS (1024 SPF) Compression mode : Lossy Delay relative to video : 20 ms Stream size : 42.3 MiB (7%) Title : Original Language : English Default : No Forced : No Audio #2 ID : 3 Format : AAC LC Format/Info : Advanced Audio Codec Low Complexity Codec ID : A_AAC-2 Duration : 42 min 14 s Bit rate : 419 kb/s Channel(s) : 6 channels Channel layout : C L R Ls Rs LFE Sampling rate : 48.0 kHz Frame rate : 46.875 FPS (1024 SPF) Compression mode : Lossy Delay relative to video : 20 ms Stream size : 127 MiB (20%) Title : DVD Language : English Default : No Forced : No Audio #3 ID : 6 Format : AAC LC Format/Info : Advanced Audio Codec Low Complexity Codec ID : A_AAC-2 Duration : 42 min 14 s Bit rate : 152 kb/s Channel(s) : 2 channels Channel layout : L R Sampling rate : 48.0 kHz Frame rate : 46.875 FPS (1024 SPF) Compression mode : Lossy Delay relative to video : 20 ms Stream size : 45.8 MiB (7%) Title : Commentary Language : English Default : Yes Forced : No Text #1 ID : 4 Format : VobSub Muxing mode : zlib Codec ID : S_VOBSUB Codec ID/Info : Picture based subtitle format used on DVDs Duration : 41 min 50 s Bit rate : 5 017 b/s Frame rate : 0.214 FPS Count of elements : 538 Stream size : 1.50 MiB (0%) Language : English Default : Yes Forced : No Text #2 ID : 5 Format : VobSub Muxing mode : zlib Codec ID : S_VOBSUB Codec ID/Info : Picture based subtitle format used on DVDs Duration : 41 min 53 s Bit rate : 7 684 b/s Frame rate : 0.267 FPS Count of elements : 671 Stream size : 2.30 MiB (0%) Title : Commentary Language : English Default : No Forced : No Menu 00:00:00.080 : en:Chapter 01 00:03:41.120 : en:Chapter 02 00:08:06.440 : en:Chapter 03 00:11:58.240 : en:Chapter 04 00:15:14.960 : en:Chapter 05 00:18:26.160 : en:Chapter 06 00:21:39.480 : en:Chapter 07 00:24:59.480 : en:Chapter 08 00:26:27.560 : en:Chapter 09 00:29:32.000 : en:Chapter 10 00:33:18.040 : en:Chapter 11 00:39:34.560 : en:Chapter 12
+ Reply to Thread
Results 1 to 8 of 8
-
-
Use clever FFmpeg-GUI.
Load your file, click main, click multiplex, select your streams like in the picture, click multiplex.
Done.
[Attachment 74448 - Click to enlarge] -
I did as you said. Though it seemed like the job was done, I compared the output with the source to be sure.
Here is the MediaInfo of the output, and I've highlighted and stated the differences compared to the source.
Red - Changed
Green - Added
Code:General Unique ID : 14958319740576879983780737521904731214 (0xB40DE1A6B0E6DFA899892CD884F444E) Complete name : E:\R\Output\input_muxed.mkv Format : Matroska Format version : Version 4 File size : 523 MiB Duration : 42 min 15 s Overall bit rate : 1 731 kb/s Frame rate : 25.000 FPS Writing application : clever FFmpeg-GUI Writing library : Lavf60.15.100 ErrorDetectionType : Per level 1 WRITING_FRONTEND : StaxRip v1.9.0.0 Video ID : 1 Format : HEVC Format/Info : High Efficiency Video Coding Format profile : Main 10@L3@Main Codec ID : V_MPEGH/ISO/HEVC Duration : 42 min 15 s Bit rate : 1 420 kb/s Width : 720 pixels Height : 576 pixels Display aspect ratio : 16:9 Original display aspect ratio : 16:9 Frame rate mode : Constant Frame rate : 25.000 FPS Standard : PAL Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 10 bits Bits/(Pixel*Frame) : 0.137 Stream size : 429 MiB (82%) Title : Encoded by M Writing library : x265 3.0_Au+16-0018ca1ca42f:[Windows][MSVC 1916][64 bit] 10bit Encoding settings : cpuid=1111039 / frame-threads=3 / numa-pools=12 / wpp / no-pmode / no-pme / no-psnr / no-ssim / log-level=2 / input-csp=1 / input-res=720x576 / interlace=0 / total-frames=63375 / level-idc=0 / high-tier=1 / uhd-bd=0 / ref=4 / no-allow-non-conformance / no-repeat-headers / annexb / no-aud / no-hrd / info / hash=0 / no-temporal-layers / open-gop / min-keyint=25 / keyint=250 / gop-lookahead=0 / bframes=8 / b-adapt=2 / b-pyramid / bframe-bias=0 / rc-lookahead=80 / lookahead-slices=0 / scenecut=40 / radl=0 / no-splice / no-intra-refresh / ctu=64 / min-cu-size=8 / rect / no-amp / max-tu-size=32 / tu-inter-depth=1 / tu-intra-depth=1 / limit-tu=0 / rdoq-level=2 / dynamic-rd=0.00 / no-ssim-rd / signhide / no-tskip / nr-intra=0 / nr-inter=0 / no-constrained-intra / no-strong-intra-smoothing / max-merge=3 / limit-refs=3 / limit-modes / me=3 / subme=5 / merange=57 / temporal-mvp / weightp / weightb / no-analyze-src-pics / deblock=-3:-3 / no-sao / no-sao-non-deblock / rd=4 / no-early-skip / rskip / no-fast-intra / no-tskip-fast / no-cu-lossless / no-b-intra / no-splitrd-skip / rdpenalty=0 / psy-rd=2.00 / psy-rdoq=1.50 / no-rd-refine / no-lossless / cbqpoffs=0 / crqpoffs=0 / rc=crf / crf=22.5 / qcomp=0.60 / qpstep=4 / stats-write=0 / stats-read=0 / ipratio=1.40 / pbratio=1.30 / aq-mode=3 / aq-strength=1.00 / cutree / zone-count=0 / no-strict-cbr / qg-size=32 / no-rc-grain / qpmax=69 / qpmin=0 / no-const-vbv / sar=4 / overscan=0 / videoformat=5 / range=0 / colorprim=2 / transfer=2 / colormatrix=2 / chromaloc=0 / display-window=0 / max-cll=0,0 / min-luma=0 / max-luma=1023 / log2-max-poc-lsb=8 / vui-timing-info / vui-hrd-info / slices=1 / no-opt-qp-pps / no-opt-ref-list-length-pps / no-multi-pass-opt-rps / scenecut-bias=0.05 / no-opt-cu-delta-qp / no-aq-motion / no-hdr / no-hdr-opt / no-dhdr10-opt / no-idr-recovery-sei / analysis-reuse-level=5 / scale-factor=0 / refine-intra=0 / refine-inter=0 / refine-mv=0 / refine-ctu-distortion=0 / no-limit-sao / ctu-info=0 / no-lowpass-dct / refine-analysis-type=0 / copy-pic=1 / max-ausize-factor=1.0 / no-dynamic-refine / no-single-sei / no-hevc-aq / no-svt / qp-adaptation-range=1.00 Default : Yes Forced : No Color range : Limited Audio #1 ID : 2 Format : AAC LC Format/Info : Advanced Audio Codec Low Complexity Codec ID : A_AAC-2 Duration : 42 min 14 s Bit rate : 140 kb/s Channel(s) : 2 channels Channel layout : L R Sampling rate : 48.0 kHz Frame rate : 46.875 FPS (1024 SPF) Compression mode : Lossy Delay relative to video : 20 ms Stream size : 42.3 MiB (8%) Title : Original Language : English Default : Yes Forced : No Audio #2 ID : 3 Format : AAC LC Format/Info : Advanced Audio Codec Low Complexity Codec ID : A_AAC-2 Duration : 42 min 14 s Bit rate : 152 kb/s Channel(s) : 2 channels Channel layout : L R Sampling rate : 48.0 kHz Frame rate : 46.875 FPS (1024 SPF) Compression mode : Lossy Delay relative to video : 20 ms Stream size : 45.8 MiB (9%) Title : Commentary Language : English Default : No Forced : No Text #1 ID : 4 Format : VobSub Codec ID : S_VOBSUB Codec ID/Info : Picture based subtitle format used on DVDs Duration : 41 min 58 s Bit rate : 5 017 b/s Frame rate : 0.214 FPS Count of elements : 538 Stream size : 1.50 MiB (0%) Language : English Default : No Forced : No Text #2 ID : 5 Format : VobSub Codec ID : S_VOBSUB Codec ID/Info : Picture based subtitle format used on DVDs Duration : 41 min 58 s Bit rate : 7 684 b/s Frame rate : 0.266 FPS Count of elements : 671 Stream size : 2.30 MiB (0%) Title : Commentary Language : English Default : No Forced : No Menu 00:00:00.080 : Chapter 01 00:03:41.120 : Chapter 02 00:08:06.440 : Chapter 03 00:11:58.240 : Chapter 04 00:15:14.960 : Chapter 05 00:18:26.160 : Chapter 06 00:21:39.480 : Chapter 07 00:24:59.480 : Chapter 08 00:26:27.560 : Chapter 09 00:29:32.000 : Chapter 10 00:33:18.040 : Chapter 11 00:39:34.560 : Chapter 12
Code:General Encoded date : UTC 2019-06-27 17:43:12 Text #1 Muxing mode : zlib Text #2 Muxing mode : zlib
Last edited by AVEd; 22nd Oct 2023 at 03:56.
-
Sure. But one thing.
The program automatically removes the default flag from most tracks, which is unexpected.
I checked this with FFmpeg, and it doesn't have this behavior. Since the program is based on FFmpeg, it should be able to do the same so the flags from the source are preserved.
It may not be a big issue. I am just letting you know.Last edited by AVEd; 8th Nov 2023 at 13:37.
-
Similar Threads
-
Removing Audio Track & Adding Subtitle for Multiple Files at Once
By MohamedYousri in forum EditingReplies: 4Last Post: 25th Feb 2022, 18:18 -
Removing Audio Track & Adding Subtitle for Multiple Files at Once
By MohamedYousri in forum EditingReplies: 1Last Post: 20th Feb 2022, 19:47 -
ITV changing audio track
By ac427 in forum Video Streaming DownloadingReplies: 0Last Post: 12th Nov 2021, 14:27 -
Turn Off Default Sub Titles (not forced) from specific audio track.
By Drakesal in forum Authoring (Blu-ray)Replies: 5Last Post: 21st Nov 2019, 04:29 -
Move track up to default using a batch
By Greatestguru in forum Newbie / General discussionsReplies: 0Last Post: 2nd Nov 2019, 11:30