Skip to content

5.1-channel duration #56

@mahadow4

Description

@mahadow4

I received a 5.1-channel file, but Foobar2000 shows an unusually long duration.
The M4A file duration also looks abnormal:

[STREAM]
index=0
codec_name=eac3
codec_long_name=ATSC A/52B (AC-3, E-AC-3)
codec_type=audio
codec_time_base=1/48000
codec_tag_string=ec-3
codec_tag=0x332d6365
sample_fmt=fltp
sample_rate=48000
channels=6
channel_layout=5.1(side)
start_time=0.000000
duration_ts=8626646
duration=179.721792 <- Real Play Time

[STREAM]
index=1
codec_name=mjpeg
codec_long_name=Motion JPEG
profile=Baseline
codec_type=video
codec_time_base=0/1
codec_tag_string=[0][0][0][0]
codec_tag=0x0000
start_time=0.000000
duration_ts=104942321
duration=1166.025789 <- Wrong Play Time
[/STREAM]

[FORMAT]
filename=01. METRONOME - izna.m4a
nb_streams=2
nb_programs=0
format_name=mov,mp4,m4a,3gp,3g2,mj2
format_long_name=QuickTime / MOV
start_time=0.000000
duration=1166.025792 <- Wrong Play Time
size=18770620
bit_rate=128783
probe_score=100
TAG:major_brand=M4A
TAG:minor_version=1
TAG:compatible_brands=isomiso5hlsfcmfccceaM4A mp42
TAG:creation_time=2026-06-04T05:24:15.000000Z
TAG:track=1/5
TAG:date=2026.06.08
TAG:title=METRONOME
TAG:artist=izna
TAG:album_artist=izna
TAG:album=SET THE TEMPO
[/FORMAT]

This makes me wonder whether there is something wrong with the wrapper

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions