Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > New and alternative a/v containers

Reply
 
Thread Tools Search this Thread Display Modes
Old 20th April 2018, 16:55   #1  |  Link
tormento
Acid fr0g
 
tormento's Avatar
 
Join Date: May 2002
Location: Italy
Posts: 2,563
Chapters - XML to TXT

Is there a way to convert chapters from xml to txt format?
__________________
@turment on Telegram
tormento is offline   Reply With Quote
Old 20th April 2018, 19:37   #2  |  Link
manolito
Registered User
 
manolito's Avatar
 
Join Date: Sep 2003
Location: Berlin, Germany
Posts: 3,079
Sure...

chapterEditor by hubblec4 converts XML chapters to either TimeCodes or CueSheet format which are both text based.
manolito is offline   Reply With Quote
Old 20th April 2018, 20:14   #3  |  Link
tormento
Acid fr0g
 
tormento's Avatar
 
Join Date: May 2002
Location: Italy
Posts: 2,563
Quote:
Originally Posted by manolito View Post
chapterEditor by hubblec4 converts XML chapters to either TimeCodes or CueSheet format which are both text based.
__________________
@turment on Telegram
tormento is offline   Reply With Quote
Old 20th April 2018, 23:18   #4  |  Link
hubblec4
Matroska find' ich toll
 
Join Date: Apr 2008
Posts: 1,377
Find you the right txt output format in chapterEditor(cE)? Which output format you need? Let me know if such a format is missing in cE. I'm working currently on the Chapter-Converter.
hubblec4 is offline   Reply With Quote
Old 22nd April 2018, 07:01   #5  |  Link
tormento
Acid fr0g
 
tormento's Avatar
 
Join Date: May 2002
Location: Italy
Posts: 2,563
Quote:
Originally Posted by hubblec4 View Post
Find you the right txt output format in chapterEditor(cE)? Which output format you need? Let me know if such a format is missing in cE. I'm working currently on the Chapter-Converter.
No, I didn't find.

The txt format usually MKV supports, such as:
Code:
CHAPTER01=00:00:00.000
CHAPTER01NAME=
CHAPTER02=00:09:12.176
CHAPTER02NAME=
I dunno the name
__________________
@turment on Telegram
tormento is offline   Reply With Quote
Old 22nd April 2018, 09:21   #6  |  Link
manolito
Registered User
 
manolito's Avatar
 
Join Date: Sep 2003
Location: Berlin, Germany
Posts: 3,079
The format you are referring to is the OGM (OGG) format.

It is true that neither chapterEditor (nor ChapterGen) can directly convert an XML chapter file into the OGM format, but there is an easy workaround.

I assume that you have MKVToolNix installed - if not, do it right away...
If you want to mux XML chapters into an existing MKV, MKVToolNix can do this directly. It imports chapter files either in the XML format or in the OGM format, so I do not see your need to convert XML to OGM in the first place.

If you still insist that you need to convert XML chapters into the OGM format, this is also easy using MKVToolNix. Just add the XML chapter file and remux to MKV (without any video or audio). Then fire up gMKVExtractGUI by gpower, load this MKV you just created and extract the chapters in the OGM format.


Cheers
manolito

Last edited by manolito; 22nd April 2018 at 10:54.
manolito is offline   Reply With Quote
Old 22nd April 2018, 11:43   #7  |  Link
hubblec4
Matroska find' ich toll
 
Join Date: Apr 2008
Posts: 1,377
Quote:
Originally Posted by tormento View Post
No, I didn't find.

The txt format usually MKV supports, such as:
Code:
CHAPTER01=00:00:00.000
CHAPTER01NAME=
CHAPTER02=00:09:12.176
CHAPTER02NAME=
I dunno the name
Your format is OGG/OGM and in chapterEditor you will find an OGG/OGM chapter edtior (2. editor of chapter editors).
Load your XML.file and save it as OGG/OGM.



Quote:
Originally Posted by manolito View Post
It is true that neither chapterEditor (nor ChapterGen) can directly convert an XML chapter file into the OGM format, but there is an easy workaround.
manolito
This is wrong! cE has the possibility to convert XML to OGG.
OK, not in the Converter but you have an own OGG/OGM editor.
You can load all supported chapter formats (more then 25) to OGG/OGM editor and save it to an OGG.txt file.

