FFFFFFFXXXXXXX / league_record

Record League of Legends games
Other
34 stars 2 forks source link

Game recording isnt working properly #6

Closed J4nniK closed 1 year ago

J4nniK commented 1 year ago

For some reason I am not able to properly record any games with the software https://i.imgur.com/7KxpaEM.png

As you can see in the link above, the software is recording something but if I open the file the only thing that seems to get recorded is the audio and no video.

Do you have any idea on how I can fix this?

Hardware and Software information:

Software: OS: Windows 10 Pro Version 10.0.19045 Build 19045

Hardware: GPU: AMD Radeon RX 6750XT with driver software version 23.3.2 minimal setup (so just drivers without the software center) CPU: Ryzen 7 5800X3D

FFFFFFFXXXXXXX commented 1 year ago

Could you run LeagueRecord.exe -d | echo in the commandline from where the software is installed on your PC (C:/Program Files/LeagueRecord by default) and then try to record a game (practicetool or sth).

Maybe that could give me a hint as to whats going wrong.

FFFFFFFXXXXXXX commented 1 year ago

Also did a previous version work? Did the same version work but now it doesn't anymore?

J4nniK commented 1 year ago

Could you run LeagueRecord.exe -d | echo in the commandline from where the software is installed on your PC

Yes for sure! So my executable is stored in the path that you mentioned. I started my commandline in administrator mode and executed your command and then started a practice tool game, as it seems the console doesnt give any further output: https://i.imgur.com/d7HiWxS.jpeg

Also did a previous version work? Did the same version work but now it doesn't anymore?

I can't answer this question because this is the first version of the software that I installed on my computer. I only know that a friend of mine is using the same version and its working for him.

FFFFFFFXXXXXXX commented 1 year ago

Ah sorry I forgot to mention to use powershell as the commandline. I didnt know the cmd 'echo' command works differently from the powershell one.

The output should look something like the following and continue to print stuff while the software is running

PS C:\Program Files\LeagueRecord> .\LeagueRecord.exe -d | echo
LeagueRecord v1.14.1
debug_log: enabled

Settings: Settings(RwLock { ... })

Checking for update: 1.14.1/1.14.1 (current/newest)

saved window size: 1200x650.4
saved window position: 424x 250.4y
video folder: "C:\\Users\\USERNAME\\Videos\\league_recordings"

fileserver port: 49152

...
J4nniK commented 1 year ago

No problem. So I started the command in powershell and I am getting the following output:

https://i.imgur.com/h1Q2rZb.png

FFFFFFFXXXXXXX commented 1 year ago

Thanks, sadly it doesn't look like there is anything obviously wrong. I'll add some more logs specifically for this case in the next release and let you know when I upload it.

The only thing you could try in the meantime is reinstalling the software. Super sorry

J4nniK commented 1 year ago

No problem its all fine! I m super happy to test the new release once its up

FFFFFFFXXXXXXX commented 1 year ago

I had some time today and release v1.14.2 is out now. Since the output might get quite long, you can do .\LeagueRecord.exe -d | echo > C:\Users\USERNAME\Desktop\log.txt to save it to a text file instead.

J4nniK commented 1 year ago

Thanks for the update. I have attached the log from a training game

log.txt

FFFFFFFXXXXXXX commented 1 year ago

Seems like a permissions issue.

info: [game-capture: 'video_source'] attempting to hook process: League of Legends.exe warning: [game-capture: 'video_source'] could not open process: League of Legends.exe

Have you tried / can you try running LeagueRecord as Administrator? Are you by chance running League of Legends as Admin?

J4nniK commented 1 year ago

Running LeagueRecord as Admin seems to have fixed the issue but it is weird because I don't launch league as Admin.

FFFFFFFXXXXXXX commented 1 year ago

Yeah, thats strange. Atleast its working now!

I'll add a note to the readme in case someone else encounters this problem :)