Unknown W. Brackets
1fdf7c5373
UI: Skip game bg lookup without game.
...
This avoids trying to identify a file without a name.
2017-03-24 22:15:22 -07:00
Unknown W. Brackets
7a7e4ed23f
Video: Enable threads for video decoding.
...
This was previously getting (accidentally?) enabled by the call to
`avformat_find_stream_info()`. See #9262 .
2017-03-22 20:36:42 -07:00
Unknown W. Brackets
209500ac0e
Read only the mpeg header when reading packets.
...
When trying to convince FFmpeg to read only the header, this was allowed
to get longer. But we only really need the actual header here, and that
can prevent FFmpeg mis-parsing later packets.
2016-09-24 17:45:51 -07:00
Unknown W. Brackets
558b4620e8
Mpeg: Parse video streams from PSMF header.
...
Without doing this, FFmpeg will try to probe the streams to detect them
instead. When it does this, sometimes it tries to read beyond the data
that's available - and then gets confused by EOFs.
Parsing this way allows us to control the situation.
An example is Valkyrie Profile, corruption in the first frames of the
second video during the intro. Thi doesn't fix it yet, but now it's just
a matter of buffering.
2016-07-24 15:58:06 -07:00
Unknown W. Brackets
dcc2541b71
Mpeg: Ask FFmpeg not to look beyond the header.
2016-07-24 15:58:05 -07:00
Unknown W. Brackets
57ae9a1181
Mpeg: Ensure garbage is not read from header.
...
In cases where we did not have a full 64k at first, we would potentially
send FFmpeg garbage if it asked for it.
2016-07-24 15:58:04 -07:00
Unknown W. Brackets
266ee632e8
Cleanup FFmpeg funcs deprecated in 3.x.
2016-07-24 12:53:54 -07:00
Unknown W. Brackets
f5b93bc6f0
Remove global num videos hack.
2016-05-01 08:53:48 -07:00
Unknown W. Brackets
3593a7963e
Cleanup and clarify texture swizzling funcs.
2016-03-26 21:55:32 -07:00
Unknown W. Brackets
0b1102a622
Mpeg: Correctly handle mono audio in videos.
2016-01-21 23:19:03 -08:00
Unknown W. Brackets
48729b90d8
Correct buffer size when writing a video range.
2016-01-17 12:57:27 -08:00
Henrik Rydgard
c8fe0b2690
Minor simplification, buildfixes
2015-07-29 12:38:31 +02:00
Unknown W. Brackets
0c0a5741b8
Fix another dumb mistake in video swizzling.
2015-06-14 09:21:13 -07:00
Henrik Rydgard
23004409bd
Add another missing check for VRAM address before swizzling media
2015-06-14 14:03:45 +02:00
Henrik Rydgard
4f3d18fcb7
Only swizzle written video if actually writing to VRAM
2015-06-14 12:07:09 +02:00
Unknown W. Brackets
e9094872d8
Oops, don't move imgbuf so we can free it.
2015-06-13 16:29:56 -07:00
Unknown W. Brackets
401bd35691
Swizzle video texture data on write to mirrors.
2015-06-13 16:29:56 -07:00
Henrik Rydgard
6660985210
Extract a bunch more color conversion loops.
2015-04-08 22:52:48 +02:00
Unknown W. Brackets
c16fac6688
Force off full-range color during video decode.
...
Fixes #6528 , so should make colors in videos more correct.
2015-03-01 09:27:38 -08:00
Lioncash
ff0ea751c5
MediaEngine: Get rid of implicit boolean conversions to int
2014-12-13 23:40:04 -05:00
Henrik Rydgård
5f8f3633a8
Merge pull request #6685 from unknownbrackets/kill-volume
...
Remove bgm and sfx volume settings
2014-08-19 07:56:01 +02:00
Unknown W. Brackets
3fbab33c91
Only loop at video end.
...
In case of a short video that runs out of data but isn't ready to loop
yet.
2014-08-17 15:46:04 -07:00
Unknown W. Brackets
5c470a1923
Remove bgm and sfx volume settings.
...
They don't actually work in all games, and this only confuses users.
Also, the default 7 lowers the volume of audio detected as bgm or sfx, but
not other volume. This means that some audio may have played too loud in
some games by default, which will be fixed by this change.
2014-08-17 14:16:59 -07:00
Unknown W. Brackets
29a9ff369e
Make a note when we need to reset the shader.
...
Hmm, not sure this is the cleanest way.
2014-05-27 22:12:25 +02:00
Unknown W. Brackets
bd31b776c7
Report GHA phase shifting.
2014-05-27 00:03:28 -07:00
Unknown W. Brackets
e522eea2b4
Improve psmf seek perf and audio sync.
2014-05-15 00:28:54 -07:00
Unknown W. Brackets
2042672ec7
Correct the audio pts from the actual stream data.
...
Before, we would just increment it and hope we were right. There's no
reason we'd be wrong, but with seeking we have to be more careful.
2014-05-15 00:05:40 -07:00
Unknown W. Brackets
0e781cd053
Fix ranged mpeg memchecks, oops.
2014-05-11 21:52:15 -07:00
Unknown W. Brackets
9c0bc32f52
Add support for initPts in scePsmfPlayerStart().
...
It won't be super speedy though, could more ideally do it on the calls to
Update()...
2014-05-11 14:23:13 -07:00
Unknown W. Brackets
647d6c0960
Invalidate when writing video image.
...
It is required to update the framebuffer, of course. Fixes Dead or Alive
video flicker.
2014-04-27 08:23:42 -07:00
Unknown W. Brackets
6c53f19854
Trigger memchecks on audio decode from video.
2014-04-26 11:51:06 -07:00
Unknown W. Brackets
065677095f
Trigger memchecks on writing out video data.
2014-04-26 11:48:02 -07:00
Unknown W. Brackets
eae4c9cc49
Check for no audio more directly.
...
This fixes some cases where the flag was set wrong.
2014-04-26 09:38:13 -07:00
Unknown W. Brackets
891764d8ee
Make scePsmfPlayerSelect*() actually switch.
...
Don't have any games actually using this, so let's report too. Audio is
falsely working when the stream isn't playable, not exactly sure the best
way to detect that.
2014-04-22 08:07:49 -07:00
Henrik Rydgård
f328cfe655
Merge pull request #5816 from raven02/patch-8
...
No need to init packet as 0
2014-04-09 15:01:00 +02:00
kaienfr
a576420547
Remove decode function of SimpleAudioDec and use its class method.
2014-04-08 01:09:28 +02:00
raven02
619039aed6
No need to init packet as {0}
2014-04-07 19:29:57 +08:00
raven02
3fb85dde8f
ME : Init packet as {0}
2014-04-06 20:40:04 +08:00
Henrik Rydgård
c724a6c06a
Merge pull request #5764 from kaienfr/cleanup
...
Cleanup SimpleAudioDec
2014-04-06 12:01:05 +02:00
Unknown W. Brackets
91323ebe92
Clear m_sws_ctx when freeing it.
...
Oops. May help #5781 .
2014-04-01 21:25:03 -07:00
Unknown W. Brackets
0ba0dba63d
Correctly free a few FFmpeg resources.
2014-03-30 13:44:32 -07:00
kaienfr
a7e74c74a7
Cleanup SimpleAudioDec
...
and remove unused AudioCreate fonction, it can be down in the class constructor.
2014-03-29 19:38:14 +01:00
kaienfr
4de5e1b72f
Update MediaEngine.cpp
...
auto s = p.Section("MediaEngine", 1, 3);
if (s >= 3){
p.Do(m_audioType);
}
else{
m_audioType = PSP_CODEC_AT3PLUS;
}
2014-03-23 20:28:39 +01:00
kaienfr
0238258129
Update MediaEngine.cpp
...
Support both old and new savestate for mediaengin.cpp
2014-03-23 20:18:27 +01:00
kaienfr
88f6f0e4af
Update MediaEngine.cpp
...
fix new feature in MediaEngine.cpp
2014-03-23 20:07:21 +01:00
kaienfr
b18252b2b5
Support audio playing (AT3, AT3+, Mp3, AAC)
2014-03-23 19:45:08 +01:00
raven02
84bbbc3e51
Use GE_CMODE instead of TPSM_PIXEL_STORAGE_MODE
2014-02-16 23:15:17 +08:00
raven02
4f744436bb
Return -1 when no atrac inited
2014-02-12 21:55:36 +08:00
raven02
7dcf355cd6
MediaEngine : getAudioTimeStamp() returns m_audiopts
2014-02-11 19:24:51 +08:00
Henrik Rydgård
169844cc8c
MediaEngine/atrac: Initialize some variables, remove use of some deprecated functions
2014-01-27 14:08:05 +01:00