Commit Graph

177 Commits

Author SHA1 Message Date
Martchus c53e5e35ee Add mapping for unofficial WavPack FOURCC 2017-10-29 17:44:01 +01:00
Martchus d968b7cfd1 Prevent comparison of signed and unsigned 2017-09-21 23:30:35 +02:00
Martchus fe5ac296b3 Fix unused lambda capture 2017-09-20 19:39:04 +02:00
Martchus ebcbe092a4 Reduce if-cascades in Mp4TagField 2017-09-14 19:33:49 +02:00
Martchus a1547f9365 Fix some style issues 2017-09-14 18:19:30 +02:00
Martchus ad3b578bfe Fix calculating size of mdat atom when writing chunk-by-chunk 2017-09-14 18:16:40 +02:00
Martchus ba8c9204a9 Fix messing track header of MP4 files (tkhd atom) 2017-09-14 01:37:15 +02:00
Martchus 395ccd50ed Add missing include for total file size 2017-08-18 00:18:16 +02:00
Martchus 99b177a9ff Handle invalid language for MP4 track better 2017-06-17 00:32:38 +02:00
Martchus f323061767 Apply MP4 track meta-data also when not writing chunk-by-chunk 2017-06-17 00:31:35 +02:00
Martchus b4de493b56 Prevent warning about unused variable 2017-06-11 01:22:30 +02:00
Martchus 2beb4b02aa Prevent some warnings 2017-06-10 21:47:07 +02:00
Martchus d8d3fbd487 Enable code for parsing MP4 chunk-offsets from fragments 2017-05-29 00:58:44 +02:00
Martchus 4faef55906 Fix writing MP4 chunk-by-chunk
This also involves finally implementing
Mp4Track::makeTrack(). Mp4Track::makeSampleTable()
which would enable modifying stbl atom is still not
fully implemented yet, though.
2017-05-29 00:58:08 +02:00
Martchus 527fcb694e Ensure MP4 ID strings only contain printable chars
Prevents tag editor from generating invalid XHTML
2017-05-29 00:57:42 +02:00
Martchus 4a37d9b58f Remove unused metaAtom in mp4container.cpp 2017-03-22 14:36:52 +01:00
Martchus c3394acdb2 Fix typos 2017-03-01 18:21:00 +01:00
Martchus b97192abd3 Use std::make_unique provided by C++14 2017-02-05 21:02:40 +01:00
Martchus 5037713071 Remove numberToString() where possible 2017-01-30 00:42:35 +01:00
Martchus 230a14fcf1 Use string builder rather than stringstream 2017-01-27 21:27:24 +01:00
Martchus 541f14039b Make use of string builder 2017-01-27 18:59:22 +01:00
Martchus b4e167bd71 Ease dealing with native field IDs
In particular, this allow conversion from native field IDs
to readible string representation and vice verca
2017-01-23 00:25:53 +01:00
Martchus c272ec315b Fix setting encoding in TagValue::assignText()
* when no conversion should to be done
* also be more tolerant in TagValue::toString() when
  no encoding has been specified
