Jump to content


Photo

1.6.22 - Flac Audio broken


  • Please log in to reply
15 replies to this topic

#1 h.buckle ONLINE  

h.buckle

    Advanced Member

  • Members
  • 80 posts
  • Local time: 03:04 PM

Posted 29 August 2018 - 03:19 PM

1.6.22 - all video files with flac soundtracks (converted from DTS-HD or TrueHD) I just get white noise instead of sound when direct playing. The video playback is also stuttery.

Logs sent from logged in user Media at 20:15 UK time

 

Sample media info:

General
Unique ID                   : 178747278569253067147294594599226376937 (0x8679793FA59D6DA68B792A13CEEF02E9)
Complete name               : \\CRUCIBLE\Films\King's Speech, The\The King's Speech.mkv
Format                      : Matroska
Format version              : Version 4 / Version 2
File size                   : 24.3 GiB
Duration                    : 1 h 53 min
Overall bit rate mode       : Variable
Overall bit rate            : 30.7 Mb/s
Encoded date                : UTC 2017-02-18 21:49:59
Writing application         : mkvmerge v9.8.0 ('Kuglblids') 64bit
Writing library             : libebml v1.3.4 + libmatroska v1.4.5

Video
ID                          : 1
Format                      : AVC
Format/Info                 : Advanced Video Codec
Format profile              : High@L4.1
Format settings             : CABAC / 4 Ref Frames
Format settings, CABAC      : Yes
Format settings, ReFrames   : 4 frames
Format settings, GOP        : M=3, N=24
Codec ID                    : V_MPEG4/ISO/AVC
Duration                    : 1 h 53 min
Bit rate mode               : Variable
Bit rate                    : 29.6 Mb/s
Maximum bit rate            : 35.0 Mb/s
Width                       : 1 920 pixels
Height                      : 1 080 pixels
Display aspect ratio        : 16:9
Frame rate mode             : Constant
Frame rate                  : 25.000 FPS
Standard                    : PAL
Color space                 : YUV
Chroma subsampling          : 4:2:0
Bit depth                   : 8 bits
Scan type                   : MBAFF
Scan type, store method     : Interleaved fields
Scan order                  : Top Field First
Bits/(Pixel*Frame)          : 0.571
Stream size                 : 23.4 GiB (97%)
Language                    : English
Default                     : Yes
Forced                      : No
Color range                 : Limited
Color primaries             : BT.709
Transfer characteristics    : BT.709
Matrix coefficients         : BT.709

Audio
ID                          : 2
Format                      : FLAC
Format/Info                 : Free Lossless Audio Codec
Codec ID                    : A_FLAC
Duration                    : 1 h 53 min
Bit rate mode               : Variable
Bit rate                    : 1 066 kb/s
Channel(s)                  : 6 channels
Channel positions           : Front: L C R, Side: L R, LFE
Sampling rate               : 48.0 kHz
Frame rate                  : 11.719 FPS (4096 SPF)
Bit depth                   : 24 bits
Stream size                 : 865 MiB (3%)
Writing library             : libFLAC 1.2.1 (UTC 2007-09-17)
Language                    : English
Default                     : Yes
Forced                      : No


#2 ebr OFFLINE  

ebr

    Chief Bottle Washer

  • Administrators
  • 42241 posts
  • Local time: 10:04 AM

Posted 30 August 2018 - 10:46 AM

Can we get a sample media file? (I found one that reproduces the problem)

 

This update fixed flac audio file playback so it is weird that it would break it in video files.

 

However, I see from your log that the player is interpreting the audio as only having a single channel...

 

How was this media created (noticing the writing flac lib is extremely old...)?



#3 h.buckle ONLINE  

h.buckle

    Advanced Member

  • Members
  • 80 posts
  • Local time: 03:04 PM

Posted 30 August 2018 - 04:39 PM

I actually played 2 files before sending the logs, one of which does only have a single channel, but it also exhibited the same problem:

General
Unique ID                   : 197533701710401319897634347576688718718 (0x949B9B6BE304D0778CA37388646D337E)
Complete name               : \\CRUCIBLE\Films\12 Angry Men\12 Angry Men.mkv
Format                      : Matroska
Format version              : Version 4 / Version 2
File size                   : 20.3 GiB
Duration                    : 1 h 36 min
Overall bit rate mode       : Variable
Overall bit rate            : 30.2 Mb/s
Encoded date                : UTC 2017-02-18 15:46:14
Writing application         : mkvmerge v9.8.0 ('Kuglblids') 64bit
Writing library             : libebml v1.3.4 + libmatroska v1.4.5

