I did some restoration work on Rivens Videos and encountered a problem. I extracted the audio stream using ffmpeg (copy) from the original and put it into the new one. However upon playback, the game does not play the audio. My assumption is, that the .mov container written by ffmpeg is a newer one?
It does not seem ffmpeg, even when told to copy, keeps the ima4 audio track untouched. In the new video file, Mediainfo does not show the "16bits" entry, while it does in the original one.
If I produce a raw pcm, headerless, audiostream and put that into the video, that's not working either. In this case it was "twos" codec. Looking at
(audio\decoders\quicktime.cpp)
Code: Select all
Common::QuickTimeParser::SampleDesc *QuickTimeAudioDecoder::readSampleDesc(Track *track, uint32 format, uint32 descSize) {
All videos play fine when played by a regular Mediaplayer.