Author Topic: AH Film companion app - no AI required  (Read 78 times)

Offline steely07

  • Silver Member
  • ****
  • Posts: 1993
AH Film companion app - no AI required
« on: Yesterday at 07:34:01 PM »
S!

A while back Fuji asked whether you need an AI subscription to use the new film viewer's camera features. You don't have to: I've made a small free program that gives you the cameras with sliders and buttons instead.

Aces High film companion sits beside the film viewer and drives it for you. Open one of your films, put a camera anywhere round your aircraft, line up your shots and render the video with the film's sound.

What it does
  • Cameras with a click: Cockpit, Outside, Chase, Padlock (keeps the bandit in frame), Hung here (a camera left in the sky that you fly past), Ride his bomb, and ready angles (behind, left side, ahead looking back...).
  • Sliders that move the picture live: distance, angle round him, height, lens and roll. The viewer's picture follows as you drag, a frame later.
  • A camera map: the moment seen from above, with your path, everyone else's and the buildings. Drag the camera to move it, drag the dot on its cone to turn it, double-click to hang a new one.
  • Your film's moments on the timeline: kills, hits and landings marked, so you can jump straight to them.
  • A shot list: add the camera as a shot, move on, add the next. Click one of your kills and add a three-shot kill sequence in one go.
  • Render: the viewer records your shots, with the film's sound, into one MP4.

What it doesn't do
It doesn't change the game or the viewer, and it sends nothing anywhere. It only uses the viewer's own published socket commands on your PC (the same ones an AI assistant would use), so it works with the viewer HiTech ships.

Get it
  • Download the zip from the releases page (aces-high-film-companion-0.2.0-win64.zip).
  • Unzip it anywhere, e.g. your Desktop. Nothing to install.
  • Run film_companion.exe, press Start it, then Choose... and open a film.

You need Windows and Aces High with the new film viewer (the one with Help > Socket Instructions for AI in its menu).

Windows will probably warn you the first time ("Windows protected your PC"), because the program isn't code-signed yet: press More info > Run anyway. It's open source (MIT): every release is built from the code on GitHub, and the release page lists the zip's SHA-256 if you want to check your download.

The manual covers every control, with pictures.

It's early days (version 0.2.0), so please tell me what works, what doesn't and what you'd like next, here or by PM. Big thanks to HiTech for opening the viewer up with the socket: none of this would be possible without it.

<S> Steely
Aces High, Wing Commander, Dickweed Heavy Bomber Group: www.dickweedhbg.com

FSO Films : https://www.youtube.com/channel/UCFs6CAXBQoVBctljybD65fA?view_as=subscriber

Offline Dadtallica

  • Gold Member
  • *****
  • Posts: 2659
Re: AH Film companion app - no AI required
« Reply #1 on: Yesterday at 07:36:06 PM »
Whoa nice work all! :cheers:

Is it not just crazy how fast things change? What a time we live in am I right!?!? :banana:

My first real computer was an Apple IIgs… fully F’n loaded! I was a master at Wings of Fury, Chuck Yeager‘s Flight Simulator, President Elect 1988, and several Test Drive Floppies! Among others. I found this really great picture that shows the best representation of the progression of my first sticks ever! From left to right..



I still play WOF through Dosbox although it’s a little harder without that sweet joystick!



I had a pretty successful career in the poker/variety radio space and content creation during the online poker and WSOP boom. Started a just a bit before Chris Moneymaker made it TV famous. Immediately, after that moment, it was a Wild West free-for-all! lol pun very much intended!  :rofl Including administering an early version of the myspace/Facebook formats in the Ning network. I was learning css+, html, Java on the fly lol… and I still really didn’t know what I was doing.

What would the world be like today if we had AI back then all of a sudden…   :uhoh

Anyway I’m here for it all carry on everyone!! :rock
« Last Edit: Yesterday at 10:10:36 PM by Dadtallica »
My Videos @NightspanNavigatorProductions

Back in 2022 after a loooooong break from 2010. Old name Ratpack, same for the BBS. Old squads, Excaliburs, 172nd Rabid Dawgs.