Video
ID                          : 1
Format                      : AVC
Format/Info                 : Advanced Video Codec
Format profile              : High@L4.1
Format settings             : CABAC / 2 Ref Frames
Format settings, CABAC      : Yes
Format settings, ReFrames   : 2 frames
Codec ID                    : V_MPEG4/ISO/AVC
Duration                    : 1 h 36 min
Bit rate mode               : Variable
Bit rate                    : 30.0 Mb/s
Width                       : 1 920 pixels
Height                      : 1 080 pixels
Display aspect ratio        : 16:9
Frame rate mode             : Constant
Frame rate                  : 23.976 (24000/1001) FPS
Color space                 : YUV
Chroma subsampling          : 4:2:0
Bit depth                   : 8 bits
Scan type                   : Progressive
Bits/(Pixel*Frame)          : 0.602
Stream size                 : 20.1 GiB (99%)
Language                    : English
Default                     : Yes
Forced                      : No

Audio
ID                          : 2
Format                      : FLAC
Format/Info                 : Free Lossless Audio Codec
Codec ID                    : A_FLAC
Duration                    : 1 h 36 min
Bit rate mode               : Variable
Bit rate                    : 264 kb/s
Channel(s)                  : 1 channel
Channel positions           : Front: C
Sampling rate               : 48.0 kHz
Frame rate                  : 11.719 FPS (4096 SPF)
Bit depth                   : 24 bits
Stream size                 : 182 MiB (1%)
Writing library             : libFLAC 1.2.1 (UTC 2007-09-17)
Language                    : English
Default                     : Yes
Forced                      : No

I just sent logs again after playing a file with 5.1 audio:

General
Unique ID                   : 229382639017962479384883881324446839469 (0xAC917D441F843AEE8EB1F70C7CA172AD)
Complete name               : \\CRUCIBLE\Films\Iron Man\Iron Man.mkv
Format                      : Matroska
Format version              : Version 4 / Version 2
File size                   : 26.8 GiB
Duration                    : 2 h 6 min
Overall bit rate mode       : Variable
Overall bit rate            : 30.4 Mb/s
Encoded date                : UTC 2016-06-11 11:51:10
Writing application         : mkvmerge v9.2.0 ('Photograph') 64bit
Writing library             : libebml v1.3.3 + libmatroska v1.4.4

Video
ID                          : 1
Format                      : AVC
Format/Info                 : Advanced Video Codec
Format profile              : High@L4.1
Format settings             : CABAC / 4 Ref Frames
Format settings, CABAC      : Yes
Format settings, ReFrames   : 4 frames
Codec ID                    : V_MPEG4/ISO/AVC
Duration                    : 2 h 6 min
Bit rate mode               : Variable
Bit rate                    : 27.1 Mb/s
Maximum bit rate            : 39.5 Mb/s
Width                       : 1 920 pixels
Height                      : 1 080 pixels
Display aspect ratio        : 16:9
Frame rate mode             : Constant
Frame rate                  : 23.976 (24000/1001) FPS
Standard                    : NTSC
Color space                 : YUV
Chroma subsampling          : 4:2:0
Bit depth                   : 8 bits
Scan type                   : Progressive
Bits/(Pixel*Frame)          : 0.546
Stream size                 : 23.9 GiB (89%)
Language                    : English
Default                     : Yes
Forced                      : No
Color range                 : Limited
Color primaries             : BT.709
Transfer characteristics    : BT.709
Matrix coefficients         : BT.709

Audio
ID                          : 2
Format                      : FLAC
Format/Info                 : Free Lossless Audio Codec
Codec ID                    : A_FLAC
Duration                    : 2 h 6 min
Bit rate mode               : Variable
Bit rate                    : 3 273 kb/s
Channel(s)                  : 6 channels
Channel positions           : Front: L C R, Side: L R, LFE
Sampling rate               : 48.0 kHz
Frame rate                  : 11.719 FPS (4096 SPF)
Bit depth                   : 24 bits
Stream size                 : 2.88 GiB (11%)
Writing library             : libFLAC 1.2.1 (UTC 2007-09-17)
Language                    : English
Default                     : Yes
Forced                      : No

All of these audio tracks were converted with eac3to which i'm aware bundles an old version of libflac, but they've always played fine up until now.



#4 h.buckle ONLINE  

h.buckle

    Advanced Member

  • Members
  • 80 posts
  • Local time: 03:04 PM

Posted 31 August 2018 - 03:08 PM

I just reencoded the audio with a newer flac and remuxed with the latest mkvtoolnix and the problem still exists

General
Unique ID                   : 57505950245290114908819731894000204950 (0x2B433E3F751F02630234713144E0BC96)
Complete name               : \\CRUCIBLE\Films\Iron Man\Iron Man.mkv
Format                      : Matroska
Format version              : Version 4 / Version 2
File size                   : 26.8 GiB
Duration                    : 2 h 6 min
Overall bit rate mode       : Variable
Overall bit rate            : 30.4 Mb/s
Encoded date                : UTC 2018-08-31 18:42:39
Writing application         : mkvmerge v26.0.0 ('In The Game') 64-bit
Writing library             : libebml v1.3.6 + libmatroska v1.4.9

