Commit Graph

62 Commits

Author SHA1 Message Date
alex 5975cc9bbf Settled to CONF_TYPE_IMGFMT which simplified lot of things. Now there's no need to add new img formats to the source, instead you can try it out by providing it in hexa format, and if it isn't supported by the card, you get a nice error message. That's all.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10599 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-13 18:56:29 +00:00
gabucino 3b8074ebf5 From: Kir Kostuchenko <kir@users.sourceforge.net>
Hi, I found that command line options brightness, hue, contrast and
saturation does not works, becouse mplayer apply it, before open tv
(kernel says invalid ioctl). Here are simple fix. Please apply.

This is the correct patch, sorry for the confusion.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10582 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-12 13:25:52 +00:00
henry 7e38b1aefb v4l2 support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10538 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-07 12:24:35 +00:00
gabucino bff4b3ee5e I'd like to change tv tuner frequency in the slave mode. So this patch
helps me.

Patch by Kir Kostuchenko <kir@users.sourceforge.net>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10522 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-04 09:13:10 +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
alex b4d7f9837c warning fixes by Dominik
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10243 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-06-03 17:43:49 +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
alex 7e677ff7cf abilty to set tv channel by name on commandline, patch by Ivan Szanto <szivan@duticai.TWI.TUDelft.NL>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10012 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-28 16:11:42 +00:00
faust3 a8108b443e mingw fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9928 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-18 18:36:22 +00:00
alex 44aeed4643 channel finetuning cmdline support, patch by Ivan Szanto <szivan@duticai.TWI.TUDelft.NL>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9890 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-09 16:07:45 +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 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
albeu 64839d94ae 10L never blowup an option pointer !!!!
That fix Gub's bug (sorry for the delay ;)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9520 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-03 10:59:07 +00:00
henry 2639766080 make tv non-seekable
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9502 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-25 08:22:00 +00:00
arpi a102c62fac sanity checks - patch by Fabian Franz <FabianFranz@gmx.de>
cache results of strchr() calls


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8956 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-14 23:15:36 +00:00
arpi 4681b22e3a 10l? :)
patch by Stephane Jourdois <mplayer-dev-eng@rubis.org>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8821 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-06 13:12:09 +00:00
henry 8c71d7179a -nosound fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8800 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-05 14:58:05 +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 bfddb0aa03 add a TV_SET_CNANNEL command
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8495 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-19 10:09:43 +00:00
henry 053fb6d2ab 1000L for messing up cvs
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8488 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-16 23:38:56 +00:00
henry 396b7d7e56 handle bogus norm parameter; check for errors when setting norm
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8487 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-16 23:27:39 +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
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
arpi f859d013a8 *HUGE* set of compiler warning fixes, unused variables removal
based on patch by Dominik Mierzejewski <dominik@rangers.eu.org>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8124 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-06 23:54:29 +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 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
alex 9dc4d5f6ff removed the mess
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7808 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-19 20:56:28 +00:00
alex 108e2a2130 set position in channel list on startup. note: hope one day we will get cleaned the int->float->int sutff ;)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7807 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-19 20:55:06 +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
arpi eafdad4b73 stream layer cleanup part 2
STREAMTYPE_TV removed, use STREAMTYPE_DUMMY instead. tv init moved to demux_open


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7409 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-15 20:51:55 +00:00
arpi cd8540ab8c removed messy global 'tv_handle', use stream->priv for that purpose
note: i couldn't test it (only compile test) may be broken :(
we're going to an unified demuxer API - required for modularization


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7330 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-08 23:00:01 +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 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 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 4a7a84962a applied 64bit patch from Ulrich Hecht <uli at suse dot de>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6162 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-05-23 14:53:11 +00:00
pl 89d0c7a60f patch by Jürgen Appel <jappel@linux01.gwdg.de>:
"There is a typo in libmpdemux/tv.c causing channel switching to behave
strange."


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5924 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-05-01 17:07:50 +00:00
arpi e40b5a0509 BSD-BT848 TV update patch by Charles Henrich <henrich@sigbus.com>
- tvi interface changes, grab_audio/video now returns timestamp!
- tv demuxer gets 'ds' hint too
- some verbose skip/dup counters to mencoder
- tvi_bsdbt848.c updates
- aviwrite/mencoder size types int->off_t


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5573 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-12 10:40:38 +00:00
alex 282dfef689 audio support and pts based packet handling by Charles Henrich
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5088 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-15 16:07:06 +00:00
alex 6f408b47d7 yuy2 reported as working
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4351 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-26 15:43:31 +00:00
alex b12f049942 fixed channel changing with frequencies.c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4243 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-18 19:37:12 +00:00
alex b0b22ba9b0 updated
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3816 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-27 23:52:48 +00:00
pl c969b3efb9 As nobody fixed this yet:
"tv.c: In function stream_open_tv':
tv.c:107: warning: return' with no value, in function returning non-void"

According to libmpdemux/open.c 0 is an error so I guess it should return 0 if
it fails :)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3729 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-25 11:45:04 +00:00
alex cd6136dfeb i420 support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3704 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-24 11:01:16 +00:00
pl e0c43586ae x = malloc(strlen(s) + c) ... strcpy(x, s)
replaced by
x = strdup(s)

Note: sometimes c was 0 and that was a bug
Note2: code still has to be added to check the returned value of these funcs


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3613 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-19 13:03:22 +00:00
alex f5b7d3df3d give the IMGFMT_ for sh_video->format not 0x0
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3399 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-09 15:39:35 +00:00
alex 08fa1f628d add tv fps support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3286 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-03 16:49:55 +00:00
alex 1b902e0a66 update (audio support is coming:)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3285 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-03 16:38:40 +00:00
alex 8d73b46405 init_v4l only present if HAVE_TV_V4L
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3250 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-01 17:41:59 +00:00
alex aa234b197b added support for norm=,chanlist=,channel= and also on-the-fly channel chaning with keys
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2942 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-17 00:23:48 +00:00
alex c451b1fe26 added support for setting color values
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2938 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-16 22:59:07 +00:00