2016-12-28 00:17:26 +01:00
Martchus 477ac9884b Use _wopen under Windows to support unicode filenames 2016-12-21 00:42:31 +01:00
Martchus a6b2d10655 Write index always in front when dealing with DASH 2016-11-19 23:14:38 +01:00
Martchus 2eb8760afa Fix Mp4Tag::supportsField() for KnownField::EncoderSettings 2016-11-19 22:03:47 +01:00
Martchus eafbda8233 Fix wrong condition for pre-defined genre in MP4 container 2016-11-19 21:44:28 +01:00
Martchus 56e49e11fc Fix making MP4 file when forcing index pos 2016-11-19 21:25:18 +01:00
Martchus 802e6e2dfb Consider index position when making MP4 files
However, give tag position precedence if both is specified
and forced.
2016-11-18 16:51:10 +01:00
Martchus a8dce14514 Allow checking index position
Only implemented for MP4 so far
2016-11-16 19:31:09 +01:00
Martchus 6717062ca2 Allow checking tag position
Only implemented for MP4 so far
2016-11-15 22:48:38 +01:00
Martchus f6d0f3a003 Improve handling of extended MP4 fields 2016-11-14 22:59:19 +01:00
Martchus 0cf30edbff Fix decoration for static builds 2016-08-29 15:43:05 +02:00
Martchus 817a8e25e6 Improve documentation and consistency 2016-08-04 00:16:19 +02:00
Martchus cf5b021180 Use workaround for GCC Bug 66145 2016-06-14 22:53:43 +02:00
Martchus bbafd16dcc Support FLAC in Ogg 2016-05-14 23:20:51 +02:00
Martchus 40fa32cb38 fixed includes for accumulate 2016-05-08 14:05:10 +02:00
Martchus 6c6ab0e301 improved file handling
- don't override backup files
- allow saving files at a different location
- reduce code duplication for restoring backups
2016-05-01 20:02:44 +02:00
Martchus 6cce90b106 overall code cleanup 2016-04-24 22:10:45 +02:00
Martchus 899e2a97fe small improvements
- fixed some mostly ID3/MP3 related bugs
- added convenience methods/operators
2016-03-18 21:43:09 +01:00
Martchus ddf9ef02f8 improved handling of unsupported files
additionally:
- added detection for QuickTime files
- minor adjustments
2016-03-14 21:56:27 +01:00
Martchus 19593d4c24 added media format MPEG-4 Timed Text 2016-02-20 01:42:01 +01:00
Martchus 488fce3ab8 parsing AVC config 2016-02-17 20:19:05 +01:00
Martchus b48dcf5b3d ensure stringstream is included 2016-02-05 20:25:38 +01:00
Martchus de104dee5a fixed infinite loop 2016-01-16 16:47:18 +01:00
Martchus b1ce8dde9f fixed some (mostly DASH related) errors 2015-12-27 18:05:50 +01:00
Martchus 6f0adce661 make use of padding when applying changes to MP3 files 2015-12-22 23:54:35 +01:00
Martchus 47e7f4eea4 fixed misc bugs 2015-12-22 17:00:54 +01:00
Martchus 6790b6c350 added MS MPEG-4 2015-12-22 16:56:02 +01:00
Martchus ee09a50915 removed useless destructors 2015-12-21 18:35:47 +01:00
Martchus 3da8337c6c make use of padding when applying changes to MP4 files 2015-12-21 00:27:44 +01:00
Martchus 0c82c4c1fd allow precalculation of MP4 tag size 2015-12-10 13:50:46 +01:00
Martchus 2fe27463ef removed odd files 2015-11-29 15:28:26 +01:00
Martchus 1db83eeccd added more methods to control file layout when applying changes 2015-11-26 14:28:54 +01:00
Martchus e7bd2185d5 added properties to control position of tags when writing files 2015-11-07 21:25:37 +01:00
Martchus ed10015b1a fixed reset() methods 2015-10-06 22:39:18 +02:00
Martchus 7ae0aee4f7 set extension channel config to stereo if PS is present 2015-09-24 01:15:27 +02:00
Martchus faa40944bf changed handling of SBR/PS AAC extension 2015-09-24 00:19:04 +02:00
Martchus aa50c2d8b3 fixed includes 2015-09-06 19:57:33 +02:00
Martchus b1eb6faba6 fixed includes 2015-09-06 15:42:18 +02:00
Martchus 8b91b41801 updated readme 2015-08-26 20:01:32 +02:00
Martchus 3d6c7f33d9 parse audio specific config for AAC tracks in MKV container (exposed API
in Mp4Track to do that)
renamed sampleRate to samplingFrequency
2015-08-13 03:23:28 +02:00
Martchus 8dc85941eb small adjustments 2015-08-10 00:02:03 +02:00
Martchus 9f12607a0d added channel config to AbstractTrack and the implementations 2015-07-31 01:09:41 +02:00
Martchus 09fcb37442 small adjustments 2015-07-27 23:10:35 +02:00
Martchus 1f4800c9be added detection of ADTS files 2015-07-15 00:11:09 +02:00
Martchus 15a03a0029 improved format detection for MP4 tracks 2015-07-13 00:57:38 +02:00
Martchus 78c23779a6 fixed wrong end position in updateChunkOffsets() 2015-07-08 01:15:45 +02:00
Martchus b3d1d07f1a fixed missing assignment 2015-07-08 00:20:36 +02:00
Martchus 8618172f81 improved detection of media formats in Matroska and MP4 files 2015-07-07 03:01:48 +02:00
Martchus 20344f9665 moved method denoteFirstChild() to base class 2015-07-07 02:59:19 +02:00
Martchus ed77bac3e2 some overall improvements of the MP4 container code 2015-06-24 00:45:53 +02:00
Martchus 7106e8650b improved format detection 2015-06-12 02:35:50 +02:00
Martchus 43c33adedf improved detection of format of MP4 audio tracks 2015-06-10 01:28:22 +02:00
Martchus c452b009ae improved media format detection; other minor improvements 2015-06-07 00:18:28 +02:00
Martchus c86103829c ignore docs generated by Doxygen 2015-06-07 00:16:59 +02:00
Martchus 033e313c74 First commit 2015-04-22 19:22:01 +02:00