RAWcooked icon indicating copy to clipboard operation
RAWcooked copied to clipboard

order tracks with video first

Open dericed opened this issue 1 year ago • 2 comments

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.

dericed avatar Nov 12 '24 12:11 dericed

Perhaps this is simply a cosmetic issue, but

It is, but

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

+1

retokromer avatar Nov 12 '24 14:11 retokromer

+1 from me too for video first then audio

stephenmcconnachie avatar Nov 12 '24 14:11 stephenmcconnachie