Jump to content

No sound for channels with AAC audio


aivars

Recommended Posts

On Astra 4a 11785.00 V are many channels with AAC audio, for those channels in DVBViewer sound is missing. I have tried LAV, Microsoft DTV codecs, libfaad wrapper - nothing works. I tried another dvb player, no problem there.

Link to comment

Here the recording plays pretty well with DVBViewer Pro 6.1.2 and LAV audio decoder 0.72. Audio is normal AAC with ADTS headers, so I can't see why it doesn't work.

 

Can you play the recording with audio in DVBViewer? Is it a live TV issue? Are the channels scrambled? Do you use a TBS DVB device?

 

Link to comment

That looks pretty well (except the colours :)). Obviously the DVBViewer Filter detects the audio format correctly and passes the data without errors to the decoder.

 

I guess the issue is caused somehow by unscrambling. There are two AAC types in the DVB sphere that must be distinguished (LOAS/LATM and ADTS). Usually audio decoders need to be informed about the type before they start decoding. That's why DVBViewer performs a format detection in case of AAC before TV/Radio playback starts. If it can't determine the format within a timeout of 3 seconds it gives up and reports LOAS/LATM as default to the decoder, which is wrong in this case. This may happen if the CI/CAM delays AAC unscrambling for some reason.

 

This could explain the issue. However, in my experience the LAV audio decoder 0.72 is clever enough to switch over to the correct handling later (after playback start) even if it initially gets wrong information about the AAC type. With other words: Here it decodes ADTS AAC quite happily if I let DVBViewer purposely pass the wrong information to it, in contrast to the MS decoder that only produces silence. This means, it should work in your case with LAV, or the theory above is wrong ;)

 

Anyway, who really knows... I've enhanced the audio format detection now by letting DVBViewer stop playback, reconnect the decoder, pass the correct information to it and restart playback if the format is only detected after playback start. I can provide a test version, if you like to try, which may or may not work...

 

Link to comment

Reply from aivars via PM:

 

Quote

 

Still no sound. Sometimes there is a sound for a split second with lav filters, just like before.

 

 

You should have mentioned it earlier. That's a known problem. I can reproduce it with a  scrambled UHD channel (TravelXP) that uses ADTS AAC audio, received via a TBS box with CI. As stated here, the issue is clearly CI/CAM related, because it doesn't occur with other DVB cards.

 

However, after looking deeper into it now, my conclusions don't seem to be 100% correct. As in your case, audio plays fine in recorded files (video still has artifacts, but that's another thing). Additionally I've found out that live playback works if it joins an already running stream. E.g. after selecting the currently played channel again in the channel list window, thus stopping and restarting playback without hardware retuning, audio is ok. Same after starting a recording of the channel, performing Playback -> Playback off and then switching it on again with the same menu item (it's actually a toggle), because the recorder keeps the stream going.

 

So it looks like the CI/CAM does something nasty with the first data packets, thus spoiling audio playback. Nevertheless I couldn't find out yet what it is and how it can be avoided.... (to be continued).

 

Link to comment

I tried FTA channel with AAC, no problem with sound.

 

I tried selecting the currently played channel again and Playback -> Playback off - no changes.

 

7 hours ago, Griga said:

So it looks like the CI/CAM does something nasty with the first data packets, thus spoiling audio playback

Still in dvbdream it works with sound.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...