IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> [F] Problem changing tags in m4b file
dedthrophes
post Aug 6 2017, 16:02
Post #1


Member


Group: Full Members
Posts: 5
Joined: 6-August 17
Member No.: 23741
Mp3tag Version: 2.83f



With certain m4b files, I can't seem to change tags in the files.

It saves the file but the changes disappear and when I try to change a tag the content is deleted entirely.


file -b Meridien\ A\ Silver\ Ships\ Novel\,\ Book\ 3\ -\ 001.2.M4B
ISO Media, Apple iTunes ALAC/AAC-LC (.M4A) Audio


Here is a sample file https://drive.google.com/file/d/0B0pQAy60CI...iew?usp=sharing
Go to the top of the page
 
+Quote Post
ohrenkino
post Aug 6 2017, 16:23
Post #2


Member


Group: Full Members
Posts: 9125
Joined: 9-December 09
From: Norddeutschland / Northern Germany
Member No.: 11458
Mp3tag Version: 2.84d



see e.g. here: https://forums.mp3tag.de/index.php?showtopic=21728
or here: https://forums.mp3tag.de/index.php?showtopic=22392


--------------------
42 - wie war die Frage / what was the question / quelle était la question
Go to the top of the page
 
+Quote Post
Florian
post Aug 6 2017, 17:35
Post #3


Developer


Group: Admin
Posts: 8081
Joined: 12-December 01
From: Germany, Dresden
Member No.: 203
Mp3tag Version: 2.84e



Mp3tag currently doesn't support editing the chapter information of M4B files (also often referred to as Nero tags).

With Mp3tag v2.83, you can remove the chapter marks by right-clicking on the file and selecting "Strip MP4 chapters". This will remove the Nero tags from the file and will allow you to edit the normal MP4 tag as usual.

Kind regards
- Florian


--------------------
♫ If you like using Mp3tag please donate to support further development.

Go to the top of the page
 
+Quote Post
dedthrophes
post Aug 6 2017, 18:01
Post #4


Member


Group: Full Members
Posts: 5
Joined: 6-August 17
Member No.: 23741
Mp3tag Version: 2.83f



Strange. but ok now that I understand the problem....

So the workflow has to be...

strip chapters

modify tags

reapply chapters?


Not the end of the world I guess.


I mean a W/A would be something like...
CODE
# save an strip chapters
mp4chaps -x %f
mp4chaps -r %f

# change tags

# restore chapters
mp4chaps -i %f

Is there a possibility to auto execute a script/cmd pre and post save?


thanks
Go to the top of the page
 
+Quote Post
Florian
post Aug 9 2017, 14:01
Post #5


Developer


Group: Admin
Posts: 8081
Joined: 12-December 01
From: Germany, Dresden
Member No.: 203
Mp3tag Version: 2.84e



Can you try the latest Development Build Mp3tag v2.83g and see whether this improves the situation for you?

Kind regards
– Florian


--------------------
♫ If you like using Mp3tag please donate to support further development.

Go to the top of the page
 
+Quote Post
dedthrophes
post Aug 9 2017, 14:45
Post #6


Member


Group: Full Members
Posts: 5
Joined: 6-August 17
Member No.: 23741
Mp3tag Version: 2.83f



QUOTE (Florian @ Aug 9 2017, 15:01) *
Can you try the latest Development Build Mp3tag v2.83g and see whether this improves the situation for you?

Kind regards
– Florian


Unfortunately it has no discernable effect.

I actually attached a sample file to the initial post, if you find that easier.


I have however noticed that mp3tag seems to be confusing mediainfo

Text [0/9997]
ID : 2
Format : Timed Text
Codec ID : text
Duration : 2 h 50 min
Bit rate mode : Variable
Bit rate : 0 b/s
Stream size : 116 Bytes (0%)
Language : English
Default : Yes
Forced : No
Alternate group : 3
Encoded date : UTC 1904-01-01 00:00:00
Tagged date : UTC 1904-01-01 00:00:00
Menus : 3

Menu #1
ID : 3
Codec ID : text
Duration : 2 h 24 min
Language : English
Encoded date : UTC 1904-01-01 00:00:00
Tagged date : UTC 1904-01-01 00:00:00
Bit rate mode : CBR
Menu For : 1,2
00:00:00.000 : 037
00:40:18.450 : 038
01:07:34.621 : 039
01:16:41.962 : 040
01:39:27.435 : 041
01:54:28.508 : 042
02:24:43.566 : 043

Menu #2
00:00:00.000 : M?ridien: A Silver Ships Novel, Book 3
00:40:18.450 : M?ridien: A Silver Ships Novel, Book 3
01:07:34.621 : M?ridien: A Silver Ships Novel, Book 3
01:16:41.962 : M?ridien: A Silver Ships Novel, Book 3
01:39:27.435 : M?ridien: A Silver Ships Novel, Book 3
01:54:28.508 : M?ridien: A Silver Ships Novel, Book 3
02:24:43.566 : M?ridien: A Silver Ships Novel, Book 3


