Skip to content

Output file contains two audio streams #10

@tomhense

Description

@tomhense

The output m4b file seems to contain two aac audio streams but should of course only contain one. This also causes the doubling of the filesize.

Here is a the ffprobe output of one of the audio files I created with autiobooks:

[mov,mp4,m4a,3gp,3g2,mj2 @ 0x6062adfe0440] stream 0, timescale not set
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Reentry - Eric Berger.m4b':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2mp41
    title           : Reentry
    artist          : Eric Berger
    encoder         : Lavf61.7.100
  Duration: 01:27:57.13, start: 0.000000, bitrate: 146 kb/s
  Chapters:
    Chapter #0:0: start 0.000000, end 5277.125000
      Metadata:
        title           : Chapter {i}
  Stream #0:0[0x1](und): Audio: aac (LC) (mp4a / 0x6134706D), 24000 Hz, mono, fltp, 71 kb/s (default)
      Metadata:
        handler_name    : SoundHandler
        vendor_id       : [0][0][0][0]
  Stream #0:1[0x3](und): Audio: aac (LC) (mp4a / 0x6134706D), 24000 Hz, mono, fltp, 71 kb/s (default)
      Metadata:
        handler_name    : SoundHandler
        vendor_id       : [0][0][0][0]
  Stream #0:2[0x4](eng): Data: bin_data (text / 0x74786574)
      Metadata:
        handler_name    : SubtitleHandler
  Stream #0:3[0x0]: Video: mjpeg (Baseline), yuvj444p(pc, bt470bg/unknown/unknown), 1200x1800, 90k tbr, 90k tbn (attached pic)
Unsupported codec with id 98314 for input stream 2

I glanced over the code but I couldn't find the bug that causes this.

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