Last edited by hubblec4; 22nd April 2018 at 11:46.
hubblec4 is offline   Reply With Quote
Old 22nd April 2018, 12:08   #8  |  Link
manolito
Registered User
 
manolito's Avatar
 
Join Date: Sep 2003
Location: Berlin, Germany
Posts: 3,079
Quote:
Originally Posted by hubblec4 View Post
This is wrong! cE has the possibility to convert XML to OGG.
OK, not in the Converter but you have an own OGG/OGM editor.
You can load all supported chapter formats (more then 25) to OGG/OGM editor and save it to an OGG.txt file.
Alright, you got me...

But I believe that this conversion feature should be accessible in the Converter. With the latest versions of chapterEditor the feature list has become overwhelming, for me the only feature I need and use frequently is the converter.

I did stay with older versions of chapterEditor for quite some time, mainly because it was simpler and the GUI was a lot more tasteful (I hate those In-Your-Face colors in the current versions). But with the current versions of MKVToolNix I had no choice, I had to upgrade because the older chapterEditor versions stopped working.


Cheers
manolito
manolito is offline   Reply With Quote
Old 22nd April 2018, 13:19   #9  |  Link
tormento
Acid fr0g
 
tormento's Avatar
 
Join Date: May 2002
Location: Italy
Posts: 2,563
Quote:
Originally Posted by manolito View Post
If you want to mux XML chapters into an existing MKV, MKVToolNix can do this directly. It imports chapter files either in the XML format or in the OGM format, so I do not see your need to convert XML to OGM in the first place.
You really do underestimate me but it’s ok

Editing XML is really a PITA. That’s why.
__________________
@turment on Telegram
tormento is offline   Reply With Quote
Old 22nd April 2018, 13:55   #10  |  Link
hubblec4
Matroska find' ich toll
 
Join Date: Apr 2008
Posts: 1,377
Quote:
Originally Posted by manolito View Post
Alright, you got me...

But I believe that this conversion feature should be accessible in the Converter. With the latest versions of chapterEditor the feature list has become overwhelming, for me the only feature I need and use frequently is the converter.
OK, in ChapterGen is also an output option for OGG/OGM format.
I add it to my TODO list.

Quote:
Originally Posted by manolito View Post
I did stay with older versions of chapterEditor for quite some time, mainly because it was simpler and the GUI was a lot more tasteful (I hate those In-Your-Face colors in the current versions).
You can disable some "In-Your-Face colors".
hubblec4 is offline   Reply With Quote
Old 22nd April 2018, 13:59   #11  |  Link
hubblec4
Matroska find' ich toll
 
Join Date: Apr 2008
Posts: 1,377
Quote:
Originally Posted by tormento View Post
Editing XML is really a PITA.
Not with my chapterEditor.
Matroska files without xml-chapters is like a Hedgehog without prickles.
hubblec4 is offline   Reply With Quote
Old 22nd April 2018, 14:18   #12  |  Link
tormento
Acid fr0g
 
tormento's Avatar
 
Join Date: May 2002
Location: Italy
Posts: 2,563
Quote:
Originally Posted by hubblec4 View Post
Not with my chapterEditor.
Matroska files without xml-chapters is like a Hedgehog without prickles.
Please, explain me differences. Once I have chapter start and name, what else could I get?
__________________
@turment on Telegram
tormento is offline   Reply With Quote
Old 22nd April 2018, 14:29   #13  |  Link
manolito
Registered User
 
manolito's Avatar
 
Join Date: Sep 2003
Location: Berlin, Germany
Posts: 3,079
+1
For me XML chapters have always been total overkill...
manolito is offline   Reply With Quote
Old 22nd April 2018, 16:20   #14  |  Link
hubblec4
Matroska find' ich toll
 
Join Date: Apr 2008
Posts: 1,377
Quote:
Originally Posted by manolito View Post
+1
For me XML chapters have always been total overkill...
Yes and you are not alone. Many users needs a simple chapter format.
This is all a question of usage. Someone like it to convert the video and is happy to save disk-space, other have bought hardware which can't play Matroska files(or basic support only) and so on.

I use Matroska now more then 10 years and I would never miss all this chapter features.

