Recherche avancée

Médias (91)

Autres articles (97)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

Sur d’autres sites (9398)

  • FFMPEG x264 (fourcc=0x21) codec is not working with OpenCV

    6 mars 2020, par dkac

    I'm trying to use mp4 format coding (fourcc=0x21) on OpenCV 3.2 without success. Probably I have a problem with my Ubuntu 18.04 setup but currently I'm running out of ideas how to fix it. First, I recompiled FFMPEG with x264 support. Than, recompiled OpenCV (with contrib and OPENCV_ENABLE_NONFREE=ON, WITH_FFMPEG=ON). It is still not working.

    



    I cannot use fourcc different than 0x21. I mean.. I cannot use another codec.

    



    Example :

    



    >>> import cv2
>>> out = cv2.VideoWriter('output.mp4', 0x21, 20.0, (640,480))
OpenCV: FFMPEG: tag 0x00000021/'!???' is not found (format 'mp4 / (null)')'


    



    However, this is working fine (other fourcc, codec) :

    



    >>> out = cv2.VideoWriter('output.mp4',0x31637661 , 20.0, (640,480))


    



    OpenCV compiled with FFMPEG support (version 3.2), cmake config :

    



    Video I/O:
DC1394 1.x:                  NO
DC1394 2.x:                  YES (ver 2.2.5)
FFMPEG:                      YES
  avcodec:                   YES (ver 57.107.100)
  avformat:                  YES (ver 57.83.100)
  avutil:                    YES (ver 55.78.100)
  swscale:                   YES (ver 4.8.100)
  avresample:                YES (ver 3.7.0)


    



    FFMPEG build with x264 support :

    



    ffmpeg -version
ffmpeg version N-96891-g60b1f85 Copyright (c) 2000-2020 the FFmpeg developers
built with gcc 7 (Ubuntu 7.4.0-1ubuntu1~18.04.1)
configuration: --prefix=/home/user/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/home/user/ffmpeg_build/include --extra-ldflags=-L/home/user/ffmpeg_build/lib --extra-libs='-lpthread -lm' --bindir=/home/user/bin --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-nonfree
libavutil      56. 42.100 / 56. 42.100
libavcodec     58. 73.102 / 58. 73.102
libavformat    58. 39.101 / 58. 39.101
libavdevice    58.  9.103 / 58.  9.103
libavfilter     7. 77.100 /  7. 77.100
libswscale      5.  6.100 /  5.  6.100
libswresample   3.  6.100 /  3.  6.100
libpostproc    55.  6.100 / 55.  6.100


    



    FFMPEG x264 simple conversion test is working :

    



    ffmpeg -i in.mp4 -vcodec libx264 -f mp4 out.mp4y
ffmpeg version N-96891-g60b1f85 Copyright (c) 2000-2020 the FFmpeg developers
built with gcc 7 (Ubuntu 7.4.0-1ubuntu1~18.04.1)
configuration: --prefix=/home/user/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/home/user/ffmpeg_build/include --extra-ldflags=-L/home/user/ffmpeg_build/lib --extra-libs='-lpthread -lm' --bindir=/home/user/bin --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-nonfree
libavutil      56. 42.100 / 56. 42.100
libavcodec     58. 73.102 / 58. 73.102
libavformat    58. 39.101 / 58. 39.101
libavdevice    58.  9.103 / 58.  9.103
libavfilter     7. 77.100 /  7. 77.100
libswscale      5.  6.100 /  5.  6.100
libswresample   3.  6.100 /  3.  6.100
libpostproc    55.  6.100 / 55.  6.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'in.mp4':
Metadata:
   major_brand     : isom
   minor_version   : 512
   compatible_brands: isomiso2avc1mp41
   encoder         : Lavf57.83.100
Duration: 00:00:10.00, start: 0.000000, bitrate: 3826 kb/s
 Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x960, 3825 kb/s, 10 fps, 10 tbr, 10240 tbn, 20 tbc (default)
Metadata:
  handler_name    : VideoHandler
