Project

General

Profile

Actions

Emulator Issues #9926

open

Movie: Dump frames AND audio into .avi

Added by ryanebola16 almost 8 years ago. Updated over 3 years ago.

Status:
Accepted
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

What's the problem? Describe what went wrong.

Dolphin can dump frames and audio into separate files. Would combining the two be feasible? I'm aware that video editing programs can do this.

Which versions of Dolphin did you test on? Does using an older version of Dolphin solve your issue? If yes, which versions of Dolphin used to work?

5.0-1418

What are your PC specifications? (CPU, GPU, Operating System, more)

Win 10 Pro x64
Intel Core i7-4702MQ CPU @2.20GHz
GeForce GT 750M
2x 8GB Hynix 1600MHz

Actions #1

Updated by Fog almost 8 years ago

This is something that I've wanted to eventually tackle for a while now, but there are a few things which need to be considered.

  1. The DSP can output at multiple sample rates:

The two sample rates supported by the DSP are 32khz and 48khz. In most cases, the games output at 32khz. However, there are certain games where they either exclusively output at 48khz or switch between the two. This would make a simple transfer over of audio difficult for those games. A solution to this would be to split the video file on audio sample rate changes.

  1. The DTK is separate from the DSP, and outputs at 48khz at all times:

DTK is used by roughly 20-30 games on the GameCube to stream audio from the disc. Merging the DTK (disc streaming) and the DSP audio into a single file would also be tough because of the sample rate differences between them. One possibility to this would be having a separate mixer which mixes all the audio into a single output (as is currently done by the emulator when playing back audio). Another option would be to ignore the DTK audio altogether when dumping video, then dumping the DTK audio as a separate file to be merged later.

One of these days, I'll eventually have enough time to look into working on this.

Actions #2

Updated by Invader almost 8 years ago

@Fog: couldn't the DTK be added as a seperate track to the avi? Mixing them could cause problems if the two streams were out of sync.

Actions #3

Updated by Fog almost 8 years ago

Invader wrote:

@Fog: couldn't the DTK be added as a seperate track to the avi? Mixing them could cause problems if the two streams were out of sync.

AVI containers can only hold one audio and one video track. All the video containers that I'm aware of (MKV included) can only take one audio and one video track, or one video and multiple audio tracks (which are unable to played together at the same time).

Actions #4

Updated by JMC4789 over 7 years ago

  • Status changed from New to Accepted

This needs to be done at some point.

Actions #5

Updated by ZephyrSurfer over 3 years ago

AVI containers have hold multiple video and an audio track too. Look at the attachment here for a sample https://forum.videohelp.com/threads/319455-How-to-Demux-avi-with-multiple-video-streams

Actions #6

Updated by JosJuice over 3 years ago

Yes, but what they were talking about was to include two audio tracks. Though, I don't believe we have any problems with sync between DSP and DTK anymore, so merging the two audio streams should be fine (at least as an option).

Actions #7

Updated by ZephyrSurfer over 3 years ago

AVIs can contain multiple audio and video tracks, my opinion is if a third party video editor(cough Adobe) can't load the additional audio streams that's on them.

Actions

Also available in: Atom PDF