Log in

View Full Version : mkvtoolnix (Matroska toolkit): new release


Pages : 1 2 3 4 5 6 7 8 9 [10] 11 12 13 14 15 16 17 18 19 20

filewalker
15th February 2004, 01:43
I have an idea to solve it manually but I have one problem.

Concerning 2part of the movie:
I converted the OGM to MKV with splitt at 1400M.
(the chapters are from the first part 1-10)

Now I converted again the second part, but without the splitt option to get all chapters(1-20), as they are in the OGM (to load the chapters later into chapter editor).

Now I opened the MKV (converted with the splitting option), then I loaded the chapters from the MKV (without splitting)into the chapter editor and deleted 1-10, so that 11-20 were left in the chapter editor, and muxed it.

Despite the attempt to overwrite the chapters, the chapters 1-10 were visible (instead 11-20). :confused:

Is it bug or is it not possible with the chapter editor to load chapters(from a MKV), edit them, and overwrite the old chapters?

Cu filewalker

pixolex
15th February 2004, 02:35
Originally posted by Mosu
No, at the moment I don't have a proper TODO list. I have one in my sources, but I don't bother updating it...

Things that come to mind are (in random order):
1) Proper support for native B frame handling,
2) Support for appending files,
3) Support for processing only parts of a file (e.g. from timecode x to timecode y),
4) Support for reading MPEG4 video from MP4 files (depends on 1)),
5) Rewrite mmg to support Unicode enabled versions of wxWindows and thus allowing the use of Unicode in all fields,
6) Add a tag editor to mmg (similar to the chapter editor - it should be able to edit tags in Matroska files and XML tag files that can be used with mkvmerge),
7) Fix bugs,
8) Produce new bugs...

The problem with 1-5 is that they're very time consuming. 6 might happen sooner. Maybe 3, too.

Any wishes/suggestions?

Apart from that - what I want to program next is probably a Matroska output module for transcode, a Linux/Unix video processing tool.

Well i wait for 2) ;) and hope that when merging files (ex. episodes from a serie) have the option to make atomaticaly the chapters from the file names.

Thanks for your response!
Keep the good work and the help you are giving to every one using Matroska!
Thanks.

Mosu
15th February 2004, 11:04
Originally posted by filewalker
Despite the attempt to overwrite the chapters, the chapters 1-10 were visible (instead 11-20). :confused:

Is it bug or is it not possible with the chapter editor to load chapters(from a MKV), edit them, and overwrite the old chapters?

Works here.

ChristianHJW
15th February 2004, 12:38
Originally posted by Mosu No, at the moment I don't have a proper TODO list. I have one in my sources, but I don't bother updating it...
Things that come to mind are (in random order):
1) Proper support for native B frame handling, ... IMO this is nr.1 priority. I have a couple of files on my HDD that wait for native file muxing since a few months now :D ...
2) Support for appending files,
3) Support for processing only parts of a file (e.g. from timecode x to timecode y),
4) Support for reading MPEG4 video from MP4 files (depends on 1)),
5) Rewrite mmg to support Unicode enabled versions of wxWindows and thus allowing the use of Unicode in all fields,
6) Add a tag editor to mmg (similar to the chapter editor - it should be able to edit tags in Matroska files and XML tag files that can be used with mkvmerge),
7) Fix bugs,
8) Produce new bugs...
The problem with 1-5 is that they're very time consuming. 6 might happen sooner. Maybe 3, too.

Any wishes/suggestions? ..... well, please try to avoid that the work on mmg and mkvmerge cant be reused for TCME ;) ....

Apart from that - what I want to program next is probably a Matroska output module for transcode, a Linux/Unix video processing tool. ... thats my 2nd priority after #1 ;) ....

filewalker
15th February 2004, 13:05
Originally posted by Mosu
Works here.

I tested again, but I have no luck.

I think I now know where the problem is:

The second part of the movie begins with 00:00:00.
If I load chapters in the chapter editor and delete the chapters of the first part of the movie, chapter 11(first chapter of part two) starts at timecode 01:14:23.

It looks like that MKVmerge can't fit both together because of the different timecodes.

So my idea was bullshit if I thought that just deleting the chapters 1-10 from the chapterlist is enough.

I think that I have to correct the timecodes of each chapter manaully (start at 00:00:00)

Thanks for your time!


BTW: :)
What I miss is a button for "closing" the current project to start a new one. Atm there is only "quit" which shut down MKVmerge GUI. That feature would be nice if you mux more than 1 movie one by one instead of quitting the GUI and starting it again.


Cu filewalker

Mosu
15th February 2004, 13:11
Originally posted by filewalker
I think that I have to correct the timecodes of each chapter manaully (start at 00:00:00)

