Why ATVO is not able to work correctly with replay.

Posts: 72
***SOLVED*** YOU WILL NEED TO READ THE POST TO UNDERSTAND WHAT MAKE IT A BIT INCONSISTANT BUT THERE IS AN ALTERNATIVE TO BE ABLE TO USE IT

Hi,

I read on the iracing forum that ATVO is not able to work good with replay.

As my league is not broadcasting live but 2 days later, i wan't to ask you to explain the difference between
irtvo and ATVO on that aspect.

That question mainly because i am able to broadcast with a replay in irtvo, the data is able to show for the ticker, top 15, live gap...

But in ATVO, it worked i like 1 time over 15, rest of the time the overlay is useless showing erronus data, or final result instead of live
if i load a live race on iracing my overlay work perfectly.


Thanks!

Edited (5 times)
Posts: 62
.. I have a similar question . .i'm trying to get ATVO to work with replays, and i've built a Qualifying Results board, as well as Leaderboards for gap and relative .. and the data that's populating does not seem to be accurate much of the time ..

Posts: 49
This is due to iRacing not sending out all the needed data to the api that most apps use. If the session is live it sends all data if a replay just the finishing info.
Posts: 72
Thanks Jason for the reply.

But what i don't understand is that our old theme with irtvo is working with replay ( but crashing sometime that is why we want to migrate to atvo ) , when i say working i mean ( good interval for the top15, gap between drivers and qualif result before the race ) i am not able to make work these in my ATVO theme.

I am wondering if this is mainly due to the fact ATVO refresh data 1 time per 300 meters Compare to 1 time per 30 meters for irtvo... What do you think?

Posts: 62
Is there a list of the data that iRacing does make available for replays in the API?
Laflèche David wrote:
Thanks Jason for the reply.

But what i don't understand is that our old theme with irtvo is working with replay ( but crashing sometime that is why we want to migrate to atvo ) , when i say working i mean ( good interval for the top15, gap between drivers and qualif result before the race ) i am not able to make work these in my ATVO theme.

I am wondering if this is mainly due to the fact ATVO refresh data 1 time per 300 meters Compare to 1 time per 30 meters for irtvo... What do you think?

It's not down to the refresh rate but more to the fact that we never built ATVO to support replays. We never test our code with replay files, we only test we recordings of live sessions which replays the original data the iRSDK sent during the session. Right now I don't know how much effort it would cost to make it work.
Posts: 72


[/quote]
It's not down to the refresh rate but more to the fact that we never built ATVO to support replays. We never test our code with replay files, we only test we recordings of live sessions which replays the original data the iRSDK sent during the session. Right now I don't know how much effort it would cost to make it work.[/quote]

Thanks Simon, i understand the reason behind those problem, it's mainly due something out of your control.
For those who stream with replay, i've made a couple of test...  the only way you can expect to have something working good is to start your replay file 5 minutes before the race, for example the end of the qualification and let it run, never stop it... that way when the car grid, the overlay is able to show correct data, but don't ever expect to have "instant replay" working or pressing the pause button and resume, it'll make the data erronous.

So, the only wish i have is one day, a software will be able to record the live telemetry that would sync with the overlay to provide the data when you choose to record a race for further broadcast, so that would, i think keep all possible data to be able to have a perfect broadcast even if it's not live.
Edited (2 times)
Laflèche David wrote:
So, the only wish i have is one day, a software will be able to record the live telemetry that would sync with the overlay to provide the data when you choose to record a race for further broadcast, so that would, i think keep all possible data to be able to have a perfect broadcast even if it's not live.
On beta we added a data delay feature which is still a bit experimental. There are still some minor issues we need to fix. This allows you to sync the data with your live pictures (gear shifts, etc). The next step would be to have car related data available at any point during an instant replay. So basically we would store the cars speed, gear, rpm(, DRS state), etc. to be able to show the correct data during the replay. Positions, lap times, etc will not be included because this would mess up the whole data structure.
Posts: 72
On beta we added a data delay feature which is still a bit experimental. There are still some minor issues we need to fix. This allows you to sync the data with your live pictures (gear shifts, etc). The next step would be to have car related data available at any point during an instant replay. So basically we would store the cars speed, gear, rpm(, DRS state), etc. to be able to show the correct data during the replay. Positions, lap times, etc will not be included because this would mess up the whole data structure.