Last edited by hubblec4; 22nd April 2018 at 16:24.
hubblec4 is offline   Reply With Quote
Old 22nd April 2018, 16:23   #15  |  Link
hubblec4
Matroska find' ich toll
 
Join Date: Apr 2008
Posts: 1,377
Quote:
Originally Posted by tormento View Post
Please, explain me differences. Once I have chapter start and name, what else could I get?
This is not so easy explained and for your case are simple chapters enough.

Ordered chapters is one of the great chapter features.
Matroska Chapter-Linking opens a new watching world.
hubblec4 is offline   Reply With Quote
Old 22nd April 2018, 17:26   #16  |  Link
manolito
Registered User
 
manolito's Avatar
 
Join Date: Sep 2003
Location: Berlin, Germany
Posts: 3,079
Quote:
Originally Posted by hubblec4 View Post
Matroska Chapter-Linking opens a new watching world.
A new watching world? Sorry I don't get it...

Chapters are chapters are chapters. Chapters have no artistic value, they are just a means of being able to jump from one point in time to another one. This sure does not open a new watching world for me...

Cheers
manolito
manolito is offline   Reply With Quote
Old 22nd April 2018, 17:39   #17  |  Link
hubblec4
Matroska find' ich toll
 
Join Date: Apr 2008
Posts: 1,377
Quote:
Originally Posted by manolito View Post
A new watching world? Sorry I don't get it...

Chapters are chapters are chapters.
Normal chapters are normal chapters are normal chapters, but not Matroska Chapters.

Quote:
Originally Posted by manolito View Post
Chapters have no artistic value, they are just a means of being able to jump from one point in time to another one. This sure does not open a new watching world for me...
With Matroska Chapters you can more then jump from one point to another. You can jump to other files play a part, jump to another file and play from that a part and then go back to the main file and so on.
Matroska Editions let you watch your mkv with different content order.
hubblec4 is offline   Reply With Quote
Old 22nd April 2018, 17:57   #18  |  Link
manolito
Registered User
 
manolito's Avatar
 
Join Date: Sep 2003
Location: Berlin, Germany
Posts: 3,079
Quote:
Originally Posted by hubblec4 View Post
Matroska Editions let you watch your mkv with different content order.
Anyone who really needs this?

I was always waiting for MKV extensions with working menus, and in this context ordered chapters would certainly play a role. But as it looks now, nobody cares for MKV menus, and this also means that ordered MKV chapters are irrelevant.

Cheers
manolito
manolito is offline   Reply With Quote
Old 22nd April 2018, 19:10   #19  |  Link
hubblec4
Matroska find' ich toll
 
Join Date: Apr 2008
Posts: 1,377
Quote:
Originally Posted by manolito View Post
Anyone who really needs this?
I need this and some other users(not many I know).

Quote:
Originally Posted by manolito View Post
I was always waiting for MKV extensions with working menus, and in this context ordered chapters would certainly play a role. But as it looks now, nobody cares for MKV menus, and this also means that ordered MKV chapters are irrelevant.
Yes, I was looking also for Matroska menu, but I found nothing.
After many years reading and learning I understand Matroska, and to get working menus it is not really a job of Matroska.
The Splitter is the key. The most Matroska features which are supported you will find in the good old Haali Splitter.
Best working Splitter today is LAV-Filters
BUT
I spoke with Steve Lohmme in Vienna and he would fix/improve VLC Matroska Splitter.
For a while he could fix the Matroska Medium-Linking issue.
I have at the moment not much time but I will help him to fix the Matroska DVD menu system (which was working in an earlier VLC version)

I learned programming to get a better understanding about Matroska and now I have a fully Matroska menu ready in my mind. But without understanding how works a DirectShow Filter I see no chance for Matroska menu.
hubblec4 is offline   Reply With Quote
Old 22nd April 2018, 19:30   #20  |  Link
tormento
Acid fr0g
 
tormento's Avatar
 
Join Date: May 2002
Location: Italy
Posts: 2,563
Chapters - XML to TXT

Reading a MKV with a PC player gives lot of freedom and features. The opposite on Android TV or HW based Media Players.

That’s the reason I keep chapters as simple as possible.
__________________
@turment on Telegram
tormento is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 11:03.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.