Skip to content

order tracks with video first #445

Open
@dericed

Description

@dericed

Perhaps this is simply a cosmetic issue, but it seems that the tracks in the rawcooked output are ordered alphabetically by their source, such as:

  Stream #0:0: Audio: flac ([172][241][0][0] / 0xF1AC), 44100 Hz, mono, s16, 128 kb/s (default)
      Metadata:
        encoder         : Lavc61.19.100 flac
  Stream #0:1: Audio: flac ([172][241][0][0] / 0xF1AC), 44100 Hz, mono, s16, 128 kb/s
      Metadata:
        encoder         : Lavc61.19.100 flac
  Stream #0:2: Video: ffv1 (FFV1 / 0x31564646), bgr0(pc, gbr/unknown/linear, progressive), 720x480 [SAR 1:1 DAR 3:2], q=2-31, 200 kb/s, 24 fps, 1k tbn
      Metadata:
        encoder         : Lavc61.19.100 ffv1
  Stream #0:3: Audio: flac ([172][241][0][0] / 0xF1AC), 44100 Hz, mono, s16, 128 kb/s
      Metadata:
        encoder         : Lavc61.19.100 flac
  Stream #0:4: Audio: flac ([172][241][0][0] / 0xF1AC), 44100 Hz, mono, s16, 128 kb/s
      Metadata:
        encoder         : Lavc61.19.100 flac
  Stream #0:5: Audio: flac ([172][241][0][0] / 0xF1AC), 44100 Hz, mono, s16, 128 kb/s
      Metadata:
        encoder         : Lavc61.19.100 flac
  Stream #0:6: Attachment: none
      Metadata:
        mimetype        : application/octet-stream
        filename        : RAWcooked reversibility data

I suggest storing the video track first and then the audio tracks. This can be done in the ffmpeg cmd by ordering the inputs. Possibly it could also be done with how the -map commands are ordered.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions