aboutsummaryrefslogtreecommitdiff
path: root/video/mpegps_decoder.cpp
AgeCommit message (Collapse)Author
2018-11-04VIDEO: Add buffering demuxer to MPEG-PS decoderTorbjörn Andersson
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-04VIDEO: Use all video PTS'sTorbjörn Andersson
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-04VIDEO: Removed _psmESTypeTorbjörn Andersson
We weren't doing anything with it anyway. And I'm not sure it's even available in the ZGI videos.
2018-11-04VIDEO: Moved MPEGStream creation out of readNextPacket()Torbjörn Andersson
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-04VIDEO: Make the video pts sync easier to understandTorbjörn Andersson
2018-11-04VIDEO: Synchronize video to pts timestampsTorbjörn Andersson
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-04VIDEO: Use the standalone AC-3 decoder in the MPEG-PS codeTorbjörn Andersson
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-04VIDEO: Some minor cleanups to the AC-3 decoderTorbjörn Andersson
2018-11-04VIDEO: Skip DVD code. The sound plays, but audio/video sync is offTorbjörn Andersson
Like most things that make this branch actually work, this comes from clone2727.
2018-11-04VIDEO: After figuring out sample rate, rewind the AC-3 streamTorbjörn Andersson
2018-11-04VIDEO: Committed fixes from clone2727Torbjörn Andersson
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-04VIDEO: Use liba52 to decode audio. This is still laughably brokenTorbjörn Andersson
At the moment, this produces nothing but misery in the form of Valgrind warnings and horrible noise.
2017-07-27VIDEO: Allow setting the mixer sound type used to play audio tracksBastien Bouclet
2016-09-03JANITORIAL: Make GPL headers uniformEugene Sandulenko
2016-04-14JANITORIAL: Reduce audio header dependenciesOri Avtalion
2015-08-30VIDEO: Switch MPEG-PS audio code to use the packetized MP3 codeMatthew Hoops
2015-01-08VIDEO: Add MPEG-PS demuxerMatthew Hoops
For use with ZVision and later MADE