Opened 3 weeks ago

Last modified 3 weeks ago

#6567 new defect

aac format profile always LTP in 3.2.x by filter aac_adtstoasc

Reported by: kwsk Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:

aac format profile is always LTP in 3.2.x by filter aac_adtstoasc
LTP was not compatible for iphone or ipad
So, I want Format profile to be LC
Is there any setting for it?

How to reproduce:

% ffmpeg -y -i input.ts -metadata creation_time="$(
date --utc +'%F%T')" -vcodec h264_qsv -b:v 2800k -s 1280\x720 -acodec copy -bsf:a aac_adtstoasc -bufsize 20000k -maxrate 25
000k -movflags faststart -f mp4 -look_ahead 0 output.ts
.mp4.rec

Audio
ID                                       : 2
Format                                   : AAC
Format/Info                              : Advanced Audio Codec
Format profile                           : LTP
Codec ID                                 : 40
Duration                                 : 29 min 19 s
Duration_FirstFrame                      : -21 ms
Bit rate mode                            : Constant
Bit rate                                 : 252 kb/s
Channel(s)                               : 2 channels
Channel(s)_Original                      : 1 channel
Channel positions                        : Front: C
Sampling rate                            : 11.025 kHz
Frame rate                               : 10.767 FPS (1024 spf)
Compression mode                         : Lossy
Stream size                              : 52.9 MiB (9%)
Default                                  : Yes
Alternate group                          : 1

Patches should be submitted to the ffmpeg-devel mailing list and not this bug tracker.

Change History (2)

comment:1 Changed 3 weeks ago by heleppkes

Maybe your input file is also LTP profile? The BSF cannot change the profile of the stream.
If you posted a full log, we would know.

comment:2 Changed 3 weeks ago by kwsk

No problem in version 3.1.x
Profile is LC in mp4 though same source
So, I think LTP is default setting in 3.2.x

Note: See TracTickets for help on using tickets.