1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-16 03:45:23 +00:00
Commit Graph

71 Commits

Author SHA1 Message Date
attila
1723559859 dont mess up v4l volumes
patch by Oswald Buddenhagen <ossi@kde.org>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11987 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-02-22 15:21:44 +00:00
alex
1eca50edaa compile fix when v4l2 is present but disabled
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11815 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-01-20 13:32:05 +00:00
henry
70162b5ef8 ALSA 1.x audio out driver
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11776 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-01-11 17:07:32 +00:00
faust3
3f8451c83c make outfmt=uyvy work with rivatv patch by Stephen Beahm
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11657 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-12-18 10:39:55 +00:00
albeu
a695d492af Fix immediatemode with mplayer (ie playing both sound and video)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10777 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-09-01 12:10:29 +00:00
diego
75ea86e31a this small patch allows to compile the file libmpdemux/tvi_v4l.c properly,
when the Linux is patched with the V4L2 patch, which automatically
includes <linux/videodev2.h> when you include <linux/videodev.h>.
It is necessary then to prevent <linux/time.h> from including (by defining
the _LINUX_TIME_H macro) in order to resolve some collisions and it is
also necessary to prevent the defining of "struct v4l2_capability" and
"VIDIOC_QUERYCAP" in libmpdemux/tvi_v4l.c, when they are allready defined
in the <linux/videodev2.h>.

