Multiplex mp4 & pbf(it is chapter file from the PotPlayer)

How to multiplex the mp4, srt and pbf, the pbf is the chapter file from the software PotPlayer,thanks!

Welcome!

That chapter format is not supported. You’ll have to convert it to a supported format first (preferably MKVToolNix’ own, XML-based chapter format; alternatively: ffmpeg’s format or the old OGM-style format).

Do you have plan to support PotPlayer’s chapter format? Because PotPlayer is the most popular Video Player software. I think there should be a lot of people who have this need. Thanks!

Maybe. Please open an issue over on my issue tracker. Otherwise chances are I’ll forget about it again. Please also provide sample .pbf files that include all relevant features. Thanks.

I am sorry, I cannot access the “my issue tracker”, maybe because i cannot access the gitlab.com, the system provide the following info:

It looks like you are visiting GitLab from Mainland China, Macau, or Hong Kong

We advise you to sign up with JiHu. JiHu is an independent company with a localized GitLab offering that is tailored to assist individuals based in these geographies. JiHu has an exclusive right to provide GitLab to individuals located in this region.

If you belong to an existing paid namespace with GitLab.com, please contact your administrator to send you an invite.

I show the operation and provide the picture and pbf file, hope it will help you.

the content in the pbf as follows:

[Bookmark]
0=65568*example*2800000048000000480000000100200004000000C40800000000000000000000000000000000000000000000FFD8FFE000104A46494600010200000100010000FFFE00104C61766336312E31312E31303000FFDB0043000802020202020202020202020303030303030303030303030303030304040403030303030303040404040404040404040404040505050606050507070708080AFFC400920001000203010101000000000000000000000607050402010308010101000301010000000000000000000000030205040601100002020103030304000602030100000002010304050011121321060731224151081442A17132231553B16152F12411000102060004040601050100000000000102030021121104052213063161715123417232148152B1A11592E191F0FFC00011080048004803012200021100031100FFDA000C03010002110311003F00FCFF00A69A690869A69A421A69A690869A69A421A69A6908B0FF001F70193B7E3A366994514659C3AB2CA31A29C44E08392E47B0A8D8C9B7C7E5BBF7D4966C2E3FC44EC626CFF95C8135A9401DA8BA328A2E2C48048CC6217C9263C09B49BD627F1A72B5715E1B9880A411B316706CC5F0E5BB55214249B6D6E26BDB8EC49BDDEB317433B3E40AF67A48A517678F3C90989CC568F77D784049717EC3DDF05B6FD96ADB24A919F982770E9FC4846BF609CC75CCF5D9B2DD95349525C33A906F4D8902E3BC457D5FBF14DE9FE621AEECA8CECD3627344C0A7E9DD16D93F6DF7DDFBBE2BE3DF50BE0DAEDF4D599F911E0B89C27A69E6D154BD064E5C4D8C746AC405D4819CD938DCB1C248119460E4E28E57CF7DD2DC76D56F146BEDDB5D9D2370C2EE67CE576F95316E9DC9439AE2F33CC09538549AEE090529B1980663C046D78278758F33CC3C72B8B1D04317EC5BB3D2739470F50634A2811C5D494C8D080B301FA9124B520CCFA25E1F570B055C7E5BC929E74B9A8E7BF25093116E44C9C75CABC35E3B359CD1EDC25562643222128DF66F5BD17C4425FBD2CD68A2FF6562B6398C4F8CA1043D498E4197DC24293A631A168F64DEEBB6B7BC85D79EEC3D2C95C93FF00DB569D60966B001FAC0E1FF1C816E306444B99EE85921DDF3EDBEB0EA6EB8DDEB7A87EDB51B038ACE206AA683485071D29A97CE2A492A4CE9B0205BB7AC6C30B110F602B2148BA944D2A2AB520787F11139A29AB4F2D69C0A19619248A407EE071931217B76EC49AFB6BD022D9EFDBFF009ADCF3F3C5CDE452DBC7368E54456E3ECC54C2640A5024F66A68D01927B172DDFD75A446D27ECD7DB5E9BA6F6C8D86AB0F6A43AC87D86DD28282292A6FE379DAABD36EE2C6206E0917BD891FF239B1234FB3DF5C750FEFFF005AF677C9A6FB6B8DFF00AEB9F639AEAF2DD505581FA788265E568547D62C3FC6FAB5AD62F2C16E4510ACA0EEDA649AFD48FE292037CDFF00036B8F2F7D4CFC8A4784A74EF792520C9E46ECD1AA756C8ED5C6042231CF2A24D027FDE4C592F934F64F512FC5FB11060F2E655A1133CD0C6AE49BF1817FAE0642DB7D3EEBE496DCF7DBBADF528F38F219B2D62BFEE9D7CC59A82AA47D76CC504685F18C04FF00889EC917CC36D937F4F39BC68B3B8DA364CC3DFCA126E7C671C398A779812A4B942AAB21241AAC93394C26A209B91E5180F5D84E2F49FD4292E156A13591C47082BF6AD647FDA407BC28CBBFB6FB88AEC1D9B5AAD6AD59ACCEABD6866B12C8F8C71C51949219FD0423012227FF00849EACAFC930B773D33CB4A74C311107E8F08EC81C734A70CD009475F772EC994BCCA3449086CCB6ECB51CFC63C3C73793F9165E618F9D3C70D780FB6E335C997351EFB7CDC119AEDB1717B2F7D5B4B9635DA8CECD28AF94E5C0BD3529494809BCED7262DA367D9FB64AADEE53F28084F613F191328D7F06F4CFCDF1591C365B3427E37425B94B9D7B52B0B16C5581691D48F91462926F9CDD335F45B6FACB7A8BE30F2D9422A57D8CA33C61C2419259619511819208A31FF1A24206F76D6DDF7F6D486EF8851CE4288B21948609648AC8F425D908896E51C25B38E5A9640880CB6EBC62D6FBA5DBC97C520A1FBAE13EB3FD8911D9216E7B30F670B3E5ECF812E697B9F76F5C5B5CE7F6FB36763929C74F2D01296D08E1E15D43997B972FD8D67B4BB477316C7C373191512B5DCA8CE54912F437ED28ACFCA3C0FCCFC4994DE4982BD580CB757847AF46622EFC82DC3CA25BFBF193A727DC16B4C9971F96EB565F906528D08325898CBAF63A51C76AB80B21E369B51C13BDB8F4C9B4720F7234B8A5DDED5BE42092ADBBF5CC789453CF171DB6DBA5290EDB7D3DBDB5BFE8FEB57778D64B1978ED6338C21B04B326DC42C903DB3F4524760489CA24F2434533B83FFAD1F19777FCF5CF7D745BFF0076DB7F5D79C97FE8BF9EA996EA54F1338F978B5BF093030E5FC37CE3287153C84B8ECF63CE2C74EE56169151167D5181F5FA5C530220D98B69EFA987A8BE94458BC555F2DA790F13AF4FF4E099C34B2065702F48F73ABD0B50A294D1728C364970489F77AFCD9A6B41B3DC27659F979C71793CF5D74732AA7840FAA84DFB7A0883BA25ADD7DD465A13CC97132A5D28B0E14FBE13FB4E9BCE2E0F5A6BDDCEF87F94E22E66BF62588388BBD3C356288E392094CC0ADC9193228A0E82E485493711F76B58BF46F0542B780F94E430D6DD8872568CAA4B74AA57B5564A9015671E4A382D4D5E1689A997291371BE6B65B6AB3D3581D8B8705EC1A484B8E21C3C52E11D88A6E4C858DC794575F868C04809A54A9D44268054458909A956F29F9C5E98EC857A14A9E369C11318EA572D9C8E4F8AAE2DAE40442B61FE0D85FDFEFA58C994C368A618A3272EECA59E3E6D94A110EFCE56D32EC5B32DC63E2DF6F6A2F4D4EFE03FAC57EE0FEA22D88A8631794D9C9CB909AC90D1B562C4605548421AC94A462216249FA87CFF00502461C7993116896A15E5B5FC6A1F23F24535BCE858FDE338A21AB51C64332136E594ADF3024C9B6221227EDCBEBA8E69ABE8F78AD2BCF3A9654EF31B4A2C97794452B0ABDCB6E5FD2D6F8F78C5EF79291204126FDFBF84A327958F1EAD1AC74F6E583803E562308A5E4D6E424119C81F17F1469AE5EFB2D7CB807FC8F5A3A6BA57D76B59BFF6E3E93C9B9FC90C017FC08C7947F71FE3FEE1A69A6B5F19434D34D210D34D348434D34D210D34D34847FFD9
1=

I see (about GitLab). Too bad.

The format itself looks simple enough. The 65568 seems to be the time in milliseconds, the part after the first * seems to the be title & the part after the * seems to be some kind of binary data, probably a screenshot & maybe something more. I can easily implement support for reading these types of files , though only without the part at the end of the line (which I assume is a screenshot, but it might not be).

Thanks a lot!

Looking forward to using this feature in the new version of the software.

I try the lastest version v88, the system show the picture.

I am not sure whether I didn’t do it right?

Thanks!

You’ll have to use chapter files on the “output” tab.

After multiplexing mp4 and pbf, I get the mkv file and delete the pbf.

Now how can I get the pbf from the mkv again?

I try the gMKVExtractGUI software, and find that I only get the xml chapter file, not the pbf.

Thanks!

You cannot. A Matroska file is not an archive format such as ZIP. mkvmerge takes the content of a PBF file & converts that into Matroska’s own chapter format. You would need an additional program that can convert Matroska’s chapter format back into a PBF file, but even then you wouldn’t get the original content back, for example, the thumbnails in the PBF aren’t kept.