Commit Graph

217 Commits

Author SHA1 Message Date
voroshil 45287b2c2b DirectShow based tv:// driver for win32
Teletext is also supported (but 625 system parameters are hardcoded).
pthreads is required for teletext.

Code is still experimental.



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24772 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-13 17:14:39 +00:00
lu_zero 0ff4b3fd9f libnemesi support, yet another rtsp/rtp library...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24584 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-19 21:38:22 +00:00
voroshil fdb78c2bea Implement setting gain control for video devices (usually webcams)
in v4l2 tv:// driver.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24573 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-18 16:28:39 +00:00
diego 7415e7aad1 warning fix:
cfg-common.h:347: warning: redundant redeclaration of 'vd_use_slices'
libmpcodecs/vd.h:19: warning: previous declaration of 'vd_use_slices' was here


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24397 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-10 10:57:40 +00:00
cehoyos 2ead315ddc Revert the part of r24389 that broke compilation of mencoder.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24396 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-10 08:47:55 +00:00
voroshil dcfd44de77 Fix warnings:
cfg-common.h:386: warning: redundant redeclaration of 'audio_stream'
stream/stream.h:301: warning: previous declaration of 'audio_stream' was here


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24394 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-10 01:13:13 +00:00
voroshil 255c174e41 Fix warnings:
cfg-common.h:509: warning: redundant redeclaration of 'fribidi_charset'
subreader.h:64: warning: previous declaration of 'fribidi_charset' was here
cfg-common.h:510: warning: redundant redeclaration of 'flip_hebrew'
subreader.h:65: warning: previous declaration of 'flip_hebrew' was here


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24392 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-10 01:10:18 +00:00
voroshil 30699fd214 Fix warnings:
cfg-common.h:340: warning: redundant redeclaration of 'quiet'
mplayer.c:85: warning: previous definition of 'quiet' was here
cfg-common.h:341: warning: redundant redeclaration of 'verbose'
mp_msg.h:6: warning: previous declaration of 'verbose' was here


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24391 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-10 01:09:49 +00:00
voroshil bfbc21e736 fix warnings:
cfg-common.h:399: warning: redundant redeclaration of 'edl_filename'
edl.h:23: warning: previous declaration of 'edl_filename' was here
cfg-common.h:400: warning: redundant redeclaration of 'edl_output_filename'
edl.h:24: warning: previous declaration of 'edl_output_filename' was here


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24390 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-10 01:09:08 +00:00
voroshil 69b3616784 Fix warnings:
cfg-common.h:349: warning: redundant redeclaration of 'vd_use_slices'
libmpcodecs/vd.h:19: warning: previous declaration of 'vd_use_slices' was here
cfg-common.h:350: warning: redundant redeclaration of 'divx_quality'
libmpcodecs/dec_video.h:23: warning: previous declaration of 'divx_quality' was here


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24389 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-10 01:08:23 +00:00
voroshil 277dc43515 Option adevice is implemented for all tv:// drivers.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24384 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-09 14:59:07 +00:00
diego 4e7f09313d Add comments to some #endif preprocessor directives.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24383 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-09 13:41:45 +00:00
voroshil 374e9dd5ba Support for selecting language via packet 28.
Also  allows to select default teletext language.
It will be used if language is not specified by network provider
via packet 28.



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24310 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-31 16:53:27 +00:00
voroshil 4f0d56b9ae Teletext support.
Part 2/5: options/slaves/configure/definitions/etc


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23920 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-29 17:55:28 +00:00
voroshil 61bce335f7 Replacing global variables in radio:// with
context-sensitive structure.



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23910 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-29 12:20:25 +00:00
voroshil db734dcc15 Removing global variables from tv://
Step 8 (last): removing old globals from tv.c, tv.h,
fixing remaining references in cfg-common.h and mplayer.c



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23909 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-29 10:30:41 +00:00
voroshil 2f76cfc28a Revert r23530.
r23530 breaks policy: notification was not sent to mailing list,
agreements of other devs were not received.
Code also should be reviewed/cleaned up/fixed.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23593 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-21 08:18:51 +00:00
voroshil 83a2c50ef9 Teletext support for tv:// (v4l and v4l2 only)
modified patch from Otvos Attila oattila at chello dot hu

Module uses zvbi library for all low-level  VBI operations (like I/O with vbi
device, converting vbi pages into usefull vbi_page stuctures, rendering them
into RGB32 images).

All teletext related stuff (except properties, slave commands and rendering
osd in text mode or RGB32 rendered teletext pages in spu mode) is implemented
in tvi_vbi.c

New properties:
teletext_page - switching between pages
teletext_mode - switch between on/off/opaque/transparent modes
teletext_format - (currently read-only) allows to get format info
(black/white,gray,text)
teletext_half_page - trivial zooming (displaying top/bottom half of teletext
page)

