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
1da3dc91bd
set i_bps in demux_audio for WAV and MP3 to avoid division by zero before
...
decoder sets it.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16163 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-01 18:36:50 +00:00
reimar
5a5d4c946e
Fix MP3 detection (list of found MP3 headers was not kep sorted).
...
Also remove code that only fixed the symptoms.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15216 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-18 20:51:34 +00:00
rfelker
5528785463
nico partially fixed the bug i reported; here's the rest of the fix.
...
basically demux_audio was mixing data in its header buffer in a bogus
manner, whereby it could sometimes "make up" valid mpeg headers where
no such header actually occurred in the file. it should be correct now.
btw these changes also fix the bug where mplayer reports huge initial
cpu usage for sound when playing mp3 files.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15206 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-17 17:17:52 +00:00
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
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
reimar
78dda735d5
Fix possible hang when playing broken MP3 from linear stream and remove
...
duplicate code.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14609 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-29 12:55:56 +00:00
reimar
f4c7dfd482
better, tuneable (via #define) MP3 detection, limit demux_audio to scanning
...
only the first 30000 bytes for headers.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13504 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-09-28 17:05:44 +00:00
reimar
6068c1846e
moved sh_audio initialization from dec_audio to demuxer.c to fix
...
-hr-mp3-seek bug (pts was -inf after seeking) and remove the workaround
from demux_audio.c.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13358 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-09-16 19:51:13 +00:00
rfelker
3f4d87d795
fix seeking with -hr-mp3-seek. maybe not the best fix (why is last_pts
...
ever infinite?!?!) but at least it makes it work... :)
patch by Balazs KOSSOVICS (tevefeju AT freemail.hu):
Hi!
When we listening music with "-hr-mp3-seek" option, than there is a
negative value at the first rewinds in the statusrange (-52 hours, some
minutes). The patch is against this.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13257 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-09-05 22:10:59 +00:00
rtognimp
9c48cc012a
DTS support via lavc and libdts
...
Patch by Aurelien Jacobs ( aurel at gnuage dot org )
dts in wav by me
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13007 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-08-12 12:36:08 +00:00
rtognimp
2e8a397fad
10l to me: writing outside allocated memory
...
Patch by Mikulas Patocka < mikulas (at) artax (dot) karlin (dot) mff
(dot) cuni (dot) cz>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12214 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-15 20:48:27 +00:00
lumag
1e880aa659
FLAC decoding support via imported libmpflac.
...
TODO: fix FLAC-in-ogg decoding.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11005 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-10-04 22:00:25 +00:00
lumag
175884718b
Fixed 'reading after EOF'. demuxers didn't check, how many they've read!
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10892 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-09-20 12:50:25 +00:00
faust3
57e119d8be
get_percent_pos support in demux_audio, patch by ROSEN Jeremy <jeremy.rosen at c-s.fr>
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10883 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-09-19 19:40:46 +00:00
rfelker
0473f386a4
don't set audio pts to infinity after seeking in mp3 files :)
...
(10l)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10245 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-06-04 10:52:58 +00:00
rtognimp
e7b942ecb1
Warning fix, patch by Dominik Mierzejewsky
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9656 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-22 20:15:03 +00:00
rtognimp
8e793a9998
10l cbSize not inited for l=16.\n Could give problem in print_wave_header
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9617 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-17 20:38:23 +00:00
rtognimp
c95b78ac8d
Same behaviour as old code for short headers
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9597 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-15 19:40:52 +00:00
rtognimp
cde570e129
Read extradata for wav files, based on patch by <dimakar(at)yahoo.com>. Required for truespeech files.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9592 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-15 14:12:22 +00:00
arpi
6624dcbec4
fixed mp3 seeking near end of file
...
patch by ??? (sorry i can't find that mail)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8360 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-04 23:51:44 +00:00
arpi
f859d013a8
*HUGE* set of compiler warning fixes, unused variables removal
...
based on patch by Dominik Mierzejewski <dominik@rangers.eu.org>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8124 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-06 23:54:29 +00:00
rfelker
a6b8c576fd
skip id3v2 junk when looking for mp3
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8117 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-05 23:28:52 +00:00
arpi
5f2a024e6c
10l
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8111 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-05 01:21:35 +00:00
arpi
74b6f07e68
A-V sync cleanup: sh_audio->timer replaced by sh_audio->delay, it contains
...
delay relative to sh_video->timer (or to 0 if audioonly).
It fixes ct: drifts of very long (several hours) playback.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8057 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-02 19:52:59 +00:00
arpi
f9e3a4bf88
cleanup config option handling in libmpdemux.
...
removed overcompilacted m_config_register_options() mess - export the
subconfig structs instead
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7868 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-23 17:21:01 +00:00
arpi
3dad4315a4
dump wav header
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7848 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-22 16:02:21 +00:00
albeu
63b5875bb5
Fix vbr muxing and win32 codec crash on init
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6764 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-07-21 14:36:33 +00:00
albeu
8e562a37da
Uninit added
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5813 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-24 17:28:23 +00:00
albeu
8f44305b62
Fix % seeking
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5797 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-23 13:27:46 +00:00
albeu
b91a761966
Added pts for mp3 and wav. And perfect seeking for mp3, unless flags & 2
...
wich is % seeking
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4765 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-20 16:55:11 +00:00
melanson
e7e053459c
fixed WAV demuxer so that it skips to the actual start of the audio data
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4721 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-16 05:45:16 +00:00
albeu
668ec5553c
We should skip exactly the first frame on mp3 files.
...
Should correct many badly detected file, decoder crash, etc
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4718 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-15 16:48:25 +00:00
arpi
279284cc4c
mp3 position fixed
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4713 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-15 00:16:21 +00:00
albeu
d535bf801d
Improved mp3 detection (don't detect mpeg1/2 as mp3 anymore)
...
Added resync_audio call
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4701 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-14 18:37:33 +00:00
albeu
2462f72828
Audio file demuxer. Extended version for demuxer info.
...
genres.h come from id3edit of servex@servex.yi.org found
at http://id3edit.sourceforge.net/
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4695 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-14 13:04:35 +00:00