Offline MDStampf93

  • Aces High CM Staff
  • Silver Member
  • ****
  • Posts: 1879
      • https://paa.ge/acecombatant
Re: AH Film companion app - no AI required
« Reply #2 on: Today at 03:56:47 PM »
Having trouble getting Film Viewer’s MP4 export working on my workstation. Has anyone encountered this, particularly with an AMD GPU?

WHAT HAPPENS

The viewer opens and plays films. When exporting a short selection, the frame counter reaches the end, but the export remains stuck on “Finishing the video file.”

Examples include 121/121, 151/151, and 241/241 frames. The latest output files are only 79 bytes and contain no playable video.

On an earlier attempt, I also received:

“Writing the video file failed”
Error 0xC00D4A44

SYSTEM

• Windows 11 Home, build 26300
• AMD Ryzen 9 9950X
• AMD Radeon AI PRO R9700, 32 GB
• 64 GB RAM
• R9700 driver: 32.0.32015.7029
• Integrated AMD graphics and a Virtual Display Driver are also installed

TESTING SO FAR

• Fully uninstalled and reinstalled Aces High; the export problem persists.
• Tried multiple films and short selections of approximately 4–5 seconds.
• Tried different export resolutions, including a 1080p test.
• Tried saving to the workstation’s internal drive instead of the external Seagate.
• Initially tested through Chrome Remote Desktop, then reproduced the failure while physically at the workstation with a monitor connected.
• Assigned ahfilm.exe to the R9700 through Windows Graphics settings and restarted the viewer. Export still failed.

Windows reports the graphics and sound devices as OK, although that doesn’t establish that encoding is working correctly.

I previously found Code Integrity events blocking openxr_loader.dll in aceshigh11.exe. Those were older game-launch events; I haven’t established any connection to the Film Viewer export failure.

I’m preparing to capture a Media Foundation trace with Microsoft’s MFTrace tool, but don’t have that log yet.

Is there a known issue with MP4 export on this hardware or Windows build? Is there a particular log, encoder setting, or diagnostic that would help identify why it renders the frames but never finishes writing the file?

Thanks,
Rider
JG11 'Sonderstaffel'
Aces High 3 content below
https://paa.ge/acecombatant


Offline steely07

  • Silver Member
  • ****
  • Posts: 1993
Re: AH Film companion app - no AI required
« Reply #3 on: Today at 04:03:35 PM »
Apologies the the AI reply, but it's quicker than me humanising one ;)

Hi Rider,

Not a known issue as far as I know, but that error code tells us quite a lot.

0xC00D4A44 is a Windows Media Foundation error meaning "no samples processed": the MP4 writer never received a single encoded frame. The viewer is drawing every frame fine (hence 121/121), but nothing is coming back out of the H.264 encoder. The 79-byte file is just an empty MP4 header. The hang on "Finishing the video file" is the viewer waiting for the encoder to hand back frames it never will.

So I'd look at the GPU's hardware video encoder rather than your drives, the resolution or the Aces High install. Your reinstall and drive tests have already ruled most of that out.

Things worth trying, quickest first:

1. Disable the integrated AMD graphics and the Virtual Display Driver in Device Manager, reboot, and export again. With several display adapters, Windows can end up with the encoder and the frames on different adapters. The Graphics settings preference only decides which GPU draws, not which one encodes. This is my best guess.
2. Check whether any hardware encoding works on that PC. Record a few seconds with Game Bar (Win+Alt+R), or export a short clip from Clipchamp. Both use the same Windows encoder path. If they fail too, it's the driver or Windows, not the film viewer.
3. Try the latest AMD driver with a clean install. The R9700 is still a new card, and the hardware encoder comes with the driver.
4. The MFTrace log is a great idea. It should show which encoder gets picked and where it stalls. Post it or send it to HiTech.

The openxr_loader.dll Code Integrity events are very likely unrelated.

In the meantime, you can play the film in the viewer and record it with OBS.

Let us know what step 1 shows.