Yeah... I can add a menu option for adjusting all chapter timecodes by a given offset, if you want ;)

filewalker
15th February 2004, 13:13
:) :) :) :) :)

that would be really nice!

Cu filewalker

mikeX
15th February 2004, 17:26
Apart from that - what I want to program next is probably a Matroska output module for transcode, a Linux/Unix video processing tool.
wow, that's certainly on my wishlist :D

Mosu
15th February 2004, 17:32
Originally posted by mikeX
wow, that's certainly on my wishlist :D

Unfortunately, Tilmann Bitterberg will have to do a lot of work before I can start because at the moment all the export modules use AVI writing functions directly. We've talked about a better output format independant layer, and he wanted to implement it, but it's a huge task, and like everyone Tilman has a limited amount of free time ;)

Rash
16th February 2004, 05:34
I have just one question. I noticed the "Default Track" checkbox doesn't work with subtitles, at least (I haven't tested with audio tracks yet).

So if I use VobSub and choose a language to be default that won't be the default language (the "first language" is always default).

So I don't know if that's a problem with mkvmerge or with MatroskaSplitter.ax or with VSFilter. ;) (Nothing changes when using MPC internal splitter either)

As I don't know why this happens, sorry if this is the wrong thread. :)

Mosu
16th February 2004, 09:31
Originally posted by Rash
I have just one question. I noticed the "Default Track" checkbox doesn't work with subtitles, at least (I haven't tested with audio tracks yet).

Works fine here, so let's make sure that it's your players that don't honour this flag: Run mkvinfo on the file and look for lines like 'Default track:'.

Mosu
16th February 2004, 10:04
Originally posted by filewalker
:) :) :) :) :)

that would be really nice!

Try http://www.bunkus.org/videotools/mkvtoolnix/win32/pre/mkvtoolnix-0.8.4-build20040216-1.rar

Rash
16th February 2004, 16:36
Originally posted by Mosu
Works fine here, so let's make sure that it's your players that don't honour this flag: Run mkvinfo on the file and look for lines like 'Default track:'.
Hehe you mean, Default flag: 1

Yep, it is there. So perhaps I sould complain on MPC's topic? ;)

Mosu
16th February 2004, 17:31
Originally posted by Rash
Hehe you mean, Default flag: 1

Yep, it is there. So perhaps I sould complain on MPC's topic? ;)

Exactly ;) If it is present then it's definitely not mkvmerge's fault, and the persons who actually can fix it are probably not reading this thread.

filewalker
16th February 2004, 17:54
I tested the new build.

First I marked the first chapter from the second part of the movie(timecode is "01:20:30.600"),then I pressed "adjust timecodecs and indicated: "-01:20:30.600" so that this chapter is set to "00:00:00.00".
It works but if I mark the next chapter to adjust the timecode, the timecode of the first chapter is set to "01:20:30.600" again. :rolleyes:

Further, it would be nice if we could mark more than one chapter, so that "-01:20:30.600" is subtracted from the timecodes of all marked chapters. :)

Cu filewalker

Mosu
16th February 2004, 18:46
Originally posted by filewalker
It works but if I mark the next chapter to adjust the timecode, the timecode of the first chapter is set to "01:20:30.600" again. :rolleyes:

Try http://www.bunkus.org/videotools/mkvtoolnix/win32/pre/mkvtoolnix-0.8.4-build20040216-2.rar

Further, it would be nice if we could mark more than one chapter, so that "-01:20:30.600" is subtracted from the timecodes of all marked chapters. :)

Just select the edition or the file itself ( = the root of the tree) that all the chapters belong to. It works recursively.

filewalker
16th February 2004, 19:38
Originally posted by Mosu
Just select the edition or the file itself ( = the root of the tree) that all the chapters belong to. It works recursively.

Editing with the chapter editor works now perfectly.:)
Timecodes were set to all chapters(thanks for your hint).

But I have the problem that the player doesn't show me these chapters.:( (The player shows me still chapter 1-20, though there should be the edited 11-20(with corrected timecodes), where 1-10 were removed.

It looks like that the new loaded & edited chapters don't overwrite the chapters which are inside the MKV or OGM. :rolleyes:

