gpx-animator
gpx-animator copied to clipboard
EXCEPTION_ACCESS_VIOLATION on cmd run with single input
Steps to reproduce:
windows 10
download tracks.gpx.txt
rename tracks.gpx.txt to tracks.gpx
java -jar "C:\Program Files\gpx-animator\gpx-animator-1.8.2-all.jar" --input "tracks.gpx"
exception is
05:00:24.541 [main] INFO app.gpx_animator.Main - 0% computed zoom is 12
05:00:24.549 [main] INFO a.g.core.renderer.Renderer - 540 x 206; 540 x 206; 166886.05360752725
[libx264 @ 000001287dbbd6c0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 000001287dbbd6c0] profile High, level 2.1, 4:2:0, 8-bit
[libx264 @ 000001287dbbd6c0] 264 - core 164 - H.264/MPEG-4 AVC codec - Copyleft 2003-2022 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=24.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffbbf8f6870, pid=14400, tid=4116
#
# JRE version: Java(TM) SE Runtime Environment (17.0.8+9) (build 17.0.8+9-LTS-211)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (17.0.8+9-LTS-211, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, windows-amd64)
# Problematic frame:
# C [avutil-57.dll+0x16870]
#
# No core dump will be written. Minidumps are not enabled by default on client versions of Windows
#
# An error report file with more information is saved as:
# C:\Users\└ыхъёрэфЁ\Desktop\2023-07-22_training\10-Tracks\20230721\hs_err_pid14400.log
#
# If you would like to submit a bug report, please visit:
# https://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
hs_err_pid14400.log java stacktrace fragment
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j org.bytedeco.ffmpeg.global.avformat.avio_open2(Lorg/bytedeco/ffmpeg/avformat/AVIOContext;Ljava/lang/String;ILorg/bytedeco/ffmpeg/avformat/AVIOInterruptCB;Lorg/bytedeco/ffmpeg/avutil/AVDictionary;)I+0
j org.bytedeco.javacv.FFmpegFrameRecorder.startUnsafe()V+3798
j org.bytedeco.javacv.FFmpegFrameRecorder.start()V+6
j app.gpx_animator.core.renderer.framewriter.VideoFrameWriter.<init>(Ljava/io/File;Lapp/gpx_animator/core/data/VideoCodec;DII)V+141
j app.gpx_animator.core.renderer.Renderer.render(Lapp/gpx_animator/core/renderer/RenderingContext;)V+429
j app.gpx_animator.Main.start([Ljava/lang/String;)V+84
j app.gpx_animator.Main.main([Ljava/lang/String;)V+1
v ~StubRoutines::call_stub
I assume I should install correct video codec. Could you please tell which one?