Patch by Martin Drab <drab@kepler.fjfi.cvut.cz>, checked by Arpi.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10622 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-15 15:25:55 +00:00
henry
7dadaf5e39 v4l2 check
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10594 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-13 16:01:53 +00:00
alex
188460e7ee removing my (nonworking) email address
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10369 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-07-03 20:22:51 +00:00
rfelker
eb0a6969bf 1000000000l
default fps has been broken on ntsc for a LONG time because of this
nonsense! (29.00?!?) no idea why no one caught it, i just have
fps=29.97 in my config file... i hope the bsd code works; i can't test
it. btw, the (int)*(void **)arg stuff is total nonsense, no idea how
that even works...


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10020 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-29 02:23:47 +00:00
albeu
ceb7c49670 10L, close isn't enouth we must munmap too.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9746 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-30 17:05:58 +00:00
henry
f7756121ee color equalizer for tv input
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9664 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-23 15:05:14 +00:00
henry
a284605302 report TRUE for IS_AUDIO control when user forces the audio recording
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9635 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-21 16:46:38 +00:00
henry
b45f146c37 replace sys_errlist with strerror() by Ivan Szanto
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9625 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-20 10:40:20 +00:00
henry
9a1bfa7ec1 hardware mjpeg encoding using v4l by Iván Szántó <szivan@freemail.hu>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9621 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-19 16:26:58 +00:00
henry
79102684ed remove the lower boundary
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9610 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-16 16:38:16 +00:00
henry
831c672512 cleanups and some 10l fixes for previous commit
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9609 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-16 07:42:26 +00:00
henry
62b166e62d correct small framerate fluctuations directly in the capture thread
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9608 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-15 22:02:54 +00:00
colin
a5c6b4cefe fix default device (manpage says /dev/video0, /dev/video often is a directory)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9217 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-02 02:36:35 +00:00
colin
79905624ab fix off-by-one error message
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9216 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-02 02:28:59 +00:00
rfelker
00af23dfff NTSC is 29.97 fps, not 30. wrong values here are likely to cause
duplicated frames in mencoder if used with fixed-fps tv cards and in
any case they'll result in horrible jerky video.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8954 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-14 18:20:17 +00:00
henry
a45ffd22ac 10L
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8775 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-04 17:30:28 +00:00
henry
1f9abf39b2 supress clicks/noise when changing channels
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8704 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-01 20:21:45 +00:00
arpi
c9c0ec893d Obvious patch to avoid undefined behaviour of multiple side effects in
a single expression.
patch by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8672 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-31 02:21:28 +00:00
henry
ec27ebf6b7 allow utilization of more v4l buffers, patch by Carsten Schulz <carsten@gnocchi.dialup.fu-berlin.de>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8651 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-29 23:10:08 +00:00
henry
29ab7de580 user friendly channel tuning + 10L fix in tvi_v4l (by Stephane Jourdois)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8628 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-28 22:57:39 +00:00
henry
311670caba don't give up when set_tuner fails; more zero div sanity checks
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8486 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-16 23:24:02 +00:00
henry
0c71a7f53c support for exotic norms
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8478 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-16 17:05:49 +00:00
henry
e4723bc3eb fixed possible division by zero
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8445 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-14 09:55:45 +00:00
henry
a839f9ad8b allocate the video buffer on the fly, instead of one big chunk at startup
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8418 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-10 09:11:42 +00:00
henry
5aa4f5cc39 set channel count to a saner value if the card reports an unknown audio mode
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8336 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-03 13:24:10 +00:00
michael
01c201dbe8 warning patch by (Dominik Mierzejewski <dominik at rangers dot eu dot org>)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8255 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-23 10:58:14 +00:00
henry
9472050bb1 skew calculations modified to use integers
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8132 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-08 22:05:39 +00:00
henry
b7226c6c30 increase buffer size in immediate mode
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8023 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-01 11:14:23 +00:00
henry
b7ff8e8199 10L fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7955 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-29 10:03:58 +00:00
henry
181233f35f added an option for specifying the size of capture buffer
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7906 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-25 09:42:41 +00:00
henry
2508ca0ccd minor fixes in forceaudio option
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7845 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-22 15:33:41 +00:00
henry
5714b89de2 add an option to force audio recording when a tv card reports no audio sources
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7836 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-22 07:56:13 +00:00
henry
3ab85b9191 add a forgotten shutdown test
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7835 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-22 07:29:09 +00:00
alex
0d843dd4e9 Stop grabbing from v4l when paused by Jindrich Makovicka
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7804 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-19 20:03:40 +00:00
alex
a83dd2b15c some cleanups for video_grabber() which fix a race condition by Jindrich Makovicka <makovick@kmlinux.fjfi.cvut.cz>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7586 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-02 16:47:41 +00:00
alex
d9e1ce4348 complex patch by Jindrich Makovicka <makovick@kmlinux.fjfi.cvut.cz>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7533 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-28 18:49:47 +00:00
arpi
d483a015a2 tons of warning fixes, also some 10l bugfixes, including Dominik's PVA bug
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7473 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-22 02:33:28 +00:00
alex
fd4707a2b8 changed message leveles (too many non-sense info messages)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7319 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-08 16:04:21 +00:00
alex
9b10afa43e tuner setting isn't mandatory. requested by Jonas Munsin <jmunsin@iki.fi> for webcams
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7318 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-08 14:55:03 +00:00
alex
c2b67a610b v4l audio fixes by Jindrich Makovicka <makovick@KMLinux.fjfi.cvut.cz>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7164 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-30 11:37:42 +00:00
arpi
177d2185e9 v4l capture update by Jindrich Makovicka <makovick@kmlinux.fjfi.cvut.cz>
some silly bugs slipped through.. here is the fix


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7071 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-22 23:05:58 +00:00
arpi
a5bd36cf4b new v4l capture patch by Jindrich Makovicka <makovick@kmlinux.fjfi.cvut.cz>:
- multithreaded audio/video buffering (I know mplayer crew hates threads
  but it seems to me as the only way of doing reliable a/v capture)
- a/v timebase synchronization (sample count vs. gettimeofday)
- "immediate" mode support for mplayer
- fixed colorspace stuff - RGB?? and YUY2 modes now work as expected
- native ALSA audio capture
- separated audio input layer


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7059 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-21 21:31:20 +00:00
alex
d402d04e4a Paul Ortyl's patch - tv4l timestamps (not so precise :()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6554 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-24 16:37:18 +00:00
alex
da0aacd860 tv audio fixing patch by Paul Ortyl <ortylp at 3miasto.net>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6530 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-23 17:28:44 +00:00
atmos4
c63329d838 Fix by Jindrich Makovicka <makovick@kmlinux.fjfi.cvut.cz>.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6306 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-05 01:49:03 +00:00