Here is a screenshot,where you see that muxing worked fine; an OGM is the input; the chapters were from the same movie(just saved as MKV, with corrected timecodes .
In the player's chapter navigator, you see that the old chapters from the orginal OGM are still there:

http://www.geocities.com/filewalker666/chapters.gif
(copy & paste in a new fresh browser window)


Cu filewalker

Mosu
16th February 2004, 20:20
Originally posted by filewalker
http://www.geocities.com/filewalker666/chapters.gif

Hmm, your left mmg window shows that the file you're working on is called 'amores-chapters.mkv', but the player shows 'amores-right chapters.mkv'.

filewalker
16th February 2004, 21:12
I know it's a little bit confusing, but..

input is an OGM file(second part of the movie) (look at comandline: AMORES_PERROS_2.OGM)

in mmg i can't edit the chapters of the OGM directly, and I can't load the chapters from this OGM for editing( I can only load the chapters from MKV)...so I created in the first step a MKV from this OGM file : "amores-chapters.mkv"
In the second step I open mmg again, load the OGM movie and then I load chapters from "amores-chapters.mkv" into the chapter editor.

Now I see all chapters (1-20)in the chapter editor. I remove the first 10 chapters because it's the second part of the movie, and correct the time codes.

Now i muxed it, and called it "amores-right chapters.mkv" (see player).


I know it's complicated...maybe I misunderstood you someway...:rolleyes:


Cu filewalker

Mosu
16th February 2004, 21:17
Originally posted by filewalker
Now I see all chapters (1-20)in the chapter editor. I remove the first 10 chapters because it's the second part of the movie, and correct the time codes.

Now i muxed it, and called it "amores-right chapters.mkv" (see player).

You have to save the chapters to a XML file and then use add that XML file on the global tab. The tabs in the editor are NOT muxed into the output file!

OR

After loading the chapters from the Matroska file you can use 'Chapters -> Save' (which will save them to the Matroska file you loaded them from) or 'Chapters -> Save to Matroska file' (in which case you can select a different Matroska file to save to).

Palikrovol
16th February 2004, 21:25
Hello.

I think i have found a little bug.

When loading a mkv with unicode characters (ü,ñ,ç,á, ...) in the 'File title' or in the 'Track Name', the strings aren't shown correctly in 'mmg' when the movie is loaded.

Die üblichen Verdächtigen
is shown like this:
Die üblichen Verdächtigen

and

ü ï í ì ñ ç ª º
like this:
ü ï Ã_ ì ñ ç ª º


I'm using build 20040216-2 in Windows XP pro (Spanish edition)

When i make the first mkv (writing by myself the title), the resulting movie has the correct strings (MPC show the title and track names correctly).

I don't use any Command line charset, it has something to do?

Mosu
16th February 2004, 21:32
Originally posted by Palikrovol
When loading a mkv with unicode characters (ü,ñ,ç,á, ...) in the 'File title' or in the 'Track Name', the strings aren't shown correctly in 'mmg' when the movie is loaded.

Known, won't be fixed anytime soon. The problem is that the GUI toolkit I use (wxWindows) is compiled without Unicode support. The next problem is that mmg itself is not designed to work with Unicode support. If you just add a Matroska file and do NOT change anything e.g. in the 'title' field, then it will just be copied over and not changed, so the Unicode chars are kept intact.

filewalker
16th February 2004, 21:37
Originally posted by Mosu
You have to save the chapters to a XML file and then use add that XML file on the global tab. The tabs in the editor are NOT muxed into the output file!

OR

After loading the chapters from the Matroska file you can use 'Chapters -> Save' (which will save them to the Matroska file you loaded them from) or 'Chapters -> Save to Matroska file' (in which case you can select a different Matroska file to save to).

Cool, thanks, I didn't know that. :)

I tested it...and now it works like a charme!!:) Juhuu! Great work! :) The player shows me the right chapters with right timecodes.


Now i can convert all my OGM to MKV.


Thanks for your time and nice workaround!!!


Cu filewalker

Palikrovol
16th February 2004, 21:55
Originally posted by Mosu
Known, won't be fixed anytime soon. The problem is that the GUI toolkit I use (wxWindows) is compiled without Unicode support. The next problem is that mmg itself is not designed to work with Unicode support. If you just add a Matroska file and do NOT change anything e.g. in the 'title' field, then it will just be copied over and not changed, so the Unicode chars are kept intact.

OK, thanks for the info :)

ivanova
20th February 2004, 05:12
Hi, I'm having a little trouble with mkvmerge and hope someone can help.
I tried to add a tag to a chapter in an mka file with the following xml file:
<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE Tags SYSTEM "matroskatags.dtd">

<Tags>
<Tag>
<Targets>
<TrackUID>649381306</TrackUID>
<ChapterUID>3894844578</ChapterUID>
</Targets>
<Simple>
<Name>TITLE</Name>
<String>Androgyny</String>
</Simple>
</Tag>
</Tags>

It works, but the ChapterUID is not stored, just the track target is used. How do I add a ChapterUID?

