Hello,
I have written a Program that extract an selected audio-track from any video-file with VLC.
But vlc can't select the audio-track. I have always all audio-tracks in mein destination file:
My Test-Video-File has 3 audio-tracks inside and 1 video and 1 spu track.
VLC-Config:
-Idummy
--no-osd
--ignore-config
MRL: file://myvideofile.mkv (or any other)
Media-Options:
:no-sout-spu
:no-sout-video
:sout=#standard{access=file,mux=ts{use-key-frames,alignment},dst=c:\\temp\\audio}
Tested Options:
:audio-track=1
:audio-track-id=2 (the number are from the mediainfo programm)
:audio-language=en (English, ....)
The extracted file "c:\temp\audio" contains only the audio-tracks with ts-encaps but not the selected audio-track.
I would like only the selected one in the file.
Has someone any information/tricks to select the audio?
I have testet vlc-versions: 2.15, 2.2 RC2, 3.0 from nightly at 22.12.2014
Thanks for any answer.