Steely
Aces High, Wing Commander, Dickweed Heavy Bomber Group: www.dickweedhbg.com

FSO Films : https://www.youtube.com/channel/UCFs6CAXBQoVBctljybD65fA?view_as=subscriber

Offline MDStampf93

  • Aces High CM Staff
  • Silver Member
  • ****
  • Posts: 1879
      • https://paa.ge/acecombatant
Re: AH Film companion app - no AI required
« Reply #4 on: Today at 04:08:11 PM »
AI reply incoming  :rofl

Thanks Steely—your first suggestion was right on target.

We captured an MFTrace log, which showed Windows selecting the H.264 encoder associated with the integrated AMD graphics, despite having Film Viewer assigned to the R9700 in Windows Graphics settings. The encoder then failed to initialize.

I disabled only “AMD Radeon(TM) Graphics” in Device Manager, leaving the R9700 and Virtual Display Driver enabled. Reopened Film Viewer, tried another export, and it worked. The MP4 plays correctly with good picture and sound.

For reference, my main monitor is connected to the R9700, while the small secondary monitor uses the motherboard HDMI port. Disabling the integrated graphics takes that small monitor offline.

No additional reinstall, driver change, or reboot was needed for the successful test. Thanks for the help!

Rider
JG11 'Sonderstaffel'
Aces High 3 content below
https://paa.ge/acecombatant


Offline Dadtallica

  • Gold Member
  • *****
  • Posts: 2659
Re: AH Film companion app - no AI required
« Reply #5 on: Today at 04:09:20 PM »
lol wild!
My Videos @NightspanNavigatorProductions

Back in 2022 after a loooooong break from 2010. Old name Ratpack, same for the BBS. Old squads, Excaliburs, 172nd Rabid Dawgs.

Offline steely07

  • Silver Member
  • ****
  • Posts: 1993
Re: AH Film companion app - no AI required
« Reply #6 on: Today at 04:14:12 PM »
beep boop, back atcha :)

Great, thanks for running the trace, Rider. That pins it down properly.

Turning the integrated graphics off only matters while you export. You can turn "AMD Radeon(TM) Graphics" back on in Device Manager afterwards to get your second monitor back, and turn it off again next time you export. A bit clunky, but it works until there's a proper fix.

The real fix belongs in the film viewer: it should use the encoder on the same GPU it draws with, and fall back to the software encoder if that fails, instead of hanging on "Finishing the video file". I've written it up for HiTech with your trace finding, since anyone with a monitor on the motherboard's video output could hit the same thing.

Steely
Aces High, Wing Commander, Dickweed Heavy Bomber Group: www.dickweedhbg.com

FSO Films : https://www.youtube.com/channel/UCFs6CAXBQoVBctljybD65fA?view_as=subscriber

Offline MDStampf93

  • Aces High CM Staff
  • Silver Member
  • ****
  • Posts: 1879
      • https://paa.ge/acecombatant
Re: AH Film companion app - no AI required
« Reply #7 on: Today at 04:16:05 PM »


The real fix belongs in the film viewer: it should use the encoder on the same GPU it draws with, and fall back to the software encoder if that fails, instead of hanging on "Finishing the video file". I've written it up for HiTech with your trace finding, since anyone with a monitor on the motherboard's video output could hit the same thing.

Steely

 :aok
JG11 'Sonderstaffel'
Aces High 3 content below
https://paa.ge/acecombatant


Offline MDStampf93

  • Aces High CM Staff
  • Silver Member
  • ****
  • Posts: 1879
      • https://paa.ge/acecombatant
Re: AH Film companion app - no AI required
« Reply #8 on: Today at 08:41:38 PM »
Might be worth noting that AcesHigh11.exe may have a similar issue.

Took quite a bit of troubleshooting to get my fathers laptop to run the game through his actual GPU and not his CPUs tiny processing board.

New players may run into the same issues and think the game runs terribly when really it’s just their equipment running it improperly.

Should be fixable on Aces High side.
JG11 'Sonderstaffel'
Aces High 3 content below
https://paa.ge/acecombatant