Video
ID                          : 1
Format                      : AVC
Format/Info                 : Advanced Video Codec
Format profile              : High@L4.1
Format settings             : CABAC / 4 Ref Frames
Format settings, CABAC      : Yes
Format settings, ReFrames   : 4 frames
Codec ID                    : V_MPEG4/ISO/AVC
Duration                    : 2 h 6 min
Bit rate mode               : Variable
Bit rate                    : 27.1 Mb/s
Maximum bit rate            : 39.5 Mb/s
Width                       : 1 920 pixels
Height                      : 1 080 pixels
Display aspect ratio        : 16:9
Frame rate mode             : Constant
Frame rate                  : 23.976 (24000/1001) FPS
Standard                    : NTSC
Color space                 : YUV
Chroma subsampling          : 4:2:0
Bit depth                   : 8 bits
Scan type                   : Progressive
Bits/(Pixel*Frame)          : 0.546
Stream size                 : 23.9 GiB (89%)
Language                    : English
Default                     : Yes
Forced                      : No
Color range                 : Limited
Color primaries             : BT.709
Transfer characteristics    : BT.709
Matrix coefficients         : BT.709

Audio
ID                          : 2
Format                      : FLAC
Format/Info                 : Free Lossless Audio Codec
Codec ID                    : A_FLAC
Duration                    : 2 h 6 min
Bit rate mode               : Variable
Bit rate                    : 3 267 kb/s
Channel(s)                  : 6 channels
Channel positions           : Front: L C R, Side: L R, LFE
Sampling rate               : 48.0 kHz
Frame rate                  : 11.719 FPS (4096 SPF)
Bit depth                   : 24 bits
Stream size                 : 2.88 GiB (11%)
Writing library             : libFLAC 1.3.2 (UTC 2017-01-01)
Language                    : English
Default                     : Yes
Forced                      : No


#5 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 119080 posts
  • Local time: 10:04 AM

Posted 31 August 2018 - 03:36 PM

We are looking into it, thanks for the report.



#6 h.buckle ONLINE  

h.buckle

    Advanced Member

  • Members
  • 80 posts
  • Local time: 03:04 PM

Posted 06 September 2018 - 01:28 AM

Did you get anywhere with this?



#7 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 119080 posts
  • Local time: 10:04 AM

Posted 06 September 2018 - 01:30 AM

We are still looking into it, thanks.



#8 ebr OFFLINE  

ebr

    Chief Bottle Washer

  • Administrators
  • 42241 posts
  • Local time: 10:04 AM

Posted 06 September 2018 - 07:06 PM

Right now we're stuck between a rock and a hard place and looking for a way out :).

 

They fixed flac audio files and broke flac within video at the same time.



#9 h.buckle ONLINE  

h.buckle

    Advanced Member

  • Members
  • 80 posts
  • Local time: 03:04 PM

Posted 08 September 2018 - 03:03 AM

OK, thanks for the update. By they do you mean ExoPlayer? Does it need reporting to them, I don't see any issues on GitHub?



#10 ebr OFFLINE  

ebr

    Chief Bottle Washer

  • Administrators
  • 42241 posts
  • Local time: 10:04 AM

Posted 08 September 2018 - 08:19 AM

We're actually not positive yet if it is the player or external library.  We are working on it and will have a solution before this is out of beta.



#11 h.buckle ONLINE  

h.buckle

    Advanced Member

  • Members
  • 80 posts
  • Local time: 03:04 PM

Posted 20 November 2018 - 04:40 AM

Is there any update on getting flac in mkv working again please?



#12 ebr OFFLINE  

ebr

    Chief Bottle Washer

  • Administrators
  • 42241 posts
  • Local time: 10:04 AM

Posted 20 November 2018 - 11:53 AM

Sorry, multi-channel flac inside video containers isn't a core feature of Exo so it is slow going trying to figure out how or if we can make it work.

 

Thanks.

 

P.S.  However, it does work now.  It just requires audio conversion on the server.



#13 h.buckle ONLINE  

h.buckle

    Advanced Member

  • Members
  • 80 posts
  • Local time: 03:04 PM

Posted 20 November 2018 - 02:15 PM

Well it mostly works, apart from files with VC1 video, which transcode the video as well (VC1 doesn't work in HLS)

 

How come it worked before, was that just good luck?



#14 h.buckle ONLINE  

h.buckle

    Advanced Member

  • Members
  • 80 posts
  • Local time: 03:04 PM

Posted 11 February 2019 - 02:29 PM

@ebr - any update on this issue?



#15 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 119080 posts
  • Local time: 10:04 AM

Posted 11 February 2019 - 02:57 PM

Please try with the latest release of the app. Thanks !



#16 h.buckle ONLINE  

h.buckle

    Advanced Member

  • Members
  • 80 posts
  • Local time: 03:04 PM

Posted 13 February 2019 - 05:31 PM

Still the same with 1.6.86






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users