Commit Graph

40 Commits

Author SHA1 Message Date
diego 36e1974be0 Unify include path handling, -I.. is in CFLAGS.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17013 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-18 14:39:25 +00:00
nicodvb f57a65dd86 fixed possible uint8 overflow; assign progid to the newly created pmt
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16935 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-06 16:17:17 +00:00
nicodvb af89106f3f more precise seeking based on calculated average video bitrate; works quite well in case of a TS with only 1 video stream
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16884 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-31 23:38:32 +00:00
reimar 2912984517 move resync_audio_stream after seeking to demuxer.c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16878 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-30 09:19:05 +00:00
reimar 169416fd51 Use PRI?64 defines as format strings for 64 bit variables.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16751 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-13 18:33:56 +00:00
gpoirier dd4390af8b Crash fix for: "[MPlayer-users] Crash of mencoder in demux_ts.c line 2728"
"The code which crashes looks like its trying to parse the subtitle stream,
 and failing, I assume because dvbsub_lang is a invalid pointer, or null."
Patch by Nico Sabi


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16293 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-23 08:23:53 +00:00
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
nicodvb 8f224ba1bc pass along audio extradata if present
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15670 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-06 20:49:55 +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
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 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 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 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
nicodvb 7111eacce7 replaced bzero() with memset(); stream_type 0x0f is AAC
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14572 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-22 12:15:06 +00:00
mosu 50a86fcc34 Output more information about vids, aids, sids, alangs and slangs with -identify. Patch by kiriuja <mplayer-patches@en-directo.net>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14047 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-11-25 22:24:00 +00:00
nicodvb 939cfe1341 merged DEMUXER_TYPE_MPEG4_ES in the ordinary TS; added support for H264 in TS
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14035 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-11-24 18:55:03 +00:00
nicodvb 97b3e560f5 added support for 192 packet size, remove junk data after 188 bytes. Patch by Marcus Metzler (mocm@mocm.de)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13995 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-11-20 14:33:39 +00:00
nicodvb f7a6075374 added language identifier (if any) to the caller during probing phase
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13958 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-11-15 20:56:10 +00:00
nicodvb e4d9c107fc removed dependency on liba52
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13609 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-11 06:57:57 +00:00
nicodvb 154d16c105 fixed a bug that makes the demuxer loop forever probing a52 audio when a52_syncinfo() returns 0
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13582 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-07 21:08:10 +00:00
reimar b4f854c14c fixing --disable for mp3lib, liba52 and libmpeg2, patch by (basic (at) mozdev (dot) org), see also bug #102
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13580 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-07 09:31:16 +00:00
rathann 4da367942a small fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13188 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-08-28 20:56:56 +00:00
nicodvb 89f39f93e4 added support for ac3 in non-pes aligned private1 streams; removed useless and commented code
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12613 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-06-18 20:02:05 +00:00
nicodvb 4130dc4c25 removed unused and commented code; audio is pushed synchronously (reported to work better); pid 16 is not default PMT (100l); trails of data are add_packet()ed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12519 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-05-31 16:12:13 +00:00
nicodvb ce8cc48c25 fix wrong detection of mpeg4 as mpeg2 and wrong handling of discontinuities/transport error bit
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12050 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-03-20 13:09:08 +00:00
rathann e1dc488097 Warning fixes (approved by A'rpi).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11413 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-11-08 00:26:51 +00:00
attila b95debe5ed big demux_ts fix from Nico <nsabbi@libero.it>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11191 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-10-20 13:35:55 +00:00
mosu a024a14660 Fix a gcc 3.x crash when compiling demux_ts.c with -g -O4 (or -O3). Patch by Arpi.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10842 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-09-08 10:07:52 +00:00
alex 2c7af5e146 serious bugs - 1l absinth (changed to absinth against cola inflation)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10736 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-31 18:51:05 +00:00
arpi 511946aa0a - seek() is always synchronized to keyframes, so the decoders don't
crash anymore; successfully tested with libmpeg2 and ffmpeg12
- support for tables PAT and PMT, used the associate pids to program and
to play the right streams
- option -tsprog <number> to specify the chosen program (-vid and -aid
still override the single stream pids)
- initial support for MPEG4 in TS (M4V is working, but not AAC yet)
- defragmenting mechanism (without buffering, so it has 0 added cost) to
improve the playback of high bitrate movies
- refers to demux_mpg_control() to  get length and percentage position
in the stream
patch by Nico <nsabbi@libero.it>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10687 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-24 18:07:00 +00:00
rathann 5e9a874557 fix one missing #include, one missing extern and one 10l error.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10311 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-06-19 18:20:15 +00:00
arpi 0e5c9a508f - discard soon non TS files (previously it took too long, as in the case
of mpeg-ps files without a registered extension)
- detect sooner audio-only files (at least 64K of the chosen audio
streams without a video stream)
patch by Nico <nsabbi@libero.it>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10260 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-06-08 11:58:05 +00:00
arpi 019211567c - open new_ds_[audio | video] only when the relative streams are really available
- consequently, -nosound now works
- simplified the feeding (to ds_) function
- eliminated the previous buffering of ES data (so it should be a little faster)
- discard junk ES data after payload_size for the current pes packet is 0
- reduced the probe buffer
- better support for audio only TS (DAB seems to have many fans)
- fixes the wrong spacing (now fixed at 8 chars)
- makes static all the functions that are not exported
- comments the unused code that I could need in the future
patch by Nico <nsabbi@libero.it>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10254 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-06-07 11:30:19 +00:00
alex b4d7f9837c warning fixes by Dominik
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10243 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-06-03 17:43:49 +00:00
alex c0257a25ea fully reworked by Nico <nsabbi@libero.it>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10015 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-28 16:43:48 +00:00
alex b98d719e00 wrong assignment of codec, patch by nsabbi@libero.it
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9639 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-21 17:17:53 +00:00
arpi 5c49cd8e07 this is a combo patch that:
1) adds an experimental TS demuxer to mplayer
2) adds an input (streaming) interface from DVB cards.
It compiles and runs with the following versions of the drivers:
dvb-kernel (HEAD) (with stock kernel 2.4.20) and 0.9.4 (with kernel 2.4.18)
patch by Nico <nsabbi@libero.it>
some cleanups, ts demuxer fixes by me


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9611 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-16 20:13:28 +00:00