Karl Blomster
dafc9dfe73
fix a crash when saving screenshots with a non-english locale set. patch by Manta.
...
Originally committed to SVN as r2326.
2008-09-06 09:33:14 +00:00
Karl Blomster
893ff2f78a
Major rewrite of the video providing system. Hilights:
...
- It is now the responsibility of each video provider to provide a list of keyframe positions and (if it can) timecodes.
- The ffmpeg video provider now indexes files before opening them and does no longer rely on stream->duration to determine the number of frames. Fixes opening of MKV files, but it does not (currently) open timecodes automatically and reported keyframe positions seem way off. Status of frame-accuracy with MKV files unknown but it may very well work.
- Modified the way the ffmpeg video provider seeks (inspired by code from Myrsloik's ffmpegsource). Should no longer lose the first frame and should also no longer be frame-inaccurate, at least not with AVI.
- DirectShow video provider may or may not be completely broken, not tested.
Originally committed to SVN as r2252.
2008-07-15 00:08:05 +00:00
Karl Blomster
32f7a53a68
vastly improved keyframe reading with ffmpeg, should be much faster and more reliable.
...
Originally committed to SVN as r2248.
2008-07-13 23:45:42 +00:00
Amar Takhar
ffaac724e1
Remove a !defined(__APPLE__) around #include "lavc_keyframes.h", also add a c_str().
...
Originally committed to SVN as r2145.
2008-03-25 23:42:39 +00:00
Rodrigo Braz Monteiro
c248ca39f2
Fixed several warnings on g++.
...
Originally committed to SVN as r2044.
2008-03-13 18:55:09 +00:00
Amar Takhar
0e00389079
Add .c_str() to line 300 (filename).
...
Originally committed to SVN as r1976.
2008-03-08 20:38:03 +00:00
Rodrigo Braz Monteiro
4f4f4cc91f
Moved files relevant to providers to aegisub/include. A few things might be broken.
...
Originally committed to SVN as r1956.
2008-03-07 21:00:20 +00:00
Rodrigo Braz Monteiro
974efa126b
Modified all providers to separate them between factory and factory manager. This will make plugin system easier. Also, made hunspell register manually as well.
...
Originally committed to SVN as r1946.
2008-03-07 02:32:29 +00:00
Niels Martin Hansen
0e60c4b9cb
Fix handling of LAVCKeyFrames to be when building WITH_FFMPEG rather than some guesses based on platform.
...
Originally committed to SVN as r1808.
2008-01-21 21:01:00 +00:00
Rodrigo Braz Monteiro
9731d53eea
Fixed playback of independent lines.
...
Originally committed to SVN as r1793.
2008-01-20 19:51:48 +00:00
Rodrigo Braz Monteiro
984c2362fd
Applied p-static's video playback timing patch, and fixed a few things for eventual dynamic wx linking.
...
Originally committed to SVN as r1786.
2008-01-20 06:14:40 +00:00
Rodrigo Braz Monteiro
c2aaa4eb8c
Added shb's incomplete perl support code (doesn't build on VC++ yet)
...
Originally committed to SVN as r1741.
2008-01-16 18:29:29 +00:00
Rodrigo Braz Monteiro
51725ff9a7
Made video position not show on audio by default, also made it check whether audio is visible before trying to update it.
...
Originally committed to SVN as r1735.
2008-01-15 22:51:16 +00:00
Rodrigo Braz Monteiro
3ce6d62f4e
Hopefully made Aegisub compile on Linux without WITH_FFMPEG.
...
Originally committed to SVN as r1723.
2008-01-15 00:54:54 +00:00
Rodrigo Braz Monteiro
6116b0af7b
Implemented an optional line indicating the current video position on the audio (request #542 )
...
Originally committed to SVN as r1712.
2008-01-14 01:18:24 +00:00
Karl Blomster
58b1637bd8
Made SetVideo discard keyframe data if every frame in the video is a keyframe. Fixes #547 .
...
Originally committed to SVN as r1699.
2008-01-13 20:25:47 +00:00
Rodrigo Braz Monteiro
6d9b40114c
Added a minimal hunspell (for win32 only) to repository
...
Originally committed to SVN as r1694.
2008-01-13 05:57:09 +00:00
Rodrigo Braz Monteiro
6f29cc7105
Small fix to last commit
...
Originally committed to SVN as r1674.
2008-01-10 23:22:49 +00:00
Karl Blomster
bc1b90a3c3
Fix saving of screenshots when dummy video is used and the screenshot save path is ?video by trying ?script instead and if that isn't defined, save to user's home dir.
...
Fixes mantis issue #442 .
Originally committed to SVN as r1673.
2008-01-10 22:28:47 +00:00
Niels Martin Hansen
f27241bd3f
Minor fixes for (old) OS X builds
...
Originally committed to SVN as r1664.
2008-01-05 00:02:06 +00:00
Rodrigo Braz Monteiro
a8fa4b49ae
Applied 2points' patch for keyframe support in AVI files in Unix systems
...
Originally committed to SVN as r1640.
2007-10-29 18:48:02 +00:00
Rodrigo Braz Monteiro
489abd6663
jfs's mac patches applied
...
Originally committed to SVN as r1560.
2007-09-11 23:22:26 +00:00
Niels Martin Hansen
89d076c760
Apparently long long isn't safe, trying with int64_t instead then...
...
Originally committed to SVN as r1547.
2007-08-31 14:11:35 +00:00
Niels Martin Hansen
8909ea48e2
Replace all (applicable) instances of __int64 with long long. (All except those in foreign header files.)
...
Originally committed to SVN as r1540.
2007-08-29 13:36:30 +00:00
Rodrigo Braz Monteiro
1d6f2f90c6
Issue #446 - Fixed some crashing while trying to play video without audio loaded, on posix
...
Originally committed to SVN as r1463.
2007-07-30 04:05:45 +00:00
Rodrigo Braz Monteiro
c098e4d2a3
Issue #466 - Fixed ffmpegsource with vfr videos. Also re-added the warning for dss. Avisynth provider *should* now be 100% reliable if ffmpegsource.dll is present.
...
Originally committed to SVN as r1456.
2007-07-29 09:06:38 +00:00
Rodrigo Braz Monteiro
7a19d18942
Fixed bug #490 - rotation visual tools weren't updated after manual text edit.
...
Originally committed to SVN as r1441.
2007-07-27 04:50:15 +00:00
Rodrigo Braz Monteiro
80573bcb78
Re-implemented drag in visual typesetting (thus completing the rewriting), fixed lots of other visual typesetting stuff, and maybe, JUST MAYBE, fixed the video playback issue on unix.
...
Originally committed to SVN as r1331.
2007-07-01 07:09:37 +00:00
Rodrigo Braz Monteiro
726305faff
Fixed some video display bugs and added overscan mask drawing (disabled for now).
...
Originally committed to SVN as r1308.
2007-06-28 20:29:56 +00:00
Rodrigo Braz Monteiro
d0fc49ca67
Replaced all references to absolute paths with ?user, ?data or ?temp. Some bugs might have resulted, but it seems to work-ish.
...
Originally committed to SVN as r1277.
2007-06-21 00:46:50 +00:00
Rodrigo Braz Monteiro
c4d94d4dfa
Added ?script, ?video and ?audio to standard paths. It's now all done except for encoding, which isn't very important...
...
Originally committed to SVN as r1276.
2007-06-20 22:23:55 +00:00
Niels Martin Hansen
b40b5b325a
Killed off setup.h - only feature still controlled by it was PRS export, which in its current state is worthless. It can be re-enabled by defining USE_PRS=1 during build.
...
Originally committed to SVN as r1215.
2007-06-08 00:37:24 +00:00
Niels Martin Hansen
5a4e03312a
If Ctrl is held when video playback is started, no audio resync is attempted during that playback.
...
Originally committed to SVN as r1201.
2007-06-02 13:48:36 +00:00
Niels Martin Hansen
a05cf649fe
Proper checking for OpenGL, hopefully also using the right includes on OS X.
...
Most OS X users will want to add --with-apple-opengl-framework to the configure command line.
Originally committed to SVN as r1109.
2007-04-22 02:24:27 +00:00
Rodrigo Braz Monteiro
9292b79e1d
Fixed double clicking on video
...
Originally committed to SVN as r1074.
2007-04-13 20:21:37 +00:00
Rodrigo Braz Monteiro
dbd64d935e
Almost working gl text code (seemingly uploads and retrieves glyphs fine, but only rendering white rectangles, and there are many things that could be causing that)
...
Originally committed to SVN as r1071.
2007-04-13 03:52:25 +00:00
Rodrigo Braz Monteiro
58c7a6f4e8
Failed attempt to get threaded video to work.
...
Originally committed to SVN as r1065.
2007-04-13 00:44:46 +00:00
Rodrigo Braz Monteiro
161f07f6be
Made the relevant audio options reload audio.
...
Originally committed to SVN as r1055.
2007-04-10 02:55:23 +00:00
Rodrigo Braz Monteiro
716539b54a
Allowed using detached subtitles providers on avisynth video provider, and changed the advanced video options in the options dialog to reload the video (so you can immediately see the changes)
...
Originally committed to SVN as r1032.
2007-04-08 19:27:46 +00:00
Rodrigo Braz Monteiro
5d3442f567
Moved YV12->RGB32 conversion to video provider, before caching.
...
Originally committed to SVN as r1031.
2007-04-08 18:12:51 +00:00
Rodrigo Braz Monteiro
c0b62ff377
Re-coded threaded video mode, but it fails spetacularly. It's currently disabled in source, but there.
...
Originally committed to SVN as r1021.
2007-04-07 23:45:46 +00:00
Rodrigo Braz Monteiro
7da5406572
Allowed saving of screenshots and copying video frames to clipboard without subtitles. This will not work with the avisynth video provider (options will be greyed out).
...
Originally committed to SVN as r1020.
2007-04-07 22:03:06 +00:00
Rodrigo Braz Monteiro
6d988bdf4d
Made middle click on audio display jump video to position, fixed a few uninitialized variable warnings and removed the GetString() method from AssFile, since it was only used by the old libass provider.
...
Originally committed to SVN as r1017.
2007-04-07 03:12:55 +00:00
Rodrigo Braz Monteiro
246be56350
Made YV12->RGB32 conversion happen before subtitling, so asa works without glitching.
...
Originally committed to SVN as r982.
2007-04-03 02:55:43 +00:00
Rodrigo Braz Monteiro
4e2af4cd57
Added a method to AegiVideoFrame to allow conversion from YV12->RGB32, which is used by screenshot taking and video context, if the video provider can only provide YV12 (ffmpeg).
...
Originally committed to SVN as r981.
2007-04-03 02:31:51 +00:00
Rodrigo Braz Monteiro
6b26ebd99b
Made video context respect the setting of "video use pixel shaders", which was being ignored by ffmpeg, since it can only output yv12.
...
Originally committed to SVN as r975.
2007-04-01 23:27:22 +00:00
Rodrigo Braz Monteiro
bc1897049b
Complement to jfs's fix.
...
Originally committed to SVN as r962.
2007-03-28 15:24:06 +00:00
Niels Martin Hansen
4e7ddbbe85
Fix for non-pixelshader video rendering
...
Originally committed to SVN as r961.
2007-03-28 15:17:47 +00:00
Rodrigo Braz Monteiro
c722ce9741
ffmpeg video provider now works as expected, except that it leaks memory. This fix should also help with certain videos being loaded with other providers. Also added some asserts and clean up to video frame class.
...
Originally committed to SVN as r954.
2007-03-27 22:29:35 +00:00
Dan Donovan
26cba4b46f
Styles can be renamed when copied
...
Always call Stop in AudioDisplay on Play
Originally committed to SVN as r949.
2007-03-18 01:20:25 +00:00