Commit Graph

515 Commits

Author SHA1 Message Date
Martchus 66895e8e2c Distinguish text and "meta" tracks in MP4 2019-04-19 21:59:46 +02:00
Martchus 48166bde9e Prevent updating tkhd atom to version 1 for compatibility 2019-04-19 21:59:42 +02:00
Martchus 8588edaa2e Write preferably version 0 of mdhd atom for compatibility 2019-04-18 17:56:03 +02:00
Martchus 27d7a182d9 Preserve all child elements within trak element 2019-04-17 17:52:04 +02:00
Martchus ccffe4f1e3 Show children of tref atom 2019-04-16 21:50:00 +02:00
Martchus c09f93c441 Preserve order of atoms within moov tree
Maybe it helps with https://github.com/Martchus/tageditor/issues/45
2019-04-16 21:49:16 +02:00
Martchus da15530f53 Remove obsolete code 2019-04-16 21:49:16 +02:00
Martchus f494420da7 Show children of gmhd atom 2019-04-15 18:21:42 +02:00
Martchus 2d306b1a5f Preserve all children of minf atom
See https://github.com/Martchus/tageditor/issues/45
2019-04-15 18:21:33 +02:00
Martchus 2772a0c1ad Add MP4 testfile with chapters
See https://github.com/Martchus/tageditor/issues/45
2019-03-28 17:54:18 +01:00
Martchus d812e0d3ae Detect VobSub within MP4 2019-03-10 16:40:51 +01:00
Martchus 0452b42bfc Add MediaFileInfo::overallAverageBitrate() 2019-03-10 16:31:47 +01:00
Martchus bd7d5b00d7 Use noexcept directly 2019-02-17 17:14:07 +01:00
Martchus 296e5d11b6 Fix TagValue::toStandardGenreIndex() for empty genre index 2019-02-14 18:18:54 +01:00
Martchus dbce74444a Deprecate unused methods in Id3v2Frame 2019-02-13 21:44:19 +01:00
Martchus e93a7c53b3 Fix warnings in ID3v2Frame 2019-02-13 21:43:56 +01:00
Martchus 3d3bc94e39 Prevent warning "Cannot make an empty frame" 2019-02-13 20:19:46 +01:00
Martchus 3a35ce4b16 Don't treat synchronized lyrics as regular text field 2019-02-13 19:06:35 +01:00
Martchus 5140b76f08 Treat 255 as empty ID3v1 genre index 2019-02-13 18:56:03 +01:00
Martchus 97c1a2100d Apply cmake-format 2019-02-06 18:04:33 +01:00
Martchus da64d455d9 Let CMake generate code for test application 2019-01-13 22:28:26 +01:00
Martchus 602f4f7c8f Improve refs in "Adding new fields" doc 2019-01-10 13:37:13 +01:00
Martchus 1e376f54c3 Document adding new fields
It is an easy task but it is also easy to forget something.
2019-01-05 16:55:28 +01:00
Martchus 8be8355539 Update lastKnownField to fully support album artist 2019-01-05 16:54:06 +01:00
Martchus 59d2156165 Add tagType and tagName to OggVorbisComment 2019-01-02 17:08:29 +01:00
Martchus 3c06590085 Detect float PCM in WAVE container 2019-01-01 23:47:27 +01:00
Martchus 6afcd0f8d3 Support album artist and fix/improve grouping 2019-01-01 23:47:18 +01:00
Martchus f1382bd286 Make message about empty frames only a warning
Empty frames don't cause any trouble in general. They only
*might* indicate that something went wrong.
2018-11-15 22:09:10 +01:00
Martchus a775ee61a2 Remove debug messages that the padding has been reached
This is true for most MP3 files and therefore not really helpful.
2018-11-15 22:07:07 +01:00
Martchus e9526225ea Add testfile for AV1 in MP4
Requires at least ffmpeg 4.1
2018-11-08 14:32:25 +01:00
Martchus 0024d5e115 Make message about parsing AV1 config not supported an info
rather than a critical error
2018-11-08 14:31:35 +01:00
Martchus 438efdedbf Use rmdir() rather than remove() to delete dir 2018-11-02 23:07:50 +01:00
Martchus b7a5683211 Fix compiling tests for 32-bit 2018-11-01 23:25:33 +01:00
Martchus 969828e181 Fix compiling tests for Windows 2018-11-01 19:18:00 +01:00
Martchus bdf9d99262 Bump version 8.0.0 => 8.0.1 2018-10-29 17:31:06 +01:00
Martchus b955a6b79f Fix compilation of tests under Linux
hopefully works now under Linux and Windows
2018-10-09 20:31:03 +02:00
Martchus 1c4f485b10 Fix compilation of test for Windows 2018-10-07 21:58:36 +02:00
Martchus 13bccb12f0 Enable all tests under Windows
Since workingCopyPath() has now been implemented under
Windows it is possible to enable the entire testsuite.
2018-10-07 21:58:15 +02:00
Martchus dff3c0ec70 Fix compile error due to incomplete MediaFileInfo 2018-09-26 15:12:59 +02:00
Martchus f99f22f270 Detect MIDI files 2018-08-29 22:32:11 +02:00
Martchus 270aee1d55 Use override in OggVorbisComment 2018-08-29 22:31:56 +02:00
Martchus dcb89aeb62 Improve padding of OggParameter 2018-08-29 22:31:30 +02:00
Martchus 60f1288e42 Fix some warnings 2018-08-23 23:20:29 +02:00
Martchus 3332314eb6 Prepare logging errors when parsing AVC config 2018-08-23 23:20:17 +02:00
Martchus 534cb2a6f7 Prepare parsing AV1 config 2018-08-23 23:18:57 +02:00
Martchus 8642cd67e9 Improve coding style (after running clang-tidy) 2018-08-12 22:14:21 +02:00
Martchus 6f2dcdc2d9 Fix leaking memory or file handles in StreamDataBlock descendants
StreamDataBlock needs a virtual d'tor since it is supposed to
be subclassed but the d'tor will be called on the base type.

The leaking file handles were observed by invoking the tests
with strace, eg.:
strace -e trace=file,close ./tagparser_tests
2018-08-11 23:12:12 +02:00
Martchus edad4e19ab Fix misc warnings 2018-08-04 15:21:17 +02:00
Martchus f1a3f5cbce Fix warnings in MpegAudioFrame 2018-07-28 21:20:02 +02:00
Martchus 54174f014a Add AspectRatio::toString() 2018-07-28 15:07:15 +02:00