Commit Graph

41 Commits

Author SHA1 Message Date
reimar 9b128fa2e4 Implement absolute and percent-based seek
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20076 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-05 21:25:22 +00:00
nicodvb b792548aa7 include forgotten limits.h
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19617 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-31 21:26:02 +00:00
nicodvb 735e934c58 added lavfdopts to pass options to libavformat
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19604 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-30 22:25:40 +00:00
reimar c3cdf1ced9 Do not treat AV_NOPTS_VALUE as a valid duration value.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19212 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-28 13:39:11 +00:00
reimar 902b1a22b1 Take start time into consideration when calculation percentage position
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19165 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-23 09:05:10 +00:00
diego b5de6c39e6 Remove #if LIBAVCODEC_BUILD >= XXX and #if LIBAVFORMAT_BUILD >= XXX jungle.
It served no apparent purpose anymore.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19078 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-13 23:02:03 +00:00
reynaldo 32492483c0 drops casts from void * on malloc/calloc from libmpdemux code
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19067 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-13 16:41:13 +00:00
rfelker 22bbf3a01b more c++ decl crap
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18990 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-10 02:53:06 +00:00
pacman 5576e93b0f Remove bogus stream_eof() test - av_read_frame() has its own buffer and can
still return usable data after the underlying stream_t has EOF'ed.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18847 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-28 19:27:04 +00:00
nicodvb 4e5235e91f support for -alang
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18778 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-21 19:24:17 +00:00
nicodvb e9f0940c47 support for audio stream switching
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18765 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-20 19:57:16 +00:00
diego a33158d60d Convert printfs in aviprint.c to mp_msg and give the information printing
functions in this file a verbosity_level parameter.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17978 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-27 17:25:41 +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
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
michael ec7b288ed5 10l 1000 fps fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17557 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-08 01:19:13 +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
diego 988281c471 Update licensing information: The FSF changed postal address.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17368 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-13 00:23:32 +00:00
nicodvb ad978de549 added support for external libavformat
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17355 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-09 19:35:44 +00:00
gpoirier b136fa417f makes demux_lavf (-demuxer 35) use the framerate specified in the container
if it's set and only fall back to the codec framerate if the former is not
set.
This solves the issue of some avi's playing at 30000/1 fps instead of the
correct framerate.
Patch by Ivo < ivop AH euronet POIS nl >
Original thread:
Date: Sep 25, 2005 12:34 AM
Subject: [MPlayer-dev-eng] [PATCH] make demux_lavf use container framerate


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16719 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-10 05:45:38 +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
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 a426499a97 Hopefully finally fix the last commit
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16136 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-28 14:14:13 +00:00
reimar 70c9aca23b lavf demuxer with raw PCM fix (and a related hang)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16135 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-28 13:43:24 +00:00
michael 096500035d LIBAVFORMAT_BUILD >= 4629
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16001 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-17 23:54:48 +00:00
faust3 47eb55b654 10l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15820 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-26 15:32:09 +00:00
michael 2678394202 LIBAVFORMAT_BUILD >= 4624
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15309 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-01 02:03:58 +00:00
michael 7beeedc331 various (de)muxer_lavf fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15012 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-25 22:47:09 +00:00
michael 078ef11dda set i_bps
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15008 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-25 11:09:42 +00:00
michael 93b2bacee5 discard streams we dont need
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15005 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-25 00:48:18 +00:00
nicodvb fb8a0ddba2 discard lavf packets with wrong ids
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14612 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-30 09:13:28 +00:00
michael 50d7158d75 print build num
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13750 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-24 20:55:33 +00:00
michael b3948a36d1 10l (mplayer doesnt like AV_NOPTS_VALUE)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13748 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-24 19:17:55 +00:00
michael 42315ddbb4 LIBAVFORMAT_BUILD >= 4619
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13608 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-10 22:24:07 +00:00
michael 35439875eb segfault fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12464 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-05-12 22:48:15 +00:00
michael 057916ee65 fix possible segfault on lavf demuxer patch by (adland <adland123 at yahoo dot com>)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12305 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-26 19:55:55 +00:00
michael 9e29038395 seeking
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12169 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-11 17:20:52 +00:00
michael 532af04dba avoid unneeded stream_reset()
aspect ratio support (rarely works ...)
author, title, ...


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12168 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-11 16:48:48 +00:00
michael d854c5c06a nicer EOF solution, mpeg-ps works now too
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12167 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-11 15:04:54 +00:00
michael 1c80573d19 libavformat really doesnt like it that the streams get stuck if the end is reached
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12166 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-11 14:51:10 +00:00
michael 8580ca5c5f demux_lavf
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12165 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-11 14:26:04 +00:00