thanks

filewalker
22nd February 2004, 12:30
:)

I just want to thanks you for your nice tool!

In the last days I converted about 30 old OGM files(which were initially muxed with older VDMod versions) with your last MKVMerge to MKV...and MKVMerge works like a charme. :) :cool:
I hadn't any error messages and I haven't found any bugs with OGM conversions. Timecode adjusting for the chapters works perfectly, too.

Thanks again! :)


Cu filewalker

Mosu
22nd February 2004, 23:12
Heya,

here's another release of mkvtoolnix, 0.8.5 this time. It's purely a bug fix release. You can find the improvements below in the ChangeLog.

The homepage:
http://www.bunkus.org/videotools/mkvtoolnix/index.html
The sources:
http://www.bunkus.org/videotools/mkvtoolnix/sources/old/mkvtoolnix-0.8.5.tar.bz2
The Windows binaries:
http://www.bunkus.org/videotools/mkvtoolnix/win32/mkvtoolnix-0.8.5.rar

The ChangeLog:
------------------------------------
2004-02-21 Moritz Bunkus <moritz@bunkus.org>
* mkvmerge: bug fix: segfault in the RealMedia reader.
* mmg: bug fix: When adding a Matroska file that contains a track name or a title with non-ASCII characters those would be displayed as UTF-8 in the appropriate input boxes. This has been changed, but obviously it won't work if you add files with Japanese characters on a system with a different locale. For full Unicode support you'll have to wait quite a bit longer.
* mmg: bug fix: For some 'browse file' buttons the default directory was not set to the last directory a file was selected from.

2004-02-16 Moritz Bunkus <moritz@bunkus.org>
* mmg: new feature: Added a function for adjusting the chapter timecodes by a fixed amount.

2004-02-15 Moritz Bunkus <moritz@bunkus.org>
* mkvmerge: bug fix: Splitting by size would sometimes abort directly after opening the second file.

2004-02-14 Moritz Bunkus <moritz@bunkus.org>
* mkvmerge: bug fix: Splitting by time was broken.

2004-02-12 Moritz Bunkus <moritz@bunkus.org>
* all: A couple of changes that allow compilation on MacOS X.
* avilib: synchronized with transcode's current CVS version.
-----------------------

Have fun :)

RathO
23rd February 2004, 06:19
Hi Mosu, i have three suggestions for MKVmergeGUI.

1- INPUT Tab: have a "Remove all" button
2- Tracks options/Language: Put the "more common" language first. I would say (no offense here!): English, French, Japanese etc etc.. then you can just list the others. It makes it easier than having to scroll...
3- When you add a language, the track name should have the same output by default. We can then customize the "Track name" if needed.

Thank you!

Mosu
23rd February 2004, 16:31
Originally posted by RathO
Hi Mosu, i have three suggestions for MKVmergeGUI.

1- INPUT Tab: have a "Remove all" button

Won't happen, there just is no space for it ;) And 'File -> new' should do the trick.

2- Tracks options/Language: Put the "more common" language first. I would say (no offense here!): English, French, Japanese etc etc.. then you can just list the others. It makes it easier than having to scroll...
3- When you add a language, the track name should have the same output by default. We can then customize the "Track name" if needed.

Both sound good, and I'll implement them soon.

filewalker
23rd February 2004, 17:17
Originally posted by RathO
3- When you add a language, the track name should have the same output by default. We can then customize the "Track name" if needed.
I don't like this idea because the player shows the "Language" and "Trackname" one behind the other.

That means if you e.g. select "English" as "Language" (and MKVmerge also uses it for the "Trackname" ), the player would display "English (USA)- English" in the stream selection.

Look at this screenshot for reconsidering.
(You see both, new and old idea)
http://www.geocities.com/filewalker666/Language_Trackname.gif
(copy and paste the link adress in a new fresh browser window)

It doesn' look nice in this way.:rolleyes:
It should be empty if it doesn't give you new further information about the stream.


Cu filewalker

pogo stick
24th February 2004, 00:02
Hello.
I am ripping DVDs and muxing into mkv files with subtitles now.
Using mkvtoolnix. Great tools!
Everything fine except one little little thing.
When I load mkv into MPC or other player with VSfilter subs are always enabled by default.
But I don't need it all the time and I have to disable it in many cases.
And if I configurate player or filter not to show subs from the start I have to reload video to open subs again. It's not very comfortable.
So the question is how to make mkv with subs that would be disable and switchable on opening?
I tried to add empty subtitle as default track in mkvmerge.
It worked, but I guess it is not smart way.
I know it is very insignificant and I can always leave subs separately from mkv.
Just wanted to be sure before writing files on CD.

