Page 1 of 1

Not hearing primary audio track

PostPosted: Thu Sep 15, 2016 1:14 am
by atc98092
Using a profile that does not transcode (confirmed by FFMPEG not running during playback). File will play natively. However, audio track 1 is not what Serviio is sending to my Roku. Here is the ffmpeg output:

  Code:
C:\Users\Public\Videos>ffmpeg -i "star wars the force awakens (2015).m2ts
ffmpeg version N-79143-g8ff0f6a Copyright (c) 2000-2016 the FFmpeg developers  built with gcc 5.3.0 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmfx --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zlib 
  libavutil      55. 19.100 / 55. 19.100
  libavcodec     57. 30.100 / 57. 30.100
  libavformat    57. 29.101 / 57. 29.101
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 40.102 /  6. 40.102
  libswscale      4.  0.100 /  4.  0.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100
[NULL @ 0000000000106dc0] start time for stream 5 is not set in estimate_timings_from_pts
[NULL @ 0000000000107920] start time for stream 6 is not set in estimate_timings_from_pts
[NULL @ 00000000001084c0] start time for stream 7 is not set in estimate_timings_from_pts
[mpegts @ 00000000000c69c0] Could not find codec parameters for stream 5 (Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 00000000000c69c0] Could not find codec parameters for stream 6 (Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 00000000000c69c0] Could not find codec parameters for stream 7 (Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, mpegts, from 'star wars the force awakens (2015).m2ts':
  Duration: 02:15:48.29, start: 11.650667, bitrate: 39652 kb/s
  Program 1
    Stream #0:0[0x1011]: Video: h264 (High) (HDMV / 0x564D4448), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 90k tbn, 47.95 tbc
    Stream #0:1[0x1100]: Audio: dts (DTS-HD MA) ([134][0][0][0] / 0x0086), 48000 Hz, 7.1, s32p (24 bit)
    Stream #0:2[0x1101]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, fltp, 320 kb/s
    Stream #0:3[0x1102]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), fltp, 640 kb/s
    Stream #0:4[0x1103]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), fltp, 640 kb/s
    Stream #0:5[0x1200]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
    Stream #0:6[0x1201]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
    Stream #0:7[0x1202]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
    Stream #0:8[0x1203]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090),1920x1080
    Stream #0:9[0x1204]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090),1920x1080


Stream 0:1 is what should be heard, but the Roku is playing the audio track with comments for the sight impared. Not sure which audio track that actually is, but probably 0:2 since my AVR only indicates 2 channel AC3.

Since there's no transcoding, shouldn't all audio tracks be streamed? The Roku has the ability to select tracks, but it doesn't show any others available. Would the debug menu indicate anything for this, or is it possible the Roku is reading the wrong audio track? If it's the Roku, I can submit a bug there. I only have one other player that could play this without transcoding, and I'll check it later tonight. However, it is capable of selecting different audio tracks, so it might not show up there.

Re: Not hearing primary audio track

PostPosted: Thu Sep 15, 2016 7:50 am
by zip
If there is no transcoding, Serviio doesn't touch the file, so it'd work exactly the same as in previous versions.

Re: Not hearing primary audio track

PostPosted: Thu Sep 15, 2016 12:21 pm
by atc98092
zip wrote:If there is no transcoding, Serviio doesn't touch the file, so it'd work exactly the same as in previous versions.


Haven't updated my primary server yet, so it's still on 1.6.1. It does the same thing, so my guess is that it's a Roku issue. I'll submit a bug report to them. When I play the same file on my Sony BD Player, I get DTS Master Audio on the AVR, and the other audio channels are available for selection. Looks like the Roku has an issue with multiple audio tracks.