iRacingReplayDirector icon indicating copy to clipboard operation
iRacingReplayDirector copied to clipboard

video re-encoding

Open Schotte62 opened this issue 2 years ago • 12 comments

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.<Samples>d__4.MoveNext() bei MediaFoundation.Net.SourceReader.Samples(ProcessSample samplesFn, Int32 streamIndex, Int32 controlFlags) bei MediaFoundation.Net.SourceReader.Samples(ProcessSample samplesFn) bei iRacingReplayDirector.TestVideoCapture.<>c.<TranscodeVideoTest>b__10_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

Schotte62 avatar Sep 21 '23 09:09 Schotte62

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

MerlinCooper avatar Sep 22 '23 12:09 MerlinCooper

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 avatar Sep 22 '23 12:09 Schotte62

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 avatar Sep 22 '23 13:09 Schotte62

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

Schotte62 avatar Sep 25 '23 16:09 Schotte62

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

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

MerlinCooper avatar Sep 30 '23 08:09 MerlinCooper

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 avatar Sep 30 '23 11:09 Schotte62

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 avatar Sep 30 '23 11:09 Schotte62

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

Schotte62 avatar Sep 30 '23 12:09 Schotte62

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

MerlinCooper avatar Oct 05 '23 08:10 MerlinCooper

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 avatar Oct 05 '23 13:10 Schotte62

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

Die beiden 992 Dateien

Schotte62 avatar Oct 05 '23 17:10 Schotte62