ChristianHJW
24th February 2004, 07:10
Originally posted by pogo stick So the question is how to make mkv with subs that would be disable and switchable on opening? ... the question must be rephrased to something like
... when will anybody modify the matroska splitter and vsfilter such that the subs are not displayed automatically, if there is no default track flag found ......

Try VLC (http://videolan.org) instead, it might work fine with it ....

KpeX
26th February 2004, 01:11
Mosu:

Any chance of bringing back the old two-pass splitting mode (as an option) for a future version? It's much more accurate on my files. For example on a recent mux (1 video, 2 mp4 soundtracks) using --split 700m I got one file of 705MB and one file of 692MB. 705 MB is a little bit more than i'm comfortable overburning ;). Thanks for your work, cheers,

Mosu
26th February 2004, 08:56
Originally posted by KpeX
Mosu:

Any chance of bringing back the old two-pass splitting mode (as an option) for a future version? It's much more accurate on my files. For example on a recent mux (1 video, 2 mp4 soundtracks) using --split 700m I got one file of 705MB and one file of 692MB. 705 MB is a little bit more than i'm comfortable overburning ;). Thanks for your work, cheers,

Probably not - too much work at the moment. Just re-mux with e.g. 698m or even a bit lower and you should be fine.

tiki4
26th February 2004, 14:22
Hi mosu,

I have a little problem with compiling mkvtoolnix 0.8.5 on SuSE Linux 8.2. Compilation seems to work fine agains current ebml and matroska libs, but mmg crashes immediately after starting with a segmentation fault (it says 'Speicherschutzverletzung').

gcc is 3.3.1 and wxWindows is version 2.4.0. I am not sure where the problem is, but maybe I can find out more.

Cheers,

tiki4

Mosu
26th February 2004, 14:28
Originally posted by tiki4
Hi mosu,

I have a little problem with compiling mkvtoolnix 0.8.5 on SuSE Linux 8.2. Compilation seems to work fine agains current ebml and matroska libs, but mmg crashes immediately after starting with a segmentation fault (it says 'Speicherschutzverletzung').

gcc is 3.3.1 and wxWindows is version 2.4.0. I am not sure where the problem is, but maybe I can find out more.

Cheers,

tiki4

./configure --enable-debug

Then run mmg from inside gdb and produce a backtrace:

gdb mmg
r
bt

tiki4
26th February 2004, 16:41
Thanks,

I will do this at home. I will report later.

Ciao,

tiki4

jkwarras
26th February 2004, 23:06
Hi,

I've found a bug in the mkvmerge gui 0.8.5. that didn't happens before. When you add a subtitle that have a 'rare' character ex. ñ, ç and so on, the GUi report a problem seeking in the stream and don't add it.

Ex. Lilja4ever.Español.srt
Lilja4ever.Français.srt

This won't add. Changing it to...

Lilja4ever.Espanol.srt
Lilja4ever.Francais.srt

...makes thigns work. Subtitles are added and muxing is correct :eek:

Regards.

tiki4
27th February 2004, 09:50
As promised, here's the gdb backtrace:



