-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LC is discarding the language tag from chapters in .MKV files #991
Comments
Is this cut or cut+merge? please provide some more information as explained in the template |
No, just a simple trim. I was only using the MKVmerge software to reset the MKV flags back to "eng" after using Lossless Cut. |
any chance u could share a file? I've never seen chapter language before |
No problem, I just re-encoded this to a much lower resolution so it's a more manageable file size and added some chapters (set to "eng"). I don't normally use the "Import Chapters" option so I'm not sure if that makes a difference, just drop it into Lossless Cut, trim any amount you like from it, then compare the chapters before and after. Thanks |
Thanks. I ran ffprobe on your file, and it returns this: [
{
id: 106667171,
time_base: '1/1000000000',
start: 0,
start_time: '0.000000',
end: 10000000000,
end_time: '10.000000',
tags: {
title: 'Chapter 01',
},
},
{
id: -1371318106,
time_base: '1/1000000000',
start: 10000000000,
start_time: '10.000000',
end: 20000000000,
end_time: '20.000000',
tags: {
title: 'Chapter 02',
},
},
{
id: -810947947,
time_base: '1/1000000000',
start: 20000000000,
start_time: '20.000000',
end: 30000000000,
end_time: '30.000000',
tags: {
title: 'Chapter 03',
},
},
{
id: -2142281084,
time_base: '1/1000000000',
start: 30000000000,
start_time: '30.000000',
end: 40000000000,
end_time: '40.000000',
tags: {
title: 'Chapter 04',
},
},
{
id: -1200737892,
time_base: '1/1000000000',
start: 40000000000,
start_time: '40.000000',
end: 49049000000,
end_time: '49.049000',
tags: {
title: 'Chapter 05',
},
},
] ffmpeg spits out:
So there is no language detected by ffmpeg/ffprobe. However MediaInfo seems to detect the language:
Will have to look into it, but it looks like an ffmpeg issue. BTW I found this issue, possibly related: MediaArea/MediaAreaXml#34 |
If I extract the "chapters" element directly from the .MKV file and open it with Notepad++ I see:
|
Just to add to the above, the Language flag becomes much more important in this scenario where you might have chapters listed in multiple languages:
|
tracking this problem in #1027 - closing this issue to keep count down |
I'm using the latest version of LC. Here is a screenshot of the file's chapters open in MKVmerge before:
https://i.postimg.cc/3RPdg7FG/Lossless-Cut-Chapters-BEFORE.jpg
And after exporting:
https://i.postimg.cc/wvt1y3LH/Lossless-Cut-Chapters-AFTER.jpg
Lossless Cut is removing the language tags, which means I need to mux the file again to reset them. Could Lossless Cut be made to leave this tag intact (IE export the same values as were imported)?
Thanks!
The text was updated successfully, but these errors were encountered: