1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-27 17:42:17 +00:00
Commit Graph

17661 Commits

Author SHA1 Message Date
corey
08423e09bf Fix video delay when encoding with B-frames.
(missed this file)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17661 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-21 09:40:25 +00:00
corey
960b978a03 Fix video delay when encoding with B-frames.
Encoding delay is adjusted for on-the-fly during encoding.

Decoding delay is compensated for by setting an appropriate dwStart on
the audio stream (only in muxer_avi at this point).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17660 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-21 09:39:22 +00:00
diego
14d023a2ee grammar, put options in alphabetical order
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17659 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-20 23:50:40 +00:00
gpoirier
528111d917 More complete ASF MIME detection, closing bug# 248,
patch by Zuxy Meng < zuxy POIS meng AH gmail.com >, Approved by Bertrand Baudet, who agrees to get the cola shipment. :)
Original thread:
Date: Nov 2, 2005 7:11 AM
Subject: [MPlayer-dev-eng] [PATCH] More complete ASF MIME detection, closing bug# 248


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17658 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-20 21:59:28 +00:00
gpoirier
e1ab85eba4 sync with 1.1231
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17657 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-20 21:05:36 +00:00
ptt
00fac88644 sync with 1.222 plus minor fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17656 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-20 11:05:07 +00:00
corey
6f446f41b5 New option: -ignore-start
Makes mplayer and mencoder ignore dwStart in AVI files.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17655 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-20 09:36:10 +00:00
ods15
362b6d13dd fields should be in english...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17654 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-20 04:49:06 +00:00
corey
06538c9839 Typo fix: "URLs to forces" --> "URLs to force"
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17653 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-19 21:55:07 +00:00
gpoirier
91f2c3c556 synced with 1.1229
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17652 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-19 21:39:58 +00:00
bertrand
52dd75e903 Allows the LIVE555 library to forces the client's port to be used
when reading from an RTP/RTSP source.

Patch from Benjamin Zores <ben@geexbox.org> and Patrick Labatut <plabatut@gmail.com>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17651 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-19 13:27:27 +00:00
diego
2919230676 Support MPEG-4 files with RMP4 fourcc, fixes greenlines.rmp4.p.avi.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17650 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-19 10:15:18 +00:00
corey
89d848a8a2 dwStart support for mencoder.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17649 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-19 09:34:37 +00:00
ods15
0d29a779f8 deobfuscate some a/v sync code
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17648 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-19 04:31:14 +00:00
michael
8f51734daf no upscale flag so automatic downscaling is possible in mencoder
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17647 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-18 21:12:56 +00:00
gpoirier
d7998ea0ef upport another G4 flavour: MPC7447* chips.
(MPC7448, MPC7445 and MPC7457 are still not supported currently, but it remains to be seen if they have been used in any real computer.)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17646 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-18 20:04:42 +00:00
reimar
86e6ef0ca1 include stdlib.h and stdio.h, they tend to be useful :-)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17645 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-18 12:45:00 +00:00
corey
b4e5108496 dwStart support for mplayer.
* demux_avi sets stream_delay according to dwStart
* mplayer adjusts audio_delay according to stream_delay

3 related patches are pending, and I will apply them over the next few
days if all goes well.

As I mentioned on -dev-eng, the funny indentation is in preparation for
one of those pending patches.

