Project

General

Profile

Bug #3105

AAC-LATM ==> AAC (sac) no audio stream with transcoding

Added by Sylvain Cecchetto about 9 years ago. Updated about 9 years ago.

Status:
Fixed
Priority:
Normal
Category:
Transcoding
Target version:
-
Start date:
2015-09-23
Due date:
% Done:

100%

Estimated time:
Found in version:
4.1-360~g0916e52
Affected Versions:

Description

Hello,

I have some channels that broadcast with AAC-LATM codec for the sound. But with the transcoding feature set to AAC I have no audio stream on my client (VLC or Movian).

This is a bug or a new feature to create ?

Thanks


Files

dvb-t2.TS (33.6 MB) dvb-t2.TS DVB-T2(HEVC+AAC-LATM) Dirk Kruggel, 2015-10-08 16:04
tvheadend.log (3.44 KB) tvheadend.log Sylvain Cecchetto, 2015-10-14 18:07

History

#2

Updated by Sylvain Cecchetto about 9 years ago

Jaroslav Kysela wrote:

Provide "--trace transcoder" . https://tvheadend.org/projects/tvheadend/wiki/Traces

Hello, trace are join to this message. They show the error when I want to play "Virgin Radio TV" channel with AAC-LATM codec.

Thank you

...

2015-09-28 09:27:43.770 [ DEBUG]:parser: gh disable stream 2 AAC fre (PID 69) threshold 0 qd 0 qd_max 136800

...

#3

Updated by Jaroslav Kysela about 9 years ago

Upgrade to latest. This issue might be fixed in v4.1-371 - "globalheaders: increase maximum scan time to 3500ms" . TVH disabled the stream, because the time difference between video and audio tracks is above threshold which was increased in 371.

BTW: You've not provided traces. Your TVH is probably compiled without trace support.

#4

Updated by Sylvain Cecchetto about 9 years ago

Jaroslav Kysela wrote:

Upgrade to latest. This issue might be fixed in v4.1-371 - "globalheaders: increase maximum scan time to 3500ms" . TVH disabled the stream, because the time difference between video and audio tracks is above threshold which was increased in 371.

BTW: You've not provided traces. Your TVH is probably compiled without trace support.

Ok thanks for your reply.

Just one thing, how can update my TVH without lose all my configuration (I installed it with git source) ?
If I clone the last commit of the master branch and I installe it ? It's the good way for updating TVH ?

Thanks a lot !

#5

Updated by B C about 9 years ago

yes, that's the way to go, settings will be upgraded

#6

Updated by Dirk Kruggel about 9 years ago

Here in West-Germany we have a DVB-T2 Test Transmission with HEVC-Video and AAC-LATM Audio. With TVH 4.1.5 I have managed to decode Video with hardware on MK808B+ with OpenELEC and hts.Addon.
But there is no AAC-LATM audio in the stream. Only if I access the Service-URL via Browser I get the audiostreams, but no hardware-HEVC-decoding.

#7

Updated by B C about 9 years ago

Basically AAC-LATM was working for me. I would suggest to take a look at kodi.log first to see what is going on. BTW, West-Germany, that was 25 Years ago???

#8

Updated by Dirk Kruggel about 9 years ago

@B C: I didn't mean this politically. It's th region of cologne in the west of Germany.

#9

Updated by B C about 9 years ago

it kust did sound funny, no offense.
as I said a kodi.log of could be very helpfull to figure out what's happening, or a full ts dump.

#10

Updated by Dirk Kruggel about 9 years ago

To clearify: I build TVH 4.0.5 on Ubuntu 14.04 and raspian. Both servers won't work with HEVC on any Kodi-client with hts.addon. The same with TVH-Service 4.0.3 on Openelec on MK808B+ HDMI-Stick. It recognizes the AAC-LATM and plays Audio but no Video. With Android and TVH-Client.APK or via Browser I could play the TS-stream without hardwareacceleration but AAC-LATM was present and could be decoded. So I build 4.1.5 on Ubuntu and Raspian which delivers HEVC via HTSP but there is no more AAC-LATM-Audio only EAC3. I know the documentation of HTSP says AAC-ADTS is supported, but in Germany it's very likely that DVB-T2 will have AAC-LATM Audio. If it helps I could make a TS-Dump from Test-Mux.

#11

Updated by Dirk Kruggel about 9 years ago

Here is a short dump from Mux.
Even the Fix of 3074 didn't help.

#12

Updated by Jaroslav Kysela about 9 years ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100

Applied in changeset commit:tvheadend|2cea6917b63058320c943f6a0fad971173f305dd.

#13

Updated by Jaroslav Kysela about 9 years ago

It's fixed in v4.1-590-g2cea691 . I can play HEVC and AAC through the build-in matroska muxer in VLC. I've not tried transcoding, but the data are same as for the matroska muxer input, so I assume that it should work, too.

#14

Updated by Jaroslav Kysela about 9 years ago

And, BTW - Dirk, please, open a new issue next time. Although I monitor all activities, I might miss something. Thanks.

#15

Updated by Dirk Kruggel about 9 years ago

You are brilliant. Respect!!!

Build from Git on HDMI-Stick MK808B+ with HEVC-Hardware decoder DVB-T2 USB-Stick (>90€) and Kodi now plays the Live-TV with HEVC-Video and AAC-LATM Audio.

BTW- I though this was exact my problem. Didn't want to double Your tickets.

#16

Updated by Sylvain Cecchetto about 9 years ago

Thanks for all you have done but I have still no audio with AAC-LATM channels and transcoding option.

If I don't use the transcoding option I have audio and video (no problem, all is OK).

But if I enable the transcoding option with Matroska (mkv)built-in/libx264/AAC settings I have video but no audio (If I look at the VLC information it doesn't see any audio flux, only the video flux).
With the channels that don't use the AAC-LATM codec I have no problem with my transcoding profile (I have audio and video).

I provide my tvheadend.log with --trace transcoder.

Thank you !!

#17

Updated by Sylvain Cecchetto about 9 years ago

up

Also available in: Atom PDF