How to give an added audio track appropriate title?

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
doomboss
New Cone
New Cone
Posts: 2
Joined: 16 Feb 2021 09:57

How to give an added audio track appropriate title?

Postby doomboss » 16 Feb 2021 10:25

Hi all,
I'm nut sure but I think my issue is not windows-related even though I'm using VLC 3.0.12 for windows 64bit. So I hope I was choosing the correct forum.
I was doing a board research about my issue yet I wasn't able to find a solution.
My question:
I was converting an mp4 file which had one singe audio track (english). Now, I was producing an new mp4-file by adding another audio track (German) to the mp4-container. The result of the output is fine. With one exception: The track language title is not displayed correctly. It shows
"Audio" -> "Audio Track" -> "Track 1 - [English]"
"Audio" -> "Audio Track" -> "Track 2 - [English]"

Image


I'd like to give the second audio track a fitting title:
Track 2 - [Deutsch]

Any chance to do so by commandline?
Thanks, take care,
Kai

Lotesdelere
Cone Master
Cone Master
Posts: 10074
Joined: 08 Sep 2006 04:39
Location: Europe

Re: How to give an added audio track appropriate title?

Postby Lotesdelere » 16 Feb 2021 16:30

You need to remux your MP4 file for modifying the track title.
You can use either GPAC MP4Box or L-Smash or FFmpeg.

doomboss
New Cone
New Cone
Posts: 2
Joined: 16 Feb 2021 09:57

Re: How to give an added audio track appropriate title?

Postby doomboss » 16 Feb 2021 20:31

Thanks for the reply, much appreciated.
I think VLC is doing the convert process via ffmpeg, doesn't it? And I'm looking for the proper command string which I need to append. Any ideas?

Lotesdelere
Cone Master
Cone Master
Posts: 10074
Joined: 08 Sep 2006 04:39
Location: Europe

Re: How to give an added audio track appropriate title?

Postby Lotesdelere » 17 Feb 2021 09:43

I don't know much about the VLC command line syntax TBH, because it's so different from other tools.
Check this about FFmpeg:
https://wiki.multimedia.cx/index.php?ti ... g_Metadata

And that about MP4Box:
https://github.com/gpac/gpac/wiki/MP4Box
https://www.mankier.com/1/mp4box

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: How to give an added audio track appropriate title?

Postby mederi » 17 Feb 2021 14:13

vlc.exe -H
Set ES Lang:
--sout-setlang-id=<integer>
Elementary Stream ID
Specify an identifier integer for this elementary stream
--sout-setlang-lang=<string>
Language
Specify an ISO-639 code (three characters) for this elementary stream


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 69 guests