See:
Date: Fri, 17 Feb 2006 00:53:28 -0800
To: mplayer-dev-eng@mplayerhq.hu
Subject: [PATCH] bframes, dwStart: individual patches


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17644 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-18 09:26:39 +00:00
pacman
366151d741 Just a comment update, replacing a FIXME to reflect the new expectation of
how altivec_yuv2packedX is supposed to be used


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17643 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-18 01:08:17 +00:00
pacman
1960b4ad49 don't call altivec_yuv2packedX() with a dstFormat that it doesn't support;
instead fall back on yuv2packedXinC


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17642 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-18 00:41:28 +00:00
ods15
db8d9b1dc2 more cosmetics
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17641 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-17 20:05:25 +00:00
ods15
01856feb63 some cleanup. enforce decode_delay to not be too high.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17640 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-17 19:45:35 +00:00
pacman
7aef655c0f Fix vec_clip for gcc's that don't handle (vector signed short){16} according
to spec; also convert a few vec_splat's to vec_splat_{s,u}*


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17639 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-17 05:01:46 +00:00
pacman
74e03a35f1 Fix colormap save/restore for directcolor fb devices
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17638 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-17 03:49:33 +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
aurel
808ce9a03a memalign segfaults when used without declaration on amd64 (default function return type is int so the pointer was trunctated to 32bits)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17636 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-16 22:43:42 +00:00
aurel
acf99ed75b fix compilation without openal
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17635 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-16 22:35:04 +00:00
reimar
8424c24317 OpenAL audio support, actual output is mono-only (no positioning yet).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17634 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-16 20:45:25 +00:00
michael
ed85b56638 ng the fix for vCCoeffsBank patch by (Alan Curry <pacman TheWorld com>)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17633 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-16 12:55:23 +00:00
michael
c4da13ec52 make swscale-example compile patch by (Alan Curry <pacman TheWorld com>)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17632 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-16 12:52:09 +00:00
iive
2431c2a2cb include config.h before includes that need it
based on patch by Alan Curry <pacman at theworld com>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17631 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-16 10:08:03 +00:00
rtognimp
daf506cc05 Add some more fourcc for DV and MPEG2 needed for some mov samples posted
on ffmpeg-devel list


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17630 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-14 22:10:22 +00:00
rtognimp
55b40c3656 Set SRC_PATH correctly, fixes libpostproc compilation
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17629 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-14 21:43:32 +00:00
rtognimp
c104d2bd5f Import common.mak v1.1 from ffmpeg cvs, now it's needed by the building
system


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17628 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-14 21:42:49 +00:00
aurel
efdabb1b55 Don't test the v4l2_input audioset field for audio capabilities but still try changing the mute setting (patch by Jesse Allen < the3dfxdude _at_ gmail.com >)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17627 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-14 20:13:55 +00:00
diego
52c917e583 Align memory at 16 byte boundaries.
This fixes crashes related to AltiVec as reported at
http://mplayerhq.hu/pipermail/mplayer-advusers/2006-January/001381.html
patch by Luca Barbato, lu_zero #at# gentoo #dot# org


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17626 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-14 09:55:14 +00:00
iive
0aa37a0db2 allow autodetection of pictures type when using mf://@file.list syntax
autodetection is based on first picture instead of the url


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17625 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-14 09:34:30 +00:00
gpoirier
05e6f3c577 synced with 1.1227
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17624 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-13 12:49:15 +00:00
diego
ee72a75fb3 Remove obsolete big-endian FIXMEs.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17623 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-13 12:44:17 +00:00
cladisch
7673cbf6a7 Fix the error handling in the play() function: add a handler for EINTR,
improve the reporting of other errors, and don't try to call
snd_pcm_writei() repeatedly when it aborts after a partial write due to
an error.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17622 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-13 11:48:29 +00:00
cladisch
7d319f4b75 This changes the software parameters to be more compatible with the
behaviour of the OSS driver.  This implies that underruns are not longer
reported.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17621 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-13 11:43:25 +00:00
cladisch
0fc0814fcd Using non-blocking writes makes sense when the program wants to do other
things instead of waiting for the device to become ready.  However, just
calling snd_pcm_wait() is identical to blocking mode, so we can just as
well remove support for non-blocking writes.

Besides, the waiting code was never actually used because play() is
never called with more data than reported by get_space().


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17620 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-13 11:38:12 +00:00
cladisch
1328f3731c Remove the now superfluous mmap suboption.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17619 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-13 11:17:43 +00:00
cladisch
7f9397276b After removing play_mmap(), the play() function just unconditionally
calls play_normal().  This indirection is now superfluous.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17618 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-13 11:16:29 +00:00
cladisch
cc8359e4e8 This patch removes mmap support because it doesn't have any benefit.
Directly accessing the sample buffer makes sense only when the samples
can be constructed in-place.  When the samples are just copied from
another buffer (as is the case with libao2 drivers), the code to copy
those samples is just a reimplementation of snd_pcm_writei(), so we
could as well use that function.

Besides, the current mmap code does not work except in the most simple
cases: it claims to support non-interleaved and complex sample formats,
but treats them the same as interleaved formats and writes to the wrong
memory location.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17617 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-13 11:15:25 +00:00
ods15
3b7240c575 fix index, first keyframe cannot be written with pts=0
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17616 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-13 07:29:11 +00:00
lorenm
394940b23c lavc exposes the reconstructed picture, so no need to decode it again
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17615 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-13 07:00:37 +00:00
gpoirier
498490bfbe synced with 1.1226
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17614 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-12 17:51:38 +00:00
ods15
94884f5dee Make 'N' frame code implictly invalid
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17613 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-12 17:40:02 +00:00
henry
81317a1a79 do not forget to initialize dp->buffer
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17612 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-12 17:01:30 +00:00