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.

.mkv exporting problems
#1
I attempted to do a job on a 60fps cropped and deinterlaced video with .mkv as the container but when I try to, it eventually crashes with the error code:

video crashed: Helper1, exitCode: -1073741819

When doing the same job using .avi as the container it works fine.

When I did the same job but with 50 fps or 25 fps, it did it successfully but there no sound even though I set the audio to "passthrough all".

Step-by-step procedure: Video is x264 with Audio set to "passthrough all". > Encoding mode is "constant rate factor (1-pass) with quantization factor set to 16 with AVC Profile/Level set to High and 4.2 > Picture is cropped 8 on both sides and resize to 9 - lanczos 1440 x 1178 via avisynth > deinterlaced via QTGMC (Avisynth) Fast with bob ticked (redundant if doing 60fps) > when attempting to do 60 fps I set the FPS adjust to "SalFps3" and 60 fps. Any other settings is left unaltered.

See debug report below: 60fps jobs on two separate occasions (2 weeks apart), 50 fps on two separate occasions (2 weeks apart) and 25 fps on one occasion also 2 weeks ago.
Reply
#2
video crashed: Helper1, exitCode: -1073741819
-> the decoder crashed, which usually happens if:
  • there is an issue with the script itself (unlikely since it encodes 5825 and 58232 frames before it crashes <- due to this I would suspect a memory issue)
  • Avisynth is running out of RAM (switching to 64bit Avisynth; change "Config->Internals->Avisynth->Avisynth type") might help.
  • There is a problem with the decoding of the source. Unlikely otherwise the others would crash too.
  • One of the filters has a memory leak. (QTGMC should be fine, so try whether using another frame interpolation method works)
  • Something is interfering with the decoding. (anti virus solution, problem accessing the file,..)
  • Some memory or other hardware issue.
-> you might want to update to 2022.03.20.1., try 64bit Avisynth and try other frame interpolation methods.



Cu Selur
Reply
#3
(23.03.2022, 05:14)Selur Wrote:
video crashed: Helper1, exitCode: -1073741819
-> the decoder crashed, which usually happens if:
  • there is an issue with the script itself (unlikely since it encodes 5825 and 58232 frames before it crashes <- due to this I would suspect a memory issue)
  • Avisynth is running out of RAM (switching to 64bit Avisynth; change "Config->Internals->Avisynth->Avisynth type") might help.
  • There is a problem with the decoding of the source. Unlikely otherwise the others would crash too.
  • One of the filters has a memory leak. (QTGMC should be fine, so try whether using another frame interpolation method works)
  • Something is interfering with the decoding. (anti virus solution, problem accessing the file,..)
  • Some memory or other hardware issue.
-> you might want to update to 2022.03.20.1., try 64bit Avisynth and try other frame interpolation methods.



Cu Selur

I updated Hybrid and tried doing it in Avisynth 64bit and I'm still having problems. Doing a 60fps job resulted in an error: 
C:\Users\xx\AppData\Local\Temp\2022-03-23@12_36_20_3010_03.264 is too small! (byteSize: 0byte)

Doing a 50fps job works but still no sound. I also did a 32-bit Avisynth 60fps job but resulted in the same Helper1, exitCode: -1073741819 error as before. What settings is the different frame interpolation are located?
Reply
#4
Quote:What settings is the different frame interpolation are located?
Avisynth: "Filtering->Avisynth->Frame->Interpolation->FPS adjust" offers SalFps3, InterFrame, MvToolsFPSmod, FrameRateConverter
Vapoursynth: "Filtering->Vapoursynth->Frame->Interpolation" offers Interframe/SVP, MVTools, RIFE, FrameRateConverter (, torchRIFE)

