This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

[BUG] m2ts was not created
#11
What happens if your call:
/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 times
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
Reply


Messages In This Thread
m2ts was not created - by LaurentS - 14.09.2021, 20:52
RE: m2ts was not created - by Selur - 14.09.2021, 21:04
RE: m2ts was not created - by LaurentS - 14.09.2021, 21:51
RE: m2ts was not created - by shijan - 14.09.2021, 21:36
RE: m2ts was not created - by LaurentS - 14.09.2021, 22:17
RE: m2ts was not created - by shijan - 14.09.2021, 22:15
RE: m2ts was not created - by shijan - 14.09.2021, 22:21
RE: m2ts was not created - by LaurentS - 14.09.2021, 22:31
RE: m2ts was not created - by Selur - 15.09.2021, 06:58
RE: m2ts was not created - by LaurentS - 15.09.2021, 13:05
RE: m2ts was not created - by Selur - 15.09.2021, 16:25
RE: m2ts was not created - by Selur - 15.09.2021, 17:35
RE: m2ts was not created - by Selur - 15.09.2021, 21:44
RE: m2ts was not created - by LaurentS - 15.09.2021, 21:58
RE: m2ts was not created - by LaurentS - 15.09.2021, 23:03
RE: m2ts was not created - by shijan - 15.09.2021, 23:20
RE: m2ts was not created - by LaurentS - 15.09.2021, 23:23
RE: m2ts was not created - by Selur - 16.09.2021, 10:36
RE: m2ts was not created - by LaurentS - 16.09.2021, 14:19
RE: m2ts was not created - by Selur - 16.09.2021, 14:23
RE: m2ts was not created - by LaurentS - 16.09.2021, 15:22
RE: m2ts was not created - by shijan - 16.09.2021, 14:29
RE: m2ts was not created - by LaurentS - 16.09.2021, 15:28
RE: m2ts was not created - by Selur - 16.09.2021, 15:24
RE: m2ts was not created - by LaurentS - 16.09.2021, 16:21
RE: m2ts was not created - by Selur - 16.09.2021, 15:32
RE: m2ts was not created - by Selur - 16.09.2021, 15:36
RE: m2ts was not created - by LaurentS - 16.09.2021, 16:27
RE: m2ts was not created - by Selur - 16.09.2021, 16:26
RE: m2ts was not created - by Selur - 16.09.2021, 16:34
RE: m2ts was not created - by shijan - 16.09.2021, 17:18
RE: m2ts was not created - by Selur - 16.09.2021, 17:21
RE: m2ts was not created - by LaurentS - 17.09.2021, 19:48
RE: m2ts was not created - by Selur - 17.09.2021, 20:00
RE: m2ts was not created - by LaurentS - 18.09.2021, 11:39
RE: m2ts was not created - by LaurentS - 18.09.2021, 11:57
RE: m2ts was not created - by shijan - 17.09.2021, 20:36
RE: m2ts was not created - by Selur - 17.09.2021, 20:46
RE: m2ts was not created - by Selur - 17.09.2021, 22:51
RE: m2ts was not created - by Selur - 18.09.2021, 11:44
RE: m2ts was not created - by Selur - 18.09.2021, 12:00
RE: m2ts was not created - by Selur - 19.09.2021, 10:19
RE: m2ts was not created - by LaurentS - 19.09.2021, 22:51
RE: m2ts was not created - by shijan - 19.09.2021, 17:41
RE: m2ts was not created - by Selur - 19.09.2021, 17:48
RE: m2ts was not created - by shijan - 19.09.2021, 17:57
RE: m2ts was not created - by Selur - 19.09.2021, 17:59
RE: m2ts was not created - by shijan - 19.09.2021, 21:05
RE: m2ts was not created - by shijan - 19.09.2021, 23:37
RE: m2ts was not created - by LaurentS - 20.09.2021, 20:21
RE: m2ts was not created - by Selur - 21.09.2021, 05:07
RE: m2ts was not created - by LaurentS - 23.09.2021, 21:17

Forum Jump:


Users browsing this thread: 1 Guest(s)