File 'out.mp4y' already exists. Overwrite? [y/N] y
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))


    


  • FFMPEG x264 (fourcc=0x21) codec is not working with OpenCV

    6 mars 2020, par dkac

    I’m trying to use mp4 format coding (fourcc=0x21) on OpenCV 3.2 without success. Probably I have a problem with my Ubuntu 18.04 setup but currently I’m running out of ideas how to fix it. First, I recompiled FFMPEG with x264 support. Than, recompiled OpenCV (with contrib and OPENCV_ENABLE_NONFREE=ON, WITH_FFMPEG=ON). It is still not working.

    I cannot use fourcc different than 0x21. I mean.. I cannot use another codec.

    Example :

    >>> import cv2
    >>> out = cv2.VideoWriter('output.mp4', 0x21, 20.0, (640,480))
    OpenCV: FFMPEG: tag 0x00000021/'!???' is not found (format 'mp4 / (null)')'

    However, this is working fine (other fourcc, codec) :

    >>> out = cv2.VideoWriter('output.mp4',0x31637661 , 20.0, (640,480))

    OpenCV compiled with FFMPEG support (version 3.2), cmake config :

    Video I/O:
    DC1394 1.x:                  NO
    DC1394 2.x:                  YES (ver 2.2.5)
    FFMPEG:                      YES
     avcodec:                   YES (ver 57.107.100)
     avformat:                  YES (ver 57.83.100)
     avutil:                    YES (ver 55.78.100)
     swscale:                   YES (ver 4.8.100)
     avresample:                YES (ver 3.7.0)

    FFMPEG build with x264 support :

    ffmpeg -version
    ffmpeg version N-96891-g60b1f85 Copyright (c) 2000-2020 the FFmpeg developers
    built with gcc 7 (Ubuntu 7.4.0-1ubuntu1~18.04.1)
    configuration: --prefix=/home/user/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/home/user/ffmpeg_build/include --extra-ldflags=-L/home/user/ffmpeg_build/lib --extra-libs='-lpthread -lm' --bindir=/home/user/bin --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-nonfree
    libavutil      56. 42.100 / 56. 42.100
    libavcodec     58. 73.102 / 58. 73.102
    libavformat    58. 39.101 / 58. 39.101
    libavdevice    58.  9.103 / 58.  9.103
    libavfilter     7. 77.100 /  7. 77.100
    libswscale      5.  6.100 /  5.  6.100
    libswresample   3.  6.100 /  3.  6.100
    libpostproc    55.  6.100 / 55.  6.100

    FFMPEG x264 simple conversion test is working :

    ffmpeg -i in.mp4 -vcodec libx264 -f mp4 out.mp4y
    ffmpeg version N-96891-g60b1f85 Copyright (c) 2000-2020 the FFmpeg developers
    built with gcc 7 (Ubuntu 7.4.0-1ubuntu1~18.04.1)
    configuration: --prefix=/home/user/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/home/user/ffmpeg_build/include --extra-ldflags=-L/home/user/ffmpeg_build/lib --extra-libs='-lpthread -lm' --bindir=/home/user/bin --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-nonfree
    libavutil      56. 42.100 / 56. 42.100
    libavcodec     58. 73.102 / 58. 73.102
    libavformat    58. 39.101 / 58. 39.101
    libavdevice    58.  9.103 / 58.  9.103
    libavfilter     7. 77.100 /  7. 77.100
    libswscale      5.  6.100 /  5.  6.100
    libswresample   3.  6.100 /  3.  6.100
    libpostproc    55.  6.100 / 55.  6.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'in.mp4':
    Metadata:
      major_brand     : isom
      minor_version   : 512
      compatible_brands: isomiso2avc1mp41
      encoder         : Lavf57.83.100
    Duration: 00:00:10.00, start: 0.000000, bitrate: 3826 kb/s
    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x960, 3825 kb/s, 10 fps, 10 tbr, 10240 tbn, 20 tbc (default)
    Metadata:
     handler_name    : VideoHandler
    File 'out.mp4y' already exists. Overwrite? [y/N] y
    Stream mapping:
     Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
  • Why is the filesize different when swapping audio tracks using ffmeg ?

    20 août 2021, par Brian

    I have a movie that I have encoded using Handbrake on a Mac a long time ago. When I encoded the movie, I put the stereo audio as track 1 and the 5.1 audio as track 2. The starting filesize is 853,320,914 bytes. Below is the data from ffprobe.

    


    ffprobe version 4.2.1-tessus  https://evermeet.cx/ffmpeg/  Copyright (c) 2007-2019 the FFmpeg developers
  built with Apple LLVM version 10.0.1 (clang-1001.0.46.4)
  configuration: --cc=/usr/bin/clang --prefix=/opt/ffmpeg --extra-version=tessus --enable-avisynth --enable-fontconfig --enable-gpl --enable-libaom --enable-libass --enable-libbluray --enable-libdav1d --enable-libfreetype --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libmysofa --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvmaf --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-version3 --pkg-config-flags=--static --disable-ffplay
  libavutil      56. 31.100 / 56. 31.100
  libavcodec     58. 54.100 / 58. 54.100
  libavformat    58. 29.100 / 58. 29.100
  libavdevice    58.  8.100 / 58.  8.100
  libavfilter     7. 57.100 /  7. 57.100
  libswscale      5.  5.100 /  5.  5.100
  libswresample   3.  5.100 /  3.  5.100
  libpostproc    55.  5.100 / 55.  5.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Annabelle - Comes Home (2019).m4v':
  Metadata:
    major_brand     : mp42
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    creation_time   : 2020-04-06T22:40:36.000000Z
    encoder         : HandBrake 1.1.2 2018090500
  Duration: 01:46:04.86, start: 0.000000, bitrate: 1072 kb/s
    Chapter #0:0: start 0.000000, end 476.986000
    Metadata:
      title           : Chapter 1
    Chapter #0:1: start 476.986000, end 933.608000
    Metadata:
      title           : Chapter 2
    Chapter #0:2: start 933.608000, end 1441.449000
    Metadata:
      title           : Chapter 3
    Chapter #0:3: start 1441.449000, end 1976.358000
    Metadata:
      title           : Chapter 4
    Chapter #0:4: start 1976.358000, end 2579.753000
    Metadata:
      title           : Chapter 5
    Chapter #0:5: start 2579.753000, end 3149.030000
    Metadata:
      title           : Chapter 6
    Chapter #0:6: start 3149.030000, end 3726.941000
    Metadata:
      title           : Chapter 7
    Chapter #0:7: start 3726.941000, end 3973.520000
    Metadata:
      title           : Chapter 8
    Chapter #0:8: start 3973.520000, end 4504.676000
    Metadata:
      title           : Chapter 9
    Chapter #0:9: start 4504.676000, end 4904.409000
    Metadata:
      title           : Chapter 10
    Chapter #0:10: start 4904.409000, end 5421.592000
    Metadata:
      title           : Chapter 11
    Chapter #0:11: start 5421.592000, end 5998.001000
    Metadata:
      title           : Chapter 12
    Chapter #0:12: start 5998.001000, end 6364.075000
    Metadata:
      title           : Chapter 13
    Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p(tv, smpte170m/smpte170m/bt709), 720x360 [SAR 32:27 DAR 64:27], 519 kb/s, 23.98 fps, 23.98 tbr, 90k tbn, 180k tbc (default)
    Metadata:
      creation_time   : 2020-04-06T22:40:36.000000Z
      handler_name    : VideoHandler
    Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 162 kb/s (default)
    Metadata:
      creation_time   : 2020-04-06T22:40:36.000000Z
      handler_name    : Stereo
    Stream #0:2(eng): Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz, 5.1(side), fltp, 384 kb/s
    Metadata:
      creation_time   : 2020-04-06T22:40:36.000000Z
      handler_name    : Surround
    Side data:
      audio service type: main
    Stream #0:3(eng): Data: bin_data (text / 0x74786574)
    Metadata:
      creation_time   : 2020-04-06T22:40:36.000000Z
      handler_name    : SubtitleHandler
