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.

[GUIDE] Muxing Crash
#1
My last three jobs have all crashed due to a Muxing Crash. Any suggestions?
Reply
#2
"C:\Program Files\Hybrid\64bit\ffmpeg.exe" -y  -r 24000/1001 -i "M:\Tanya-TEMP\Samtani archive-DVDrip_1_2024-05-08@16_36_24_9310_03.mov" -i "M:\Tanya-TEMP\iId_1_aid_0_lang_en_2024-05-08@16_36_24_9310_01.wav" -i "M:\Tanya-TEMP\2024-05-08@16_36_24_9310__05.chp" -map_chapters 2 -metadata encoding_tool="Hybrid 2024.05.07.1" -c:v copy -c:1 copy -map 0:0  -map 1:0  -aspect 1920:1080 -r 24000/1001 -f mov "M:\Tanya-OUT\Samtani archive-DVDrip.mov"
crashes with:
ffmpeg version N-115043-g57f421050d-ge757726e89+2 Copyright (c) 2000-2024 the FFmpeg developers
  built with gcc 13.2.0 (Rev6, Built by MSYS2 project)
  configuration:  --pkg-config=pkgconf --cc='ccache gcc' --cxx='ccache g++' --ld='ccache g++' --extra-cxxflags=-fpermissive --extra-cflags=-Wno-int-conversion --extra-ldflags='-Wl,--allow-multiple-definition' --disable-autodetect --enable-amf --enable-bzlib --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-iconv --enable-lzma --enable-nvenc --enable-zlib --enable-sdl2 --enable-ffnvcodec --enable-nvdec --enable-cuda-llvm --disable-doc --enable-gmp --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libdav1d --enable-libaom --disable-debug --enable-fontconfig --enable-libass --enable-libbluray --enable-libfreetype --enable-libmfx --enable-libmysofa --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libwebp --enable-libxml2 --enable-libzimg --enable-libshine --enable-gpl --enable-avisynth --enable-libxvid --enable-libopenmpt --enable-version3 --enable-librav1e --enable-libsrt --enable-libgsm --enable-libvmaf --enable-libsvtav1 --enable-gnutls --extra-cflags=-DLIBTWOLAME_STATIC --extra-cflags=-DLIBXML_STATIC --extra-libs=-liconv --disable-w32threads
  libavutil      59. 16.101 / 59. 16.101
  libavcodec     61.  5.103 / 61.  5.103
  libavformat    61.  3.103 / 61.  3.103
  libavdevice    61.  2.100 / 61.  2.100
  libavfilter    10.  2.101 / 10.  2.101
  libswscale      8.  2.100 /  8.  2.100
  libswresample   5.  2.100 /  5.  2.100
  libpostproc    58.  2.100 / 58.  2.100

Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'M:\Tanya-TEMP\Samtani archive-DVDrip_1_2024-05-08@16_36_24_9310_03.mov':
  Metadata:
    major_brand     : qt  
    minor_version   : 512
    compatible_brands: qt  
    encoder         : Lavf61.3.103
  Duration: 00:11:58.72, start: 0.000000, bitrate: 109266 kb/s
  Stream #0:0[0x1]: Video: prores (Standard) (apcn / 0x6E637061), yuv422p10le(bt470bg/bt470m/bt709, progressive), 1920x1080, 109264 kb/s, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 24k tbn (default)
      Metadata:
        handler_name    : VideoHandler
        vendor_id       : FFMP
        encoder         : Lavc61.5.103 prores_ks

[aist#1:0/pcm_s16le @ 00000177c95a8cc0] Guessed Channel Layout: stereo
Input #1, wav, from 'M:\Tanya-TEMP\iId_1_aid_0_lang_en_2024-05-08@16_36_24_9310_01.wav':
  Metadata:
    encoder         : Lavf61.3.103
  Duration: 00:11:58.72, bitrate: 1536 kb/s
  Stream #1:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, stereo, s16, 1536 kb/s

[ffmetadata @ 00000177c97e9f40] Chapter end time 718000 before start 718217
[in#2 @ 00000177c95a8f80] Error opening input: Cannot allocate memory
Error opening input file M:\Tanya-TEMP\2024-05-08@16_36_24_9310__05.chp.
Error opening input files: Cannot allocate memory

"Chapter end time 718000 before start 718217" Seems to indicate a problem with the chapter file.
Looking at the chapter file it contains:
FFMETADATA1
[CHAPTER]
TIMEBASE=1/1000
START=0
END=47546
title=Chapter 01
[CHAPTER]
TIMEBASE=1/1000
START=47547
END=334333
title=Chapter 02
[CHAPTER]
TIMEBASE=1/1000
START=334334
END=483482
title=Chapter 03
[CHAPTER]
TIMEBASE=1/1000
START=483483
END=623622
title=Chapter 04
[CHAPTER]
TIMEBASE=1/1000
START=623623
END=718216
title=Chapter 05
[CHAPTER]
TIMEBASE=1/1000
START=718217
END=718000
title=Chapter 06

The chapter Info Hybrid created this from was:
Source_1 :*: 00:00:00.000 :*: Chapter 01 :*: M:\BrianNewCaptures-IN\Samtani archive-DVDrip.mov
  Source_1 :*: 00:00:47.547 :*: Chapter 02 :*: M:\BrianNewCaptures-IN\Samtani archive-DVDrip.mov
  Source_1 :*: 00:05:34.334 :*: Chapter 03 :*: M:\BrianNewCaptures-IN\Samtani archive-DVDrip.mov
  Source_1 :*: 00:08:03.483 :*: Chapter 04 :*: M:\BrianNewCaptures-IN\Samtani archive-DVDrip.mov
  Source_1 :*: 00:10:23.623 :*: Chapter 05 :*: M:\BrianNewCaptures-IN\Samtani archive-DVDrip.mov
  Source_1 :*: 00:11:58.217 :*: Chapter 06 :*: M:\BrianNewCaptures-IN\Samtani archive-DVDrip.mov
The problem seems to be that the last chapter is so near to the expected end of the clip that 'END' gets the wrong value.
MediaInfo reports for the
  • container: 11 min 58 s 720 ms
  • video stream: 11 min 58 s 718 ms
  • frame count: 21540
for the input.
And Chapters at:
00:00:00.000                             : Chapter 01
00:00:47.547                             : Chapter 02
00:05:34.334                             : Chapter 03
00:08:03.483                             : Chapter 04
00:10:23.623                             : Chapter 05
00:11:58.217                             : Chapter 06

Hybrid calculates for the output to be:
  • frame rate: 23.976fps
  • frame count: 17232
According to the output of the encoder 17232 frames were encoded.
So the duration should be:
Duration = 17232 frames / 23.976 fps ≈ 718.718 seconds
(so 11 minutes, 58 seconds, and 913 milliseconds)

Looking at the input again.
Duration = 21540 frames / 29.97 fps ≈ 718.718 seconds, 11 minutes, 58 seconds, and 718 milliseconds.
So that matches fine.
Seems like Hybrid somewhere calculates the length wrong to end with 718000 instead of 718718 ms.
=> looking into it

Cu Selur
------
offline 02.-07. July, https://www.rockharz-festival.com/ Big Grin
Reply
#3
I think it may also have something to do with running a new job and not clearing out the crashed incomplete jobs?
Reply
#4
It should not depend on whether you clear a job or not.
------
offline 02.-07. July, https://www.rockharz-festival.com/ Big Grin
Reply
#5
Send you a link to a dev version which might fix it.

Cu Selur
------
offline 02.-07. July, https://www.rockharz-festival.com/ Big Grin
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)