Commit Graph
100 Commits
Author SHA1 Message Date
Damiano Galassi 39f9fa8d29 Map MKV ALAC fourCC. 2017-09-17 10:54:45 +02:00
Damiano Galassi 711278bbd4 Cosmetics. 2017-09-16 14:38:57 +02:00
Damiano Galassi 068c5b1cb9 Add a way to force the 'hvc1' fourCC until a better solution is developed. 2017-09-16 14:38:34 +02:00
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
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
Damiano Galassi c0182dc78b Fixed some memory leaks in MP42AC3AudioEncoder 2017-05-11 12:33:00 +02:00
Damiano Galassi 88f4f94e1c Check if magicCookie is available. 2017-05-11 11:51:32 +02:00
Damiano Galassi 4d8b206f15 Set the dac3 atom content at the end when the magicCookie is available. Remove some duplicated code. 2017-05-11 11:45:23 +02:00
Damiano Galassi f9e43d039a Fix AC3 encoder thread name. 2017-05-08 17:53:37 +02:00
Damiano Galassi a454983dac Update contrib submodule. 2017-05-08 16:13:45 +02:00
Damiano Galassi 0a8ad855cb Merge branch 'master' of https://bitbucket.org/galad87/mp42foundation 2017-05-08 16:09:37 +02:00
Damiano Galassi bfed42e681 Check the metadata type before trying to read it. 2017-04-24 10:18:13 +02:00
Damiano Galassi a958753d3d Fix the timestamps of PGS subs in some rare cases. 2017-03-31 13:03:54 +02:00
Damiano Galassi 45619d646a Read mkv cover arts. 2017-02-25 11:54:16 +01:00
Damiano Galassi 9c17c7c754 Add a way to get the encoder prime info. 2017-02-24 11:34:53 +01:00
Damiano Galassi 0e9ee76a3d Comment out some code to read cover arts from mkv. 2017-02-24 11:28:07 +01:00
Damiano Galassi a2e773d172 Xcode project check update. 2017-02-24 11:27:37 +01:00
Damiano Galassi c9b81e5757 Get the last few packets from the mac encoder. 2017-02-24 11:25:37 +01:00
Damiano Galassi 2d67e1b718 Add a queue action to set the color space. 2017-01-12 12:17:06 +01:00
Damiano Galassi ea0b669067 Fixed a crash when importing the genre tag from a mov file. 2017-01-12 11:07:33 +01:00
Damiano Galassi 5ce6596386 Add Czech Republic iTunes Store. 2016-12-16 16:42:20 +01:00
Damiano Galassi eb638e2ef0 Read channels number for PCM twos. 2016-12-16 16:41:27 +01:00
Damiano Galassi dd036eacf8 Fix closed captions importer usage of architecture specific long size. 2016-12-12 13:38:42 +01:00
Damiano Galassi e9d693993a Preserve the chapters track language after it has been rewritten. 2016-12-07 10:37:14 +01:00
Damiano Galassi f4da451313 Set the chapter's preview track extended language tag. 2016-12-07 10:36:32 +01:00
Damiano Galassi a3e8a3c833 Enable more warnings. 2016-12-07 10:16:53 +01:00
Damiano Galassi bd057347ce Use the safer strlcpy to copy the chapter names to the mp4v2 struct. 2016-12-07 10:16:33 +01:00
Damiano Galassi 1fb07668f3 Do not load sets with a newer file version than the one supported. 2016-12-07 10:08:53 +01:00
Damiano Galassi f44c24ecc5 Fix reading the rating key from old sets. 2016-12-06 17:48:59 +01:00
Damiano Galassi 62f1ed8313 MP42MetadataKeyArtistID -> MP42MetadataKeyPlaylistID, fix another copy & paste error. 2016-12-03 15:25:35 +01:00
Damiano Galassi a944ef0204 Update contrib. 2016-11-30 18:24:05 +01:00
Damiano Galassi 5e132b0869 Use the right function for ISO-639-2/b code. 2016-11-30 13:25:22 +01:00
Damiano Galassi eeba2b2a2b Fix languages from mkv, and replace "_" with "-" in the extended language tags list. 2016-11-30 13:18:15 +01:00
Damiano Galassi 090ad02a7d Use the extended language tag for English. 2016-11-30 11:51:45 +01:00
Damiano Galassi 0a9adee00b Set par to 1/1 nothing is set in MP42AVFImporter. 2016-11-30 10:50:20 +01:00
Damiano Galassi 2ac1f4d80e Use the localised languages list in the queue options window. 2016-11-30 09:55:24 +01:00
Damiano Galassi 307df89fd1 Add support for removing the colr atom. 2016-11-29 14:00:46 +01:00
Damiano Galassi 1f1437470b Preliminary support of the colr atom. 2016-11-28 12:49:10 +01:00
Damiano Galassi 5c6f1a7ea8 Always use extended language tags when possible. 2016-11-26 13:14:14 +01:00
Damiano Galassi d7c4ab1edf Restore previous behaviour for merge metadata. 2016-11-24 11:51:43 +01:00
Damiano Galassi 36ba0543a9 Do not pass 0 duration samples in mkv importer. 2016-11-24 11:51:23 +01:00
Damiano Galassi 6f31037011 Made the error message localisable. 2016-11-23 12:09:15 +01:00
Damiano Galassi 384d30d00c Show localized track names in the document window. 2016-11-23 11:40:21 +01:00
Damiano Galassi e5693fe447 Return an error if a file can't be copied in a save as operation. 2016-11-23 11:18:08 +01:00
Damiano Galassi a737dec8ef Fix a localisation issue, and use the right type for gapless and podcast. 2016-11-19 13:38:31 +01:00
Damiano Galassi e8ec853a96 Run the usual Xcode update check. 2016-11-19 13:37:03 +01:00
Damiano Galassi 2539df77a5 ratingStringForiTunesCountry: returns a nullable NSString. 2016-11-11 18:19:18 +01:00
Damiano Galassi d32cab09aa throw an exception in CMemoryBitstream::SetBitPosition so we can catch it and not crash. 2016-11-11 18:18:33 +01:00
Damiano Galassi 76e18f2846 Fix an out of bounds array access. 2016-11-10 13:07:08 +01:00
Damiano Galassi af756ad64f Cosmetics. 2016-11-10 13:06:45 +01:00
Damiano Galassi da30b3336b Add Pilipinas and Hong Kong ratings. 2016-11-10 13:06:35 +01:00
Damiano Galassi 983e2f11e1 Fix MP4File serialisation. 2016-11-09 19:22:54 +01:00
Damiano Galassi 90136ada49 Enable NSSecureCoding when unarchiving presets. 2016-11-09 18:14:50 +01:00