Commit Graph
488 Commits
Author SHA1 Message Date
Damiano Galassi 56ef707664 Fix some undefined behaviours. 2017-09-14 13:22:00 +02:00
Damiano Galassi a707918ce0 Improve AVFoundation demuxing speed. 2017-09-14 13:21:34 +02:00
Damiano Galassi 876d1f2562 Move the offset calculation to MP42EditListsReconstructor 2017-09-12 11:30:58 +02:00
Damiano Galassi 9f7089b831 Write the sgpd/sbgp only when importing tracks, do not write a guessed delay on save on every mp4.
Fixed another crash in avfoundation edit lists code.
2017-09-03 11:41:28 +02:00
Damiano Galassi adb8735bf4 Fix some more sync issues from avfoundation edit lists. 2017-09-02 17:06:20 +02:00
Damiano Galassi ef3de22096 Cosmetics 2017-09-02 17:05:51 +02:00
Damiano Galassi 26b025e365 Improve star offset from edit list conversion. 2017-09-02 10:53:28 +02:00
Damiano Galassi 4d3b21a3ed Fix edit lists conversion from AVFoundation that failed with empty edits after a normal edit. 2017-09-01 22:13:37 +02:00
Damiano Galassi 3a7eb08c8b Update track format version. 2017-09-01 15:05:05 +02:00
Damiano Galassi 84f2aa9610 add a display name for 'mebx'. 2017-09-01 15:04:40 +02:00
Damiano Galassi d14662721c Fix a null pointer deference. 2017-09-01 14:32:30 +02:00
Damiano Galassi afe8f0e1ff Fix error condition. 2017-09-01 14:20:18 +02:00
Damiano Galassi 7f0ca454ba OCD. 2017-09-01 14:16:28 +02:00
Damiano Galassi e131e4ccf1 Remove some duplicated code. 2017-09-01 13:49:43 +02:00
Damiano Galassi 8db5138831 Cleanup. 2017-09-01 13:37:23 +02:00
Damiano Galassi ccfc192495 Guess an encode delay if there is no sgpd atom and no edit list value. 2017-09-01 12:20:33 +02:00
Damiano Galassi 5fc438efcc Preserve the track matrix. 2017-09-01 12:20:02 +02:00
Damiano Galassi c9a13f3b1d Fix findChapterPreviewTrackId 2017-09-01 09:09:17 +02:00
Damiano Galassi fc6b9d8a4c Use NSTimeInterval to store a track start offset, rename alternate_group to alternateGroup. 2017-09-01 07:36:57 +02:00
Damiano Galassi 02706f99d1 Rewrite SBQueueSetAction in Swift. 2017-08-31 21:47:30 +02:00
Damiano Galassi f34b3d4b65 Show the real track duration instead of the media duration. 2017-08-31 21:46:54 +02:00
Damiano Galassi cca166eb8c Improve audio sync. 2017-08-31 17:33:27 +02:00
Damiano Galassi 1c89dfef49 Fix an error when reconstructing and edit, trimAtEnd should be always the last sample attachment. 2017-08-31 17:15:06 +02:00
Damiano Galassi dd36b36abc Remove the priming hack from MP42EditListsConstructor. 2017-08-31 11:04:46 +02:00
Damiano Galassi e3a9f6b4e2 Do not try to read the esds if there isn't one. 2017-08-30 10:58:55 +02:00
Damiano Galassi 271b4de7a3 Implement the new merge ways. 2017-08-29 16:55:54 +02:00
Damiano Galassi 0f34bc330f Mark presetName as Deprecated. 2017-08-28 16:30:10 +02:00
Damiano Galassi 96c7fc9e2d Add [MP42Metadata addMetadataItems:] method. 2017-08-09 13:28:43 +02:00
Damiano Galassi 4d1dc8cb92 Add a way to differentiate hvc1 and hev1 2017-08-03 14:17:19 +02:00
Damiano Galassi d9b2763f83 Remove some unused code. 2017-07-28 15:05:12 +02:00
Damiano Galassi 9a73f5a32c Disable the auto media tags for now. 2017-07-05 17:37:03 +02:00
Damiano Galassi 393a9ea957 Fix a address sanitizer warning. 2017-06-22 19:02:05 +02:00
Damiano Galassi 8a88ec8b06 Experimental code to automatically set the media characteristics tag. 2017-06-22 19:01:35 +02:00
Damiano Galassi ad673993f5 Make Thread Sanitizer happy. 2017-06-20 16:17:17 +02:00
Damiano Galassi 4f72d8aabd Check only VPS, SPS, and PPS nal types for completeness. 2017-06-20 12:39:02 +02:00
Damiano Galassi 0112e63f0f Fix an undefined behaviour. 2017-06-20 12:38:07 +02:00
Damiano Galassi abdcc08369 Preliminary work to read opus a flac thru AVFoundation 2017-06-15 17:41:59 +02:00
Damiano Galassi 3e05d0b4f6 Check if NSOrthography is nil before adding it to a set. 2017-06-11 08:38:27 +02:00
Damiano Galassi 7861e4fe2c Fixes some Xcode 9 warning. 2017-06-10 21:07:58 +02:00
Damiano Galassi a909677e67 Add some additional log messages to track down a tvdb issue. 2017-05-31 09:38:46 +02:00
Damiano Galassi 90916e8cd8 Skip install phase for the frameworks. 2017-05-21 15:15:27 +02:00
Damiano Galassi 8350308fab Read the track language from mov correctly. 2017-05-12 16:37:53 +02:00
Damiano Galassi 69d89b2c18 Avoid some casts. 2017-05-12 15:48:10 +02:00
Damiano Galassi bb81a506c1 Read color info, pixel crop, and codec delay from mkv. 2017-05-12 13:14:15 +02:00
Damiano Galassi 3e8353d672 Merge remote-tracking branch 'origin/master' 2017-05-12 11:45:17 +02:00
Damiano Galassi d336067aee Add support for dropping the encoder delay samples in the audio decoder. 2017-05-12 11:44:50 +02:00
Brian Gerfort 2b57ec14d8 Merged in 2ndnature/mp42foundation (pull request #11)
Made sure that when adding 8ch DTS files, the format-label doesn't go above 5.1 channels.
2017-05-12 08:40:14 +00:00
Damiano Galassi f47229d1a6 Fix a small memory leak. 2017-05-11 12:55:26 +02:00
Damiano Galassi b5739ed2c0 Fix a small leak. 2017-05-11 12:50:55 +02:00
Damiano Galassi dc11909e68 Revert an unwanted change. 2017-05-11 12:34:08 +02:00