Commit Graph

132 Commits

Author SHA1 Message Date
arpi 1e166db202 patch adds support for MOV-Reference-Files.
it uses d_video queue to store playlist entries as strz.
It also makes sure, that unnecessary items like qt5gateQT are removed and
that the url/basepath is added to "local files"
by Fabian Franz <FabianFranz@gmx.de>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8938 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-13 02:42:06 +00:00
arpi f082d01575 (hopefully) fixed .mov streaming
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8929 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-12 20:11:20 +00:00
arpi aedc5fa95b - always print the longest stream in info, not the selected one
- handle teh case when user forces nonexistant streams (-aid/-vid) (based on
Filip's patch)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8831 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-06 21:58:39 +00:00
arpi b987127e0e compiler warning fixes
based on patch by Dominik Mierzejewski <dominik@rangers.eu.org>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8452 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-14 17:56:35 +00:00
arpi bf71bcda6b find best (longest) streams if not specified (-aid/-vid)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8387 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-07 01:01:25 +00:00
arpi 44322daf0f dump URL references
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8316 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-29 21:06:13 +00:00
arpi 1ad664ff86 - parsing the handler reference atom (hnlr), save handler fourccs
- support for dumping raw or un-zlib-ed packets of generic tracks (verbose>=3)
- fixed a sig11 caused by too small stsd of video track


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8315 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-29 20:25:32 +00:00
michael 36409f7abd reversing warning fix (requested by alex)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8259 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-23 17:31:44 +00:00
michael 01c201dbe8 warning patch by (Dominik Mierzejewski <dominik at rangers dot eu dot org>)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8255 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-23 10:58:14 +00:00
arpi 05b4ddb729 export imagedescription for qt video codecs
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8159 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-11 23:46:27 +00:00
alex 772b91172c workaround for ms11 ima4
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8106 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-04 20:36:51 +00:00
arpi 9adea82e2a fix possible sig8 - found by Alex
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8062 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-02 22:39:02 +00:00
arpi 2605ca58e1 set up nBlockAlign, nBytesPerSec correctly if extended audio header avail.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8010 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-31 23:16:27 +00:00
arpi 3c438bdca0 pass audio codecdata
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8004 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-31 19:35:20 +00:00
arpi c71c9ff5ab memleak fix (found by valgrind)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7760 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-16 20:14:29 +00:00
arpi 4644a460cb ss_div/ss_mul defaults to 0
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7755 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-16 16:51:03 +00:00
jkeil d260d605ec BE_16/BE_32 macro was accessing integers from unaligned addresses on SPARC
char2short/char2int broken on BIGENDIAN


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7655 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-07 16:43:04 +00:00
arpi 2f74e98e0f dump processed edit list data
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7515 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-27 20:33:09 +00:00
arpi d483a015a2 tons of warning fixes, also some 10l bugfixes, including Dominik's PVA bug
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7473 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-22 02:33:28 +00:00
arpi 78362eea3f fixing edit-list playback (it uses the mvhd-timescale instead of the mdhd-one)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7442 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-18 19:09:11 +00:00
arpi 4831d9f8ad support for .mp4 with .mp3 audio
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6929 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-05 18:22:14 +00:00
arpi 1459cf6296 skip 'pnot' and 'PICT' - fixes incoming/1.mov
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6866 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-01 21:16:57 +00:00
arpi c15f24ba60 workaround for empty version1 audio headers (bugreport by Sascha Sommer)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6719 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-07-12 13:50:35 +00:00
arpi 192e0f0fb6 edit-list support for video - fixes various A-V sync problems (TODO: seeking)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6665 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-07-07 15:21:30 +00:00
arpi 8d8026ed48 fixed endless 'unknown chunk' and doublespeed ima4 audio bugs
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6656 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-07-06 15:14:32 +00:00
arpi ca393eaecb CBR audio PTS fixes (using stsd v1 header)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6613 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-30 00:37:02 +00:00
arpi 3b83c27cc3 dump edit list
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6612 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-29 22:12:41 +00:00
atmos4 ec6a18cd0a Add small note why we don't use fcntl.h on cygwin. Btw. as far as I can see fcntl funcs were only use in #if 0ed debug code.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6338 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-07 23:49:13 +00:00
arpi c93c93eb26 cygwin & darwin fixes by Joey Parrish <joey@yunamusic.com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6335 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-07 22:41:26 +00:00
arpi 46914c1498 some more output cosmetics, especially for vivo and mov demuxers
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6140 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-05-20 03:51:58 +00:00
alex 22e2f50044 typo fix for pre2
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5777 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-21 19:11:43 +00:00
arpi 47236d4778 'wide' may contain 'mdat'
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5681 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-18 16:06:24 +00:00
arpi 1c5ebbf9a4 FPS calculation fixed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5631 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-15 02:48:11 +00:00
arpi 853ab80ca3 get aspect info from display size if != real size
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5629 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-15 01:58:18 +00:00
arpi 5733fc571b some under-devel code, will be required for qtx codecs
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5373 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-27 21:27:38 +00:00
atmos4 d1281245b3 Use esds parser for movie esds atom and only pass decoder specific configuration into the stream_header.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5308 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-24 14:47:28 +00:00
atmos4 a0399163e6 - Add parsing of Sync Layer Descriptor
- Add a function to cleanup malloced mem from mp4_parse_esds
- Fix some weird code from me :)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5306 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-24 06:10:13 +00:00
atmos4 582d209217 10l fix memory allocation
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5304 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-24 03:07:18 +00:00
atmos4 a316f53a83 eeh 10l, forgot malloc of esds struct.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5303 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-24 02:38:20 +00:00
atmos4 086814f294 Improved MP4 parsing (finally)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5302 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-24 02:25:41 +00:00
atmos4 8266b9011d Add Parsing off ftyp box and some more docs ref
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5258 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-22 00:54:10 +00:00
atmos4 3e8556bb96 Add a usefull url, btw. audio esds needs some fixing with some files, I'll investigate.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5255 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-21 22:26:52 +00:00
arpi 4fae24180e insert mpeg4 video header into the first chunk
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5253 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-21 20:43:43 +00:00
arpi 17ee704b7e 0.1l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5252 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-21 20:19:00 +00:00
arpi 377271cdc0 support multiple video header extension chunks
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5251 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-21 20:18:30 +00:00
atmos4 56a7240127 argh 0.5l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5244 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-21 16:44:15 +00:00
atmos4 802fa9ffcc Recognize and skip ftype chunk used by some .mp4 files and
add fallback to displaysize if imagesize is unavailable.
Also update some doc info.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5243 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-21 16:42:58 +00:00
alex 043873b937 temporary disabled len=0 code due to reported loop errors
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5242 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-21 15:01:39 +00:00
atmos4 0bfff529b9 Add some atom parsing to movie trak and a bit cosmetics ;), Michael can now write esds movie header whereever he wants.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5237 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-21 06:05:14 +00:00
atmos4 0016fc77d1 add alternative samplerate calculation for files with timescale\!=samplerate
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5213 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-20 04:22:14 +00:00
atmos4 9ed76eba4b allow sh_audio struct to be initialized by demuxer, add parsing of mp4 esds header to mov demuxer, init faad from info from mov header
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5207 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-19 21:48:55 +00:00
alex edf006b12f workaround in palette reader for statunit6.mov, needed to implement support for flag&0x4 and small changes to avoid some sig11-places in the badly muxed cinepak pro movs
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5086 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-15 15:57:57 +00:00
arpi 606f762c99 some cleanup, fixes for video header parsing. finally we get the coded size instead of display size\!
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5068 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-14 02:26:49 +00:00
melanson c2a5adb55a fixed some endian issues, like changing bswap_32() -> be2me_32(), and
removing FIXME #warning about endianness (seems to work fine on PPC)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4904 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-01 03:02:25 +00:00
melanson c4243b6dda reinstated original palette decision logic from XAnim (was the QT spec
wrong on this?)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4647 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-10 19:06:08 +00:00
alex d1446f072f added nmhd, added checking for audio trak in demux_mov_fill_buffer
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4646 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-10 18:31:12 +00:00
arpi 0d18dddced fixedsize video samples fixed (dvntsc-qt.mov)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4625 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-10 00:45:56 +00:00
melanson df3d063c20 reconciled one minor, nagging palette issue with the official QT spec
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4534 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-05 04:08:05 +00:00
melanson 481a1873c4 fixed (reversed) the RGB palette order
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4372 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-27 02:48:39 +00:00
melanson d68675fee9 QT demuxer now supports the default QT palettes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4333 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-24 05:20:19 +00:00
melanson 5e79c53b4f QT demuxer loads palette information from files that transport palettes in
their stsd atoms. Also fixed link in MS Video-1 decoder.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4130 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-13 06:01:04 +00:00
alex 082d9e80ba mov_check_file 64bit support by Chris Bednar. also fixed co64 chunk and added warnings for 64bit files reading without largefiles support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4000 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-05 19:29:52 +00:00
alex 6f76545a73 added co64 (64bit chunk offset table) chunk (needed for mov files created with xawtv) and added depth detection in video track (tested with my *.mov files (about 15-20) and worked fine)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3653 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-22 00:33:35 +00:00
alex 01af02aaa3 added demux_info
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3072 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-22 15:43:24 +00:00
alex e7354ab60b added skip atom to support .mp4 files
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2943 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-17 01:10:46 +00:00
arpi cab56fc5f5 ignore mov detection if first chunk bad
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2880 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-13 21:11:10 +00:00
alex d9a0316829 added pre-flash detecting support ;)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2787 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-09 17:00:12 +00:00
arpi 9ee7852bb7 config.h cleanup, few things added to steram/demuxer headers
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2556 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-30 17:03:11 +00:00
arpi 9db786f121 twos pcm audio support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2550 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-29 22:41:54 +00:00
alex 93c43b9e81 added edit atom (edit list), some comments and typos fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2547 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-29 22:40:25 +00:00
arpi e67b12fddc seek ebfore begin of the movie fixed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2546 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-29 22:11:40 +00:00
arpi 10f5c87656 using keyframe info for seeking
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2545 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-29 21:55:07 +00:00
arpi 4e83a60098 cbr audio fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2544 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-29 21:25:10 +00:00
alex d9ee674497 extended udta record
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2543 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-29 21:01:00 +00:00
alex 455415daf2 added stss (not completed)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2534 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-29 16:56:36 +00:00
alex 3b83b7457b changed if's to switch in lschunks
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2533 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-29 16:15:04 +00:00
alex bd3621bf00 added two new clip info types, all printf's were upgraded to mp_msg
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2484 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-26 14:04:17 +00:00
alex b2d7a9f40f handling free chunk (wide needs implementation) and displaying clip info (datas from udta chunk)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2430 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-23 16:21:24 +00:00
arpi adfdd89012 compressed mov audio fixed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2420 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-23 13:55:49 +00:00
alex 579abe4172 compression algo detection fix (bswap) and fps fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2387 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-22 22:49:09 +00:00
arpi b7c1f37d4c includes cleanup
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2339 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-21 15:47:31 +00:00
arpi 881e5d0783 libdemuxer...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2311 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-20 18:49:08 +00:00