Set audio track 2 as default

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
stix16
New Cone
New Cone
Posts: 3
Joined: 11 May 2015 03:13

Set audio track 2 as default

Postby stix16 » 11 May 2015 03:18

I'm am using 2.2.1 and am trying to have it setup to play the second audio track. I've tried almost every combination for audio track and audio track id with -1, 0, 1, 2, and can't get it to work. The file info is below. What should I set these two values to for the second audio track? It always plays the first audio track or disable. I can switch it with Audio -> Audio track, but want to start that way automatically.

Thanks!

General
Complete name : C:\Users\Public\Videos\Sample Videos\Test.mp4
Format : MPEG-4
Format profile : Base Media / Version 2
Codec ID : mp42
File size : 6.30 GiB
Duration : 1h 42mn
Overall bit rate mode : Variable
Overall bit rate : 8 819 Kbps
Writing application : HandBrake 0.10.1 2015030800

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 1h 42mn
Source duration : 1h 42mn
Bit rate : 3 735 Kbps
Width : 1 920 pixels
Height : 856 pixels
Display aspect ratio : 2.25:1
Frame rate mode : Variable
Frame rate : 23.976 fps
Minimum frame rate : 17.026 fps
Maximum frame rate : 23.981 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.095
Stream size : 2.67 GiB (42%)
Source stream size : 2.67 GiB (42%)
Writing library : x264 core 142 r2479 dd79a61
Encoding settings : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=6 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=240 / keyint_min=24 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=20.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / vbv_maxrate=62500 / vbv_bufsize=78125 / crf_max=0.0 / nal_hrd=none / filler=0 / ip_ratio=1.40 / aq=1:1.00
Color range : Limited
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709

Audio #1
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : 40
Duration : 1h 42mn
Bit rate mode : Variable
Bit rate : 160 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Compression mode : Lossy
Stream size : 117 MiB (2%)
Title : Stereo / Stereo
Language : English

Audio #2
ID : 3
Format : DTS
Format/Info : Digital Theater Systems
Format profile : MA / Core
Mode : 16
Format settings, Endianness : Big
Codec ID : A9
Duration : 1h 42mn
Bit rate mode : Variable
Bit rate : Unknown / 1 509 Kbps
Channel(s) : 2 channels
Channel(s)_Original : 8 channels / 6 channels
Channel positions : Front: L C R, Side: L R, Back: L R, LFE / Front: L C R, Side: L R, LFE
Sampling rate : 48.0 KHz
Bit depth : 24 bits
Compression mode : Lossless / Lossy
Stream size : 3.50 GiB (56%)
Title : Surround / Surround
Language : English

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Set audio track 2 as default

Postby Jean-Baptiste Kempf » 11 May 2015 09:57

Did you try track id 3 ?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

stix16
New Cone
New Cone
Posts: 3
Joined: 11 May 2015 03:13

Re: Set audio track 2 as default

Postby stix16 » 11 May 2015 15:35

I had tried track id 3 with an audio track of -1 through 2, saving and closing each time before trying. It just loads as disable. Is there a way to see what audio track and audio track id is while playing, so I can switch it to the correct one manually and see what it is set to?

Thanks!

mederi
Big Cone-huna
Big Cone-huna
Posts: 1951
Joined: 15 Mar 2011 16:38
VLC version: 2.0.8
Operating System: Windows Vista/XP

Re: Set audio track 2 as default

Postby mederi » 12 May 2015 15:59

Try following settings:
Tools > Preferences > Show settings = All > Input/Codecs:
Audio track [1]
Audio track ID [-1]

stix16
New Cone
New Cone
Posts: 3
Joined: 11 May 2015 03:13

Re: Set audio track 2 as default

Postby stix16 » 13 May 2015 00:28

Thanks for the suggestion. I ran it with Audio Track [1], Audio track ID [-1], and it came back as disable. With Audio Track [1], and Audio Track ID [1], it plays the first audio track (audio #1), but every other Audio Track ID [-1,0,2,3] with Audio Track [1] plays disable. Also tried this with a similarly encoded video (in this case audio #2 is AC3, but otherwise the same type of file) and get the same results. Any thoughts? Thanks for the help!

I3ordo
New Cone
New Cone
Posts: 7
Joined: 05 Mar 2019 12:36

Re: Set audio track 2 as default

Postby I3ordo » 25 Nov 2019 13:38

Setting audip to "6" instead of the default "-1" , solves it for me.
Image
Everytime i play a recorded multitrack mkv file from an OBS session, VLC now plays the 6th track automatically.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 21 guests