Commit Graph

2492 Commits

Author SHA1 Message Date
nicodvb ae33f794c1 support for H263-2000; patch by Carl Eugen Hoyos
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22229 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-16 00:30:05 +00:00
reimar 077f4e7a2c English grammar fix: There is no 's' after "does not exist"
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22219 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-14 19:17:39 +00:00
reimar c191199c18 100l copy-and-paste bug. Do not print video info when the problem is with subtitles
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22218 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-14 19:16:08 +00:00
reimar 807a81cf69 Print list of lavf muxer formats with format=help.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22216 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-14 11:06:59 +00:00
diego 4eebe7dc88 Revert libnut option names, the issue is fixed in FFmpeg.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22208 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-12 09:51:25 +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 7ac4b89663 substream id 0x98..0x9f identifies dts
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22188 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-09 20:21:20 +00:00
nicodvb 9b618f615e when seeking in h264 sync to idr frames
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22183 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-09 19:47:20 +00:00
nicodvb 9194c790ea when playing vc1 content sync to sequence or entry point header
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22181 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-09 19:44:21 +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
reimar a63f68fb4c Make sure sub->sh is set when a subtitle is selected
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22175 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-08 14:19:18 +00:00
nicodvb 0d94dac274 when seeking and the codec is VC1 sync to sequence or entry point headers
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22173 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-07 23:56:08 +00:00
nicodvb b383bd659a when the video codec is mpeg4video copy the content of the esds in extradata; patch by ceyes ag or at
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22172 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-07 23:41:07 +00:00
gpoirier 860dd21ab1 Fix libnut build failure.
Use CONFIG_LIBNUT like ffmpeg's configure, instead of LIBNUT.
Patch by Clemens Ladisch % cladisch A fastmail P net %


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22169 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-07 09:00:11 +00:00
reimar 07b655f0e8 Support selecting a specific lavf demuxer and listing available ones via -lavfdopts
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22168 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-06 22:15:20 +00:00
reimar db7e024216 Support some weird AVI header, fixes bug 742
(http://samples.mplayerhq.hu/avi/samsung_crap_bug742.avi)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22166 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-06 19:01:28 +00:00
rathann 45defa1aa0 Fix a few gcc warnings, approved by Diego and Reimar.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22160 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-05 23:46:08 +00:00
reimar de73d4dd97 Another round of subtitle code cleanup
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22155 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-05 18:25:28 +00:00
reimar d80d849ed7 Set sub_utf8 for mov subs.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22152 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-05 18:12:56 +00:00
nicodvb 7a66e827a1 support for SVQ3 in X-QT; patch by Carl Eugen Hoyos (cehoyos ag or at) approved by Ross
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22130 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-04 14:02:35 +00:00
reimar 8fdb1522a2 Do not read beyond end of data chunk if chunk_size is set.
Sample: http://samples.mplayerhq.hu/A-codecs/wavpcm/ahh.wav


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22121 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-04 09:33:57 +00:00
nicodvb 3a250aa0f1 demux_mpg_probe() seek to the initial position before returning - patch by reimar
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22112 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-03 14:09:47 +00:00
nicodvb 7d1ffbf2c1 removed unused variables
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22106 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-03 11:32:43 +00:00
reimar 596ab5d0fb mf demuxer only works with mf:// urls, so check for that.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22101 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-01 20:31:40 +00:00
reimar 20d8af25be Make mkv demuxer use ffmpeg LZO as well.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22099 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-31 23:28:34 +00:00
reimar 54ef26f173 Support 16bit bigendian PCM audio from libavformat
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22076 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-30 16:16:10 +00:00
nicodvb fc65d8d101 reduced verbosity
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22068 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-29 23:35:08 +00:00
nicodvb 4d31f5e2ea 5l, check that the codec type detected by ts_detect_streams() is actually audio before fixing it in the array
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22067 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-29 23:10:01 +00:00
nicodvb 9b9485027e fix audio type when ts_detect_streams detects that a private1 stream is actually ac3
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22066 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-29 22:49:14 +00:00
nicodvb d36c1d4295 sanity checks during codec detection; also reset demuxer->stream->eof
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22059 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-28 22:41:18 +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 106158f4f1 include math.h for fabsf()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22054 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-28 21:27:15 +00:00
nicodvb 380d0dcebc cosmetics: reindentation and braces removal
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22053 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-28 21:25:50 +00:00
nicodvb ed9e5b1565 moved scoreboarding code to 2 separate functions (update_stats() and clear_stats()) to be reused next
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22052 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-28 21:22:39 +00:00
reimar 48eb95537d Fix number of rows in interlaced mode.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22042 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-28 13:51:24 +00:00
reimar b9b7060e60 10l, confused current "frame" with canvas width.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22040 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-28 11:02:52 +00:00
nicodvb 25918a8b31 set has_valid_timestamps and corresponding first and final pts only after
having checked that at the beginning, at the middle and at the end of the
stream timestamps don't reset and that they seem to progress (almost-) linearly;
additionally probe those timestamps only when the stream type is file and it's seekable,
so all other stream types (especially network ones) won't waste time trying to seek
and possibly slowing down detection.
Seeking is not negatively affected by these changes.
Patch by Christian Aistleitner (zaek7q gmx net) reworked by me.



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22039 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-28 10:45:34 +00:00
reimar fec3b1e82e Hack: use refmode == 1 instead of == 0, as browsers behave like this
and buggy files like http://samples.mplayerhq.hu/GIF/broken-gif/CLAIRE.GIF
rely on this.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22038 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-28 10:34:11 +00:00
reimar c518d68f25 Set sh_video->bih->biWidth properly, fixes decoding after latest dec_video.c change
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22037 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-28 09:53:42 +00:00
rtogni edf1fb46d2 Call real_fix_timestamp() after seeking, to avoid video freezing
because of wrong timestamps. Fixes seek_sample2.rmvb and others.
Patch by LR ))) hephooey ))(( gmail )( com (((


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22036 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-27 22:34:27 +00:00
reimar 92258be85a Simplify and make lzo decompression code more similar to zlib one.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22029 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-27 14:54:45 +00:00
reimar d7da0ebc20 Forgotten free on error
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22028 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-27 14:52:18 +00:00
reimar d8f2eaca08 *dest = malloc (*size); is useless directly before *dest = realloc (*dest, *size);
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22026 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-27 14:45:52 +00:00
diego ef3b7add5f Remove comment printed by -demuxer help, it belongs in the copyright header.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22015 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-25 17:48:38 +00:00
reimar fa7d28e854 Remove ff_gcd prototype and include avutil.h instead where it is defined.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22013 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-25 10:49:43 +00:00
rtogni 2669d9536a Use interleaver id to select the correct interleaver instead of guessing
it from the codec id.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22007 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-24 21:20:08 +00:00
rtogni e77fbf0bd7 Use interleaver id to select the correct interleaver instead of guessing
it from the codec id.
Fixes gittin_13.ra


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22005 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-24 15:05:42 +00:00
nicodvb ef29ff34ff better autodetection of framerate in case of h264; it works correctly with b-frames.
Patch by Eugen Hoyos (cehoyos ag or at)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22001 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-23 22:26:13 +00:00
nicodvb 68f75d788f substream 0x75 doesn't seem to be a valid vc1 stream, after all; removed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21997 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-22 22:29:54 +00:00
nicodvb 3253bba2b3 set priv->last_pts to the pts read only if the pts was really read; patch by zaek7q gmx net (Christian Aistleitner)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21996 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-22 22:24:50 +00:00