Really interesting ! it give me hope!
i'll be an happy tester of this feature!
Posts: 62
Hi there,

Sounds like there are a few of us - ok .. at least two :-) who would like a live data overlay solution for iRacing replays.

In fact, once I started experimenting with ATVO, which is awesome .. I developed an idea for my streaming channel where the "business model" (for lack of a better term) relies on the ability to broadcast a replay with ATVO overlays using the replay data to feed the overlay graphics.

I understand that ATVO is built for live broadcasters, and from what I've seen so far, it's an amazing tool for that.

But some of the comments in this thread lead me to a few more questions, in the hopes that there might be an option to use ATVO on iRacing replays in the same way you can for live races.

@Simon Grossman, you said earlier: "We never test our code with replay files, we only test we recordings of live sessions which replays the original data the iRSDK sent during the session."

I find that to be very interesting. How exactly to you record the live sessions with the iRSDK data? Do you have a proprietary tool for this? Is this available for beta testing?

For the purposes of the channel I wish to build, this is the functionality I am hoping for:

- Ability to show Qualifying results (order and time) from a replay
- Ability to show starting grid order from a replay
- Ability to add ticker with time behind leader for all cars from a replay
- Ability to add ticker with delta behind car in front from a replay
- Ability to show lap times for all cars from a replay

That would be enough for me to generate a "broadcast" from an iRacing replay file.

I read from your other comments about the new beta data delay feature that you might be able to add a bit more functionality for the local car, but that the data structure wouldn't support positions or lap times .. so, as a non-developer, clearly I don't have a full understanding of these limitations.

It would be the best Christmas present ever, even to learn that there might be a possibility in the future to use ATVO on replay files, as I have some big plans for growing a channel. From Laflèche's original question, I'm definitely not inventing this idea .. but I have some neat ideas i'd really like to try out, but I can only do that if ATVO can support the big vision I have in my mind :-)

Season's greetings to you all .. and maybe I'll see some of you on the virtual track!

-Jeremy

Posts: 72
For the purposes of the channel I wish to build, this is the functionality I am hoping for:

- Ability to show Qualifying results (order and time) from a replay
- Ability to show starting grid order from a replay
- Ability to add ticker with time behind leader for all cars from a replay
- Ability to add ticker with delta behind car in front from a replay
- Ability to show lap times for all cars from a replay

Hi Jeremy,

Thanks for sharing your vision as i am also interested in everything that belong to broadcast iracing race with replay file.

Juste to keep you update about what i've found.
i'll do that as an answer of your abilities list that you posted before.
i wish to show you video and image of it working but my theme has crashed and i do not know what to do right now... so sorry about that

- Ability to show Qualifying results (order and time) from a replay
I am able to display my starting grid / qualifying result without any issue
- Ability to show starting grid order from a replay
same as the first one
- Ability to add ticker with time behind leader for all cars from a replay
ticker is where it is very difficult to obtain correct data, as we used to do with irtvo same apply to ATVO, i mean that the only way you can hope to have correct data once the race is started, you start your replay couple of minutes before the grid press play et let it play. that way after 1 or 2 laps you can start the ticker and it should work, but it's very random. As developer said because those data's are not saved in the replay file, the ticker will mostly give you "end of the race" result.
- Ability to add ticker with delta behind car in front from a replay
My top 15  is working that way and if i respect the sequence i explained before, after 1 lap it's showing the right data.
- Ability to show lap times for all cars from a replay
This one doesn't have enough test to tell you if it work but i am able to extract qualifying lap time.

So now i hope someone will be able to repair my theme.

Happy Christmas to all ATVO crew and to you Jeremy!



Edited (1 time)
Jeremy Kerr wrote:
@Simon Grossman, you said earlier:  "We never test our code with replay files, we only test we recordings of live sessions which replays the original data the iRSDK sent during the session."

I find that to be very interesting. How exactly to you record the live sessions with the iRSDK data? Do you have a proprietary tool for this? Is this available for beta testing?
Yes we have a tool for this. It basically records all the telemetry from the iRSDK and puts it into a file so it can be replayed. We haven't written the tool ourselves so I'm not sure if we are allowed to share it. The dream would be to include this into ATVO so users can test this way as well.
Posts: 72
Yes we have a tool for this. It basically records all the telemetry from the iRSDK and puts it into a file so it can be replayed. We haven't written the tool ourselves so I'm not sure if we are allowed to share it. The dream would be to include this into ATVO so users can test this way as well.

