Commit Graph

3243 Commits

Author SHA1 Message Date
cehoyos 8593195592 Fix DTS in MPEG transport streams with -demuxer lavf.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29597 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-31 08:42:36 +00:00
cehoyos 7a20e9060a Fix AAC in MPEG transport stream for -demuxer lavf.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29596 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-31 08:31:12 +00:00
diego aa16e6ca7d cosmetics: alphabetically order lists
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29595 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-31 05:21:12 +00:00
cehoyos 74f6a6ba52 Rename mp_wav_override_tag* as mp_codecid_override_tag* to reflect that
it now can be used for both audio and video.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29593 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-30 23:01:36 +00:00
cehoyos 1912561b1e Fix MPEG2 and H264 in MPEG transport stream with demuxer lavf.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29591 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-30 22:52:47 +00:00
cehoyos 361bdec7ed Use mp_wav_override_taglists for both audio and video.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29590 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-30 22:51:52 +00:00
cehoyos 8d8aa1a4cf Fix MP2 and AC3 with demuxer lavf in MPEG transport streams.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29589 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-30 21:27:45 +00:00
cehoyos 97503eb4ee Support PCM in Bluray streams.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29588 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-30 21:14:42 +00:00
reimar 9e5e535e34 Reuse ds_get_packet in ds_get_packet_pts
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29546 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-23 15:32:42 +00:00
reimar 2b8b5b7053 Add suport for detecting and demuxing DVB teletext streams (nothing beyond that though).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29544 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-21 16:54:57 +00:00
reimar 3961e12fca Fix incompatible pointer types warning, also seems to fix mis-compilation with gcc-4.4.1
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29532 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-17 08:02:37 +00:00
reimar 6638304dbf Fix 100l broken flag check found due to compiler warning.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29531 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-17 07:30:24 +00:00
reimar 9054d57595 Set demuxer->filepos in mf demuxer, since the stream_tell fallback is not
usable. Fixes progress display in mencoder.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29530 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-17 06:14:12 +00:00
reimar eeaa871baa Get rid of rawaudio control code again that only duplicates the fallback code in
demuxer.c now.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29529 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-17 05:56:36 +00:00
reimar 5d058a67c1 Handle demuxers that never set filepos by using stream_tell.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29528 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-17 05:55:40 +00:00
reimar 46f8461828 Add some protection to the rawaudio GET_LENGTH/GET_PERCENT_POS in case the
file length is not known (streaming).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29526 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-16 22:44:29 +00:00
reimar fef7ef08a0 Implement DEMUXER_CTRL_GET_TIME_LENGTH and DEMUXER_CTRL_GET_PERCENT_POS for
rawaudio demuxer.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29525 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-16 22:39:10 +00:00
cehoyos d41e860bab Add Dolby TrueHD support for mkv demuxer.
Patch by Jason Tackaberry, tack urandom ca 


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29513 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-13 21:54:08 +00:00
cehoyos 226e5b47c8 Fix possible double-free.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29502 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-12 15:20:14 +00:00
greg 14df605236 Use new libavformat metadata API.
Patch by Anton Khirnov <wyskas@gmail.com>.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29497 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-11 23:26:42 +00:00
cehoyos 36ebca92d2 Make *avcctx AVCodecContext instead of void.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29495 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-11 18:52:18 +00:00
cehoyos 6a3c6ad075 Fix H.264 SPS parsing in case of scaling list present.
Patch by Marco Munderloh, munderl A tnt D uni-hannover D de 


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29494 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-11 18:44:43 +00:00
cehoyos bb6c23de0c Fix a crash when playing some H264 over rtsp streams: Do pass an
AVCodecContext to the H264 parser.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29493 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-11 18:28:26 +00:00
cehoyos ee5bf60cd8 Parse BitsPerSample and SamplesPerSec when playing PCM in X-QT over
RTSP.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29490 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-11 18:07:43 +00:00
cehoyos bcb5c78ce3 Allow dpx image files as input.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29489 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-11 17:56:19 +00:00
cehoyos 17cf1efa12 Fix QT RLE in X-QT via rtsp://.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29477 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-05 23:16:21 +00:00
nicodvb 98742de7c1 handle TrueHD streams (they are carried in 0xFD PES streams in substream 0x72)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29457 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-07-30 08:37:10 +00:00
nicodvb fc5f506c83 added inexistant TRHD fourcc to handle TRUEHD streams in forthcoming patch
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29456 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-07-30 08:36:17 +00:00
diego e5751ced4f Replace WORDS_BIGENDIAN by HAVE_BIGENDIAN in all internal code.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29443 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-07-26 19:53:00 +00:00
reimar 542d2e56ce Print information about chapters with -identify.
Patch by Adrian Stutz [adrian sttz ch]


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29408 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-06-28 13:19:26 +00:00
reimar 7924781b04 AVStream.language is deprecated, switch to av_get_metadata instead.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29386 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-06-24 08:13:52 +00:00
reimar bc8b79a37d Move allocation to avoid a possible memleak if new_sh_audio fails.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29385 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-06-24 08:06:46 +00:00
reimar 6a434d676b Remove pointless stream count checks, new_sh_* already checks for that.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29384 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-06-24 08:04:38 +00:00
reimar 00be4423da Print ID_AID_???_LANG and ID_SID_???_LANG in lavf demuxer so that frontends
can correctly display the languages of audio and subtitle tracks.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29383 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-06-24 07:49:04 +00:00
reimar f29dc82d7e Fix compilation: codec_wav_tags/codec_bmp_tags were renamed to
ff_codec_wav_tags/ff_codec_bmp_tags.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29382 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-06-23 17:50:08 +00:00
reimar 4f1425f256 Move printing of ID_AID_???_LANG to ts_add_stream instead of ts_detect_streams.
This makes sure it is printed only once per track and after ID_AUDIO_ID.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29381 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-06-23 09:35:20 +00:00
reimar 09f62d5aff Initialize es->lang to ensure a previous value does not get misattributed
to a different track.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29380 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-06-23 09:33:42 +00:00
reimar 44edd8a6d7 Remove duplicate printing of ID_AUDIO_ID/ID_VIDEO_ID, those are already
printed by the new_sh_... functions.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29378 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-06-21 10:55:41 +00:00
reimar e8bcaf0fca TS demuxer: make the IDs used by DEMUXER_CTRL_SWITCH_* and DEMUXER_CTRL_IDENTIFY_PROGRAM
match those printed as ID_VIDEO_ID/ID_AUDIO_ID and accepted with -vid/-aid


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29377 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-06-21 10:47:44 +00:00
reimar 29369f0c33 Add const where appropriate, also gets rid of a compiler warning.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29338 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-06-01 09:43:32 +00:00
reimar b3f4cd6c52 100l, do not read probe buffer if it will not be used because a format was forced.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29337 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-06-01 09:39:02 +00:00
reimar ea47ab2a9f In all demux_info_add calls change "name" to "title".
Currently "name" and "title" are both used at random, this makes it consistent.
"title" was chosen because it is less ambiguous and also the get_meta_title
slave mode command uses that (there is no get_meta_name command).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29330 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-30 13:18:57 +00:00
lu_zero 97b04458ed Unify over rtsp_transport_tcp as var to hold the -rtsp-stream-over-tcp flag and make sure libnemesi only builds are fine
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29322 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-25 20:28:35 +00:00
diego 6e9cbdc104 whitespace cosmetics: Remove all trailing whitespace.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29305 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-13 02:58:57 +00:00
reynaldo c9869e7c5b Get rid of some more trailing whitespace
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29298 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-12 03:03:35 +00:00
rtogni 0d7de49f1c chunk size = 0 is valid for DATA chunks (used in live streams), don't
print warning message



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29289 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-10 21:13:15 +00:00
diego f077569dff Add standard license header to all files in libmpdemux.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29280 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-08 21:51:13 +00:00
diego 537d6886d5 Replace informal GPL license header by standard GPL header.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29279 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-08 21:47:50 +00:00
diego e326ffeb9c Replace informal LGPL header by standard LGPL license header.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29278 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-08 21:47:03 +00:00
diego bcb63539f4 Add prototype for mp_a52_framesize().
This fixes an implicit declaration warning when liba52 is disabled.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29264 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-05 17:36:31 +00:00