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.

Random Crashes when processing videos.
#6
According to the debug output, the first pass
"/home/visilionosh/to_storage/TOOLS/hybrid/ffmpeg" -y -loglevel fatal -noautorotate -nostdin -threads 8 -i "/mnt/wwn-0x50014ee267906e25/UCJm2TgUqtK1_NLBrjNQ1P-w/zBnFJjKqVM8_20200124.webm" -map 0:0 -an -sn -vf scale=256:144 -pix_fmt yuv420p10le -strict -1 -fps_mode passthrough -sws_flags spline -f yuv4mpegpipe - | "/home/visilionosh/to_storage/TOOLS/hybrid/aomenc" --passes=2 --pass=1 --target-bitrate=48 --end-usage=vbr --fpf=/media/ramdisk/hybrid_tmp/zBnFJjKqVM8_20200124_1_2025-03-22@12_31_09_8710_04.stats --profile=0 --cpu-used=8 --min-q=1 --max-q=63 --lag-in-frames=25 --bias-pct=70 --minsection-pct=15 --maxsection-pct=10000 --drop-frame=0 --undershoot-pct=0 --overshoot-pct=0 --buf-sz=6 --buf-initial-sz=4 --buf-optimal-sz=5 --drop-frame=0 --kf-min-dist=0 --kf-max-dist=250 --auto-alt-ref=1 --arnr-maxframes=7 --arnr-strength=5 --sharpness=0 --static-thresh=0 --noise-sensitivity=0 --tune-content=default --tile-columns=0 --tile-rows=0 --mtu-size=0 --frame-boost=0 --aq-mode=1 --min-gf-interval=0 --max-gf-interval=0 --gf-min-pyr-height=0 --gf-max-pyr-height=5 --threads=32 --width=256 --height=144 --input-bit-depth=10 --bit-depth=10 --denoise-noise-level=0 --min-partition-size=4 --max-partition-size=128 --fp-mt=1 --sb-size=dynamic --max-reference-frames=7 --disable-trellis-quant=0 --enable-tpl-model=1 --enable-keyframe-filtering=0 --force-video-mode=1 --reduced-tx-type-set=1 --use-intra-dct-only=0 --use-inter-dct-only=0 --use-intra-default-tx-only=0 --quant-b-adapt=1 --coeff-cost-upd-freq=0 --mode-cost-upd-freq=0 --mv-cost-upd-freq=0 -o NUL -
finished after 00:00:00.467. This seems too fast, but since it didn't throw an error and the .stats file was created, Hybrid does assume it is correct.

The second pass:
"/home/visilionosh/to_storage/TOOLS/hybrid/ffmpeg" -y -loglevel fatal -noautorotate -nostdin -threads 8 -i "/mnt/wwn-0x50014ee267906e25/UCJm2TgUqtK1_NLBrjNQ1P-w/zBnFJjKqVM8_20200124.webm" -map 0:0 -an -sn -vf scale=256:144 -pix_fmt yuv420p10le -strict -1 -fps_mode passthrough -sws_flags spline -f yuv4mpegpipe - | "/home/visilionosh/to_storage/TOOLS/hybrid/aomenc" --passes=2 --pass=2 --target-bitrate=48 --end-usage=vbr --fpf=/media/ramdisk/hybrid_tmp/zBnFJjKqVM8_20200124_1_2025-03-22@12_31_09_8710_04.stats --profile=0 --cpu-used=8 --min-q=1 --max-q=63 --lag-in-frames=25 --bias-pct=70 --minsection-pct=15 --maxsection-pct=10000 --drop-frame=0 --undershoot-pct=0 --overshoot-pct=0 --buf-sz=6 --buf-initial-sz=4 --buf-optimal-sz=5 --drop-frame=0 --kf-min-dist=0 --kf-max-dist=250 --auto-alt-ref=1 --arnr-maxframes=7 --arnr-strength=5 --sharpness=0 --static-thresh=0 --noise-sensitivity=0 --tune-content=default --tile-columns=0 --tile-rows=0 --mtu-size=0 --frame-boost=0 --aq-mode=1 --min-gf-interval=0 --max-gf-interval=0 --gf-min-pyr-height=0 --gf-max-pyr-height=5 --threads=32 --width=256 --height=144 --input-bit-depth=10 --bit-depth=10 --denoise-noise-level=0 --min-partition-size=4 --max-partition-size=128 --fp-mt=1 --sb-size=dynamic --max-reference-frames=7 --disable-trellis-quant=0 --enable-tpl-model=1 --enable-keyframe-filtering=0 --force-video-mode=1 --reduced-tx-type-set=1 --use-intra-dct-only=0 --use-inter-dct-only=0 --use-intra-default-tx-only=0 --quant-b-adapt=1 --coeff-cost-upd-freq=0 --mode-cost-upd-freq=0 --mv-cost-upd-freq=0 -o "/media/ramdisk/hybrid_tmp/2025-03-22@12_31_09_8710_05.ivf" -
crashes with:
aomenc output: Failed to initialize encoder: Invalid parameter
    rc_twopass_stats_in requires at least two packets.
Which usually indicates that the stats file is broken.
If you call the 1st pass call inside a terminal, do you see any errors?
Does '/media/ramdisk/hybrid_tmp/zBnFJjKqVM8_20200124_1_2025-03-22@12_31_09_8710_04.stats' contain any data or is it 0 bytes in size? (Hybrid does only check whether the file exists)
Since audio encoding is run in parallel, does it also crash for you if 'Parallel subjob processing' is disabled?
Does it work if the temp folder isn't in a ram disk?

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply


Messages In This Thread
RE: Random Crashes when processing videos. - by Selur - 22.03.2025, 18:02

Forum Jump:


Users browsing this thread: 2 Guest(s)