Commit Graph
432 Commits
Author SHA1 Message Date
Vladimir Serbinenko 3c97ebd4f9 VIDEO: support multi-track audios in 3DO videos
It's used in plumbers with first track being speech and second track
being music
2020-10-24 00:59:01 +02:00
Vladimir Serbinenko ce6eb34121 VIDEO: uplift 3do movie decoder from sherlock engine
The format is generic to 3DO and is also used by plumbers.
I think it's also accelerated on 3DO so probably is used by
a lot of 3DO titles
2020-10-24 00:59:01 +02:00
Andrei Prykhodko 49437e2c1a VIDEO: Update Engine Usage Comment in AVI Decoder 2020-10-07 22:51:46 +03:00
Andrei Prykhodko 7bbb639bd7 VIDEO: add support for BLACK chunk in FLIC decoder 2020-10-04 18:27:33 +02:00
Paweł Kołodziejski 328c12a28d VIDEO: Added support for PS2 audio codec in MPEG stream 2020-09-24 18:52:31 +02:00
Paweł Kołodziejski 0051eef251 VIDEO: Added support for alpha component support for BINK videos 2020-09-24 14:24:17 +02:00
Eugene Sandulenko 6f1e185f7d AUDIO: Fix warnings 2020-09-24 01:28:17 +02:00
Paweł Kołodziejski 5c441f9420 VIDEO: Added support for seeking BINK streams 2020-09-24 01:23:50 +02:00
Paweł Kołodziejski 1aff4a4cd3 VIDEO: Added getter for getFrameRate() for BINK and SMK video streams. 2020-09-24 00:26:27 +02:00
Vladimir Menshakov 9ecce37b81 VIDEO: Pad consts with spaces, not tabs, formatting fixup 2020-09-02 06:43:44 +01:00
Vladimir Menshakov 61ce70f6e8 VIDEO: skip FLC file header if present 2020-09-01 21:54:22 +01:00
Vladimir Menshakov 9be832dad7 VIDEO: Fix playback of FLC files created with non-EGI encoders (no frame1/2 pointers, no ext_flags) 2020-09-01 21:52:42 +01:00
Cameron Cawley b76652120b AUDIO: Separate the XA ADPCM decoder from the PSX video decoder 2020-08-24 14:21:00 +02:00
D G Turner 043ec04bea VIDEO: Update Engine Usage Comment in FLIC Decoder 2020-06-15 20:49:00 +01:00
Thomas Fach-Pedersen 4aae3340fc KINGDOM: Add support for 16-bit MVE videos 2020-06-14 23:36:05 +02:00
D G Turner 4adae15840 VIDEO: Fix Compiler Warnings in MVE Decoder 2020-06-11 01:59:53 +01:00
Thomas Fach-Pedersen 2e963d8c03 KINGDOM: Fix partial palette updates in MVE decoder 2020-06-07 00:02:29 +02:00
Thomas Fach-Pedersen 5ed3222fce KINGDOM: Support partial palette update in MVE decoder 2020-06-07 00:02:29 +02:00
Thomas Fach-Pedersen 25ed22d192 KINGDOM: Make audio track selectable in MVE decoder 2020-06-07 00:02:29 +02:00
Thomas Fach-Pedersen 03c2a973e4 KINGDOM: Fix MVE video format 6 decoding 2020-06-07 00:02:29 +02:00
Thomas Fach-Pedersen e091dab0ae KINGDOM: Frames can span multiple chunks 2020-06-07 00:02:29 +02:00
Thomas Fach-Pedersen 7c07260ab8 KINGDOM: Replace uint16_t with uint16 in MVE decoder 2020-06-07 00:02:29 +02:00
Thomas Fach-Pedersen aff19ae96b KINGDOM: Implement preliminary MVE decoder.
Implements decoding for formats 0x6 and 0x10. Not bug free.
2020-06-07 00:02:29 +02:00
Eugene Sandulenko 637493cc85 VIDEO: Stub for MVE decoder 2020-06-07 00:02:29 +02:00
Matthew Duggan 818e681746 IMAGE: Add support for Crusader: No Remorse movie decoding
The movies for Crusader: No Remorse have a unique decoder which is not too hard
to implement.  Unfortunately, they don't properly implement the "compression"
FourCC, and instead put their ID in the "Stream Handler".  Since supporting
them requires a change to the existing Image API, I thought I should make a
pull request for comments.

With this change, the movies in Crusader can all be played nicely.
2020-05-11 07:54:24 +02:00
Eugene Sandulenko 8b0ff834d0 VIDEO: Fix typo which could lead to crash in mpeg decoder 2020-04-28 10:38:37 +02:00
D G Turner b7b66c5049 VIDEO: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
2019-11-30 19:47:06 +00:00
Dmitry Blau cf179868c8 VIDEO: Fix embedded subtitles in VMD videos
This fixes the subtitles in Woodruff - bug 10960
2019-09-13 11:27:24 +03:00
Bastien Bouclet 0f57aea2df COMMON: Use a prefix table to speed up the Huffman decoder
Symbols for codes shorter than the prefix table index width are stored
in the table. All the entries in the table with an index starting with
the code are set to the symbol value. That way, when decoding it is
possible to get the number of bits corresponding to the table width from
the bitstream and directly find the symbol value. Longer code still need
to be searched for in the codes list.
2019-04-13 16:24:25 +03:00
Bastien Bouclet 43e04d19c4 VIDEO: Fix Bink clearing color comment
YUV 000 is a green, not black. Thanks DrMcCoy for noticing and fixing
the issue.
2019-04-01 20:49:51 +02:00
Bastien Bouclet 195b4cbd20 VIDEO: Fix an integer overflow when dequantizing the DCT coeffs
See https://github.com/FFmpeg/FFmpeg/commit/2968bedf129558024ea87a1aabc4aa2d3a5bcb6e
2019-04-01 20:49:45 +02:00
Torbjörn Andersson 9785d5007a ZVISION: Boost volume for MPEG cutscenes
The high-resolution videos play back at much lower volume than the
original ones. This adds hard-coded values for how much to amplify
each cutscene. It's all done by ear, and it does introduce some
clipping, but I think it should be acceptable.

