Loop video with preferred Audio Track

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
macguide
New Cone
New Cone
Posts: 2
Joined: 19 Nov 2016 17:46

Loop video with preferred Audio Track

Postby macguide » 19 Nov 2016 18:27

I have a video of a yule log fire that I want to loop, but I want it to play the 2nd Audio Track (natural fire sounds) instead of the default 1st Audio Track (cheesy choir). I select the 2nd Audio Track manually when I start it playing, but then once it loops, it defaults to the 1st Audio Track. Is there any way to make VLC remember to play the 2nd Audio Track each time it loops the video?

Alternatively, could I edit the video so the 2nd Audio Track becomes the default (1st) one?

Thanks in advance.

MG

Rémi Denis-Courmont
Developer
Developer
Posts: 15317
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Loop video with preferred Audio Track

Postby Rémi Denis-Courmont » 19 Nov 2016 22:44

vlc --audio-track <ID> --repeat <video> ?
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

macguide
New Cone
New Cone
Posts: 2
Joined: 19 Nov 2016 17:46

Re: Loop video with preferred Audio Track

Postby macguide » 20 Nov 2016 05:29

Thanks for the response.

I could not get the --audio-track command to work unfortunately. It always disables the audio yet I do not see any errors regarding it in the logs, even with verbose logging.

It seems as though other people have experienced this same issue without any resolution:

https://forum.videolan.org/viewtopic.php?t=96757
https://forum.videolan.org/viewtopic.php?t=135813

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: Loop video with preferred Audio Track

Postby mederi » 20 Nov 2016 19:54

--audio-track=1 should really work.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 60 guests