
Recherche avancée
Autres articles (79)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)
Sur d’autres sites (12186)
-
ffmpeg can't access to usb webcam from python subprocess.Popen in windows
29 avril 2021, par TomezIf I run the following ffmpeg command from windows cmd it works


ffmpeg -f dshow -i video="USB Video Device" -s 1280x720 -f rawvideo -pix_fmt rgb24 pipe:



I then tried to execute the same in python

Python 3.7.4 (tags/v3.7.4:e09359112e, Jul 8 2019, 20:34:20) [MSC v.1916 64 bit (AMD64)] on win32

args = [
 'ffmpeg', '-f', 'dshow', '-i', 'video=USB Video Device', '-s', '1280x720',
 '-f', 'rawvideo', '-pix_fmt','rgb24', 'pipe:'
]
ffmpeg_proc = subprocess.Popen(args, stdout=subprocess.PIPE)



but I get this error


D:\Projects\Applications\VideoCapture\Virtualenv\Scripts\python.exe D:/Projects/Applications/VideoCapture/Sources/Application/video_capture.py "USB Video Device" 1280 720
ffmpeg version 4.4-full_build-www.gyan.dev Copyright (c) 2000-2021 the FFmpeg developers
 built with gcc 10.2.0 (Rev6, Built by MSYS2 project)
 configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libdav1d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libglslang --enable-vulkan --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint
 libavutil 56. 70.100 / 56. 70.100
 libavcodec 58.134.100 / 58.134.100
 libavformat 58. 76.100 / 58. 76.100
 libavdevice 58. 13.100 / 58. 13.100
 libavfilter 7.110.100 / 7.110.100
 libswscale 5. 9.100 / 5. 9.100
 libswresample 3. 9.100 / 3. 9.100
 libpostproc 55. 9.100 / 55. 9.100
Input #0, dshow, from 'video=USB Video Device':
 Duration: N/A, bitrate: N/A
 Stream #0:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 640x480, 30 fps, 30 tbr, 10000k tbn, 10000k tbc
Stream mapping:
 Stream #0:0 -> #0:0 (rawvideo (native) -> rawvideo (native))
Press [q] to stop, [?] for help
video=USB Video Device: I/O error
Output #0, rawvideo, to 'pipe:':
 Metadata:
 encoder : Lavf58.76.100
 Stream #0:0: Video: rawvideo (RGB[24] / 0x18424752), rgb24, 1280x720, q=2-31, 663552 kb/s, 30 fps, 30 tbn
 Metadata:
 encoder : Lavc58.134.100 rawvideo
frame= 0 fps=0.0 q=0.0 Lsize= 0kB time=00:00:00.00 bitrate=N/A speed= 0x 
video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
Output file is empty, nothing was encoded (check -ss / -t / -frames parameters if used)



The inportant row is USB Video Device : I/O error

I've tried also to add shell=True to the Popen but with the same result.

Doing some tests I found that using pycharm debug mode or simply lunching the same code inside "Pycharm Python Console" no more I/O error and all seems to work. I think something changes in the environment created for the subrocess but I wasn't able to understand what PyCharm is doing under the hood.


Here the output inside PyCharm Python Console


D:\Projects\Applications\VideoCapture\Virtualenv\Scripts\python.exe "C:\Program Files\JetBrains\PyCharm Community Edition 2019.1.1\plugins\python-ce\helpers\pydev\pydevconsole.py" --mode=client --port=65058
import sys; print('Python %s on %s' % (sys.version, sys.platform))
sys.path.extend(['D:\\Projects\\Applications\\VideoCapture', 'D:\\Projects\\Applications\\VideoCapture\\Sources\\Application', 'D:\\Projects\\Applications\\VideoCapture\\Sources\\Compiler', 'D:/Projects/Applications/VideoCapture'])
PyDev console: starting.
Python 3.7.4 (tags/v3.7.4:e09359112e, Jul 8 2019, 20:34:20) [MSC v.1916 64 bit (AMD64)] on win32
runfile('D:/Projects/Applications/VideoCapture/Sources/Application/video_capture.py', args=['USB Video Device', '1280', '720'], wdir='D:/Projects/Applications/VideoCapture/Sources/Application')
ffmpeg version 4.4-full_build-www.gyan.dev Copyright (c) 2000-2021 the FFmpeg developers
 built with gcc 10.2.0 (Rev6, Built by MSYS2 project)
 configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libdav1d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libglslang --enable-vulkan --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint
 libavutil 56. 70.100 / 56. 70.100
 libavcodec 58.134.100 / 58.134.100
 libavformat 58. 76.100 / 58. 76.100
 libavdevice 58. 13.100 / 58. 13.100
 libavfilter 7.110.100 / 7.110.100
 libswscale 5. 9.100 / 5. 9.100
 libswresample 3. 9.100 / 3. 9.100
 libpostproc 55. 9.100 / 55. 9.100
Input #0, dshow, from 'video=USB Video Device':
 Duration: N/A, start: 111984.462000, bitrate: N/A
 Stream #0:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 640x480, 30 fps, 30 tbr, 10000k tbn, 10000k tbc
Stream mapping:
 Stream #0:0 -> #0:0 (rawvideo (native) -> rawvideo (native))
Press [q] to stop, [?] for help
Output #0, rawvideo, to 'pipe:':
 Metadata:
 encoder : Lavf58.76.100
 Stream #0:0: Video: rawvideo (RGB[24] / 0x18424752), rgb24(pc, progressive), 1280x720, q=2-31, 663552 kb/s, 30 fps, 30 tbn
 Metadata:
 encoder : Lavc58.134.100 rawvideo
av_interleaved_write_frame(): Invalid argument
 Last message repeated 1 times
Error writing trailer of pipe:: Invalid argument
frame= 118 fps= 30 q=-0.0 Lsize= 313200kB time=00:00:03.93 bitrate=652306.1kbits/s dup=53 drop=0 speed= 1x



Does anyone now how to fix this problem or have any knowledge on how PyCharm Python Console works ?


-
Anomalie #4832 (Nouveau) : Passer les bulles de gifs animées sur les syndications en erreur en SVG...
23 juin 2021Il reste des gifs pas très jojo sur le plugin.
À remplacer par https://www.florin-pop.com/blog/2019/03/css-pulse-effect/ par exemple. -
Why is the filesize different when swapping audio tracks using ffmeg ?
20 août 2021, par BrianI 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 ?