GNU gdb 5.3
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i586-suse-linux"...
(gdb) r
Starting program: /usr/local/bin/mmg
[New Thread 16384 (LWP 5013)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 5013)]
0x0809c1cc in tab_input::on_subcharset_selected(wxCommandEvent&) (this=0x81a8820, evt=@0xbfffc8b0) at tab_input.cpp:932
932 *(*files[selected_file].tracks)[selected_track].sub_charset =
(gdb) bt
#0 0x0809c1cc in tab_input::on_subcharset_selected(wxCommandEvent&) (this=0x81a8820, evt=@0xbfffc8b0) at tab_input.cpp:932
#1 0x4030722f in wxEvtHandler::SearchEventTable(wxEventTable&, wxEvent&) () from /usr/X11R6/lib/libwx_gtk-2.4.so.0
#2 0x40307083 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/X11R6/lib/libwx_gtk-2.4.so.0
#3 0x40307022 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/X11R6/lib/libwx_gtk-2.4.so.0
#4 0x40259191 in gtk_text_changed_callback(_GtkWidget*, wxComboBox*) () from /usr/X11R6/lib/libwx_gtk-2.4.so.0
#5 0x40859096 in gtk_marshal_NONE__NONE () from /usr/lib/libgtk-1.2.so.0
#6 0x4088f7b3 in gtk_handlers_run () from /usr/lib/libgtk-1.2.so.0
#7 0x4088e9dd in gtk_signal_real_emit () from /usr/lib/libgtk-1.2.so.0
#8 0x4088c385 in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
#9 0x4082578c in gtk_editable_insert_text () from /usr/lib/libgtk-1.2.so.0
#10 0x40827576 in gtk_entry_set_text () from /usr/lib/libgtk-1.2.so.0
#11 0x4080a2ed in gtk_combo_update_entry () from /usr/lib/libgtk-1.2.so.0
#12 0x40859096 in gtk_marshal_NONE__NONE () from /usr/lib/libgtk-1.2.so.0
#13 0x4088f7b3 in gtk_handlers_run () from /usr/lib/libgtk-1.2.so.0
#14 0x4088e9dd in gtk_signal_real_emit () from /usr/lib/libgtk-1.2.so.0
#15 0x4088c385 in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
#16 0x40854a0a in gtk_list_signal_item_select () from /usr/lib/libgtk-1.2.so.0
#17 0x40859096 in gtk_marshal_NONE__NONE () from /usr/lib/libgtk-1.2.so.0
#18 0x4088f7b3 in gtk_handlers_run () from /usr/lib/libgtk-1.2.so.0
#19 0x4088e9dd in gtk_signal_real_emit () from /usr/lib/libgtk-1.2.so.0
#20 0x4088c385 in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
#21 0x40845fda in gtk_item_select () from /usr/lib/libgtk-1.2.so.0
#22 0x40855aed in gtk_list_item_select () from /usr/lib/libgtk-1.2.so.0
#23 0x40852e0a in gtk_real_list_select_child () from /usr/lib/libgtk-1.2.so.0
#24 0x40858f10 in gtk_marshal_NONE__POINTER () from /usr/lib/libgtk-1.2.so.0
#25 0x4088e92c in gtk_signal_real_emit () from /usr/lib/libgtk-1.2.so.0
#26 0x4088c385 in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
#27 0x40851c31 in gtk_list_select_child () from /usr/lib/libgtk-1.2.so.0
#28 0x40850f59 in gtk_list_insert_items () from /usr/lib/libgtk-1.2.so.0
#29 0x40851097 in gtk_list_append_items () from /usr/lib/libgtk-1.2.so.0
#30 0x40850359 in gtk_list_add () from /usr/lib/libgtk-1.2.so.0
#31 0x40858f10 in gtk_marshal_NONE__POINTER () from /usr/lib/libgtk-1.2.so.0
#32 0x4088e92c in gtk_signal_real_emit () from /usr/lib/libgtk-1.2.so.0
#33 0x4088c385 in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
#34 0x4080d495 in gtk_container_add () from /usr/lib/libgtk-1.2.so.0
#35 0x40259d02 in wxComboBox::AppendCommon(wxString const&) () from /usr/X11R6/lib/libwx_gtk-2.4.so.0
#36 0x40259e25 in wxComboBox::Append(wxString const&) () from /usr/X11R6/lib/libwx_gtk-2.4.so.0
#37 0x080940bd in tab_input (this=0x81a8820, parent=0x81a8220) at tab_input.cpp:183
#38 0x0805896c in mmg_dialog (this=0x8197fd0) at mmg.cpp:344
#39 0x08061868 in mmg_app::OnInit() (this=0x8187888) at mmg.cpp:1176
#40 0x4024d105 in wxEntry(int, char**) () from /usr/X11R6/lib/libwx_gtk-2.4.so.0
#41 0x08061c7a in main (argc=1, argv=0xbfffe764) at mmg.cpp:1201
#42 0x406988ae in __libc_start_main () from /lib/libc.so.6




Regards,

tiki4

Mosu
27th February 2004, 14:52
tiki4:

Very strange. Please re-run mmg inside gdb and enter the following commands:

p selected_file
p selected_track
p files.size()
p files[selected_file]
p files[selected_file].tracks->size()
p (*files[selected_file].tracks)[selected_track]
p cob_sub_charset

Some of these might not make sense, e.g. if selected_file is < 0 then files[selected_file] etc. will not work.

Thanks.

