Wrote /root/JavaX-Caches/tmp_1158197132/main.java - 2855 bytes (written=2855, should be 2855) javac=0, ecj=1, useJarBot=0 Checking ECJ at port 4898 at 127.0.0.1 /root/jdk-17/bin/javac -source 1.8 -target 1.8 -nowarn -encoding utf8 -Xdiags:verbose -cp /root/.javax/x30.jar:/root/dexcompiler/android.jar:/root/dexcompiler/support-v4-22.2.1.jar:/root/javafx/javafx.base.jar:/root/javafx/javafx.graphics.jar:/root/javafx/javafx.swing.jar -d /root/JavaX-Caches/tmp_1274541945 /root/JavaX-Caches/tmp_1158197132/main.java 2>&1
[Compilation Error]

Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.

/root/JavaX-Caches/tmp_1158197132/main.java:2: error: package org.jcodec.common does not exist import static org.jcodec.common.NIOUtils.writableFileChannel; ^ /root/JavaX-Caches/tmp_1158197132/main.java:2: error: static import only from classes and interfaces import static org.jcodec.common.NIOUtils.writableFileChannel; ^ /root/JavaX-Caches/tmp_1158197132/main.java:6: error: package org.jcodec.codecs.raw does not exist import org.jcodec.codecs.raw.V210Encoder; ^ /root/JavaX-Caches/tmp_1158197132/main.java:7: error: package org.jcodec.common.model does not exist import org.jcodec.common.model.ColorSpace; ^ /root/JavaX-Caches/tmp_1158197132/main.java:8: error: package org.jcodec.common.model does not exist import org.jcodec.common.model.Picture; ^ /root/JavaX-Caches/tmp_1158197132/main.java:9: error: package org.jcodec.common.model does not exist import org.jcodec.common.model.Size; ^ /root/JavaX-Caches/tmp_1158197132/main.java:10: error: package org.jcodec.containers.mp4.muxer does not exist import org.jcodec.containers.mp4.muxer.FramesMP4MuxerTrack; ^ /root/JavaX-Caches/tmp_1158197132/main.java:11: error: package org.jcodec.containers.mp4.muxer does not exist import org.jcodec.containers.mp4.muxer.MP4Muxer; ^ /root/JavaX-Caches/tmp_1158197132/main.java:12: error: package org.jcodec.containers.mp4 does not exist import org.jcodec.containers.mp4.MP4Packet; ^ /root/JavaX-Caches/tmp_1158197132/main.java:53: error: cannot find symbol private static void drawGrad(int[] y, Size ySize) { ^ symbol: class Size location: class main /root/JavaX-Caches/tmp_1158197132/main.java:37: error: cannot find symbol Picture pic = Picture.create(width, height, ColorSpace.YUV422_10); ^ symbol: class Picture location: class main /root/JavaX-Caches/tmp_1158197132/main.java:37: error: cannot find symbol Picture pic = Picture.create(width, height, ColorSpace.YUV422_10); ^ symbol: variable ColorSpace location: class main /root/JavaX-Caches/tmp_1158197132/main.java:37: error: cannot find symbol Picture pic = Picture.create(width, height, ColorSpace.YUV422_10); ^ symbol: variable Picture location: class main /root/JavaX-Caches/tmp_1158197132/main.java:40: error: cannot find symbol drawGrad(pic.getPlaneData(0), new Size(pic.getWidth(), pic.getHeight())); ^ symbol: class Size location: class main /root/JavaX-Caches/tmp_1158197132/main.java:41: error: cannot find symbol V210Encoder encoder = new V210Encoder(); ^ symbol: class V210Encoder location: class main /root/JavaX-Caches/tmp_1158197132/main.java:41: error: cannot find symbol V210Encoder encoder = new V210Encoder(); ^ symbol: class V210Encoder location: class main /root/JavaX-Caches/tmp_1158197132/main.java:42: error: cannot find symbol MP4Muxer muxer = new MP4Muxer(writableFileChannel(new File(args[0]))); ^ symbol: class MP4Muxer location: class main /root/JavaX-Caches/tmp_1158197132/main.java:42: error: cannot find symbol MP4Muxer muxer = new MP4Muxer(writableFileChannel(new File(args[0]))); ^ symbol: class MP4Muxer location: class main /root/JavaX-Caches/tmp_1158197132/main.java:42: error: cannot find symbol MP4Muxer muxer = new MP4Muxer(writableFileChannel(new File(args[0]))); ^ symbol: method writableFileChannel(File) location: class main /root/JavaX-Caches/tmp_1158197132/main.java:45: error: cannot find symbol FramesMP4MuxerTrack videoTrack = muxer.addVideoTrack("v210", new Size(width, height), "jcodec", 24000); ^ symbol: class FramesMP4MuxerTrack location: class main /root/JavaX-Caches/tmp_1158197132/main.java:45: error: cannot find symbol FramesMP4MuxerTrack videoTrack = muxer.addVideoTrack("v210", new Size(width, height), "jcodec", 24000); ^ symbol: class Size location: class main /root/JavaX-Caches/tmp_1158197132/main.java:47: error: cannot find symbol videoTrack.addFrame(new MP4Packet(frame, i * 1001, 24000, 1001, i, true, null, i * 1001, 0)); ^ symbol: class MP4Packet location: class main 22 errors