1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-02 04:42:10 +00:00
Commit Graph

967 Commits

Author SHA1 Message Date
albeu
42ce651135 It should now be endian aware. Untested as i only have le box :(
Would be cool if someone with a be,le network could test.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9864 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-06 18:16:11 +00:00
albeu
b26c266cfd Add netstream
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9855 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-06 16:37:12 +00:00
albeu
9c0342b897 Add netstream
A little 10L fix
Call control(STREAM_CTRL_RESET)
Close stream fd AFTER calling their close function (as some may still
need it during close)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9854 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-06 16:36:17 +00:00
albeu
27ff6fa04a A new control called upon stream reset.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9852 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-06 16:34:26 +00:00
albeu
9e0c73f6b3 A new stream wich allow access to MPlayer stream accross the network.
URL is mpst://host[:port]/remote_url where remote_url is any valid
MPlayer url.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9851 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-06 16:33:13 +00:00
albeu
93a1dd5f04 Check that we really got a filename.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9850 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-06 16:30:09 +00:00
faust3
0c185d95e2 temporary disable mf support for systems without glob
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9834 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-04 20:32:21 +00:00
albeu
2f32b460a4 Little fix.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9828 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-04 15:41:47 +00:00
albeu
c8a5ab9ce4 10L NULL == 0 == stdin
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9827 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-04 15:41:00 +00:00
albeu
66c4cc2f34 Using a different alignment for only the Gui is bad as this code use
some header in the rest of MPlayer.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9826 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-04 15:39:51 +00:00
michael
e419df6f85 H264-ES demuxer
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9825 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-04 15:38:46 +00:00
pontscho
bf59503b54 workaround only, please fix.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9812 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-03 12:02:28 +00:00
pontscho
d9938992b2 10l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9811 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-03 12:00:50 +00:00
albeu
6a7e45b586 URL is cdda://tracks[:speed][/device]
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9802 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-02 19:29:26 +00:00
albeu
b47e8c2763 *** empty log message ***
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9801 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-02 19:23:28 +00:00
faust3
ac609391db 10l to Albeu
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9800 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-02 18:48:54 +00:00
faust3
d59b2c345d MINGW32 port
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9799 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-02 16:52:00 +00:00
albeu
3df7e63bf6 Remove -sdp
Now fallback on the new stream api.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9796 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-02 16:26:58 +00:00
albeu
9533d5ea3a Stream modularization, the first step.
Only file stream are converted atm, other will come later.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9795 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-02 16:25:07 +00:00
rsf
bbb4b7b18f Added a test for "s->fd == NULL" to the start of "stream_fill_buffer()".
("fd" is NULL if the session is defined by a SDP file, for example.)
It turns out that this test is necessary only for Solaris, not Linux,
because in Linux, "s->eof" got set after the prior (failing) call to
"lseek()" in "stream_seek_long()".  In Solaris, however, "lseek(NULL, ...)"
returns 0 (go figure!) rather than -1, so "s->eof" doesn't get set in
"stream_seek_long()".


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9788 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-02 01:46:47 +00:00
rsf
bc5277b1bd Added some optional debugging printfs (disabled by default)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9787 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-02 01:38:07 +00:00
faust3
a62e8355b5 fix compilation without TV support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9774 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-31 20:44:20 +00:00
faust3
316635bb35 MINGW32 port
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9763 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-30 20:11:25 +00:00
albeu
81a331b924 Fix test compilation
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9755 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-30 17:14:41 +00:00
albeu
fc77d4acd3 Fix all demuxers wich where using a global var to enable themself.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9752 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-30 17:12:11 +00:00
albeu
93ad150457 Set deuxer_type instead of using our own global var.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9751 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-30 17:11:27 +00:00
albeu
c5c742302c Use new config headers
Remove STREAMTYPE_PLAYLIST.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9750 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-30 17:10:36 +00:00
albeu
5787833ca9 Stream cleanup, don't use blah_on options anymore.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9747 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-30 17:07:31 +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
albeu
d3bfc447c1 Switch to the new config header
Fix the chapter==0 bug when playing a list of title


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9713 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-27 20:45:54 +00:00
albeu
bc2d0751ba Free the stream of the audio and subtitle demuxer.
It's a bit of a hack, but atm it's the best place to free them.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9711 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-27 20:40:50 +00:00
albeu
3a5ea00039 Fix rawvideo and -audiofile
Use the new config header
Add a cache for the stream used by -audiofile


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9710 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-27 20:38:14 +00:00
albeu
f3fbc2d4b8 on now set the demuxer type some we can use rawvideo with -audiofile
Add the pts, it was always 0 :(
Switch to the new config header


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9709 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-27 20:30:44 +00:00
albeu
d3524f2c78 Fix a 100L bug wich killed mencoder timing and switch to the new
config header


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9708 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-27 20:27:50 +00:00
alex
689a5a7571 10l, found by Jan Kritzner <kritzner@informatik.rwth-aachen.de>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9694 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-26 15:49:10 +00:00
bertrand
21c026d236 Added IPv6 support, patch by Dave Lambley <mplayer-dev-eng@dlambley.freeserve.co.uk>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9692 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-26 11:35:13 +00:00
bertrand
dc49bda4bb Added support for IPv6 numeric url like: http://[3ffe:400:100::1]:80/file
Added const for arguments that shouldn't be changed


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9691 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-26 11:27:48 +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
alex
8530b62a9b fixed trivial seeking bugs, patch by Krister Lagerstrom <krister@kmlager.com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9657 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-22 21:14:51 +00:00
rtognimp
e7b942ecb1 Warning fix, patch by Dominik Mierzejewsky
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9656 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-22 20:15:03 +00:00
alex
c67632e7f5 fix crash on streams with frame tags, patch by Brett Kosinski <brettk@frodo.dyn.gno.org>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9655 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-22 19:50:10 +00:00
alex
b98d719e00 wrong assignment of codec, patch by nsabbi@libero.it
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9639 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-21 17:17:53 +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
alex
a0b6101592 largefile support by Matthias Schwarzott <zzam@gmx.de>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9631 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-21 16:13:16 +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
rtognimp
8e793a9998 10l cbSize not inited for l=16.\n Could give problem in print_wave_header
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9617 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-17 20:38:23 +00:00
arpi
cc9d83b858 1000l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9616 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-17 11:37:28 +00:00
arpi
4753a8565e dvbin_param_on moved
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9612 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-16 22:59:16 +00:00
arpi
5c49cd8e07 this is a combo patch that:
1) adds an experimental TS demuxer to mplayer
2) adds an input (streaming) interface from DVB cards.
It compiles and runs with the following versions of the drivers:
dvb-kernel (HEAD) (with stock kernel 2.4.20) and 0.9.4 (with kernel 2.4.18)
patch by Nico <nsabbi@libero.it>
some cleanups, ts demuxer fixes by me


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9611 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-16 20:13:28 +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
arpi
0b38aaf6ec This patch corrects the calculation of the MPEG bitrate from the
sequence header. The bitrate contained in the sequence header is in
units of 400 bits/s, not 500.
Eric Lammerts <eric@lammerts.org>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9607 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-15 21:07:45 +00:00
rtognimp
c95b78ac8d Same behaviour as old code for short headers
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9597 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-15 19:40:52 +00:00
rtognimp
cde570e129 Read extradata for wav files, based on patch by <dimakar(at)yahoo.com>. Required for truespeech files.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9592 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-15 14:12:22 +00:00
rtognimp
05ee4cfa8f Animatrix AAC fix, patch by <dimakar(at)yahoo.com>. (This is the right patch)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9591 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-15 10:52:30 +00:00
rtognimp
b0bbf9c766 Animatrix AAC fix, patch by <dimakar(at)yahoo.com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9576 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-12 22:59:04 +00:00
rsf
555b3f61fe Improved RTP packet buffering, by relying on the underlying OS's UDP
socket buffering.  Improve A/V sync by dropping packets when one stream
gets too far behind the other.  Now tries to figure out the video frame
rate automatically (if "-fps" is not used).  Added support for MPEG-4
Elementary Stream video and MPEG-4 Generic audio RTP streams.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9566 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-11 19:08:31 +00:00
arpi
4b8285b395 - fixed playback of files with bad WxH in header (tricky! we can always read the
secondary WxH values, but only the codec can decide which one is the correct...)
- better fps parsing
- print VIDEO: line with codec info
based on patch by Balatoni Denes <pnis@coder.hu>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9562 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-10 00:10:05 +00:00
arpi
56d2905fe7 Hopefully fixed all RV30/RV40 A-V sync issues
based on patch by Balatoni Denes <pnis@coder.hu>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9556 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-09 19:01:20 +00:00
arpi
31d2363926 Redundant packet ignoring is RV30-only (at least frame-header flag 0x20 is)
noticed by Balatoni Denes <pnis@coder.hu>
[sample files: pro: DISK1.RM contra: spygames-2MB.rmvb]


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9554 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-09 17:21:30 +00:00
michael
72707c69ef rv40 pict_type parser
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9544 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-07 02:05:59 +00:00
michael
f215e84339 Dynamic decision of DVD device Darwin patch by (danchr at daimi dot au dot dk)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9536 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-05 10:56:47 +00:00
michael
b749836b08 add support for sgi files to mencoder patch by (Todd Kirby <slapcat at pacbell dot net>)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9535 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-05 10:38:56 +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
alex
e8f2dabe9b MACOSX support patch, based on Dan Christiansens work
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9503 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-25 15:39:36 +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
alex
68e465bd80 commented out nonsense
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9473 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-21 12:55:26 +00:00
alex
33154a7188 gif library incompatibility fixes and prefere libungif over libgif. Patch by Joey Parrish <joey@nicewarrior.org>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9464 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-19 16:55:14 +00:00
bertrand
12322d2517 Repairing breakage to RTP streaming. Patch by Ross Finlayson <finlayson@live.com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9458 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-18 22:33:44 +00:00
michael
790b950d6c enabling mpeg4-es autodetection (if we dont enable it, then we will never know if it works ...)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9447 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-16 10:00:42 +00:00
arpi
7ff83a7181 linux->osdep
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9381 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-09 20:18:23 +00:00
arpi
e19879533d Motion-JPEG RTP streams can now be played. Some MPEG-4 ES video RTP
streams can also be played.
patch by Ross Finlayson <finlayson@live.com>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9371 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-09 17:06:38 +00:00
henry
b306d8c3d1 compile fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9346 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-08 17:29:43 +00:00
arpi
6ad5abbedd 1) codecs.conf changed recently and demux_gif no longer needs to spit
out BGR8 upside-down.  the workaround for this is removed.
2) fixes a bug so that streaming gifs now works, and removes a
   workaround no longer needed. now libgif uses mplayer's stream_read
   function and thus http streaming, etc, works with demux_gif.
