Commit Graph
415 Commits
Author SHA1 Message Date
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 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
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
Brian Gerfort 69d918cf03 FFmpeg currently doesn't support more than 6ch AC-3 encoding. Made sure that when adding 8ch DTS files, the format-label doesn't go above 5.1 channels. 2017-05-10 11:35:32 +02:00
Damiano Galassi f9e43d039a Fix AC3 encoder thread name. 2017-05-08 17:53:37 +02:00
Damiano Galassi 0a8ad855cb Merge branch 'master' of https://bitbucket.org/galad87/mp42foundation 2017-05-08 16:09:37 +02:00
Brian Gerfort 0af9487aa5 Added setting to set the position of the rendered chapter previews. Default is the middle of the chapter. 2017-05-06 21:36:20 +02:00
Brian Gerfort 414b5e559a Reverting to previous chapter preview offsets. Will make it a setting instead. 2017-05-06 13:37:39 +02:00
Brian Gerfort 5e821d87f6 * Support for DTS to AC3 + AAC conversion.
If you prefer to recompile FFmpeg from scratch, make sure you include the --enable-encoder=ac3 and --disable-iconv parameters. My config:

./configure --disable-programs --disable-filters --disable-everything --disable-avdevice --disable-swscale --enable-avresample --enable-decoder=dvdsub --enable-decoder=pgssub --enable-decoder=aac --enable-decoder=mp3 --enable-decoder=mp2 --enable-decoder=mp1 --enable-decoder=ac3 --enable-decoder=eac3 --enable-decoder=truehd --enable-decoder=alac --enable-decoder=opus --enable-decoder=vorbis --enable-decoder=flac --enable-decoder=mlp --enable-decoder=dca --enable-decoder=pcm --enable-filter=aresample --enable-parser=opus --enable-muxer=opus --prefix=/Users/damians/Desktop/iffmpeg --extra-cxxflags='-mmacosx-version-min=10.9' --extra-cflags='-mmacosx-version-min=10.9' --extra-ldflags='-mmacosx-version-min=10.9' --enable-decoder=pcm_f32be --enable-decoder=pcm_f32le --enable-decoder=pcm_f64be --enable-decoder=pcm_f64le --enable-decoder=pcm_s16be --enable-decoder=pcm_s16le --enable-decoder=pcm_s16le_planar --enable-decoder=pcm_s24be --enable-decoder=pcm_daud --enable-decoder=pcm_s24le --enable-decoder=pcm_s32be --enable-decoder=pcm_s32le --enable-decoder=pcm_s8 --enable-decoder=pcm_u8 --enable-decoder=pcm_u16be --enable-decoder=pcm_u16le --enable-decoder=pcm_u24be --enable-decoder=pcm_u24le --enable-encoder=ac3 --disable-iconv
2017-05-05 15:41:25 +02:00
Brian Gerfort 2a75f36676 * Grab chapter previews from the middle of the chapter instead of the very beginning. 2017-05-05 14:58:40 +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 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 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 5e132b0869 Use the right function for ISO-639-2/b code. 2016-11-30 13:25:22 +01:00