Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Audio output muted after reading PCE (Read 816 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Audio output muted after reading PCE

Hello,

using the ISO reference code, I tried to decode a stero AAC stream. Internals of the stream given below.

Duration: 00:02:59.70, bitrate: 127 kb/s
Stream #0:0: Audio: aac (LC), 48000 Hz, stereo, fltp, 127 kb/s
[STREAM]
index=0
codec_name=aac
codec_long_name=AAC (Advanced Audio Coding)
profile=LC
codec_type=audio
codec_time_base=1/48000
codec_tag_string=[0][0][0][0]
codec_tag=0x0000
sample_fmt=fltp
sample_rate=48000
channels=2
channel_layout=stereo
bits_per_sample=0
id=N/A
r_frame_rate=0/0
avg_frame_rate=0/0
time_base=1/28224000
start_pts=N/A
start_time=N/A
duration_ts=5071820686
duration=179.698862
bit_rate=127875
max_bit_rate=N/A
bits_per_raw_sample=N/A
nb_frames=N/A
nb_read_frames=N/A
nb_read_packets=N/A
DISPOSITION:default=0
DISPOSITION:dub=0
DISPOSITION:original=0
DISPOSITION:comment=0
DISPOSITION:lyrics=0
DISPOSITION:karaoke=0
DISPOSITION:forced=0
DISPOSITION:hearing_impaired=0
DISPOSITION:visual_impaired=0
DISPOSITION:clean_effects=0
DISPOSITION:attached_pic=0
[/STREAM]

Till 5.7 second decoding is fine and then audio is muted.
But when i tried to decode using ffmpeg audio is decoded fine.
[ffmpeg raised an error "Channel element 2.13 is not allocated"]
The problem observed after reading of the Program Config Element.

In this particular stream CPE and FIL elements are present other than PCE, and it present two times during the AAC data.
Kindly let me know this streao combination is valid or not?
 Did any special processing required for PCE data elements?

Thanks In Advance
-Dave