Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

order tracks with video first #445

Open
dericed opened this issue Nov 12, 2024 · 2 comments
Open

order tracks with video first #445

dericed opened this issue Nov 12, 2024 · 2 comments

Comments

@dericed
Copy link

dericed commented Nov 12, 2024

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.

@retokromer
Copy link
Collaborator

Perhaps this is simply a cosmetic issue, but

It is, but

I suggest storing the video track first and then the audio tracks.

+1

@stephenmcconnachie
Copy link
Contributor

+1 from me too for video first then audio

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants