MerlinCooper / iRacingReplayDirector

Application to automatically create highlight videos from iRacing Replay files
GNU General Public License v3.0
39 stars 5 forks source link

video re-encoding #110

Open Schotte62 opened 11 months ago

Schotte62 commented 11 months ago

Hello

I have already tried 2 different versions (the current one and the one before). I keep getting this error, how can I fix it? Thanks in advance.

Greetings Michael

Found your video file E:\Videos\iRacing Replay Director\2023-09-21 11-28-08.mp4. Frame Rate: 60, Frame Size: 1920x1080, Video: H264 @ 5Mbs, Audio: AAC, 48Khz @ 0Kbs, Begining video re-encoding. Der Index war außerhalb des Arraybereichs. bei MediaFoundation.Net.SourceReader.d4.MoveNext() bei MediaFoundation.Net.SourceReader.Samples(ProcessSample samplesFn, Int32 streamIndex, Int32 controlFlags) bei MediaFoundation.Net.SourceReader.Samples(ProcessSample samplesFn) bei iRacingReplayDirector.TestVideoCapture.<>c.b10_0(IEnumerable1 readers, ProcessSample saveToSink) bei iRacingReplayDirector.Phases.Transcoding.Transcoder.ProcessVideo(Action2 process) bei iRacingReplayDirector.TestVideoCapture.TranscodeVideoTest(String filename) bei iRacingReplayDirector.TestVideoCapture.RunTest(String workingFolder, SynchronizationContext context)

Fehler

MerlinCooper commented 11 months ago

Would you mind sharing the replay file you are using? Might find some time to check.

Schotte62 commented 11 months ago

Hello

Thanks for the fast respond. I tried 2 replays on my normal PC, once a long one (1.5 hours) and a short replay created from it. Both received this message.

I then tried a different replay (60 minutes) on my gaming PC and this message also appeared.

I uploaded the first two replays to Google Drive, but for the other one I would have to turn on the gaming PC. https://drive.google.com/drive/folders/1uoCDxCFHo3PpmYfKoeuaMjvMiMeOqErv?usp=sharing

I would be very happy if it works. Thanks in advance!

Greetings Michael

Schotte62 commented 11 months ago

Hello

It works, I downloaded and unpacked the zip file for the third time. Then I unlocked all dll files again.

Then I uploaded the replay files to Google Drive for you. I just had a gut feeling and let the properties of the replay directory be displayed. Access to the directory was restricted by Windows, after I removed that it seems to be working now.

I'm currently testing one of my replays. I'll let you know if it worked.

There is still a small problem: no overlays are displayed. I tried both options, without success. And when transcoding there is an error message, see appendix.

In any case, THANK YOU for this software and please please continue to develop it. Unfortunately I can't program, but I would also pay money for it.

Many greetings Michael image

general.log

Schotte62 commented 11 months ago

Hello

Here is a current status, the software basically works, but not with every replay. For some replays that were 1 hour long, I waited over 2 hours, but it didn't go any further. The error message from my first post, "The index was out of array range" still comes, even though some videos finish completely.

I'll try to edit a replay again today and report back.

Best regards Michael

MerlinCooper commented 11 months ago

Would you mind sharing a screenshot of the "About Dialog" please?

Are you using "FAst-Video-Recording" or "Encode Video After Capture"?

Schotte62 commented 11 months ago

Hello

With the Fast setting I had no error message during this replay. I ran the same replay again with Encode Video After Capture and the error message came up - see screenshot.

I'll try another replay later and give you some info.

Merlin 1

2023-09-30_11-59-56.log general.log

Schotte62 commented 11 months ago

I've now taken a different replay, it always runs up to this point (screenshot) and then nothing happens anymore. All replays are in the same folder.

I'll try another one now and report back.

Merlin 2

Schotte62 commented 11 months ago

Same problem again as the last replay. It rewinds to the same point as the last screenshot and then gets stuck on the pace car.

Merlin 3

MerlinCooper commented 11 months ago

What I would need for debugging is the replay which isn't working. Otherwise it is like searching for the needle in the haystack. ;-)

Schotte62 commented 11 months ago

No problem, I can upload this back to Google Drive. Can I somehow send you the link directly, I don't always want to post the links publicly. I'll definitely upload something.

Schotte62 commented 11 months ago

https://drive.google.com/drive/folders/1uoCDxCFHo3PpmYfKoeuaMjvMiMeOqErv?usp=sharing

Die beiden 992 Dateien