Commit Graph

1496 Commits

Author SHA1 Message Date
nicodvb bd9d54015f changed :vaspect option to CONF_TYPE_FLOAT
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15084 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-10 10:06:59 +00:00
rtognimp b5e683f42d "Fix" for pnm EOF detection (stop on read errors)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15078 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-09 14:50:36 +00:00
rtognimp a319fea77f Stop streaming if we got a server error or message on pnm streaming.
This is needed to stop playback for pnm streams where mplayer can't
authenticate, and avoid an endless list of "input pnm: read error".


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15077 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-09 13:44:43 +00:00
nicodvb 4493ca4321 set width, height and biCompression when the video stream contains avc1; reuse a private member rather than a in-stack packet[204]; set pes_es->is_synced =1 when au_start=1 (SL); update PMT when setting mp4es codec (SL); fix tss->is_synced assignment (don't forget the value when it was previously set)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15076 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-09 11:30:59 +00:00
nicodvb f1a9cf6c69 assign picture->(width,height) when parsing h264
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15074 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-09 11:00:00 +00:00
rathann bc7fa51e6d obvious gcc warning fix, approved by Nico
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15068 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-08 00:52:43 +00:00
nicodvb 76e038c2ae demux ac3 by means of lavf by default
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15062 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-07 18:59:15 +00:00
rathann e3b183dc3f - fix gcc warnings, strlcat/strlcpy prototypes
- fix bad sscanf usage in geometry.c


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15059 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-06 11:57:10 +00:00
rathann d621bc66d2 fix http://bugzilla.mplayerhq.hu/show_bug.cgi?id=260
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15058 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-06 11:53:45 +00:00
gpoirier 9e909f0dde Added support of audio stream switching in the MPEG demuxer using the #-key
Patch by Michael Behrisch < behrisch $ informatik * hu-berlin * de >
commited with the kind blessing of D. Richard Felker III


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15047 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-03 14:08:28 +00:00
nicodvb acf7defdcf allocate and fill extradata field for video_avc (raw nal units, extradata contains sps+pps); fixed payload_size assignment for SL payloads
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15046 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-03 11:47:20 +00:00
nicodvb 7affbd1748 added support for mpa layers 1 and 2
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15040 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-02 10:30:19 +00:00
lorenm 030aa1ebe7 filename-based detection for h264 ES
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15036 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-01 05:45:55 +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
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 c9a5ffcee7 1000l (dwSampleSize != nSamplesPerSec)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15006 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-25 02:41:08 +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 db844bc9f6 wrong binary operator
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14994 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-23 07:53:37 +00:00
nicodvb f6329a75d8 consider parse random_access_point from the adaption_field to determine if the payload is an access point (for SL)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14993 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-23 07:43:31 +00:00
nicodvb f0fc50f974 SL payloads are pushed to audio and video fifo only when they are flagged with random_accesspoint or access_unit_start
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14982 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-22 07:45:00 +00:00
nicodvb 0f04ee59e6 initial support for SL packetized data, with certain limitations; partly reworked the tables management for a better code reuse
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14969 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-20 14:20:59 +00:00
nicodvb 2c2ea161cb export getbits() as mp_getbits()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14968 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-20 14:16:21 +00:00
rathann cb15f1d89d missing declaration, fixes:
muxer.c:36: warning: implicit declaration of function `muxer_init_muxer_lavf'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14956 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-18 01:59:43 +00:00
rtognimp 0c7b6fc212 Rather simple patch for RAWDV demuxer which lets it say whats the total
movie length.
Patch by Oded Shimon


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14935 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-09 20:29:50 +00:00
nicodvb f955afd56c fixed support for mp3 at <32000 sample_rate
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14928 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-07 07:36:27 +00:00
nicodvb c596f03a8a added support for other codecs (mpeg4/h264/aac) in mpeg-ps parsing the PSM
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14924 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-06 21:10:01 +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
nicodvb ea27baf5a3 converted vframerate to CONF_TYPE_FLOAT
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14915 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-04 07:43:00 +00:00
rfelker 47c016bd18 100l to reimar.. sh_audio->samplerate and sh_audio->i_bps are not the same
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14911 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-04 01:53:55 +00:00
rtognimp 56bf07f685 Fix very old ra files with no fourcc
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14910 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-03 23:02:45 +00:00
rtognimp e98640dadc Fix some 28.8 ra files with four text strings
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14909 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-03 21:13:30 +00:00
reimar c5563969ec Fix rm files with a really big index chunk.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14898 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-03 10:23:28 +00:00
reimar fd9fe9e04d Make nuv files work on bigendian (but old nuv files created with mencoder
wont play anymore - before they would have worked with mplayer on be)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14897 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-03 10:19:56 +00:00
nicodvb 25496ac66c recalculate frame duration after soft telecine
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14895 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-03 07:48:54 +00:00
rathann 8896e5e98f Fix:
mpeg_hdr.c:212: warning: no return statement in function returning non-void
mpeg_hdr.c:262: warning: suggest parentheses around assignment used as truth value
mpeg_hdr.c:264: warning: suggest parentheses around assignment used as truth value
mpeg_hdr.c:270: warning: suggest parentheses around assignment used as truth value
mpeg_hdr.c:275: warning: suggest parentheses around assignment used as truth value
mpeg_hdr.c:212: warning: control reaches end of non-void function

mp4_header_process_vop() return value isn't used anywhere anyway.

Approved by Nico.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14888 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-01 23:45:32 +00:00
rathann 77fab94da1 missing #include (for malloc and free)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14887 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-01 22:57:57 +00:00
nicodvb d2c6e4fd59 100l wrong binary operator when setting progressive frame
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14882 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-01 21:04:09 +00:00
nicodvb 8c1491ec85 telecine now works in display order (rather than decoding), as far as there are no more than 4 consecutive b-frames; added support for FMP4
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14881 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-01 20:56:43 +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
rfelker 4eb1b755bb Fix the ogg fourcc nightmare!!!
The problem: once upon a time, windows idiots decided to try to store
vorbis-in-ogg-in-avi. Of course this failed miserably, but they used
the audio format tag 0xfffe for "extended" to do this. Later someone
working on MPlayer somehow decided 0xfffe was the format for vorbis,
which is nonsense, and now that's conflicting with real wav files with
extended audio format. This patch changes demux_ogg (and mkv) to use
sane fourcc's for vorbis and theora and gets rid of the 0xfffe
nonsense so hopefully wav files with extended audio will work now.
If there are problems, we'll have to find workarounds...and drive an
18-wheeler full of cola thru the house of whoever wrote this 0xfffe
nonsense in MPlayer to begin with...


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14844 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-27 18:11:17 +00:00
rfelker cdc68a9f0e soft telecine support! :)) patch by nico
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14841 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-27 06:24:19 +00:00
rfelker 4047cbd9dd more on tivo vstream support.. 1000l to Joey for forgetting this file and breaking MPlayer build! :)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14839 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-27 05:53:12 +00:00
joey 81cbdce6aa added a stream module for the vstream client library
allows MPlayer to stream video from a properly equipped Tivo


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14837 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-27 04:25:12 +00:00
nicodvb 259ab69fe5 50000l: fixed various memleaks; CC discontibuities aren't necessarily error conditions
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14826 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-25 22:27:46 +00:00
hzoli 067c0482d9 Remove file-global mpadec, add ad_driver member to sh_audio_t instead.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14820 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-25 11:17:43 +00:00
nicodvb c63785ae65 both reorder and noreorder flags are now available
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14810 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-25 07:46:44 +00:00
nicodvb 090fcfa8bf disabled by default frame reordering
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14800 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-24 20:23:13 +00:00
nicodvb e0e161dd83 framerate autodetection for H264 in raw/ts streams
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14799 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-24 20:02:41 +00:00
nicodvb b9377319a6 replace bzero() with memset()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14780 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-23 07:30:37 +00:00