Quote:Doing a 50fps job works but still no sound.
Muxing call:
"C:\Program Files\Hybrid\64bit\mkvmerge.exe" --ui-language en -o "F:\VHS\2022-03-23@12_45_18_4010__05.mkv" --global-tags "C:\Users\kakeh\AppData\Local\Temp\mkvtags_2022-03-23@12_45_18_4010__05.xml" -d 0 --default-track 0:yes --default-duration "0:50/1fps" --aspect-ratio-factor 0:1/1 --fourcc 0:MP4V --no-chapters --compression -1:none --forced-track 0:yes --no-audio --no-subtitles "C:\Users\kakeh\AppData\Local\Temp\2022-03-23@12_45_18_4010_03.264" --default-track 0:yes --forced-track 0:no -a 0 --compression -1:none --no-video --no-subtitles --no-chapters "C:\Users\kakeh\AppData\Local\Temp\iId_1_aid_1_2022-03-23@12_45_18_4010_01.wav"
2022.03.23 - 12:54:56_Windows 11 Version 2009 (64bit)_2022.03.20.1 - level 9: tokenizeAndStart(1): "C:\Program Files\Hybrid\64bit\mkvmerge.exe" --ui-language en -o "F:\VHS\2022-03-23@12_45_18_4010__05.mkv" --global-tags "C:\Users\kakeh\AppData\Local\Temp\mkvtags_2022-03-23@12_45_18_4010__05.xml" -d 0 --default-track 0:yes --default-duration "0:50/1fps" --aspect-ratio-factor 0:1/1 --fourcc 0:MP4V --no-chapters --compression -1:none --forced-track 0:yes --no-audio --no-subtitles "C:\Users\kakeh\AppData\Local\Temp\2022-03-23@12_45_18_4010_03.264" --default-track 0:yes --forced-track 0:no -a 0 --compression -1:none --no-video --no-subtitles --no-chapters "C:\Users\kakeh\AppData\Local\Temp\iId_1_aid_1_2022-03-23@12_45_18_4010_01.wav"
seems fine and the mkvmerge output:
MkvMerge output: mkvmerge v66.0.0 ('Josie') 64-bit
MkvMerge output: 'C:\Users\kakeh\AppData\Local\Temp\2022-03-23@12_45_18_4010_03.264': Using the demultiplexer for the format 'AVC/H.264'.
MkvMerge output: 'C:\Users\kakeh\AppData\Local\Temp\iId_1_aid_1_2022-03-23@12_45_18_4010_01.wav': Using the demultiplexer for the format 'WAV'.
'C:\Users\kakeh\AppData\Local\Temp\2022-03-23@12_45_18_4010_03.264' track 0: Using the output module for the format 'AVC/H.264 (unframed)'.
'C:\Users\kakeh\AppData\Local\Temp\iId_1_aid_1_2022-03-23@12_45_18_4010_01.wav' track 0: Using the output module for the format 'PCM'.
MkvMerge output: The file 'F:\VHS\2022-03-23@12_45_18_4010__05.mkv' has been opened for writing.
MkvMerge output: Progress: 0%
MkvMerge output: Progress: 2%
MkvMerge output: Progress: 4%
MkvMerge output: Progress: 5%
MkvMerge output: Progress: 7%
MkvMerge output: Progress: 9%
MkvMerge output: Progress: 11%
MkvMerge output: Progress: 13%
MkvMerge output: Progress: 15%
MkvMerge output: Progress: 17%
MkvMerge output: Progress: 19%
MkvMerge output: Progress: 21%
MkvMerge output: Progress: 23%
MkvMerge output: Progress: 25%
MkvMerge output: Progress: 26%
MkvMerge output: Progress: 28%
MkvMerge output: Progress: 30%
MkvMerge output: Progress: 32%
MkvMerge output: Progress: 34%
MkvMerge output: Progress: 36%
MkvMerge output: Progress: 38%
MkvMerge output: Progress: 40%
MkvMerge output: Progress: 42%
MkvMerge output: Progress: 44%
MkvMerge output: Progress: 46%
MkvMerge output: Progress: 48%
MkvMerge output: Progress: 50%
MkvMerge output: Progress: 52%
MkvMerge output: Progress: 53%
MkvMerge output: Progress: 55%
MkvMerge output: Progress: 57%
MkvMerge output: Progress: 59%
MkvMerge output: Progress: 61%
MkvMerge output: Progress: 63%
MkvMerge output: Progress: 65%
MkvMerge output: Progress: 67%
MkvMerge output: Progress: 69%
MkvMerge output: Progress: 71%
MkvMerge output: Progress: 72%
MkvMerge output: Progress: 74%
MkvMerge output: Progress: 76%
MkvMerge output: Progress: 78%
MkvMerge output: Progress: 80%
MkvMerge output: Progress: 82%
MkvMerge output: Progress: 84%
MkvMerge output: Progress: 86%
MkvMerge output: Progress: 88%
MkvMerge output: Progress: 90%
MkvMerge output: Progress: 92%
MkvMerge output: Progress: 94%
MkvMerge output: Progress: 95%
MkvMerge output: Progress: 97%
MkvMerge output: Progress: 99%
MkvMerge output: Progress: 100%
The cue entries (the index) are being written...
MkvMerge output: Multiplexing took 35 seconds.
process finished with exitcode: 0 and exitStatus: 0
-> F:\VHS\2022-03-23@12_45_18_4010__05.mkv (1044.42 MB)
Also shows no errors.
-> What player do you use? Are you sure it supports pcm inside mkv?

Seems like the current Avisynth is somehow incompatible with ffmpeg.
disable: Config->Internals->Avisynth->Prefer FFmpeg as decoder
enable: Config->Internals->Avisynth->Prefer avs2yuv as decoder

Cu Selur
Reply
#5
Quote:Also shows no errors.

-> What player do you use? Are you sure it supports pcm inside mkv?



I think I solved the sound problem, it doesn't play sound on Windows 11 default video player but plays fine on VLC. Going to try out the other frame interpolations and setting avs2yuv as decoder.
Reply
#6
Okay, so 50fps works and 60fps doesn't.
-> How much memory is used when running the encoding, could it be you are running out of memory?
(when not using avs2yuv SalFPS3 crashes when using ffmpeg and current Avisynth, as does avsViewer -> with a bit of luck pinterf might compile a new version of the motion.dll that is used in SalFPS3)
Reply
#7
(23.03.2022, 18:05)Selur Wrote: Okay, so 50fps works and 60fps doesn't.
-> How much memory is used when running the encoding, could it be you are running out of memory?
(when not using avs2yuv SalFPS3 crashes when using ffmpeg and current Avisynth, as does avsViewer -> with a bit of luck pinterf might compile a new version of the motion.dll that is used in SalFPS3)

I have 32GB of RAM, I presume that's enough memory?

I managed to do a job on the same video thanks to avs2yuv and switching to Interframe and target frame rate to 60 fps. (See debug)
Reply
#8
Okay, that shows thats either the ffmpeg decoding or the filter.
Now does it work if you use:
- avsyuv and SalFP3
- ffmpeg and Interframe
Reply
#9
(23.03.2022, 19:27)Selur Wrote: Okay, that shows thats either the ffmpeg decoding or the filter.
Now does it work if you use:
- avsyuv and SalFP3
- ffmpeg and Interframe

Forgot to put in, using SalFp3 and avsyuv doesn't work, it crashes with the same exitCode: -1073741819 error.
Reply
#10
Quote:Actually using SalFp3 and avsyuv don't work, it crashes with the same error.
Okay, then the problem is the motion.dll SalFPS3 uses in combination with the latest Avisynth. Smile

Cu Selur
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)