Unsupported codec with id 100359 for input stream 3


    


    My goal is to swap the stereo audio track with the 5.1 audio track and make the 5.1 audio track the default without having to reencode. To do this, I used the following command :

    


    ffmpeg -i "Annabelle - Comes Home (2019)/Annabelle - Comes Home (2019)_old.m4v" -map 0:v:0 -map 0:a:1 -map 0:a:0 -disposition:a:0 default -disposition:a:1 none -c copy "Annabelle - Comes Home (2019)/Annabelle - Comes Home (2019).m4v"

    


    Everything works as it should, I think anyways as I didn't get any errors...

    


    ffmpeg version 4.2.1-tessus  https://evermeet.cx/ffmpeg/  Copyright (c) 2000-2019 the FFmpeg developers
  built with Apple LLVM version 10.0.1 (clang-1001.0.46.4)
  configuration: --cc=/usr/bin/clang --prefix=/opt/ffmpeg --extra-version=tessus --enable-avisynth --enable-fontconfig --enable-gpl --enable-libaom --enable-libass --enable-libbluray --enable-libdav1d --enable-libfreetype --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libmysofa --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvmaf --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-version3 --pkg-config-flags=--static --disable-ffplay
  libavutil      56. 31.100 / 56. 31.100
  libavcodec     58. 54.100 / 58. 54.100
  libavformat    58. 29.100 / 58. 29.100
  libavdevice    58.  8.100 / 58.  8.100
  libavfilter     7. 57.100 /  7. 57.100
  libswscale      5.  5.100 /  5.  5.100
  libswresample   3.  5.100 /  3.  5.100
  libpostproc    55.  5.100 / 55.  5.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Annabelle - Comes Home (2019)/Annabelle - Comes Home (2019)_old.m4v':
  Metadata:
    major_brand     : mp42
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    creation_time   : 2020-04-06T22:40:36.000000Z
    encoder         : HandBrake 1.1.2 2018090500
  Duration: 01:46:04.86, start: 0.000000, bitrate: 1072 kb/s
    Chapter #0:0: start 0.000000, end 476.986000
    Metadata:
      title           : Chapter 1
    Chapter #0:1: start 476.986000, end 933.608000
    Metadata:
      title           : Chapter 2
    Chapter #0:2: start 933.608000, end 1441.449000
    Metadata:
      title           : Chapter 3
    Chapter #0:3: start 1441.449000, end 1976.358000
    Metadata:
      title           : Chapter 4
    Chapter #0:4: start 1976.358000, end 2579.753000
    Metadata:
      title           : Chapter 5
    Chapter #0:5: start 2579.753000, end 3149.030000
    Metadata:
      title           : Chapter 6
    Chapter #0:6: start 3149.030000, end 3726.941000
    Metadata:
      title           : Chapter 7
    Chapter #0:7: start 3726.941000, end 3973.520000
    Metadata:
      title           : Chapter 8
    Chapter #0:8: start 3973.520000, end 4504.676000
    Metadata:
      title           : Chapter 9
    Chapter #0:9: start 4504.676000, end 4904.409000
    Metadata:
      title           : Chapter 10
    Chapter #0:10: start 4904.409000, end 5421.592000
    Metadata:
      title           : Chapter 11
    Chapter #0:11: start 5421.592000, end 5998.001000
    Metadata:
      title           : Chapter 12
    Chapter #0:12: start 5998.001000, end 6364.075000
    Metadata:
      title           : Chapter 13
    Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p(tv, smpte170m/smpte170m/bt709), 720x360 [SAR 32:27 DAR 64:27], 519 kb/s, 23.98 fps, 23.98 tbr, 90k tbn, 180k tbc (default)
    Metadata:
      creation_time   : 2020-04-06T22:40:36.000000Z
      handler_name    : VideoHandler
    Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 162 kb/s (default)
    Metadata:
      creation_time   : 2020-04-06T22:40:36.000000Z
      handler_name    : Stereo
    Stream #0:2(eng): Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz, 5.1(side), fltp, 384 kb/s
    Metadata:
      creation_time   : 2020-04-06T22:40:36.000000Z
      handler_name    : Surround
    Side data:
      audio service type: main
    Stream #0:3(eng): Data: bin_data (text / 0x74786574)
    Metadata:
      creation_time   : 2020-04-06T22:40:36.000000Z
      handler_name    : SubtitleHandler
