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
diego
2e66db0c4a
Discard -Wdeclaration-after-statement warning.
...
patch by Carl Eugen Hoyos, cehoyos ag.or at
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21992 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-21 23:21:50 +00:00
reimar
8e374ff809
Instead of printing a useless "sig11 coming soon" message, just abort parsing
...
in the hope of still saving things (helps with at least
http://sam.zoy.org/zzuf/lol-mplayer.wmv ).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21986 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-21 18:29:18 +00:00
reimar
75282a6a83
Sanity-check sh_video->bih->biSize
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21985 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-21 18:22:07 +00:00
reimar
4b9ddc69a0
Simplify by using av_codec_get_id and include riff.h only in demux_lavf.c
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21984 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-21 15:44:58 +00:00
reimar
3ccc6712e3
Forgotten CodecTag -> AVCodecTag
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21980 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-21 10:33:34 +00:00
reimar
abb0510502
Fix compilation after lavf changes
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21979 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-21 10:17:40 +00:00
reimar
cb47a72a44
support -ffourcc with -of lavf
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21978 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-21 10:10:07 +00:00
nicodvb
2abbb9c863
in h264_parse_sps() reuse mp_unescape03()
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21971 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-20 13:46:17 +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
nicodvb
fa90811f58
demux vc1 (stream id 0x1Fd with 0x55 <= substream id <= 0x5F in the pes_extension_2 payload)
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21966 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-20 12:13:50 +00:00
nicodvb
58c3d666eb
added function to parse vc1 sequence header
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21965 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-20 12:04:20 +00:00
reimar
c70d547ea6
Compile fix: LE_* -> AV_RL*
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21963 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-19 23:14:57 +00:00
nicodvb
34ef7517eb
1000l; fixed wrong operator precedence
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21952 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-17 21:42:04 +00:00
nicodvb
8397554a2a
unified creation of sh_audio and sh_video is ts_add_stream; patch by elupus
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21947 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-17 00:12:35 +00:00
nicodvb
375fe84da6
in evo files [e]ac3 substreams range from 0xc0 to 0xcf
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21945 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-16 22:50:47 +00:00
reimar
3d834fb592
Interlaced gif support
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21940 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-16 07:12:32 +00:00