justdan96 / tsMuxer

tsMuxer is a transport stream muxer for remuxing/muxing elementary streams, EVO/VOB/MPG, MKV/MKA, MP4/MOV, TS, M2TS to TS to M2TS. Supported video codecs H.264/AVC, H.265/HEVC, VC-1, MPEG2. Supported audio codecs AAC, AC3 / E-AC3(DD+), DTS/ DTS-HD.
Apache License 2.0
849 stars 144 forks source link

apparent 48KHz/32 bit AAC audio file error #635

Closed jt207 closed 1 year ago

jt207 commented 1 year ago

I'm trying to process video files from a Canon pro HD camera, and all files generate an error message in tsMuxer when added as input files. The error message is "Error: Invalid AAC frame for track #2 at position 540236" and the position is always 540236, regardless of input file. The audio files are 48KHz, 32 bit AAC which is listed as a supported input format. The video is H.264 MPEG4 AVC part 10.

tsMuxer 2.6.12

tsmuxer mediainfo

dts24436 commented 1 year ago

Yeah, just as it shows, most AAC audio tracks aren't recognized by this tsMuxer at all, M4A-packed files at least, and I'll have to use other tools to have them muxed into MPEG-2 TS files then dumped into tsMuxer.

By the way, AAC audio (mostly based on the profile AAC LC which stands for low complexity) is supposed to be of IEEE floating point audio codec, since it actually can do overloads of audio-level, which PCM (integer) audio codec on the other hand just can't do. So it doesn't surprise me when I get "32-bit AAC format".

jt207 commented 1 year ago

Thanks for the reply. I checked a handful of short video files from my phone, and VLC seemed to think they were the same audio format (AAC, 48KHz, 32 bit) and same video format (but different frame rate). So I dropped some of those into tsMuxer and it appeared to like them. I'll try some additional tools.

jcdr428 commented 1 year ago

@jt207 tsMuxer 2.6.12 is obsolete. Please try latest release and report.