summaryrefslogtreecommitdiffstats
path: root/gst/mxf
AgeCommit message (Collapse)AuthorFilesLines
2009-03-21mxf: Add MXF muxerSebastian Dröge11-10/+4431
This muxer currently only supports OP1a and is probably not yet 100% complying to the standards.
2009-03-18mxfdemux: Fix build on GLib < 2.16 some moreJan Schmidt2-32/+42
2009-03-16mxf: Replace g_hash_table_get_values with code working with glib 2.6.Zaheer Merali2-13/+27
Fixes #575565
2009-03-06mxfdemux: Store and use the seqnum of the currently running segment everywhereSebastian Dröge2-25/+86
2009-03-06mxf: Don't even try to serialize DM frameworks as it will cause an assertion ↵Sebastian Dröge1-6/+6
until this is finished
2009-03-05mxf: Don't use NULL GstStructures to prevent warningsSebastian Dröge1-3/+5
Currently serializing of DM Frameworks is not supported yet by DMS1 and will give us NULL.
2009-03-02mxfdemux: Use arrays instead of lists for the metadata registriesSebastian Dröge3-148/+106
2009-02-28mxf: Fix memory leakSebastian Dröge1-0/+1
gst_structure_id_set() will copy GstStructures instead of taking the ownership.
2009-02-28mxf: Store the metadata type ID inside the class structureSebastian Dröge5-148/+297
2009-02-21mxfdemux: Add read-only property to get the structural metadataSebastian Dröge1-1/+24
2009-02-21mxfdemux: Add MPEG video bitrate to the tags if availableSebastian Dröge1-0/+6
2009-02-21mxfdemux: Post structural metadata tree as tag on the busSebastian Dröge10-6/+1854
This will later be used to keep the structural metadata when remuxing an MXF file and can also be used in Pitivi for example to know the file structure and to select what should be used and played.
2009-02-21mxfdemux: Fix calculation of AES3 bitrate tagSebastian Dröge1-1/+4
2009-02-21mxfdemux: Add helper function to convert MXFraction to gdouble and use itSebastian Dröge3-2/+9
2009-02-21mxfdemux: Only store the main descriptor in source packagesSebastian Dröge3-82/+61
For the tracks we still resolve the descriptors but the source package only contains the descriptor it really references instead of all subdescriptors of multiple descriptors. This makes it easier later to serialize the structural metadata again.
2009-02-21mxfdemux: Set free'd memory to NULL to prevent a double free later in some casesSebastian Dröge1-0/+1
2009-02-21mxfdemux: Don't use generic metadata parsers for unknown metadata, the ↵Sebastian Dröge3-8/+6
results are useless anyway
2009-02-12mxfdemux: Also include the picture/sound/data essence coding in the unknown capsSebastian Dröge1-3/+31
2009-02-12mxfdemux: Update TODO, we should support the drop-frame property of timecode ↵Sebastian Dröge1-0/+1
tracks
2009-02-12mxfdemux: Fix resolval of identifications from the prefaceSebastian Dröge1-1/+1
2009-02-12mxfdemux: Parse MXFTimestamp's milliseconds and add _to_string() functionSebastian Dröge6-71/+37
2009-02-12mxfdemux: Update TODOSebastian Dröge1-2/+0
2009-02-09mxfdemux: After pulling the footer metadata reset essence track positions to 0Sebastian Dröge1-0/+14
2009-02-09mxfdemux: When trying to find an essence track position try to find ↵Sebastian Dröge1-8/+8
position+1 too By searching for the following position we will add the complete generic container (i.e. all tracks) at the same position to the index which should make finding positions for more than one track a bit faster.
2009-02-09mxfdemux: For new essence tracks only set the position to 0 if it starts in ↵Sebastian Dröge1-0/+6
the current partition
2009-02-09mxfdemux: Check if the length of the src/essence track arrays are 0, not the ↵Sebastian Dröge1-59/+33
array itself
2009-02-09mxfdemux: Make sure that the srcpad and essence track arrays always existSebastian Dröge1-19/+21
2009-02-09mxfdemux: Change some GST_ERRORs to something less criticalSebastian Dröge1-2/+2
2009-02-09mxfdemux: Only go into EOS and send segment-done after all tracks are finishedSebastian Dröge1-2/+16
2009-02-09mxfdemux: Update TODOSebastian Dröge2-1/+2
2009-02-09mxfdemux: Fix seeking to the end of fileSebastian Dröge1-17/+11
When seeking to a position where no new offset can be found or after the end of a track don't set the EOS flag to TRUE as we don't (and can't) push EOS downstream then. Instead set the current essence track position to then end of the essence track and let the loop or chain function set everything to EOS and push EOS downstream. Also restart the pad's task if resolving metadata failed (playback will continue as before) and return FALSE from the seek if no new offset could be found.
2009-02-08mxfdemux: Fix last_stop calculation when seekingSebastian Dröge1-9/+13
2009-02-08mxfdemux: Resolve source package before accessing it's membersSebastian Dröge1-0/+7
2009-02-08mxfdemux: Correctly implement timestamping in all casesSebastian Dröge2-21/+46
When the material package track and source package track edit rate are different the source package track edit rate applies to the stored essence and the material track edit rate only applies to the values in the track's sequence and components.
2009-02-08mxfdemux: Correctly handle DURATION queries with a negative durationSebastian Dröge1-2/+5
2009-02-08mxfdemux: When changing to the component after the last component update the ↵Sebastian Dröge1-4/+9
essence track position
2009-02-08mxfdemux: Small cleanup and an additional checkSebastian Dröge1-2/+6
Update TODO list, reduce size of a stack allocated string and don't allow essence tracks with an invalid edit rate
2009-02-08mxfdemux: For material packages make sure that tracks resolve to source tracksSebastian Dröge1-2/+44
2009-02-07mxfdemux: Add support for non-standard Avid MXF files containing DNxHD essenceSebastian Dröge4-4/+36
Avid uses a custom essence container UL and custom essence element keys that are fortunately compatible with the generic container essence elements. Partially fixes bug #561922.
2009-02-07mxfdemux: Make essence track creation a bit more robust against broken filesSebastian Dröge2-2/+20
Some files contain multiple tracks with the same track number but different track id inside the same source package. This is invalid and we simply ignore the second and following of such traacks now instead of overwriting the information of the first one.
2009-02-07mxfdemux: Don't include multiple descriptors in the track's descriptorsSebastian Dröge1-2/+4
2009-02-07mxfdemux: Add support for non-standard Avid MXF files containing DV essenceSebastian Dröge3-28/+36
Avid usually uses a custom essence container label for the essence descriptors and stores the actual codec that is used inside the picture essence coding field (and for sound probably in the sound essence coding field but I have no sample files with sound). Partially fixes bug #561922.
2009-02-06mxfdemux: Add data definition for Avid vendor specific picture essenceSebastian Dröge1-1/+5
2009-02-06mxfdemux: For tracks with no known mapping use dummy capsSebastian Dröge1-5/+20
2009-02-06mxfdemux: Don't remove invalid new essence track twice from the GPtrArraySebastian Dröge1-2/+0
2009-02-06mxfdemux: Implement keyframe detection for MPEG4 video streamsSebastian Dröge1-0/+45
2009-02-06mxfdemux: Handle some more special cases when setting the position when seekingSebastian Dröge1-0/+13
2009-02-06mxfdemux: Adjust last_stop to the last keyframe when seekingSebastian Dröge1-3/+9
2009-02-06mxfdemux: Fix logic for finding the previous keyframeSebastian Dröge1-6/+9
2009-02-06mxfdemux: Add keyframe detection for MPEG2 video streamsSebastian Dröge3-0/+91
This is useful for seeking as we usually want to seek to the previous keyframe. The keyframe detection is done by parsing the MPEG2 elementary stream and if a GOP or I-frame packet is found we assume a keyframe in this edit unit.