Commit Graph

126 Commits

Author SHA1 Message Date
Baptiste Coudurier
b7889fce2f do not print error message when klv_read_packet fails
Originally committed as revision 9186 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-03 17:15:39 +00:00
Baptiste Coudurier
cabe2527ef sync to mxf klv key before trying to read klv packet
Originally committed as revision 9185 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-03 17:10:55 +00:00
Baptiste Coudurier
6982462f50 match uids indenpendantly of the version byte
Originally committed as revision 9184 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-03 14:52:55 +00:00
Baptiste Coudurier
3c6b46d3a5 cosmetics, reorder and classify uids
Originally committed as revision 9183 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-03 14:33:57 +00:00
Baptiste Coudurier
2f8fe719c6 correct comment about seek function
Originally committed as revision 8797 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-24 10:51:26 +00:00
Aurelien Jacobs
57004ff1d7 add an enum for need_parsing
Originally committed as revision 8742 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-15 13:51:57 +00:00
Baptiste Coudurier
c4fe61ff87 add D-10 PAL 40 audio essence container ul
Originally committed as revision 8709 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-10 14:10:36 +00:00
Baptiste Coudurier
088e827a96 add D-10 PAL 40 ul
Originally committed as revision 8708 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-10 14:04:59 +00:00
Michel Bardiaux
318c5e0524 Give context to dprintf
Originally committed as revision 8338 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-12 12:36:41 +00:00
Reimar Döffinger
80a289b9bf mxf aes decryption support, patch by Reimar, simplified to only look for first crypto context, will be extended once we get files with multiple cryptocontext, and hope that they won't have broken container ul
Originally committed as revision 7925 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-11 12:50:33 +00:00
Baptiste Coudurier
975c88e30e cosmetics, function -> metadata
Originally committed as revision 7526 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-15 01:04:43 +00:00
Baptiste Coudurier
d8b3576d42 remove useless essence container data sets for now
Originally committed as revision 7516 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 23:32:51 +00:00
Baptiste Coudurier
8b621afbd1 remove useless preface parsing for now, will reintroduce it if needed
Originally committed as revision 7515 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 23:31:30 +00:00
Baptiste Coudurier
e6837cfaf0 merge multiple descriptor parsing with generic one
Originally committed as revision 7513 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 23:23:06 +00:00
Baptiste Coudurier
9bdeba37a0 remove warning, key is const
Originally committed as revision 7509 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 23:17:10 +00:00
Baptiste Coudurier
55de95b9c7 indention
Originally committed as revision 7508 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 23:16:20 +00:00
Baptiste Coudurier
33bddcdc13 follow michael suggestion and simplify code at object level
Originally committed as revision 7507 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 23:14:36 +00:00
Reimar Döffinger
86074ce341 Make seeking work in files that contain encrypted tracks.
Originally committed as revision 7502 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 21:23:32 +00:00
Reimar Döffinger
1fe68f0e7c Simplify klv_decode_ber_length
Originally committed as revision 7475 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 16:02:22 +00:00
Baptiste Coudurier
6ac558eefc AnyType is needed, descriptor_ref can reference Descriptor or MultipleDescriptor
Originally committed as revision 7451 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 00:32:25 +00:00
Reimar Döffinger
977d126e6e Use macros to eliminate code duplication in MXF metadata read functions.
Originally committed as revision 7449 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-13 21:13:26 +00:00
Reimar Döffinger
2d193b2ea0 Extend mxf_resolve_strong_ref by a type parameter, to avoid modify something
that actually has a different type.