[ipod @ 0x7faff0014000] track 1: codec frame size is not set
Output #0, ipod, to 'Annabelle - Comes Home (2019)/Annabelle - Comes Home (2019).m4v':
  Metadata:
    major_brand     : mp42
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf58.29.100
    Chapter #0:0: start 0.000000, end 476.986000
    Metadata:
      title           : Chapter 1
    Chapter #0:1: start 476.986000, end 933.608000
    Metadata:
      title           : Chapter 2
    Chapter #0:2: start 933.608000, end 1441.449000
    Metadata:
      title           : Chapter 3
    Chapter #0:3: start 1441.449000, end 1976.358000
    Metadata:
      title           : Chapter 4
    Chapter #0:4: start 1976.358000, end 2579.753000
    Metadata:
      title           : Chapter 5
    Chapter #0:5: start 2579.753000, end 3149.030000
    Metadata:
      title           : Chapter 6
    Chapter #0:6: start 3149.030000, end 3726.941000
    Metadata:
      title           : Chapter 7
    Chapter #0:7: start 3726.941000, end 3973.520000
    Metadata:
      title           : Chapter 8
    Chapter #0:8: start 3973.520000, end 4504.676000
    Metadata:
      title           : Chapter 9
    Chapter #0:9: start 4504.676000, end 4904.409000
    Metadata:
      title           : Chapter 10
    Chapter #0:10: start 4904.409000, end 5421.592000
    Metadata:
      title           : Chapter 11
    Chapter #0:11: start 5421.592000, end 5998.001000
    Metadata:
      title           : Chapter 12
    Chapter #0:12: start 5998.001000, end 6364.075000
    Metadata:
      title           : Chapter 13
    Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p(tv, smpte170m/smpte170m/bt709), 720x360 [SAR 32:27 DAR 64:27], q=2-31, 519 kb/s, 23.98 fps, 23.98 tbr, 90k tbn, 90k tbc (default)
    Metadata:
      creation_time   : 2020-04-06T22:40:36.000000Z
      handler_name    : VideoHandler
    Stream #0:1(eng): Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz, 5.1(side), fltp, 384 kb/s (default)
    Metadata:
      creation_time   : 2020-04-06T22:40:36.000000Z
      handler_name    : Surround
    Side data:
      audio service type: main
    Stream #0:2(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 162 kb/s
    Metadata:
      creation_time   : 2020-04-06T22:40:36.000000Z
      handler_name    : Stereo
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:2 -> #0:1 (copy)
  Stream #0:1 -> #0:2 (copy)