New slave commands:
teletext_add_dec - user interface for jumping to any page by editing page number
interactively
teletext_go_link - goes though links, specified on current page



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23530 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-10 00:06:12 +00:00
diego ba2799502d Create a new MSGT for just the status line.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23478 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-05 16:13:00 +00:00
voroshil eb5bf3b88e New "automute" tv:// option.
Will switch off sound and show blue screen instead of video with noise
when signal level (in 0-255 scale) is less than specified value.



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23440 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-31 17:49:51 +00:00
ben 194fc1b15b add new -subfont option, that allows having a different font for OSD (controls and menu) and subtitles
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23356 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-20 16:10:45 +00:00
eugeni c67220c86f Add -ass-hinting option for setting font hinting method.
It is possible to separately configure hinting for scaled and unscaled osd.
The default is native hinter for unscaled osd (only vo_gl at this point),
no hinting for vf_ass.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23152 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-27 14:25:36 +00:00
diego 1ac1a875e6 Merge both USE_DVDREAD sections.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23017 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-18 09:58:04 +00:00
diego 4092da4dc0 Fix preprocessor conditionals: libdvdnav includes libdvdread and configure
enables libdvdread support if libdvdnav is found. There is no need to check
separately in the source with the preprocessor.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23016 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-18 09:56:24 +00:00
rfelker 73b5bbac29 5l: don't die when config file contains dvd options and dvd support is missing
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23010 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-17 07:04:53 +00:00
nicodvb 2cefb53a76 optionally reuse the socket if -reuse-socket is selected; patch by Yong Hwan (sio4 users sf net) simplified by me
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22491 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-08 20:47:10 +00:00
diego 4f452096c0 cosmetics: Fix some common typos, appropiate --> appropRiate,
handEling --> handling, dependAnt --> dependEnt.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22334 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-24 10:27:14 +00:00
uau e5ab09bb64 Move parsing of the -ss option to the option code.
Also fixes a memory leak of the parameter string.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22330 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-24 07:11:57 +00:00
reimar 240b743ebd Add global field dominance flag instead of duplicating this "everywhere"
Patch by Carl Eugen Hoyos (cehoyos (at) ag or at)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22104 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-02 18:32:07 +00:00
nicodvb 90654b8eff added code to scan the video stream to search the actual video codec used;
triggered only if requested by the user with option -psprobe.
Evo files require this option because H264 is stored like MPEG2
without using the PSM



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22055 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-28 21:42:22 +00:00
nicodvb 1b03ddac28 support for limiting dvd speed; patch by Tobias Diedrich (ranma tdiedrich se)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21652 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-17 18:10:49 +00:00
diego 60a8769850 Remove long-deprecated -vop option.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21446 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-02 17:32:53 +00:00
uau 544233bded Make compilation depending on USE_OSD unconditional.
USE_OSD was hardcoded to true in configure, manually turning it off
would break compilation, and most OSD-related code wasn't affected by it
anyway so it did nothing useful.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21177 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-22 19:21:16 +00:00
uau 2b50b7ddab Make compilation depending on USE_SUB unconditional.
USE_SUB was hardcoded to true in configure, manually turning it off
would break compilation, and there's no apparent reason why having all
subtitle code under #ifdefs (even working ones) would be worth the
clutter.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21156 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-21 20:48:17 +00:00
voroshil c9b485e94c Add *BSD BT848 radio support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21001 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-18 06:53:33 +00:00
diego 2d8010498d Clarify messages for unavailable options.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20917 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-14 11:14:03 +00:00
eugeni 6fef7a200f Introduce MSGT_ASS, use it for all libass messages.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20645 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-03 18:15:33 +00:00
ptt 928da7a448 after a long time, finally i could add -endpos option to mplayer executable.
as oded told me on 1006 02 24, i applied it, blame me if some problem occurs,
i hope not, since i tried it for a while....


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19979 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-25 16:47:56 +00:00
eugeni 9d3ed04d47 Add -ass-styles option. It allows to load styles from a file and use them
for plain text subtitles rendering.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19658 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-03 17:42:31 +00:00
eugeni 62b44a7d1f ass-color and ass-border-color options.
Only plain text subtitles are affected.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19652 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-03 12:18:49 +00:00
nicodvb 735e934c58 added lavfdopts to pass options to libavformat
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19604 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-30 22:25:40 +00:00
reimar acf654cf8f Radio support, patch by Vladimir Voroshilov (voroshil gmail com)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19574 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-28 17:05:18 +00:00
eugeni 432868f92c Add -(no)ass-use-margins option.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19569 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-28 15:12:45 +00:00
eugeni ae7f2be0ab New cmdline option: -ass-force-style.
Allows overriding any style parameter from command line.
Idea and original patch by Konstantin G. Khlebnikov { koct9i aT gmail doT com }.



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19501 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-22 23:20:05 +00:00
ben 49867bd432 introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19277 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-31 17:39:17 +00:00
diego f89a7da604 Remove support for obsolete and non-free divx4/odivx libraries.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19087 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-14 17:14:16 +00:00
diego 74b35b3fc7 dvd-device should also be enabled when dvdnav_stream is requested but stream_dvd
is not (USE_DVDNAV && !USE_DVDREAD), since it is a valid configuration and there
is no way of selecting the dvd device otherwise.
patch by Emanuele Giaquinta, emanuele giaquinta at gmail com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19074 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-13 21:40:14 +00:00
ben 60aa2f1a39 added new pvr:// input for ivtv based cards
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19002 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-10 21:32:19 +00:00
eugeni e15ae9a600 Initial libass release (without mencoder support).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18942 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-07 18:26:51 +00:00
diego 314e68f095 -rtsp-port and -rtsp-destination need to be #ifdef MPLAYER_NETWORK.
patch by Gianluigi Tiesi, mplayer**at**netfarm**dot**it


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18925 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-06 12:51:52 +00:00