VOGONS

Common searches


First post, by mi_trooper

User metadata
Rank Newbie
Rank
Newbie

Hi,

I recently tried to record some tie-fighter footage with the help of DosBox V0.72.

I was able to record video with audio, but the midi music was not recorded.
I have a sound blaster x-fi card with a soundfont.

I also tried other games with midi music, same thing happens, video and audio is recorded but midi is left out.

Any ideas on how I can record Video and midi together?

***MI TROOPER***

Reply 1 of 12, by mi_trooper

User metadata
Rank Newbie
Rank
Newbie

Hmmm, seems that recording video with FM (adlib) Midi works, it just doesn't want to record video with General Midi (ie. soundfont).

But it should be possible because this person did it:

http://www.youtube.com/watch?v=boDiy4H2jBY

***MI TROOPER***

Reply 2 of 12, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

probably recorded the audio with a seperate program and mixed that with the video output.
DOSBox itself doesn't record the midi sounds when capturing a movie

Water flows down the stream
How to ask questions the smart way!

Reply 4 of 12, by ripa

User metadata
Rank Oldbie
Rank
Oldbie

You can also record MIDI commands into a separate .mid file that you can later render into normal audio. Ctrl-Alt-F8 starts recording MIDI. I have no idea if it will stay in sync with the video, however.

PS. Does AVI support MIDI data?

Reply 5 of 12, by MiniMax

User metadata
Rank Moderator
Rank
Moderator

/me learned something new today 😀 From the README:

CTRL-F6 Start/Stop recording sound output to a wave file.
CTRL-ALT-F7 Start/Stop recording of OPL commands.
CTRL-ALT-F8 Start/Stop the recording of raw MIDI commands.

DOSBox 60 seconds guide | How to ask questions
_________________
Lenovo M58p | Core 2 Quad Q8400 @ 2.66 GHz | Radeon R7 240 | LG HL-DT-ST DVDRAM GH40N | Fedora 32

Reply 7 of 12, by mi_trooper

User metadata
Rank Newbie
Rank
Newbie

Thanks guys, thanks for your input.

Yeah, all those options for recording raw midi and audio ect., I know those and they work fine.

But the problem I have is that DosBox doesn't record midi playback when you use soundfonts...

For example, I play Tie-Fighter with a very good orchestral soundfont for midi playback. When I record a movie, only the screen and audio are captured, not the soundfont midi playback. When I use FM (ie. adlib) for midi playback, it does get recorded in the video, so that works.

At the moment it probably isn't possible to record soundfont midi playback in DosBox videos. No worries, I'll try something else...again, thx for your replies.

***MI TROOPER***

Reply 8 of 12, by dh4rm4

User metadata
Rank Oldbie
Rank
Oldbie

FM Playback in DOSBox is actually rendered out (and played within) as digital wave audio via DOSBox's emulation of the adlib/soundblaster FM OPL synth, that's why it's recorded into the AVI. "Soundfont" MIDI as you refer to it is actually the MIDI notes/instrument selection being passed from DOSBox to your Windows MIDI playback device (in your case obviously some sort of Sound Blaster or Audigy card which you've loaded with soundfonts). If you want to record that stuff you'll need to set your Creative Mixer to 'what you hear' and record it separately with something like Sound Recorder, GoldWave or the like and mix it back into the recorded video later.

Reply 9 of 12, by ADDiCT

User metadata
Rank Oldbie
Rank
Oldbie

Yepp, it is possible to record MIDI file playback via a Soundfont. I've tried that some time ago with my trusty old SB Live! and Winamp, and it worked after some fiddling around with the mixer settings. Btw, if it's possible to record "everything you hear" from your soundcard, you could simply record all audio seperately, and mix it with the video file afterwards. That should rule out any sync issues.

Reply 10 of 12, by ripa

User metadata
Rank Oldbie
Rank
Oldbie

"But the problem I have is that DosBox doesn't record midi playback when you use soundfonts... "

Why not record as MIDI and then play back later and record into audio outside of Dosbox and finally mix it with the video?

"That should rule out any sync issues."

On the contrary, wouldn't that make it worse? Every time DosBox skips, the recorded sound skips, but the video (or any sound recorded by dosbox) won't. When mixing the recorded audio and video together they would gradually go out of sync.