I am trying to concat two video files with ffmpeg concat demuxer
for most of the part it works just fine!
But when I try to concat videos which has two different audio profile with same codec, it concats with the resulting video having weird sound problem. And when re-encoding the resulting video it will spit out a lots of error related to audio.
Here is ffprobe output for some audio stream from different video files Video 1
[STREAM]
index=1
codec_name=aac
codec_long_name=unknown
profile=4
codec_type=audio
codec_time_base=1/48000
codec_tag_string=[0][0][0][0]
codec_tag=0x0000
sample_fmt=fltp
...
[/STREAM]
Video 2
[STREAM]
index=1
codec_name=aac
codec_long_name=unknown
profile=1
codec_type=audio
codec_time_base=1/48000
codec_tag_string=[0][0][0][0]
codec_tag=0x0000
sample_fmt=fltp
...
[/STREAM]
Video 3
[STREAM]
index=1
codec_name=aac
codec_long_name=unknown
profile=28
codec_type=audio
codec_time_base=1/48000
codec_tag_string=[0][0][0][0]
codec_tag=0x0000
sample_fmt=fltp
...
[/STREAM]
Look the different profile=
values.I was able to reproduce 28
and 1
but was failed for 4
28 = he_aac_v2
1 = ffmpeg default
So what I want to know the most is, What does these different values mean for aac? And how to reproduce them with any aac encode?