Commit Graph

129 Commits

Author SHA1 Message Date
nicodvb df3bc9b5aa removed ages-old and insane #if0-ed and commented code
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22191 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-10 12:19:36 +00:00
nicodvb 1f357e2f06 vc1 in mpegts
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22180 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-09 19:39:31 +00:00
nicodvb 6d708c31b6 vc1 probing code: if sh_video->bih can't be callocated exit
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21970 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-20 13:14:09 +00:00
nicodvb b5d12d6e0f in vc1 probing code, all packets before the first sequence header must be skipped, not read
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21969 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-20 13:10:40 +00:00
nicodvb 8823921db8 removed unused variables; replaced wrong call to realloc() with calloc() in vc1 probing code
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21968 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-20 13:06:17 +00:00
nicodvb 488013915f decode vc1 sequence header and frame it in video_read_frame();
it doesn't work yet, but it permits debugging and development to Kostya



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21967 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-20 12:17:22 +00:00
reimar 9e1add871e Make ds_get_next_pts return MP_NOPTS_VALUE instead of -1 on error,
-1 could be a perfectly valid pts.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21827 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-05 15:24:38 +00:00
reimar 53ba4dd6eb Cleanup for uselessly complicated closed-caption subtitle handling
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21252 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-25 22:06:00 +00:00
diego c7ee94590a Support for variable fps OGM files, blessed by Moritz.
patch by Sergey Khlutchin, Elphel, Inc


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19808 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-12 09:00:10 +00:00
rtogni 28d3865047 Use better resolution for pts computation.
Fixes desync in Real live streams with huge pts values


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19701 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-05 21:53:09 +00:00
rtogni b19a9bf88d Workaround for live Real streams starting with nonzero pts
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19661 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-03 18:30:59 +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
rtogni 6c3d242fd5 Revert r18878, always sync rm files using only pts (ignore framerate)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18947 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-08 12:33:12 +00:00
rtogni 381682bc97 Fix A-V sync for real files (also live streams)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18878 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-01 12:06:43 +00:00
nicodvb 7c516063da moved code to set aspect ratio for mpeg12 away from video.c and into decoder files; A/R changes work correctly with -vc mpeg12
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18429 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-05-10 22:03:18 +00:00
nicodvb 56286b38d4 COSMETICS: moved code to parse mpeg1/2 A/R to mpeg_hdr.c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18399 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-05-07 16:05:38 +00:00
diego c3ec96fb71 support for vfps OGM files
patch by Elphel Inc. (blessed by Roberto)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18395 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-05-06 07:31:49 +00:00
diego 469c91859a Rename some forgotten #ifdef STREAMING_LIVE_DOT_COM to STREAMING_LIVE555.
patch by Lyakhovets Andrey, lyakhovets <<@>> rovercomputers <<.>> ru


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18220 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-23 12:29:10 +00:00
rtognimp c59ca7db22 Fix a/v desync for real some files
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17961 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-26 14:10:52 +00:00
diego eebf08b978 Convert all if(verbose>X) to mp_msg_test calls.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17933 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-24 08:12:03 +00:00
nicodvb f774739df9 include the right avcodec.h, consistently with the rest of mplayer
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17344 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-08 14:03:42 +00:00
nicodvb 627d7781e6 disabled hack to read the properties of mpeg1/2 video in avi and asf: it's totally useless and leads mplayer to crash
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17340 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-07 22:20:46 +00:00
nicodvb 55fafe1c3b search next sequence_header untile a valid one is found
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17278 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-31 17:47:54 +00:00
henry c0e54fd248 malloc padding to avoid access beyond allocated memory
Credits to Mikulas Patocka (mikulas at artax karlin mff cuni cz)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17227 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-19 19:38:28 +00:00
diego 36e1974be0 Unify include path handling, -I.. is in CFLAGS.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17013 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-18 14:39:25 +00:00
reimar b99cb8d8a5 Fix H264 packetizer. Might not work with arbitrary slice order.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16506 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-17 18:36:43 +00:00
rtognimp 16670aff3a Fix mpeg-pes playback
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16315 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-26 22:53:59 +00:00
reimar 655334804b support MPEG in GXF container with extension-based detection.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16311 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-26 17:40:02 +00:00
rfelker a6e05bcdbb 100l to whoever wrote this crap using 1/10000 units. it caused framerates to get trashed from 30000/1001 to 2997/100, etc.!
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16185 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-06 16:15:07 +00:00
nicodvb c596f03a8a added support for other codecs (mpeg4/h264/aac) in mpeg-ps parsing the PSM
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14924 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-06 21:10:01 +00:00
nicodvb e0e161dd83 framerate autodetection for H264 in raw/ts streams
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14799 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-24 20:02:41 +00:00
nicodvb 70a7a6b450 automatic fps calculation for mpeg4 in raw stream/mpeg-ts
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14478 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-12 20:43:53 +00:00
nicodvb 939cfe1341 merged DEMUXER_TYPE_MPEG4_ES in the ordinary TS; added support for H264 in TS
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14035 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-11-24 18:55:03 +00:00
michael 4d6edcfa5a lavf ASF support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12171 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-11 19:03:12 +00:00
iive a978ec7289 fix aspect 4 according to the standart
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11834 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-01-23 01:10:14 +00:00
diego ab41ee7a7b The message parameter was removed.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11386 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-11-04 19:28:32 +00:00
arpi c72efe2c97 printing fps with 3 dec digit instead of 2
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10710 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-27 22:30:54 +00:00
arpi 38f4f0b4cf - initial support for MPEG4 in TS (M4V is working, but not AAC yet)
patch by Nico <nsabbi@libero.it>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10688 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-24 18:08:54 +00:00
mosu 9cbdc3b045 Better support for RealVideo/RealAudio in Matroska. Includes the timestamp fixes from demux_real.c. Seeking is working. Added Matroska to the formats with variable FPS in video.c.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10435 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-07-15 07:19:03 +00:00
arpi 080311d08f TiVo demuxer and sub-cc/osd decoder
patch by usenet@wingert.org
(http://tivo-mplayer.sourceforge.net/releases/MPlayer-20030501-tivo-patch.gz)
changes by me:
- spit demux_ty to demux_ty and demux_ty_osd (later handles mpeg user-data
  decoding, ie sub-cc and osd)
- removed some cosmetics changes
- some compile fixes (gcc3 specific variable decl etc)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10264 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-06-09 00:24:49 +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
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
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
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
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
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
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 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
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
arpi 39fe4d0cd3 verbose can be negative
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8028 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-01 17:46:45 +00:00
arpi e5833bde50 we don't need the 0x1ff hack any more!
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7466 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-21 22:39:04 +00:00
arpi 7c5ed4f1c2 .PVA (mpeg-like fileformat used by MultiDec && WinTV) demuxer
slightly modified patch, original by Matteo Giani <matgiani@ctonet.it>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7365 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-10 21:50:03 +00:00
michael 8c5f449de0 typo (checking for mpeg twice, instead of mpeg & MPEG)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7303 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-06 22:36:55 +00:00
arpi 4788615827 user-data moved one -v up
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7209 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-31 18:31:05 +00:00
arpi fa788640e2 applied live.com streaming patch (-sdp and rtsp:// support) by Ross Finlayson <finlayson@live.com>
see <http://www.live.com/mplayer/> for details.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6911 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-05 00:39:07 +00:00
arpi fd031ad208 codmetics :)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6792 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-07-25 16:39:22 +00:00
atmos4 7549813fbe DVD Closed Captioning support, patch by Matteo Giani <matgiani@ctonet.it>, small changes by me.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6785 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-07-25 03:37:28 +00:00
alex 3bacc553d8 Paul Ortyl's patch
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6572 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-27 10:12:31 +00:00
arpi 6e021a815f fixed playback speed and a-v sync issues
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6424 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-14 00:49:56 +00:00
albeu a43dd21a80 Fix asf stream wich were giving invalid frame times because the frame time
was 0.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6372 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-10 09:59:44 +00:00
albeu 1a015fd22a Fix frame_time for variable fps movies as it was the last frame duration.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5931 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-05-02 10:25:48 +00:00
arpi 7734843a43 ugly workaround disabled
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5899 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-29 15:57:22 +00:00
arpi 072e6fb702 generalized the cut'n'pasted variable fps code, #ifdef-ed TV until v4l is updated
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5574 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-12 10:48:21 +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
melanson 47cf26cd52 backed out unneeded mod
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5424 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-31 18:28:00 +00:00
melanson 40ed999545 fixed RoQ framerate by multiplying PTS calculation by some absurd constant
(and it works!)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5422 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-31 17:24:12 +00:00
melanson 47533eeaac added proper PTS support for FILM demuxer
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5144 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-16 19:58:07 +00:00
atmos4 14d11ff0fc Patch: Improved raw encoding support in mencoder by Fredrik Kuivinen
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4775 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-20 22:45:00 +00:00
arpi 9ed129527a mpeg-es osd fix - patch by ??? (lost mail:((()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4706 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-14 22:15:53 +00:00
jaf 19cbab76cf aspect ratio 9 added.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4337 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-24 15:21:22 +00:00
arpi 30dd20f212 added mpeg userdata dump
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4075 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-10 01:59:49 +00:00
alex 82423d51e3 libmpeg2 is now able to decode framecopied (with mencoder) mpeg files
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3981 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-04 16:48:13 +00:00
pl 5eef65aa85 missing #include's
Note: stream.h contains static inline functions, which is not quite clean :/


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3727 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-25 11:20:58 +00:00
atmos4 197062715e Add aspect 6, anamorphic 16:9 for svcd
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3667 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-23 01:34:49 +00:00
arpi f0a8c2a8a3 vivo A-V sync fixed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3527 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-16 14:51:04 +00:00
atmos4 51cbca7f78 Add aspect 4 to known aspect codes, probably SECAM 4:3, at least sample file was 4:3.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3380 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-08 03:21:59 +00:00
pl 0afb7c9331 added missing #include <malloc.h>
#include "config.h" moved as 1st #include since it defines HAVE_foo_h for
  later conditional inclusions


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2776 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-09 02:17:02 +00:00
arpi 69c00b2c07 video frame reading cleanup
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2568 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-30 20:36:20 +00:00