VLC-Playlist (xspf / m3u) / audio-track switch not possible with multitrack MP4-File (applefriendly)

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
autarkwey
New Cone
New Cone
Posts: 1
Joined: 07 Mar 2015 09:45

VLC-Playlist (xspf / m3u) / audio-track switch not possible with multitrack MP4-File (applefriendly)

Postby autarkwey » 29 Apr 2015 18:22

Hi together,

I hope you all are well. First I want to say thanks for your nice VLC-product! I'm general really happy about it! But the last weeks I got crazy with a problem. I invested days to find a solution, but without success. So I decided to write you and hope VERY MUCH, that someone of you guys can help me! For me it's really important. I'd like to burn a DVD with multilinguale / multitrack MP4-files. For each audio-language that I muxed into the mp4-file, I have a own VLC-playlist (xspf or m3u). as example: playlist_english.xspf / playlist_german.xspf etc. In this playlist I wrote directly the audio-track number (<vlc:option>audio-track=2</vlc:option>), that should be played by open the playlist with VLC. With a double-click on the playlist, the VLC open itself and the right language is played.Thats all ok

My .xspf file is looking like this:

Code: Select all

<?xml version="1.0" encoding="UTF-8"?> <playlist xmlns="http://xspf.org/ns/0/" xmlns:vlc="http://www.videolan.org/vlc/playlist/ns/0/" version="1"> <title>Urväter</title> <trackList> <track> <title>MP4- Intro</title> <location>file:///schnip_withAtomKorrektur.mp4</location> <extension application="http://www.videolan.org/vlc/playlist/0"> <vlc:id>0</vlc:id> [b]<vlc:option>audio-track=2</vlc:option>[/b] </extension> </track> </trackList> <extension application="http://www.videolan.org/vlc/playlist/0"> <vlc:item tid="0"/> </extension> </playlist>

BUT after playing my MP4-file in Quicktime on MAC I saw, that all my audio-tracks are playing simultaneously. In fact my mp4-files were not applefriendly. So I learnd what about "alternate groups" in mp4-files, that MAC only don't play multitrack mp4-files simultaneously in Quicktime / iTunes, if I convert my mp4-files with a program like subler (https://code.google.com/p/subler/) So I converted my files with subler and later for many tests with other tools, that supports this "atom-correction / alternate groups".

BUT all files I convert with this applefriendly-option, are no longer language-switchable with my nice xspf-playlist!! I can play it with VLC-player and also change manually the audio-track, but with my VLC-playlist, it is everytime the audio-track = disabled selected after I open the playlist!

So my question: Is it possible to have an apple-friendly MP4-file that is playable with this xspf-option <vlc:option>audio-track=2</vlc:option>? What's is the error, that it don't switch the language by this playlist-option in apple-friendly files? Is there an other way to open the file with a pre-defined language? I tested on Windows and MAC- its the same mistake! I tested also to open the apple-friendly file by command-line on VLC with the option "--audio-track=2" And it's the same result: The apple-friendly file don't change the sub-track / the NOT-apple-friendly file does prepare the required subtrack perfectly...

I need for my project both! Apple-friendly files openable with desired language by playlist or other from my external application callable way. Because later I'd like to integrate this in a python-application where the user can select sub-track language and automatic the right playlist will be started...

I hope you all understand my problem... Here are some testing files and some detail information:

applefriendly-multitrack file/ converted with Subler:
http://www.panorama-film.ch/demo/schnip ... orrect.mp4

VLC-playlist-friendly-multitrack file/ converted with YAMB:
http://www.panorama-film.ch/demo/schnip ... orrect.mp4

As information:
MP4Box converts apple-friendly files with this options:

