Remove an Audio Track with VLC

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
samuel.t2
New Cone
New Cone
Posts: 3
Joined: 02 Apr 2018 13:50

Remove an Audio Track with VLC

Postby samuel.t2 » 02 Apr 2018 13:57

Hi there

I'm using VLC since years and loved it ever since. But I stumbled across a new challenge (at least for me).
Got some MKV files which I'd like to watch on my iPhone. I converted them to .mp4-Files (h264 & AAC), imported them in iTunes and synced them to my iPhone.
But - the MKV file has two audio tracks (DE and EN). Playing them on my iPhone results in a audio-mess; both tracks are playing simultaneously.
I searched through Google and this Forum but wasn't able to find a solution without having to install another third party tool.

Is there a solution, to remove an audio track from an .mp4-File with VLC (VLC CLI)?

Thank you very much for your very appreciated help.
Sam

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: Remove an Audio Track with VLC

Postby mederi » 02 Apr 2018 20:53

Try to convert source mkv files with following additional options:
:no-sout-all :audio-track=0

samuel.t2
New Cone
New Cone
Posts: 3
Joined: 02 Apr 2018 13:50

Re: Remove an Audio Track with VLC

Postby samuel.t2 » 03 Apr 2018 14:06

this could work, too, thanks. yesterday i used ffmpeg to map audio tracks and video - worked like a charm. but my understanding is, that vlc also includes the ffmpeg library and i could solve this via CLI, like you proposed. will try it next time.

bmiller
New Cone
New Cone
Posts: 7
Joined: 18 Mar 2018 13:36

Re: Remove an Audio Track with VLC

Postby bmiller » 11 Apr 2018 12:23

I use MKVToolnix to unselect the audio and subtitles i don't want, remultiplex and all is good. Free program. Convert them to .mp4 after that.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 11 guests