Wowza Community

Unable to get audio playback when specifying single file audio tracks in SMIL file

Hi,

I have been attempting to get alternative audio tracks working with HLS.

https://www.wowza.com/docs/how-to-use-alternative-audio-or-video-tracks-with-apple-hls-streams#singlefile

The source video file I am using has 3 audio tracks on it, that I have confirmed works correctly if I use http:/…/xyz/mp4:video.mp4/playlist.m3u8?audioindex=#

So i have reason to believe there shouldn’t be an issue with the video file it self. Here is an ffprobe output:

ffprobe version N-64216-ga30f1b1 Copyright © 2007-2014 the FFmpeg developers

built on Jun 24 2014 22:31:41 with gcc 4.8.3 (GCC)

configuration: --disable-static --enable-shared --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-decklink --enable-zlib

libavutil 52. 90.101 / 52. 90.101

libavcodec 55. 68.100 / 55. 68.100

libavformat 55. 44.100 / 55. 44.100

libavdevice 55. 13.101 / 55. 13.101

libavfilter 4. 9.100 / 4. 9.100

libswscale 2. 6.100 / 2. 6.100

libswresample 0. 19.100 / 0. 19.100

libpostproc 52. 3.100 / 52. 3.100

Input #0, mov,mp4,m4a,3gp,3g2,mj2, from ‘C:\gt\server-based\media\private\t1m\549190108530450\466003738621220\466003738621220.pc.mp4’:

Metadata:

major_brand : isom

minor_version : 512

compatible_brands: isomiso2avc1mp41

encoder : Lavf55.44.100

Duration: 00:01:41.78, start: 0.000000, bitrate: 1888 kb/s

Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 1272x720 [SAR 160:159 DAR 16:9], 1499 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc (default)

Metadata:

handler_name : VideoHandler

Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 124 kb/s (default)

Metadata:

handler_name : SoundHandler

Stream #0:2(fra): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 125 kb/s

Metadata:

handler_name : SoundHandler

Stream #0:3(deu): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 125 kb/s

Metadata:

handler_name : SoundHandler

Using the single file sample SMIL file, I receive no audio from every player I’ve used so far. In VLC, there is one audio track (selected by default).

Here is the playlist.m3u8 outputed from Wowza:

#EXTM3U
#EXT-X-VERSION:3
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="aac",LANGUAGE="en",NAME="English",DEFAULT=YES,AUTOSELECT=YES,URI="chunklist_w1134224132_b44100_ao_slen_t64RW5nbGlzaA==.m3u8?audioindex=1"
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="aac",LANGUAGE="de",NAME="Deutsch",DEFAULT=FALSE,AUTOSELECT=YES,URI="chunklist_w1134224132_b44100_ao_slde_t64RGV1dHNjaA==.m3u8?audioindex=1"
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="aac",LANGUAGE="fr",NAME="Francais",DEFAULT=FALSE,AUTOSELECT=YES,URI="chunklist_w1134224132_b44100_ao_slfr_t64RnJhbmNhaXM=.m3u8?audioindex=1"
#EXT-X-STREAM-INF:BANDWIDTH=1100000,CODECS="avc1.66.10",RESOLUTION=640x360,AUDIO="aac"
chunklist_w1134224132_b1100000_vo.m3u8?audioindex=1

So to sum it all up, adjusting my .smil file to mimic https://www.wowza.com/docs/how-to-use-alternative-audio-or-video-tracks-with-apple-hls-streams#singlefile causes 0 audio output for me. Instead of showing 3 tracks in the video player, it shows just 1 and that 1 has no audio output.

Can anyone help? Has anyone else had success with adaptive streaming using HLS that also include multiple audio tracks?

Any help would be great!

Thank you,

Tim

Hi,

Have you confirmed that you have enabled ModuleMultiTrackVod from the Module Collection? If so and you’re happy that everything is configured correctly you could raise a support request. Include your sample file as well as the files listed in the support link and we take a further look.