Of course, it could also be a problem with the audio decoder, so
this may be the wrong approach entirely.
2019-02-10 16:32:02 +02:00
Bastien Bouclet f72f71a6cc VIDEO: Keep track of the duration of ignored edits
Fixes inconsistent videos playing in Caldoria in the DVD version of JMP
Pegasus Prime.
2019-02-02 13:30:44 +01:00
Torbjörn Andersson 7c58534f4f VIDEO: Add buffering demuxer to MPEG-PS decoder
In all my attempts to get the audio and video to sync up in the
ZGI videos, there have always been 9-10 frames of video before the
audio even starts, even though the audio is timestamped to start
before. This attempts to fix that by prioritizing sending audio
packets to the decoder in a timely fashion.

I do not know if this is the correct way of doing this, and there
are still some things that need to be fixed. But pragmatically, it
does procude significantly better sync, so...
2018-11-04 22:33:22 +01:00
Torbjörn Andersson a5b5b68a1a VIDEO: Use all video PTS's
Sometimes (only at the very start of a movie?) there will be a
video packet that has a PTS but no frame to display. Save that PTS
and use it for the next frame. This doesn't actually improve
anything, as far as I can tell, but feels right.
2018-11-04 22:33:22 +01:00
Torbjörn Andersson 1255e8de4d VIDEO: Removed _psmESType
We weren't doing anything with it anyway. And I'm not sure it's
even available in the ZGI videos.
2018-11-04 22:33:22 +01:00
Torbjörn Andersson 1d69564876 VIDEO: Moved MPEGStream creation out of readNextPacket()
I think it makes things easier to read, and I have some ideas
that I want to try which should be easier this way...
2018-11-04 22:33:22 +01:00
Torbjörn Andersson ac40828ed2 VIDEO: Make the video pts sync easier to understand 2018-11-04 22:33:22 +01:00
Torbjörn Andersson b672a694b9 VIDEO: Synchronize video to pts timestamps
This is another attempts at improving the audio/video sync in the
MPEG-PS decoder. Unfortunately, the audio probably also needs to
be synced to its pts timestamps...
2018-11-04 22:33:22 +01:00
Torbjörn Andersson 43b29a93d7 VIDEO: Use the standalone AC-3 decoder in the MPEG-PS code
This code comes from clone2727's now defunct (?) ac3 branch, with
some minor compile fixes. This represents the latest version of
the stalled AC-3 decoder work for Zork: Grand Inquisitor. Note,
however, that I have not yet asked for clone2727's permission to
use this. I'm just experimenting.
2018-11-04 22:33:22 +01:00
Torbjörn Andersson ef70af5e99 VIDEO: Some minor cleanups to the AC-3 decoder 2018-11-04 22:33:22 +01:00
Torbjörn Andersson e6abe39752 VIDEO: Skip DVD code. The sound plays, but audio/video sync is off
Like most things that make this branch actually work, this comes
from clone2727.
2018-11-04 22:33:22 +01:00
Torbjörn Andersson 89ec9766a1 VIDEO: After figuring out sample rate, rewind the AC-3 stream 2018-11-04 22:33:22 +01:00
Torbjörn Andersson ad41dfb7ff VIDEO: Committed fixes from clone2727
This collects the whole frame before trying to decode it. It's
still now working right, but it's way better than it was before.
2018-11-04 22:33:22 +01:00
Torbjörn Andersson fc7fa1de3a VIDEO: Use liba52 to decode audio. This is still laughably broken
At the moment, this produces nothing but misery in the form of
Valgrind warnings and horrible noise.
2018-11-04 22:33:22 +01:00
Cameron Cawley 06446d36f5 VIDEO: More fixes when building with Theora and Tremor 2018-08-18 13:33:43 +02:00
Cameron Cawley 5cf3b75deb VIDEO: Fix Theora playback when building with Tremor 2018-08-03 14:52:09 +02:00
Bastien Bouclet b8abe40085 VIDEO: QT: Make sure all the edits are in the media bounds
In the Spanish version of Riven, the last edit of the video ogk.mov
ends one frame after the end of the media causing the playback to fail
without this check.

Fixes Trac#10633.
2018-07-21 08:02:40 +02:00
Eric Fry 2d836d4ec0 VIDEO: Warn instead of error when unhandled TXTS stream found in AVI 2018-07-20 06:43:33 +00:00
Andrei Prykhodko 7703b3617e VIDEO: fix seeking to first/second frame if it exceeds uint16 2018-06-29 13:41:44 +03:00