1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-15 11:25:10 +00:00
Commit Graph

64 Commits

Author SHA1 Message Date
mswitch
24c5ce1c3b Fixed some bugs with fame, had to disable prebuffering with fame though
as sync drifts off. But fame is alot more stable than avcodec and so far
I've noticed a small quality increase with some videos (not all).

Will have to work some more on the sync stuff... This one should be
stable though..


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5135 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-16 15:49:26 +00:00
mswitch
7644b575f9 Fixed problem with seeking/sync when using libfame
libfame seems to not accept some standard fps rates, like 2997/100, this
causes bad syncing with fame sometimes =(


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5133 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-16 06:01:13 +00:00
mswitch
d0c4c00cae No longer force the device into not using fame
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5098 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-15 17:24:27 +00:00
mswitch
301dd8f013 This will slow down wobbling (just a bit)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5066 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-13 14:39:24 +00:00
mswitch
37b0b31559 Added preliminary fame support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5065 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-13 14:15:00 +00:00
mswitch
f564da98d0 Accidentally mixed experimental code with stable one during last commit,
fixed...
Also updated changelog to reflect recent changes


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4756 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-18 18:23:14 +00:00
mswitch
41277cabf6 Added VOCTRL_PAUSE and VOCTRL_RESUME
Fixed playback bug in vo_dxr3 which would cause syncloss when playing
ntsc movies on pal and vice versa (this does not affect mpeg playback as
we still don't know how to set the internal fps registers)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4755 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-18 17:34:20 +00:00
mswitch
b74f43fb50 Fixed a bug with prebuffering which would cause syncloss, someone at
sigma should go die for not giving us the damn tech docs =(


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4728 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-16 13:41:32 +00:00
mswitch
6292bf2273 Fixed a strange bug that sneaked in at the last minute (vobsub would
segfault for some reason.. I don't even know what vobsub is)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4725 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-16 13:06:45 +00:00
mswitch
49ab796720 Fixed bug which would cause gibberish to be printed when using :noprebuf
Removed equalization code, it caused problems with older machines, until
someone with a fast machine can betatest it it's only worthless


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4724 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-16 12:51:33 +00:00
mswitch
9ec5053a4f Using the mplayer SwScaler instead of doing scaling manually (sometimes this dies with sig FPE
when not using -vc mpegpes with mpegs (I find it unlikely it would only happen on mpegs though))
Using detection code to check if using NTSC or PAL/SECAM and setting appropriate resolution and
GOP-Size based on this information. It now generates a valid mpeg1 stream instead of a hybrid
mpeg2 (with mpeg1 headers).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4686 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-13 00:38:23 +00:00
mswitch
4690e5fccf updated :noprebuf to emulate the playback used in mplayer 0.60 (with dxr3 patch), this solves
alot of issues for ppl who had problems with the new prebuffering code


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4614 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-09 17:40:33 +00:00
mswitch
d0fa2231b3 Fixed a bug where seeking would lock mplayer
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4610 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-09 14:44:09 +00:00
mswitch
1d2ffe2e85 Removed some stuff from the em8300 driver, had to compensate
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4608 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-09 14:27:24 +00:00
mswitch
fceaa28287 Added switch to disable prebuffering
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4606 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-09 11:35:24 +00:00
mswitch
f31c512e5d ARGH, changing playback speed was a mistake...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4605 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-09 11:15:11 +00:00
mswitch
2fd7d64a47 Fixed some stuff with setting timestamps, and added proper setting of playback speed. I'm
guessing I'm looking at lots of sleepless nights ahead =(


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4604 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-09 11:10:31 +00:00
mswitch
a413504af3 Thanks to the new control() method I've finally been able to add prebuffering support. This
should greatly inprove performance on all systems...


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4603 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-09 10:43:11 +00:00
arpi
4b33dccb25 10000hl to Holm... control MUST BE static...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4597 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-09 01:21:48 +00:00
arpi
7c51652a1b query_ stuff replaced by new control() - patch by David Holm
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4593 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-09 00:47:26 +00:00
mswitch
f6787a2265 Activate QSCALE flag for avcodec
Reset playback speed on exit (we aren't using this feature yet... but
will hopefully do soon)
Use fsync instead of the mediocre flush ioctl's on seeking/pausing, at
least video seems to stay in sync...


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4524 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-03 23:13:56 +00:00
mswitch
dfc9dd714b Forgot the osd fix in the other patch, well, here it is ;)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4515 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-03 15:10:47 +00:00
mswitch
52c31131ab Switched from libmp1e to libavcodec, at least for me it runs helluva lot faster than libmp1e
(high quality divx movies that before ran very poor now plays perfectly). Also includes some
minor fixes to the osd support. Since libmp1e has issues with non-mmx system I think this move
is a smart one...


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4514 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-03 14:55:27 +00:00
mswitch
4cc01fb724 Cleaned up some code
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4481 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-02 18:09:35 +00:00
nick
b587a3d642 new info for tuning
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4434 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-31 09:57:13 +00:00
nick
fa1d5742bc Extensions for video accelerated architecture
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4353 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-26 16:01:26 +00:00
mswitch
ea0dae62da Reverted to using software sync again, some day I'll die of a heartattack if I can't get this
m*f*er to work on both fast and slow machines... May all hell be let loose on sigma for not
cooperating with us


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4270 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-19 22:24:30 +00:00
mswitch
3beb10eeff Only use hardware sync and prebuffering with mpegs!
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4268 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-19 21:55:30 +00:00
mswitch
b6b47b29b8 Handle timestamps internally
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4266 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-19 21:20:29 +00:00
mswitch
e624cbbce3 Removed seeking warning message since it has now been fixed in the driver
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4253 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-19 15:01:28 +00:00
mswitch
9870d682a4 Fixed seeking
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4220 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-17 19:24:33 +00:00
mswitch
94d8b9131d Added new syncengine thanks to a new previously undocumented feature of the em8300, this might fix playback on both slow and fast machines (more testing needed). This also requires users to get the em8300 driver from cvs until the next version is released (will probably happen this weekend)
Added lots of comments, should be pretty easy to understand most of the internals now
Added lots of brackets to if's for's while's etc, this is not a cosmetical thing but rather due to the fact I got some very odd bugs with else's since I didn't properly use brackets (and it's the K&R standard to have brackets everywhere)
Fixed some bugs that would occur when disabling libmp1e
Switched to default to the new naming scheme of device nodes, the driver will slowly switch over to this state, if it can't find devices under the new name it will try the old naming scheme
I stopped opening devices in non-blocking mode, it would break the new syncengine which tries to burst data to the device (alot of times meaning it will fill the fifo pretty fast which would previously result in jerkyness on fast machines)
The device now sets the initial state of the pts and speed (probably not needed, but assumption is the mother of all fuckups =)
Keep the control interface open during the entire duration of the libvo device, we might need this to flush video buffers on seeking (currently not implemented, therefore seeking is broken)
This is beta stuff to the driver, I will get some users to test it for me and do my best to fix seeking as soon as possible...


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4219 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-17 10:33:47 +00:00
mswitch
5bb60ff023 Moved declaration of picture_* out of ifdef MP1E as not to break compilation for those of you who disable libmp1e
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4167 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-15 10:10:20 +00:00
arpi
b28a18c137 hw spu support for dxr3 - patch by David Holm
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4161 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-15 00:23:16 +00:00
mswitch
de15f527f6 Fixed a bug relating to libmp1e (actually the bug is in libmp1e, but this solution should be safe enough)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4110 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-12 15:59:47 +00:00
arpi
62969df02e useless cosmetics changes... a.k.a. cvslog killer - patch by David Holm
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4096 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-11 22:30:28 +00:00
mswitch
e13278dc49 Reverted to accurate but glitchy sync...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4064 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-09 16:20:41 +00:00
mswitch
4f6a3bb32d preliminary config interface
dual syncengine


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4007 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-06 15:15:17 +00:00
mswitch
879228a664 Fixes to sync code
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4006 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-06 14:29:58 +00:00
mswitch
3edb7775ee Some last minute changes to accomodate for anamorphic 1.85:1 and 2.35:1 movies... Needs more work, but this is good enough for now.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3862 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-28 22:33:06 +00:00
mswitch
6fb54e9032 Brand new sync core, uses hw sync for everything.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3829 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-28 10:21:05 +00:00
mswitch
7053d5f169 osd support, not for mpegpes
more cleanups of old code


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3760 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-26 10:34:54 +00:00
mswitch
ca7c2ea806 Modified aspect reference, uses default PAL values... Difference to NTSC should be minimal enough so that no checking of videomode is necessary.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3662 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-22 16:20:32 +00:00
mswitch
1ce42a5646 Modified the sync code once again, commented out hardware pts sync (I'll likely burn in hell before understanding how to get this bastard to sync well)
Added automagic setup of aspect ratio, will remove the "aspect-bug" (I hope). As well as please you rich 16:9 doods ;)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3640 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-20 20:50:35 +00:00
mswitch
12dd9ded9c Removed conversion for yuy2, libmp1e supports this format, no need to cnovert it...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3631 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-20 08:02:38 +00:00
mswitch
9194e94a48 Removed some old libavcodec code which would cause inproper scaling of some movies...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3630 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-20 07:40:30 +00:00
mswitch
0618d45a03 Inproved mpeg sync on fast computers
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3622 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-19 18:26:08 +00:00
mswitch
343b941007 Fix glitchy mpeg playback
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3615 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-19 14:28:42 +00:00
atmos4
35e0c399d1 MP1E configure patch by D. Holm.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3433 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-10 14:41:44 +00:00
mswitch
ba73fc159f Removed hardware syncing support. Actually movies seem to run much smoother without it.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3388 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-08 14:40:45 +00:00