I share that dream too! it is very exciting to know that this exist at least ! i couldn't beleive we are the only broadcaster that do it later than the race day.

Thank you to keep us update on that!
I think you misunderstood. This is not a tool to broadcast replays. This tool allows us to record scenarios within iRacing and replay them as much as we want for testing purposes only (like throwing a caution, etc).
Posts: 785
To clarify, we have a tool that we use to record a live session to file. It basically records all telemetry and sdk output 60 times per second. Then later we can play it back without having to have iracing running. It has nothing to do with replays because replays only store a fraction of the data. The files we make this way are huge and not useful for anything beside testing.

We may put this in ATVO at some point but it won't make replays work better, for that we'll have to update the data system itself. And we're very limited due to limited data available.
Posts: 72
Okay , sorry my english is not perfect also, so i probably explained myself not correctly
i understand that it is not a tool to broadcast, but only to save all the telemetry, probably put the wrong words at some place
sorry for the misunderstanding.

i was beleiving that there could be a potentiel to have a file that contain specific data that we can decide (live timing, caution, flag) when the live session is occuring, and that file would be cropped the exact same as the replay for synchronization, then the overlay would be able to synchronize those data with the replay but, my vision is really in a ideal world... i know that it is not simple as that.
because i do not understand all the difficulties and limitations that you have to face... so i was just sharing my dream.


thank you
Edited (1 time)
Posts: 72
I really appreciate this forum and the time you take to clarify this!

the next guy that will encouter the same difficulties will have answer here, so that is great it will help a lot of poeples.

Laflèche David wrote:
i was beleiving that there could be a potentiel to have a file that contain specific data that we can decide (live timing, caution, flag) when the live session is occuring, and that file would be cropped the exact same as the replay for synchronization, then the overlay would be able to synchronize those data with the replay but, my vision is really in a ideal world... i know that it is not simple as that.
That's not what we are aiming for, sorry. When and if we add this to ATVO it will only be for testing your theme, not for broadcasting. It will only be available in the editor and has nothing to do with broadcasting at all.
Posts: 785
We can't play back both a replay and our saved telemetry, because as far as the data is concerned it is identical. We simply write data to a specific memory location just like iracing would when it is running. ATVO cannot know if it's reading a real session or data from our tool. So we can't run both as both our tool and the replay would try to write to the same memory location.
Posts: 62
Thanks Simon and Nick for taking the time to explain this. Now that I have a better understanding of how ATVO handles the data, I see the challenges for allowing the awesome tool to support a broadcast from an iRacing replay file.

ATVO is a really well thought out tool and I've been using the beta releases for almost a year now just to see what is possible. I can see why so many live broadcasts are using it.

Unfortunately, for the goals I have with my channel, I will be adding race commentary to replay files and that is not something I see changing in the future. In fact, I see lots of additional opportunities that come from broadcasting a replay that are difficult or not practical to do during a live session. (especially if the color commentator, camera man and replay control are driving in the race at the same time. :-)

Thanks again for all the information you've provided to this question. It really helps clarify things. I really love ATVO and hope I get a chance to use it more in the future.

@David, what is your user name on iRacing? I looked you up to continue the conversation outside of this forum but couldn't find you. I have another idea to explore which might enable us to achieve the type of functionality we're both looking for.

Cheers, and happy racing (and broadcasting. :-)

Jeremy
Posts: 72
My name has legally change some time ago, that is why i didn't found me!

now it's James L David



Posts: 62
Hey James, I sent you a PM in iRacing, hopefully to the right account. :-)
Posts: 72
Jeremy Kerr wrote:
Hey James, I sent you a PM in iRacing, hopefully to the right account. :-)

lol, i answered you 2 days ago, but it seems that sometime goes wrong, i check my sent folder and my messages is not there...

i go answer again! thanks
Posts: 72
Here a YouTube video i've made of ATVO being able to work with replay... Limited for some functions but working

https://youtu.be/oS20M4dPUvI
Edited (4 times)