Originally committed as revision 7448 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-13 18:54:48 +00:00
Reimar Döffinger
717f1019a8 Fix error message, it's package ref that can not be found, not track in this case
Originally committed as revision 7447 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-13 18:21:55 +00:00
Baptiste Coudurier
7f25df4cd3 move source_package declaration in the loop and reset it each iteration
Originally committed as revision 7180 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-28 17:17:36 +00:00
Baptiste Coudurier
550f6f974b parse video frame headers to get key flag
Originally committed as revision 7104 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-16 15:49:54 +00:00
Baptiste Coudurier
1fc17d1582 add 422P@HL I-only universal label
Originally committed as revision 7060 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-14 14:54:40 +00:00
Baptiste Coudurier
5e8b05f8df report error when local tag has 0 size
Originally committed as revision 6962 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-10 14:04:44 +00:00
Baptiste Coudurier
4d6ac1a47b skip packet if no stream index is found, fix proxy_pal030926.mxf
Originally committed as revision 6721 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-17 11:30:22 +00:00
Baptiste Coudurier
ee71ef5cf4 skip run in sequence, fix C0023S01.mxf
Originally committed as revision 6720 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-17 11:23:04 +00:00
Baptiste Coudurier
c74915cda4 fix d-10 mapping detection
Originally committed as revision 6631 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-10 14:29:03 +00:00
Baptiste Coudurier
de9fe002f8 rewind completely if sample time is negative
Originally committed as revision 6629 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-10 13:00:50 +00:00
Baptiste Coudurier
4a775c19cd dont seek back if no sync to let eof happen
Originally committed as revision 6628 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-10 12:58:34 +00:00
Diego Biurrun
b78e7197a8 Change license headers to say 'FFmpeg' instead of 'this program/this library'
and fix GPL/LGPL version mismatches.

Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-07 15:30:46 +00:00
Baptiste Coudurier
885e691aaf support D-10, XDCAM, fix ebu_small_d10_50_audio_resampling_problem.mxf, xdcam-pal-d10-imx50.mxf
Originally committed as revision 6561 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-05 09:01:04 +00:00
Baptiste Coudurier
c86ecbb7ce fix audio for mog_op1a_prompeg_mpeg.mxf
Originally committed as revision 6530 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 14:12:50 +00:00
Baptiste Coudurier
03da8726f6 return 0 as stream index if only one stream, this is completely non standard, fix Cars_TL4IO6_239_DEXX_MPEG_TDC_072006.wav.mxf
Originally committed as revision 6528 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 13:22:51 +00:00
Baptiste Coudurier
3a6ccf4f3e rudimentary binary seek
Originally committed as revision 6382 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-29 14:28:55 +00:00
Baptiste Coudurier
1159f6340a add another data definition ul
Originally committed as revision 6381 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-29 12:25:44 +00:00
Baptiste Coudurier
dd202ff65d use a data definition uls table to fetch codec type
Originally committed as revision 6380 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-29 12:23:38 +00:00
Baptiste Coudurier
996c9ad0a4 add string param to PRINT_KEY for debug
Originally committed as revision 6379 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-29 11:25:40 +00:00
Baptiste Coudurier
94c12d458f shut up gcc about incompatible pointer type
Originally committed as revision 6378 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-29 10:38:27 +00:00
Baptiste Coudurier
d70e3ff410 workaround for files, mainly d-cinema, with 0 sized tags especially UMID in source clip, 377M B.10,13 clearly mentions that this is non standard though
Originally committed as revision 6230 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-11 22:05:43 +00:00
Baptiste Coudurier
acf36dba18 correct uid, and enable JPEG 2000 detection
Originally committed as revision 6078 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-24 14:22:40 +00:00
Baptiste Coudurier
f8503792f0 revert r5909, dont use non constant static variable, breaks multithreaded apps
Originally committed as revision 5917 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-03 15:33:48 +00:00
Baptiste Coudurier
e1dacee11e parse SONY hidden MPEG-4 extradata, fix C0023S01.mxf
Originally committed as revision 5910 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-03 12:31:15 +00:00
Baptiste Coudurier
61ca932e4a skip run-in sequence before reading header
Originally committed as revision 5909 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-03 12:08:06 +00:00
Baptiste Coudurier
49b6f16239 again, disable DEBUG
Originally committed as revision 5908 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-03 11:59:38 +00:00
Baptiste Coudurier
f0d4729212 10l, check container_ul existence
Originally committed as revision 5907 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-03 11:57:28 +00:00
Baptiste Coudurier
c2e8805441 remove duplicate code
Originally committed as revision 5906 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-03 11:28:08 +00:00
Baptiste Coudurier
3bb63b822f attempt to demux clip wrapped content
Originally committed as revision 5905 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-03 11:21:54 +00:00
Baptiste Coudurier
8c5002db17 add codec detection based on essence container ul
Originally committed as revision 5904 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-03 09:14:56 +00:00
Baptiste Coudurier
d2cdbd5f18 resolve strong refs in parse_structural_metadata since objects may not be ordered, use object oriented approach
Originally committed as revision 5892 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-02 15:02:42 +00:00
Baptiste Coudurier
7fe4744bcd fix ending null entry in table
Originally committed as revision 5885 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-01 22:30:15 +00:00
Baptiste Coudurier
28f1280820 more codecs uls
Originally committed as revision 5883 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-01 17:00:27 +00:00
Baptiste Coudurier
ba32c8dfd9 skip run-in sequence during probe
Originally committed as revision 5876 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-01 00:32:47 +00:00
Baptiste Coudurier
b92c61e08c simplify using function table
Originally committed as revision 5871 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-31 15:26:33 +00:00
Baptiste Coudurier
53512a22cb parse aes3 audio descriptor
Originally committed as revision 5870 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-31 09:46:05 +00:00
Baptiste Coudurier
6c6ec47a0e use parenthesis around value
Originally committed as revision 5866 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-30 15:30:00 +00:00
Baptiste Coudurier
ea3a790e0d add information about codec uls
Originally committed as revision 5856 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-29 15:36:13 +00:00
Baptiste Coudurier
7d2a0d3120 another MPEG-2 long gop codec ul
Originally committed as revision 5855 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-29 15:31:27 +00:00
Baptiste Coudurier
649084c310 another MPEG-2 long gop codec ul
Originally committed as revision 5854 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-29 15:25:08 +00:00
Baptiste Coudurier
59b5673853 add uncompressed picture support
Originally committed as revision 5853 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-29 15:19:31 +00:00
Baptiste Coudurier
8ce2215b23 parse rgba descriptor (jpeg2000, uncompressed)
Originally committed as revision 5852 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-29 14:00:47 +00:00
Baptiste Coudurier
54a3360b20 add common codecs uls
Originally committed as revision 5851 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-29 13:40:04 +00:00
Baptiste Coudurier
eec3fec094 simplify PRINT_KEY
Originally committed as revision 5850 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-29 13:23:56 +00:00
Baptiste Coudurier
6d0c3bebc7 add some debug infos
Originally committed as revision 5849 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-29 13:18:24 +00:00
Baptiste Coudurier
f03b6426df get rid of DECLARED_ALIGNED
Originally committed as revision 5848 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-29 13:13:08 +00:00
Baptiste Coudurier
dd15f9bf48 cosmetics
Originally committed as revision 5842 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-28 23:10:03 +00:00
Baptiste Coudurier
b752222439 use ternary
Originally committed as revision 5841 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-28 23:07:03 +00:00
Baptiste Coudurier
834bff48cb remove useless variables
Originally committed as revision 5840 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-28 23:03:00 +00:00
Baptiste Coudurier
e076173f67 rename variables
Originally committed as revision 5839 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-28 23:00:53 +00:00
Baptiste Coudurier
5e441e31cc add error messages
Originally committed as revision 5838 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-28 22:53:15 +00:00
Baptiste Coudurier
743d772c61 demuxer reworked, more accurate parsing, prepare handling of other operational patterns, streaming demuxing, simplified codec detection
Originally committed as revision 5837 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-28 22:42:31 +00:00
Baptiste Coudurier
4bfff76814 declare and use UID type
Originally committed as revision 5836 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-28 18:18:12 +00:00
Reimar Döffinger
7c87a2f0c0 Set duration to AV_NOPTS_VALUE instead of 0 when unknown.
Set start_time to 0 when duration is known to indicate we have
valid timestamps for this track.

Originally committed as revision 5835 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-28 13:31:08 +00:00
Baptiste Coudurier
07bf2af864 MXF demuxer
Originally committed as revision 5826 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-25 14:30:14 +00:00