3) cosmetic clean-up because i no longer plan to support certain GIF
   extensions that would be more difficult to implement.
patch by Joey Parrish <joey@nicewarrior.org>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9345 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-08 15:49:03 +00:00
arpi
ad54f0f5af disable num_of_packets check, it's unreliable
(multiple bugreports on -users)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9274 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-04 15:45:45 +00:00
bertrand
06d22fab96 Restruct by Ross Finlayson <finlayson@live.com>
The code now supports 'QuickTime generic' RTP streams (the "X-QT" MIME type),
which - thanks to the QuickTime codecs - makes it possible to play more QuickTime
RTP streams.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9251 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-03 10:27:50 +00:00
arpi
42118815ee - ignore movi_end if reading from stdin
- assume I-only stream if no index (buggy seekable avi is still better than non-seekable)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9229 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-02 21:32:05 +00:00
arpi
534d1a275c debug
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9222 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-02 14:02:32 +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
arpi
3591e28c37 xmms_demuxer missing symbol
patch by Balatoni Denes <pnis@coder.hu>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9212 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-02 01:38:29 +00:00
arpi
a5fe487b50 100l... ogg-in-avi (type 0xFFFE) fix
sizeof(WAVEFORMATEX) is 18, since i've fixed struct align, so
2*sizeof(WAVEFORMATEX) is !=40 any more.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9164 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-29 21:53:56 +00:00
arpi
83d0427925 removed nonsense (and confusing) defaults
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9150 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-28 22:04:07 +00:00
arpi
3277c61b77 type autodetection (from filemask/filelist extension)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9149 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-28 22:00:57 +00:00
arpi
acfac05390 - mpeg extensions removed, it causes misdetction of renamed avi/asf files
- .mp4 added
- playlist exts removed, since DEMUX_TYPE_PLAYLIST is dummy, it will never
  return demuxer!=NULL


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9135 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-28 01:18:43 +00:00
arpi
38ca2416c1 argh, i forgot to 'cvs add' it (again)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9134 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-28 01:02:07 +00:00
arpi
0cf1424936 libgif/libungif based demuxer support for libmpdemux.
patch by Joey Parrish <joey@nicewarrior.org>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9130 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-28 00:12:23 +00:00
arpi
16e91ecd08 Attached PATCH fixes the case, when data-flag and reference flags are set and
mplayer exits the demuxer with error (return 0), but without giving a reason
As QT-Specs say in this case the reference shuld be used, I fixed it that way.
Fabian Franz <FabianFranz@gmx.de>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9126 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-27 22:29:47 +00:00
rtognimp
e81abce2d7 32 bpp is a valid color depth. Fixes 0-bit rle reports
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9114 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-26 21:26:45 +00:00
gabucino
7f613b0898 added TVI_CONTROL_TUN_SET_NORM
(making the 'dummy' v4l driver work again)
(however on channel switch it goes sig11 in key_events somebody pls fix)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9095 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-26 10:53:34 +00:00
alex
73efd100f6 cosmetic for 0.90, printf->mp_msg (hm..probably arpi will piss of me?:)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9080 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-24 18:38:54 +00:00
arpi
da08b8a076 raw mpeg4-es support (you need to set -fps manually!)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9070 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-23 02:12:15 +00:00
michael
1c07dc9f3f 16cif,sif,uyvy
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9069 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-23 01:16:49 +00:00
arpi
e819653a23 raw video demuxer, requested by Michael
(try mplayer -rawvideo on:cif mobile.cif)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9066 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-22 23:51:04 +00:00
arpi
172f3099c8 10l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9033 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-19 19:02:39 +00:00
arpi
586233bf3d - added some more
- 10l: MPEG_ES shouldn't be forced, the MPEG_PS demuxer will detect it and
switch PS->ES, but ES->PS will never happen!


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9009 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-19 00:40:48 +00:00
arpi
7a7d2cdd24 Cleanup of the muxer API, func parameters muxer & muxer_f eliminated.
patch by Andriy N. Gritsenko <andrej@lucky.net>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9008 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-19 00:33:11 +00:00
arpi
970435ce12 extension-based filetype detection for headerless files (mp3 vs mpeg, etc)
inspired by patch by Fabian Franz <FabianFranz@gmx.de>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9007 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-19 00:21:54 +00:00
bertrand
1991d31057 Support for MPEG-4 (AAC) audio RTSP/RTP
Patch by Ross Finlayson <finlayson@live.com>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8988 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-18 14:22:30 +00:00
arpi
1eb1e00083 telecine detection
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8968 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-16 23:40:31 +00:00
arpi
bb56123065 fixed the well-known DVD/DVB audio delay bug :)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8966 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-16 22:34:46 +00:00
bertrand
f28785b5d6 Removed the hardcoded cdrom device.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8963 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-15 22:44:35 +00:00
bertrand
67218a1e0a Removed the hardcoded /dev/cdrom for NetBSD and added an work around
for problem with cdparanoia.
Patch from Frederick Bruckman <fredb@immanent.net>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8959 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-15 17:50:21 +00:00
mosu
23486f48a5 bunkus: Encapsulated arguments to #define in ( ... ) so that the #defines can be safely used like functions: mydef(flag ? val1 : val2)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8958 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-15 11:16:33 +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
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
arpi
13c130c580 better cache size defaults
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8940 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-13 03:10:19 +00:00
arpi
a1299f067a do not discard cache content at seeking type=STREAMTYPE_STREAM
(fixes quicktime streaming at low cache fill)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8939 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-13 03:08:56 +00:00
arpi
1e166db202 patch adds support for MOV-Reference-Files.
it uses d_video queue to store playlist entries as strz.
It also makes sure, that unnecessary items like qt5gateQT are removed and
that the url/basepath is added to "local files"
by Fabian Franz <FabianFranz@gmx.de>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8938 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-13 02:42:06 +00:00
arpi
a3ebbb1025 check if seeking supported, otherwise fallback to null reading
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8930 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-12 20:16:28 +00:00
arpi
f082d01575 (hopefully) fixed .mov streaming
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8929 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-12 20:11:20 +00:00
arpi
87f985afff sanity check
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8928 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-12 20:03:48 +00:00
pontscho
3a03ad6f92 upsz :))))))))))))))
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8927 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-12 19:55:59 +00:00
arpi
89875edb32 this patch adds an fallback to playlist (any but the plaintext-list format)
after all demuxers failed. so -playlist is not needed any more!
patch by Fabian Franz <FabianFranz@gmx.de>, with some small modifications


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8926 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-12 19:41:38 +00:00
bertrand
8229e28f90 Finally commented out the code for autodetection based on the extension.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8891 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-11 14:02:23 +00:00
arpi
88ddf79953 buffer overflow fix :)
ported from xine


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8881 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-10 22:41:49 +00:00
arpi
b5eaa436cf check if prop_hdr==NULL insteda of sig11
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8853 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-09 18:00:58 +00:00
arpi
aedc5fa95b - always print the longest stream in info, not the selected one
- handle teh case when user forces nonexistant streams (-aid/-vid) (based on
Filip's patch)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8831 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-06 21:58:39 +00:00
bertrand
99a7c6aa3b Return another error code for timeout.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8825 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-06 16:43:42 +00:00
bertrand
3ee5e0438f 10l bug...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8824 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-06 16:42:20 +00:00
filon
98fe2c8229 Sanity checks.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8823 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-06 14:56:16 +00:00
filon
dc7130bcad 10l (was segfaulting on non-dv file)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8822 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-06 14:54: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
atmos4
ed23e7ef92 10l, hopefully correct fix, before path was always overwritten to '/'
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8818 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-06 09:44:28 +00:00
arpi
c65b09bc56 dirname() (from libgen) dependency removed
patch by "Steven M. Schultz" <sms@2BSD.COM>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8816 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-06 01:12:30 +00:00
arpi
a457d1aafc i felt that libgen.h will not be portable...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8814 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-06 00:47:47 +00:00
arpi
9516427baa vcd_read_cue.h -> cue_read.c+h
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8813 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-05 23:51:05 +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
mosu
6c4f39360a mosu: Fixed OGG/OGM seeking for XCDs in which the OGG/OGM does not start at pos 0 in the stream
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8796 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-05 13:48:13 +00:00
mosu
bc8b12fe7b mosu: subtitles will be cleared after their life time as given in the packet's header has expired and after seeking
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8789 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-04 22:56:56 +00:00
arpi
43b7a734ff cdrwin-style bin/cue VCD image support (-vcd <track> -cuefile file.cue)
patch by Robert Penz <robert.penz@outertech.com>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8783 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-04 20:11:06 +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
bertrand
27741bec6d Added the ICY 403 "Service Forbiden" error message.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8767 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-04 11:52:17 +00:00
bertrand
25abed26d4 - If CDDB fail, try CDDA
- Support for inexact matches list.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8747 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-03 20:50:26 +00:00
bertrand
4cc8c41392 - Now mmst will use the MMS/TCP implementation first, instead of trying
MMS/HTTP first.
- Fixed a bug when reporting ASF redirector for a text/html payload, was
  generating a seg fault in playtree.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8719 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-02 15:38:26 +00:00
faust3
7b374f9fca fixed stream errors on some cygwin installations
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8713 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-02 10:53:22 +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
mosu
673897aa36 bunkus: Fixed Ogg/Ogm seeking by discarding the first packet after the seek which may be incomplete
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8656 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-30 08:59:33 +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
arpi
2c0e1c6089 fixes (ok, just workarounds) sig11 in playtree/cfgparser's free()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8650 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-29 22:12:20 +00:00
arpi
b618a7c596 fixed these:
- uses video time length instead of audio time length to calculate audio size in fallback
- differences in fallback for priv->numberofframes calculation
patch by eviv bulgroz <ebulgroz@yahoo.com>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8647 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-29 21:20:45 +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
rathann
84834e9d34 Added/reordered #includes to silence warnings about "implicit declaration".
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8624 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-28 18:51:10 +00:00
arpi
e29bcd7e02 This patch adds a call to subcp_recode1(), so this subtitles too are
processed through iconv().
Kresimir Kukulj                      madmax@iskon.hr


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8619 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-28 15:19:41 +00:00
arpi
46f0f3351c The patch fixes a nullpointer dereference and free of NULL in demux_close_xmms
when no matching plugin was found.
 Alexander.Gottwald@informatik.tu-chemnitz.de


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8612 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-28 14:06:48 +00:00
arpi
ff554dc0a0 The following patch allows the MPlayer "cdparanoia" support to work on
NetBSD-1.6_STABLE, both "cdda://NN" and "cddb://NN" URI's.

The CDROM ioctl's are actually more like OpenBSD's than FreeBSD's. I
went with the "/dev/cdrom" symlink as the default device, though, as
it otherwise gets messy fast... The first CDROM is "/dev/rcd0d" on
NetBSD/i386, but "/dev/rcd0c" on all other NetBSD ports, and only the
cdda_identify_scsi() form seems to work on NetBSD. (I searched the web
in vain for the Paranoia API, so I'm left to hacking. ;-))

Frederick Bruckman <fredb@immanent.net>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8610 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-28 14:04:54 +00:00
arpi
86f78f0cf3 just quells warnings in the ".depends" generation phase.
patch by Frederick Bruckman <fredb@immanent.net>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8609 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-28 14:03:30 +00:00