I have a source file with two audio tracks, but only want to encode the first, track #1
I currently get both audio tracks when encoding... I can't figure what option to use
or how to use it to select ONLY track #1
Google searches have not been any help so far.
Here is my current batch line:
Thank you for looking-Code:nvencc64 --avhw -i "%~1" --preset quality --sub-copy 1 --chapter-copy --metadata title="NVENCc H264" --metadata comment="Source BD: !!ASPECT!! - !!RESOLUTION!! - !!FPS!! - !!SCANORDER!!" --dar 16:9 --vbrhq 0 --max-bitrate 4500 --vbr-quality 20 --codec h264 --lookahead 20 --audio-codec 1?aac --audio-stream 1?:stereo --audio-filter "compand=0|0:1|1:-90/-900|-70/-70|-30/-9|0/-3:6:0:0:0,volume=6dB" -o "%~2%~N1.MKV"
Andrew
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 8 of 8
Thread
-
-
--audio-copy [<int/string>;[,<int/string>]...]
Copy audio track into output file. Available only when avhw / avsw reader is used.
If it does not work well, try encoding with --audio-codec, which is more stable.
You can also specify the audio track (1, 2, ...) to extract with [<int>], or select audio track to copy by language with [<string>].
Example: Copy all audio tracks
--audio-copy
Example: Extract track numbers #1 and #2
--audio-copy 1,2
例: Extract audio tracks marked as English and Japanese
--audio-copy eng,jpn
so addingCode:--audio-copy 1
Cu Selurusers currently on my ignore list: deadrats, Stears555 -
users currently on my ignore list: deadrats, Stears555
-
I didnt want to copy, I wanted to ENCODE only the first audio... Anyway, it appears for all audio related switches, I needed to specify track #1, otherwise both tracks were encoded.
This is what works
Code:--audio-codec 1?libmp3lame --audio-stream 1?:stereo --audio-filter "1?volume=6dB" --audio-bitrate 1?128
-
It bypasses the second audio and encodes the first audio,isnt that what you want?
I think,therefore i am a hamster. -
Similar Threads
-
Audio track and subtitle track in DVD Styler
By JPM44 in forum Authoring (DVD)Replies: 3Last Post: 12th Nov 2022, 12:20 -
Edit Video Track Separately From Audio Track in VideoPad
By meandersleut in forum EditingReplies: 0Last Post: 12th Sep 2022, 13:11 -
How to rip only audio track (no encode) from BD movie?
By vlp_007 in forum Blu-ray RippingReplies: 5Last Post: 26th Feb 2022, 12:02 -
FFMPEG encode keep first track audio
By iKron in forum Newbie / General discussionsReplies: 1Last Post: 31st Dec 2021, 12:28 -
Avisynth - Audio track longer than video track
By martanius in forum AudioReplies: 4Last Post: 18th May 2018, 03:13