julianghionoiu / tdl-lord-of-runners

One repo to rule them all, One repo to configure them, One repo to bring them all and in the darkness bind them
GNU General Public License v3.0
0 stars 0 forks source link

Amend windows batch script to pre java 9 and java 9 #2

Closed neomatrix369 closed 6 years ago

neomatrix369 commented 6 years ago

Has been tested on Windows, some feedback of output attached.

Please do try it out on your own Windows environment - slightly less confident how different versions of Windows will react to this script.

windows_output_logs.txt

Error occurred not related to the batch script changes:

ERROR [VideoRec]   - FfmpegException::make(finalStr): could not open codec: Error number -1 occurred (-1) (VideoExceptions.cpp:118)
Exception in thread "VideoRec" java.lang.RuntimeException: could not open codec: Error number -1 occurred (-1)
        at io.humble.video.VideoJNI.Encoder_open(Native Method)
        at io.humble.video.Encoder.open(Encoder.java:154)
        at tdl.record.screen.video.VideoRecorder.open(VideoRecorder.java:118)
        at tdl.record_upload.VideoRecordingThread.run(VideoRecordingThread.java:35)
julianghionoiu commented 6 years ago

Let me know once you have tested this on Windows successfully and we can merge.

neomatrix369 commented 6 years ago

Windows testing is a bit of a chore will let you know soon

julianghionoiu commented 6 years ago

The error you are seeing is because you are running inside a VM and the window has an abnormal width which kills the codec on the box. This is the clue:

ERROR [VideoRec]   - [libx264 @ 00000239B7834480] width not divisible by 2 (1315x716)
neomatrix369 commented 6 years ago

@julianghionoiu Okay thanks for clarifying, it was indeed a VM. I hope the rest of the execution goes fine for you then.