Commit Graph

132 Commits

Author SHA1 Message Date
diego 30d06685ac Reduce output verbosity in non-verbose mode, change some printf to mp_msg.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17757 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-06 08:26:07 +00:00
rtognimp bf96c6033e This patch fixes pcm (twos, swot) in MOV.
This fix playing samples produced by ffmpeg(which set correct values),
and many samples in archive.

Patch by Baptiste COUDURIER | baptiste . coudurier )( smartjog . com |


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17717 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-02 22:28:12 +00:00
corey 1ab575101a Second-try commit of this patch.
1. Include audio_delay as an argument to demux_seek.
2. Modify demux_seek_avi to adjust the audio/video stream positions so
   that mplayer/mencoder will instantly be in sync even when -delay is
   specified.

I've quadruple checked this time; hopefully I haven't missed anything.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17637 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-17 01:57:41 +00:00
corey 3f6e7ce5f5 Reverse commit of unfinished patch for passing audio_delay to the demuxers.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17570 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-09 19:39:51 +00:00
corey 15debd85d2 1. Include audio_delay as an argument to demux_seek.
2. Modify demux_seek_avi to adjust the audio/video stream positions so
   that mplayer/mencoder will instantly be in sync even when -delay is
   specified.

Other demuxers could be modified similarly in the future.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17554 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-07 20:22:44 +00:00
rathann 2601de4120 massive attack: mp_msg printf format fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17367 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-12 20:04:36 +00:00
corey ffb7208370 Partial support for QuickTime sound atom version 2.
This doesn't add support for parsing the sound atom itself, but does
recognize the different offset at which the ESDS atom starts. Also,
this patch supports "3" in the channels field, which indicates
6-channel (5.1) audio. For more information, see this mail:

From: Corey Hickey <bugfood-ml@fatooh.org>
To: mplayer-dev-eng@mplayerhq.hu
Date: Wed, 28 Dec 2005 23:42:46 -0800
Subject: [PATCH] (partially) support QuickTime sound atom version 2


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17284 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-02 06:56:22 +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 6880f9a572 10l, off by one error in last patch (codecdata length sanity check),
caused crashes with qdmc audio.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16680 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-05 14:55:06 +00:00
reimar 58b3c487ec Detect eof when seeking and do _not_ restart the video.
Also fixes some invalid reads.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16614 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-28 15:37:30 +00:00
reimar 47b5a39d38 Sanity-check codecdata_len, fixes crash in libfaad due to failed malloc for
http://images.apple.com/movies/us/hd_gallery/gl1800/480p/the_brothers_grimm_m480pa.mov


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16612 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-27 11:21:13 +00:00
reimar a6f6008e30 Wrong editlist handling: end pts must be included.
Fixes another BBC sample (why is it always BBC samples that break MPlayer??):
http://images.apple.com/movies/us/hd_gallery/gl1800/720p/bbc-africa_m720p.mov


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16497 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-16 11:05:29 +00:00
ods15 d620029e4b Make -identify's 'ID_LENGTH=' print a float and not an integer.. The
accuracey may be totally fake for some demuxers (mpg), but accurate for
others.. (avi)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16347 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-02 08:32:32 +00:00
reimar e1d1e3bc74 Fix move playlists (control must be returned to mplayer.c, with the demuxer
returning the real URL as a packet).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16327 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-31 13:04:22 +00:00
reimar c1f2df8f53 extra size checks for samples array to avoid crashes in some rare cases.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16321 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-30 23:24:47 +00:00
rtognimp cd68e1618b Demuxer modularization
Demuxer selection by name with -demuxer command (bakward compatible)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16176 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-05 19:57:47 +00:00
reimar 628236e0c0 Add missing range/length check for video trak desc (fixes bug #335).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15950 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-10 09:05:14 +00:00
reimar e795c4b11b cosmetic: split the lschunks function in two.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15949 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-10 08:57:31 +00:00
reimar 405c00b388 avoid bad memory access
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15784 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-20 14:32:51 +00:00
reimar a3e5eab301 fix memleak when playing mov files
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15781 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-20 14:16:59 +00:00
nplourde 83ca336af6 The Quicktime headers have changed slightly from 10.3.x to 10.4. Steven Schultz <sms@2BSD.COM>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15509 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-18 14:44:56 +00:00
rtognimp 875908b14f Fix audio playback for no-sound-3gp.3gp (amr nb)
Patch by Richard van der Hoff * richardv * mxtelecom * com *


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15358 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-06 22:26:36 +00:00
rtognimp 92cc26d0f4 Decode "d263" and "damr" atoms in 3gp files
Patch by adland


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15357 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-05 21:40:33 +00:00
rtognimp a6d915256b Also '3g2a' can be used for 3GPP Profile 2
Based on patch by adland


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15287 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-28 18:25:50 +00:00
rtognimp af9950cd99 Fix alac from QTpro (in standard mov file, not in m4a file)
Extradata is in a different place
fixes samples/A-codecs/lossless/ALAC/alac.mov


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15023 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-30 22:10:07 +00:00
rtognimp d13d95f551 alac support via lavc decoder
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14923 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-06 17:55:31 +00:00
reimar 9bc6e80972 set sh_audio->delay ins audio-only case so that correct time is displayed
after seeking.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14878 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-01 20:16:49 +00:00
rtognimp a6c469e97f Mp3On4 demuxer support
Patch by Larry Ruedisueli lwr at audioresearchlabs dot com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14707 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-15 21:04:33 +00:00
reimar 9a37723498 Reset stream eof after parsing header, fixes bug #218
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14582 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-23 21:39:51 +00:00
rtognimp dbbe18f450 Fix channels, sample rate and sample size for 3gp files
Patch by Richard van der Hoff [ richardv at mxtelecom dot com ]


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14280 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-29 23:26:01 +00:00
reimar 12067f7a97 fix position bar and length display for mov files
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14199 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-21 12:27:38 +00:00
diego a688341112 Handle raw yv12 video as I420 to fix some Broadcast 2000 created samples.
patch by Reza Jelveh, approval by Roberto


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14180 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-18 01:12:02 +00:00
mosu 6fcdde79ef Extended support for other object type IDs in the ESDS. This enables e.g. MPEG2 video in the MP4 container.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13955 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-11-15 15:04:57 +00:00
rtognimp 49bc246607 AVC support moved to libavcodec, avcC atom is now passed in extradata
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13334 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-09-13 21:21:48 +00:00
rtognimp b026fd05ae AVC (fourcc avc1) in mp4 support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13191 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-08-29 13:52:19 +00:00
rtognimp 4143f4e4e5 Negate default palette for grayscale cvid
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12709 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-06-27 19:53:30 +00:00
diego 911789a0e0 typo
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12652 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-06-25 16:59:23 +00:00
diego 3d8e9dc04a Have the MOV demuxer recognize and display (via MPINFO) registered ISO
and other major brands instead of the usual "Unknown major brand" from
only having "isom" defined.
patch by Shan <sweber@slingshot.co.nz>, approved by Alex


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11811 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-01-20 04:59:48 +00:00
mosu 8f2a31d3e3 Fix for compilation on Mac OS X by Steven M. Schultz <sms@2BSD.COM>.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11400 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-11-06 08:19:25 +00:00
rfelker bb032bfb6a 1000000l!!!!
of course ffmpeg svq3 decoder will crash if you don't give it the ImageDesc!
now it works fine


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11371 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-11-03 06:24:59 +00:00
mosu 6df04eae85 Fix for borked .mov files with bogus user data length values. Patch by Marek Zelem.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10889 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-09-20 10:10:11 +00:00
mosu d078c2bbf1 Fixed seeking in MPEG4 files. Patch by Uwe Reder <Uwe.Reder@3SOFT.de>.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10850 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-09-11 09:05:54 +00:00
mosu 2445e00ca2 Support for grayscale paletted files. Patch by Dima K <dimakar@yahoo.com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10797 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-09-02 14:48:49 +00:00
michael 35932098ae ffsvq3 fix, dunno if this is the correct fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10088 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-05-10 09:32:02 +00:00
diego 9bb1bd31c8 Avoid including a header file twice to prevent Cygwin gcc 2.95.3-10 from
crashing.  Also Fixes compilation with --disable-streaming on Cygwin gcc
3.2 where the include appears to be needed.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9952 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-20 23:15:27 +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
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
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