Press [q] to stop, [?] for help
frame=152602 fps=12872 q=-1.0 Lsize=  834270kB time=01:46:04.79 bitrate=1073.8kbits/s speed= 537x    
video:403702kB audio:424714kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.706676%


    


    Here is the resulting ffprobe of the new file showing it swapped the audio tracks :

    


    ffprobe version 4.2.1-tessus  https://evermeet.cx/ffmpeg/  Copyright (c) 2007-2019 the FFmpeg developers
  built with Apple LLVM version 10.0.1 (clang-1001.0.46.4)
  configuration: --cc=/usr/bin/clang --prefix=/opt/ffmpeg --extra-version=tessus --enable-avisynth --enable-fontconfig --enable-gpl --enable-libaom --enable-libass --enable-libbluray --enable-libdav1d --enable-libfreetype --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libmysofa --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvmaf --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-version3 --pkg-config-flags=--static --disable-ffplay
  libavutil      56. 31.100 / 56. 31.100
  libavcodec     58. 54.100 / 58. 54.100
  libavformat    58. 29.100 / 58. 29.100
  libavdevice    58.  8.100 / 58.  8.100
  libavfilter     7. 57.100 /  7. 57.100
  libswscale      5.  5.100 /  5.  5.100
  libswresample   3.  5.100 /  3.  5.100
  libpostproc    55.  5.100 / 55.  5.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Annabelle - Comes Home (2019).m4v':
  Metadata:
    major_brand     : M4V 
    minor_version   : 512
    compatible_brands: isomiso2avc1
    encoder         : Lavf58.29.100
  Duration: 01:46:04.86, start: 0.000000, bitrate: 1073 kb/s
    Chapter #0:0: start 0.000000, end 476.986000
    Metadata:
      title           : Chapter 1
    Chapter #0:1: start 476.986000, end 933.608000
    Metadata:
      title           : Chapter 2
    Chapter #0:2: start 933.608000, end 1441.449000
    Metadata:
      title           : Chapter 3
    Chapter #0:3: start 1441.449000, end 1976.358000
    Metadata:
      title           : Chapter 4
    Chapter #0:4: start 1976.358000, end 2579.753000
    Metadata:
      title           : Chapter 5
    Chapter #0:5: start 2579.753000, end 3149.030000
    Metadata:
      title           : Chapter 6
    Chapter #0:6: start 3149.030000, end 3726.941000
    Metadata:
      title           : Chapter 7
    Chapter #0:7: start 3726.941000, end 3973.520000
    Metadata:
      title           : Chapter 8
    Chapter #0:8: start 3973.520000, end 4504.676000
    Metadata:
      title           : Chapter 9
    Chapter #0:9: start 4504.676000, end 4904.409000
    Metadata:
      title           : Chapter 10
    Chapter #0:10: start 4904.409000, end 5421.592000
    Metadata:
      title           : Chapter 11
    Chapter #0:11: start 5421.592000, end 5998.001000
    Metadata:
      title           : Chapter 12
    Chapter #0:12: start 5998.001000, end 6364.075000
    Metadata:
      title           : Chapter 13
    Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p(tv, smpte170m/smpte170m/bt709), 720x360 [SAR 32:27 DAR 64:27], 519 kb/s, 23.98 fps, 23.98 tbr, 90k tbn, 180k tbc (default)
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(eng): Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz, 5.1(side), fltp, 384 kb/s (default)
    Metadata:
      handler_name    : Surround
    Side data:
      audio service type: main
    Stream #0:2(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 162 kb/s
    Metadata:
      handler_name    : Stereo
    Stream #0:3(eng): Data: bin_data (text / 0x74786574)
    Metadata:
      handler_name    : SubtitleHandler
Unsupported codec with id 100359 for input stream 3


    


    What I don't understand is why is the file size different ? The resulting file is larger at 854,292,790 bytes. Shouldn't the file sizes be the same since I literally just swapped tracks 0 and 1 ?