Baptiste Coudurier
8430f3ecb8
rework stream type and codec identification
...
Originally committed as revision 19003 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
40b0872a56
cosmetics, reindent, remove useless braces, whitespaces
...
Originally committed as revision 19002 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
64ab5fa3df
export all streams in ts demuxer
...
Originally committed as revision 19001 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
6c7c2f7bb3
support AVDISCARD_ALL in mpegts demuxer
...
Originally committed as revision 18964 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
bdfa98249a
return error in mpegts_push_data and propagate it
...
Originally committed as revision 18963 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
64d882155d
10l, forgot ';', fix compilation
...
Originally committed as revision 18962 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
a5685be502
check that len is not negative
...
Originally committed as revision 18961 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
0c1375575a
demux whole PES packets from TS
...
Originally committed as revision 18960 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
e9859317eb
move DEBUG define before include to get dprintf
...
Originally committed as revision 18956 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
c950c25ac0
remove useless wrapper
...
Originally committed as revision 18465 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
7b9677f6b0
remove useless wrapper
...
Originally committed as revision 18463 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
ebcf352a25
replace DEBUG_SI with DEBUG and use dprintf
...
Originally committed as revision 18458 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
495b37664d
Set stream type to ac3 if registration descriptor is present.
...
Based on patch by Nico Sabi, nicola dot sabbi at poste dot it
Originally committed as revision 18457 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
4f1db48e88
simplify registration descriptor parsing with bytestream get functions
...
Originally committed as revision 18456 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Björn Axelsson
a4d2af9b96
Ok, ts demuxer is more complicated than I thought
...
Revert r18454 and fix correctly #700
Stop parsing if end of buffer is reached while reading
patch by Björn Axelsson, bjorn dot axelsson at intinor dot se
Originally committed as revision 18455 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
2b97246ec2
fix end of buffer check, fix hang_read_header.h264.ts
...
Originally committed as revision 18454 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
5f01c1258f
avoid creating a new stream not referenced in pmt since it cannot be associated to a program, fix issue 835
...
Originally committed as revision 18137 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ivan Schreter
4c6b49bf74
Change TS seeking so it returns position/timestamp of a key frame.
...
Patch by Ivan Schreter, schreter gmx net
Originally committed as revision 17665 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
0868119106
use new metadata API in mpegts demuxer
...
Originally committed as revision 17112 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Jindřich Makovička
dcd913d9ed
Fix minor memory leak.
...
Patch by Jindrich Makovicka, approved by mans.
Originally committed as revision 17021 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
1558d0b910
Fix probe & demuxing of Topfield 58XXPVR and 68XXPVR (topfield.rec)
...
Originally committed as revision 16968 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
14120c95f0
set pts and dts when only pts is present, according to specs
...
Originally committed as revision 16734 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
406792e7b0
cosmetics: Remove pointless period after copyright statement non-sentences.
...
Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
6a5d31ac25
Fix build: Add intreadwrite.h and bswap.h #includes where necessary.
...
Originally committed as revision 16556 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Måns Rullgård
8c39a7582d
mpegts: replace Program_t typedef with "struct Program"
...
Originally committed as revision 16086 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
ecfb51d1c2
Add necessary header for av_set_program_name and av_program_add_stream_index.
...
Originally committed as revision 15996 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
bad4063740
Move declaration of av_set_program_name and av_program_add_stream_index
...
to a more sensible place.
Originally committed as revision 15991 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
9686df2be5
Delete unnecessary 'extern' keywords.
...
Originally committed as revision 15990 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
910f02a054
spelling cosmetics
...
Originally committed as revision 15518 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Pettenò
fb65d2ca84
Use enum typers instead of int.
...
Patch by Diego 'Flameeyes' Pettenò: flameeyes gmail
Originally committed as revision 15517 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
ff9c8d7c6f
Add flag to mark demuxers that can output discontinuous timestamps.
...
(could also be added to muxers if someone wants)
Originally committed as revision 14777 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Anuradha Suraparaju
f4bba2015a
Dirac encapsulation in MPEG-TS
...
patch by Anuradha Suraparaju, anuradha rd.bbc.co uk
Originally committed as revision 14734 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
452a398fd6
Fix misdetection of H.264 in mpegts as mpeg1video in mpegts.
...
Fixes maybeH264_dumpstream
Originally committed as revision 14445 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Måns Rullgård
c6002ea14d
MPEGTS: Improve probe function
...
When a sync byte is found, check that transport_error_indicator is zero,
and adaptation_field_control is valid (non-zero).
Originally committed as revision 14274 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Erik Hovland
72e043dd0f
One-bit bitfields should probably be unsigned. Unfortunately, it is left
...
up to the compiler on how one bit fields are treated. gcc treats one-bit
bitfields as signed and allows for the -funsigned-field parameter. Other
compilers (like Sun C) treat one-bit bitfields as unsigned no matter what.
Patch by Erik Hovland erik hovland org
Originally committed as revision 14131 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
ade8d8b939
uniformize AVStream->priv_data freeing in av_close_input_stream
...
Originally committed as revision 13838 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefano Sabatini
bde15e74de
Make long_names in lavf/lavdev optional depending on CONFIG_SMALL.
...
patch by Stefano Sabatini, stefano.sabatini-lala poste.it
along with some spelling/consistency fixes for the long names by me
Originally committed as revision 13649 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
245976da2a
Use full path for #includes from another directory.
...
Originally committed as revision 13098 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
ccd425e799
Remove unnecessary parentheses from return calls.
...
Originally committed as revision 13069 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
81d5ae6dec
Fixing memleaks.
...
Originally committed as revision 12943 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
5fd63f3c3b
Ensure that the timestamp reading code used for seeking chooses a position
...
which is a multiple of the packet size from the last packet start instead
of the file start. This fixes some seek issues with randomly cut ts files
and the mysterious "4 byte PCR somehing MTS something bug".
Originally committed as revision 12932 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
056f6b8f09
Using the same probe function in 2 formats is not a good idea.
...
Originally committed as revision 12836 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Nico Sabbi
a45b40c496
treat stream_type==0x82 as AUDIO_DTS when the program has a REGISTRATION_DESCRIPTOR with the value HDMV; approved by Mans
...
Originally committed as revision 12180 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
3abe5fbdc4
improve CRC API
...
- don't export any global var
- provide either generated or hardcoded tables
Originally committed as revision 11409 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Björn Axelsson
899681cd1d
Use dynamically allocated ByteIOContext in AVFormatContext
...
patch by: Björn Axelsson, bjorn d axelsson a intinor d se
thread: [PATCH] Remove static ByteIOContexts, 06 nov 2007
Originally committed as revision 11071 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Jeff Downs
28af284cfb
When new streams are detected, look for old filters and close them out.
...
This avoids crashes seen when legitimate streams are found on PID 0x11 instead
of DVB SDT.
Fixes regression detailed in Roundup issue 138.
Originally committed as revision 11050 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Nico Sabbi
aa237f4535
associate to each AVProgram the indexes of the AVStreams contained in it
...
Originally committed as revision 10820 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Nico Sabbi
172d1171d2
added structures and code to keep track of pids<->programs mapping: it's needed
...
to decide which pids to discard in order to feed to the caller only AVProgram(s)
that have the AV_DISCARD_ALL flag not set
Originally committed as revision 10581 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Nico Sabbi
1d257254f1
replaced custom tracking of programs/services with calls to with av_new_program()
...
Originally committed as revision 10580 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
6369638bf0
loosen dependencies over allformats.h
...
Originally committed as revision 10513 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago