Commit Graph

1505 Commits

Author SHA1 Message Date
nicodvb 4593e0f2cf skip framelen-4 bytes after having successfully detected an mpeg audio frame
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15205 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-17 17:08:55 +00:00
nicodvb aa8b3279f9 assign correct tag, dwScale and dwBlockAlign to mpeg audio; optionally assign layer and samples_per_frame when parsing mpa header
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15200 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-17 09:42:51 +00:00
nicodvb 1e12bf4d71 added missing initializer in URLProtocolo; mux packets only if len > 0; second mencoder's a/v sync model
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15199 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-17 09:13:48 +00:00
rtognimp 27090defde Use define instead of hardcodec value for max streams number
Pathc by Dominik 'Rathann' Mierzejewski


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15182 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-16 13:42:50 +00:00
diego 7d9ec17fd4 Mark modified imported files as such to comply more closely with GPL §2a.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15179 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-16 12:51:09 +00:00
rtognimp c935ff23d7 Fix potential buffer overflow for urls with more than 20 streams
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15174 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-15 23:31:57 +00:00
rtognimp 20a3f6169c Fix potential buffer overflow if server answers with too many lines
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15173 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-15 23:30:44 +00:00
gpoirier 2a08792ee8 Online audio switching now supports Matroska too. Patch by Michael Behrisch
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15155 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-13 22:33:19 +00:00
rtognimp 7b1bd09dbc Make string_utf16 code behave almost the same with or without iconv
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15151 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-13 19:21:05 +00:00
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