15.09.2021, 16:25 
		
	
	
		What happens if your call:
In the debug output I see:
Do you see more info if you call the call inside a terminal?
I don't really see a reason why ffmpeg should have problems with the ac3 audio stream...
-> Sill to some testing tomorrow when I'm back home.
Cu Selur
	
	
/Applications/Hybrid.app/Contents/MacOS/ffmpeg" -y  -r 24000/1001 -i "/Users/Laurent/Movies/Hybrid/_2021-09-14@22_58_02_4210__07.mkv" -i "/Volumes/Racines/cgs/cgs3_0.srt" -i "/Users/Laurent/Movies/Hybrid/iId_1_aid_4352_2021-09-14@22_58_02_4210_04.ac3" -vcodec copy -scodec copy -acodec copy -metadata encoding_tool="Hybrid 2021.09.08.1" -map 0:0 -map 1:0 -map 2:0  -aspect 32:18 -r 24000/1001 -fflags +genpts -f mpegts "/Volumes/Racines/cgs/cgs3.m2ts"In the debug output I see:
ffmpeg version N-102973-gcdbf2fc3e4-tessus  https://evermeet.cx/ffmpeg/  Copyright (c) 2000-2021 the FFmpeg developers
  built with Apple clang version 11.0.0 (clang-1100.0.33.17)
  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-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-version3 --pkg-config-flags=--static --disable-ffplay
  libavutil      57.  0.100 / 57.  0.100
  libavcodec     59.  3.101 / 59.  3.101
  libavformat    59.  4.100 / 59.  4.100
  libavdevice    59.  0.100 / 59.  0.100
  libavfilter     8.  0.103 /  8.  0.103
  libswscale      6.  0.100 /  6.  0.100
  libswresample   4.  0.100 /  4.  0.100
  libpostproc    56.  0.100 / 56.  0.100
Input #0, matroska,webm, from '/Users/Laurent/Movies/Hybrid/_2021-09-14@22_58_02_4210__07.mkv':
  Metadata:
    encoder         : libebml v1.4.1 + libmatroska v1.6.2
    creation_time   : 2021-09-14T22:03:18.000000Z
  Duration: 01:49:06.96, start: 0.000000, bitrate: 19994 kb/s
Stream #0:0: Video: h264 (High), yuv420p(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn (default) (forced)
    Metadata:
      BPS-eng         : 19993033
      DURATION-eng    : 01:49:06.957000000
      NUMBER_OF_FRAMES-eng: 156970
      NUMBER_OF_BYTES-eng: 16361691408
      _STATISTICS_WRITING_APP-eng: mkvmerge v53.0.0 ('Fool's Gold') 64-bit
      _STATISTICS_WRITING_DATE_UTC-eng: 2021-09-14 22:03:18
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Input #1, srt, from '/Volumes/Racines/cgs/cgs3_0.srt':
  Duration: N/A, bitrate: N/A
  Stream #1:0: Subtitle: subrip
[ac3 @ 0x7fa41a424880] Format ac3 detected only with low score of 1, misdetection possible!
[ac3 @ 0x7fa41a424880] Estimating duration from bitrate, this may be inaccurate
Input #2, ac3, from '/Users/Laurent/Movies/Hybrid/iId_1_aid_4352_2021-09-14@22_58_02_4210_04.ac3':
  Duration: 08:36:45.16, start: 0.000000, bitrate: 640 kb/s
  Stream #2:0: Audio: ac3, 48000 Hz, 5.1(side), fltp, 640 kb/s
Overriding aspect ratio with stream copy may produce invalid files
[mpegts @ 0x7fa41a62e540] Cannot automatically assign PID for stream 1
Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument
Error initializing output stream 0:2 -- 
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #1:0 -> #0:1 (copy)
  Stream #2:0 -> #0:2 (copy)
Last message repeated 1 timesI don't really see a reason why ffmpeg should have problems with the ac3 audio stream...
-> Sill to some testing tomorrow when I'm back home.
Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
	
	
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.


 )