When I look at the files on the binary level there is content being changed, it just doesn't to be parseable...
Go to the top of the page
 
+Quote Post
Florian
post Aug 9 2017, 15:19
Post #7


Developer


Group: Admin
Posts: 8081
Joined: 12-December 01
From: Germany, Dresden
Member No.: 203
Mp3tag Version: 2.84e



OK, thank you.

I guess to put an end to this mess, I'll need to implement proper multi-chapter support for MP4 files in Mp3tag.

Stay tuned...
– Florian


--------------------
♫ If you like using Mp3tag please donate to support further development.

Go to the top of the page
 
+Quote Post
Florian
post Aug 15 2017, 07:58
Post #8


Developer


Group: Admin
Posts: 8081
Joined: 12-December 01
From: Germany, Dresden
Member No.: 203
Mp3tag Version: 2.84e



I've added support for Nero-style MP4 chapters with the latest Development Build Mp3tag v2.83h.

Would be great if you could test this new feature on some (copies) of your audiobooks.

Kind regards
– Florian


--------------------
♫ If you like using Mp3tag please donate to support further development.

Go to the top of the page
 
+Quote Post
dedthrophes
post Aug 15 2017, 22:23
Post #9


Member


Group: Full Members
Posts: 5
Joined: 6-August 17
Member No.: 23741
Mp3tag Version: 2.83f



Ok it seems to be better.

When I try the new version, I get what looks like 1 entry per chapter for the file in mp3tag.

It looks like the Track number is replaced by the chapter number?

If this is the intent it is a problem, as typically one uses the track number to denote the part.

i.e. books get split into 6 - hour files with chapters for each part.

e.g. track 1 may have chapter 1 - 20 and track 2 may have 20 -> 40...

Can you clarify if this is intentional?
Go to the top of the page
 
+Quote Post
Florian
post Aug 17 2017, 13:20
Post #10


Developer


Group: Admin
Posts: 8081
Joined: 12-December 01
From: Germany, Dresden
Member No.: 203
Mp3tag Version: 2.84e



QUOTE (dedthrophes @ Aug 15 2017, 23:23) *
Can you clarify if this is intentional?

The track numbers are queried from the Nero chapter tags. I've analyzed your file and it has an additional text track which has again something that can be interpreted as track numbers (it's only numeric string data, this time with leading zeros starting at 001).

I'll focus on the Nero chapters for now, so yes – it's intentional.

Kind regards
– Florian


--------------------
♫ If you like using Mp3tag please donate to support further development.

Go to the top of the page
 
+Quote Post
dedthrophes
post Aug 17 2017, 14:19
Post #11


Member


Group: Full Members
Posts: 5
Joined: 6-August 17
Member No.: 23741
Mp3tag Version: 2.83f



I don't think that overloading the title, track, and pic make sense.

To be able to edit the chapter, it would make more sense to have a different view maybe?

Most(all I'm aware of) of the tools that work on these differentiate between them.

The chapter data is seen as additional meta data but doesn't prevent you working with the file level meta. As it is, although I can not edit the chapter meta, I can't seem to edit the meta that all players use who don'T support chapters.

Also I don't see how this would work with tag to filename renaming, it would rename the flle n times where n is the number of chapters.

I suppose you could add another entry for the file level tags, or have 2 modes, one that shows chapters and one that doesn't.

Also if I wanted to edit the chapter data, I'd probably also want to be able to edit the timestamps.
Go to the top of the page
 
+Quote Post
Florian
post Aug 17 2017, 16:25
Post #12


Developer


Group: Admin
Posts: 8081
Joined: 12-December 01
From: Germany, Dresden
Member No.: 203
Mp3tag Version: 2.84e



QUOTE (dedthrophes @ Aug 17 2017, 15:19) *
To be able to edit the chapter, it would make more sense to have a different view maybe?

I'm actively trying to prevent this and instead try to come up with a solution which fits into Mp3tag's lightweight UI.

QUOTE
Most(all I'm aware of) of the tools that work on these differentiate between them.

Can you point me to such tools?

QUOTE
The chapter data is seen as additional meta data but doesn't prevent you working with the file level meta. As it is, although I can not edit the chapter meta, I can't seem to edit the meta that all players use who don'T support chapters.

Mp3tag writes all data that is common to all chapters at the file level. Have you tried it?

QUOTE
Also I don't see how this would work with tag to filename renaming, it would rename the flle n times where n is the number of chapters.

I've also taken care of that — it only renames the file once. Have you tried it?

QUOTE
Also if I wanted to edit the chapter data, I'd probably also want to be able to edit the timestamps.

Yes, but this is outside the scope of this feature at the moment.

Kind regards
– Florian


--------------------
♫ If you like using Mp3tag please donate to support further development.

Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 17th October 2017 - 23:21