-add "C:\Users\daniel\Desktop\einordnen\MP4-Testportal\20130329_Doku_Testfile_END_v03_Mp4_END_schnip.mp4:fps=25.000:delay=0:lang=de:name=20130329_Doku_Testfile_END_v03_Mp4_END_schnip.mp4"
-add "C:\Users\daniel\Desktop\einordnen\MP4-Testportal\20130404_Testfile_02_EN.aac:group=1:delay=0:lang=en:name=20130404_Testfile_02_EN.aac"
-add "C:\Users\daniel\Desktop\einordnen\MP4-Testportal\20130404_Testfile_03_RU.aac:group=1:delay=0:lang=ru:disabled:name=20130404_Testfile_03_RU.aac"
-add "C:\Users\daniel\Desktop\einordnen\MP4-Testportal\20130404_Testfile_04_FR.aac:group=1:delay=0:lang=fr:disabled:name=20130404_Testfile_04_FR.aac"
-add "C:\Users\daniel\Desktop\einordnen\MP4-Testportal\20130404_Testfile_09_LT.aac:group=1:delay=0:disabled:name=20130404_Testfile_09_LT.aac"
-add "C:\Users\daniel\Desktop\einordnen\MP4-Testportal\20130404_Testfile_10_IS.aac:group=1:delay=0:lang=is:disabled:name=20130404_Testfile_10_IS.aac"
-add "C:\Users\daniel\Desktop\einordnen\MP4-Testportal\20140321_Testfile_UT_04_FR_def.srt:hdlr=sbtl:group=2:layer=-1:delay=0:lang=fr:name=20140321_Testfile_UT_04_FR_def.srt"
-add "C:\Users\daniel\Desktop\einordnen\MP4-Testportal\20140321_Testfile_UT_05_NL.srt:hdlr=sbtl:group=2:layer=-1:delay=0:lang=nl:disabled:name=20140321_Testfile_UT_05_NL.srt"
-add "C:\Users\daniel\Desktop\einordnen\MP4-Testportal\20140321_Testfile_UT_11_IS_def.srt:hdlr=sbtl:group=2:layer=-1:delay=0:lang=is:disabled:name=20140321_Testfile_UT_11_IS_def.srt"
-itags tool="My MP4Box GUI 0.6.0.6 <http://my-mp4box-gui.zymichost.com>" -new "C:\Users\daniel\Desktop\testingyou.mp4"

NO apple-friendly files are converted like this:
-add "C:\Users\Daniel\Desktop\einordnen\MP4-Testportal\20130329_Doku_Testfile_END_v03_Mp4_END_schnip.mp4:fps=25.000:delay=0:lang=de:name=20130329_Doku_Testfile_END_v03_Mp4_END_schnip.mp4"
-add "C:\Users\Daniel\Desktop\einordnen\MP4-Testportal\20130404_Testfile_02_EN.aac:delay=0:lang=en:name=20130404_Testfile_02_EN.aac"
-add "C:\Users\Daniel\Desktop\einordnen\MP4-Testportal\20130404_Testfile_03_RU.aac:delay=0:lang=ru:name=20130404_Testfile_03_RU.aac"
-add "C:\Users\Daniel\Desktop\einordnen\MP4-Testportal\20130404_Testfile_04_FR.aac:delay=0:lang=fr:name=20130404_Testfile_04_FR.aac"
-add "C:\Users\Daniel\Desktop\einordnen\MP4-Testportal\20130404_Testfile_09_LT.aac:delay=0:name=20130404_Testfile_09_LT.aac"
-add "C:\Users\Daniel\Desktop\einordnen\MP4-Testportal\20130404_Testfile_10_IS.aac:delay=0:lang=is:name=20130404_Testfile_10_IS.aac"
-add "C:\Users\Daniel\Desktop\einordnen\MP4-Testportal\20140321_Testfile_UT_04_FR_def.srt:delay=0:lang=fr:name=20140321_Testfile_UT_04_FR_def.srt"
-add "C:\Users\Daniel\Desktop\einordnen\MP4-Testportal\20140321_Testfile_UT_05_NL.srt:delay=0:lang=nl:name=20140321_Testfile_UT_05_NL.srt"
-add "C:\Users\Daniel\Desktop\einordnen\MP4-Testportal\20140321_Testfile_UT_11_IS_def.srt:delay=0:lang=is:name=20140321_Testfile_UT_11_IS_def.srt"
-itags tool="My MP4Box GUI 0.6.0.6 <http://my-mp4box-gui.zymichost.com>" -new "C:\Users\Daniel\Desktop\testingyou.mp4"

Thanks for each idea, that will help me, to find a solution!

Greetings

autarkwey









Quicktime

Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 197 guests