filewalker
27th February 2004, 16:19
If the moviename contains äöü (e.g. "LOTR_Die Gefährten", and I try to load it with the GUI, an error message "Return Code 2,Couldn't open source file or seek properly..." and MKVMerge fails to load it.

If I rename it to "LOTR_Die Gefaehrten", it works nicely.

Funny is that I can mux with äöü in the output filename.


edit:
Upps, I saw that it's a known bug some posts before...sorry for posting again.

Cu filewalker

Mosu
27th February 2004, 16:22
Originally posted by filewalker
If the moviename contains äöü (e.g. "LOTR_Die Gefährten", and I try to load it with the GUI, an error message "Return Code 2,Couldn't open source file or seek properly..."

If I rename it to "LOTR_Die Gefaehrten", it works nicely.

Funny is that I can mux with äöü in the output filename.

Cu filewalker

Same problem as the one with the ~ above. I'll fix it.

datascab
28th February 2004, 01:12
@ Mosu

Am I right in thinking MPC streams are supported in the matroska container?

On the corecoded forum it features in the codec list.

I tried loading a *.mpc in and using 0.85 and it refused :(

Thanks

Data

Mosu
28th February 2004, 01:18
Originally posted by datascab
@ Mosu

Am I right in thinking MPC streams are supported in the matroska container?

On the corecoded forum it features in the codec list.

I tried loading a *.mpc in and using 0.85 and it refused :(

Thanks

Data

Nope, Musepack is not supported in Matroska at all (due to problems in the file format itself. Hopefully v8 will be better to package...)

datascab
28th February 2004, 09:17
Thanks for confirming that.

Data

ssjkakaroto
28th February 2004, 18:12
Originally posted by Mosu
Nope, Musepack is not supported in Matroska at all (due to problems in the file format itself. Hopefully v8 will be better to package...) heh ChristianHJW's plan to motivate Frank Klemm with a new pc actually paid off :p , i think now we can really expect sv8 or at least sv7.5 :)

tiki4
2nd March 2004, 09:47
@mosu:

Sorry for the long delay. My problem with the crashing mmg stills persists. I did as you advised and here is the gdb output:



GNU gdb 5.3
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i586-suse-linux"...
(gdb) r
Starting program: /usr/local/bin/mmg
[New Thread 16384 (LWP 6570)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 6570)]
0x0809c1cc in tab_input::on_subcharset_selected(wxCommandEvent&) (
this=0x81a8820, evt=@0xbfffbe30) at tab_input.cpp:932
932 *(*files[selected_file].tracks)[selected_track].sub_charset =
(gdb) bt
#0 0x0809c1cc in tab_input::on_subcharset_selected(wxCommandEvent&) (
this=0x81a8820, evt=@0xbfffbe30) at tab_input.cpp:932
#1 0x4030822f in wxEvtHandler::SearchEventTable(wxEventTable&, wxEvent&) ()
from /usr/X11R6/lib/libwx_gtk-2.4.so.0
#2 0x40308083 in wxEvtHandler::ProcessEvent(wxEvent&) ()
from /usr/X11R6/lib/libwx_gtk-2.4.so.0
#3 0x40308022 in wxEvtHandler::ProcessEvent(wxEvent&) ()
from /usr/X11R6/lib/libwx_gtk-2.4.so.0
#4 0x4025a191 in gtk_text_changed_callback(_GtkWidget*, wxComboBox*) ()
from /usr/X11R6/lib/libwx_gtk-2.4.so.0
#5 0x4085a096 in gtk_marshal_NONE__NONE () from /usr/lib/libgtk-1.2.so.0
#6 0x408907b3 in gtk_handlers_run () from /usr/lib/libgtk-1.2.so.0
#7 0x4088f9dd in gtk_signal_real_emit () from /usr/lib/libgtk-1.2.so.0
#8 0x4088d385 in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
#9 0x4082678c in gtk_editable_insert_text () from /usr/lib/libgtk-1.2.so.0
#10 0x40828576 in gtk_entry_set_text () from /usr/lib/libgtk-1.2.so.0
#11 0x4080b2ed in gtk_combo_update_entry () from /usr/lib/libgtk-1.2.so.0
#12 0x4085a096 in gtk_marshal_NONE__NONE () from /usr/lib/libgtk-1.2.so.0
#13 0x408907b3 in gtk_handlers_run () from /usr/lib/libgtk-1.2.so.0
#14 0x4088f9dd in gtk_signal_real_emit () from /usr/lib/libgtk-1.2.so.0
#15 0x4088d385 in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
#16 0x40855a0a in gtk_list_signal_item_select () from /usr/lib/libgtk-1.2.so.0
#17 0x4085a096 in gtk_marshal_NONE__NONE () from /usr/lib/libgtk-1.2.so.0
---Type <return> to continue, or q <return> to quit---
#18 0x408907b3 in gtk_handlers_run () from /usr/lib/libgtk-1.2.so.0
#19 0x4088f9dd in gtk_signal_real_emit () from /usr/lib/libgtk-1.2.so.0
#20 0x4088d385 in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
#21 0x40846fda in gtk_item_select () from /usr/lib/libgtk-1.2.so.0
#22 0x40856aed in gtk_list_item_select () from /usr/lib/libgtk-1.2.so.0
#23 0x40853e0a in gtk_real_list_select_child () from /usr/lib/libgtk-1.2.so.0
#24 0x40859f10 in gtk_marshal_NONE__POINTER () from /usr/lib/libgtk-1.2.so.0
#25 0x4088f92c in gtk_signal_real_emit () from /usr/lib/libgtk-1.2.so.0
#26 0x4088d385 in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
#27 0x40852c31 in gtk_list_select_child () from /usr/lib/libgtk-1.2.so.0
#28 0x40851f59 in gtk_list_insert_items () from /usr/lib/libgtk-1.2.so.0
#29 0x40852097 in gtk_list_append_items () from /usr/lib/libgtk-1.2.so.0
#30 0x40851359 in gtk_list_add () from /usr/lib/libgtk-1.2.so.0
#31 0x40859f10 in gtk_marshal_NONE__POINTER () from /usr/lib/libgtk-1.2.so.0
#32 0x4088f92c in gtk_signal_real_emit () from /usr/lib/libgtk-1.2.so.0
#33 0x4088d385 in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
#34 0x4080e495 in gtk_container_add () from /usr/lib/libgtk-1.2.so.0
#35 0x4025ad02 in wxComboBox::AppendCommon(wxString const&) ()
from /usr/X11R6/lib/libwx_gtk-2.4.so.0
#36 0x4025ae25 in wxComboBox::Append(wxString const&) ()
from /usr/X11R6/lib/libwx_gtk-2.4.so.0
#37 0x080940bd in tab_input (this=0x81a8820, parent=0x81a8220)
at tab_input.cpp:183
---Type <return> to continue, or q <return> to quit---
#38 0x0805896c in mmg_dialog (this=0x8197fd0) at mmg.cpp:344
#39 0x08061868 in mmg_app::OnInit() (this=0x8187888) at mmg.cpp:1176
#40 0x4024e105 in wxEntry(int, char**) ()
from /usr/X11R6/lib/libwx_gtk-2.4.so.0
#41 0x08061c7a in main (argc=1, argv=0xbfffdce4) at mmg.cpp:1201
#42 0x406998ae in __libc_start_main () from /lib/libc.so.6
(gdb) p selected_file
$1 = 0
(gdb) p selected_track
$2 = 0
(gdb) p files.size()
Attempt to extract a component of a value that is not a struct or union
(gdb) p files[selected_file]
cannot subscript something of type `<data variable, no debug info>'
(gdb) p files[selected_file].tracks->size()
cannot subscript something of type `<data variable, no debug info>'
(gdb) p (*files[selected_file].tracks)[selected_track]
cannot subscript something of type `<data variable, no debug info>'
(gdb) p cob_sub_charset
$3 = (struct wxComboBox *) 0x8232170



Actually I can't make much of the output, but as I recompiled once again with debugging enabled, I watched quite a lot warnings about methods shadowing methods of this, whatever that means. I understand quite a bit C++, but I have no clue what goes wrong there.

Regards,

tiki4

Mosu
2nd March 2004, 09:55
Originally posted by tiki4
@mosu:

Sorry for the long delay. My problem with the crashing mmg stills persists. I did as you advised and here is the gdb output:


...
(gdb) p files.size()
Attempt to extract a component of a value that is not a struct or union


Argh... Could you please recompile libebml and libmatroska with debug information, re-link mmg with those new libs and try all that again? :)

In order to compile libebml/libmatroska with debug information you'll have to do something like...

cd libebml-0.6.4/make/linux
make DEBUG=yes clean all
cd ../../../libmatroska-0.6.3/make/linux
make DEBUG=yes clean all


For re-linking mmg it should be enough to

cd mkvtoolnix-0.8.5
rm src/mmg/mmg
make


Sunday I've installed a SuSE 9.0 on VMWare and produced RPMs for that (available on my home page, but you use 8.2, and I don't know how portable the RPMs are...). When I have some spare time I'll set up X on that installation and try to run mmg there.

tiki4
2nd March 2004, 12:40
You're right, mosu. I should have recompiled the libs before. Thanks for your help. I'll do that stuff tonight. The 9.0 RPMS should work, as I upgraded the compiler of SuSE 8.2 to 3.3.1 which is the one that comes with 9.0. SuSE released an compiler update as 8.2 ships with an 3.3 pre-release. Maybe the problem lies there. I will test the RPMs as well. Funnily I had not any problems before 0.8.5.

O.K., thanks again.

CU,

tiki4



No luck with recompiling yet. The output of gdb does not change when libmatroska and libebml are compiled with debugging information. I will test the binaries next.

Sagittaire
3rd March 2004, 16:37
Matroska is compatible with WMV9 codec and WMA9 codec but not mmg ... :-(