Commit Graph

92 Commits

Author SHA1 Message Date
reimar af654481c0 Do proper parsing for DVR-MS files, this fixes playback with ffmpeg decoder
and also will create proper files when remuxing into e.g. AVI.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26328 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-05 11:09:21 +00:00
diego 21c200e767 FFmpeg now uses different (unified) #include paths.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26101 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-25 15:46:36 +00:00
nicodvb 5d934f8ea7 in video_read_frame() set the keyframe flag in demuxer->video when dealing with
VIDEO_MPEG12 and picture_coding_type==I_FRAME; fixes seeking in avi streams
with MPEG1/2 video

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24940 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-02 23:05:51 +00:00
nicodvb 41951932f9 removed silly #if 1
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24878 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-27 20:14:22 +00:00
nicodvb eb0627a45c DEMUXER_TYPE_TV is always defined, thus removed corresponding #ifdef USE_TV.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24877 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-27 20:12:26 +00:00
nicodvb 018d2ae172 in process_userdata() move debugging messages from stdout to stderr
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24867 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-27 12:50:21 +00:00
nicodvb 8d83daa1cf removed funny calls to fflush(stdout) after mp_msg()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24866 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-27 12:45:31 +00:00
nicodvb 6fc30e89a5 removed more empty spaces and empty lines
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24865 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-27 12:42:00 +00:00
nicodvb cb805dfa54 replaced giant if() with if(pre-calculated variable) (there was even a bug: PS doesn't necessarily contain mpeg12)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24864 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-27 12:39:53 +00:00
nicodvb 8ff6e8a567 cosmetics: removed tabs/empty lines/trailing spaces and done a partial reformatting where desperately needed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24862 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-27 12:33:56 +00:00
nicodvb c9d49b63b1 cosmetics: moved to function find_video_codec() and reused in video_read_*() the code that identifies the various mpeg* formats
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24860 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-27 11:55:16 +00:00
attila e3d05e9971 Fix segfault if an 'strf' chunk couldn't be found in avi
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23772 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-13 14:39:18 +00:00
diego e085bc8dcf Add explicit location for headers from the stream/ directory.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22623 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-15 18:36:36 +00:00
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