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. |
|
|
Thread Tools | Search this Thread | Display Modes |
18th August 2008, 07:28 | #381 | Link | |
Registered User
Join Date: Aug 2002
Location: France, Paris
Posts: 672
|
Quote:
When MediaInfo analyzes your file, it shows what it had found at the beginning (it shows "1 channel"). When MediaInfo analyzes an extraction of your file at the end (cut by myself), it shows the right value for the current stream (it shows "6 channels", there is no info in AAC for saying if a channel is LFE or not) MediaInfo is not designed for showing different formats in the timeline. It could with some programming, but I don't have enough time for this, I will not do it.
__________________
Want to know all about your media files? http://mediaarea.net/MediaInfo |
|
18th August 2008, 07:56 | #382 | Link |
Registered User
Join Date: Dec 2005
Posts: 59
|
Thanks, Zenitram.
I fully understand that the changing stream is not supported in MediaInfo. Please advise how to load the .m2ts into MediaInfo. I still cannot specify the file in the file selecting dialogue. Running Vista. pjo Last edited by pjo; 18th August 2008 at 08:05. |
18th August 2008, 12:15 | #383 | Link | |
Registered User
Join Date: Aug 2002
Location: France, Paris
Posts: 672
|
Quote:
Since some versions (I don't remeber well, this is more a bug rather than a feature), there is no more filters in the file selecting dialog box. Anyway, you can: - Select "All files (*.*)" in the file selection box - Drag and drop the file to MediaInfo - Open with... "MediaInfo". I will add m2ts to the list of the extensions with a context menu, I forgot it.
__________________
Want to know all about your media files? http://mediaarea.net/MediaInfo |
|
18th August 2008, 12:52 | #384 | Link | |
Registered User
Join Date: Dec 2005
Posts: 59
|
Quote:
Will the version with the new context menu be available in the MediaInfo web site ? |
|
18th August 2008, 12:54 | #385 | Link |
Registered User
Join Date: Aug 2002
Location: France, Paris
Posts: 672
|
No. Next official version (next Friday).
__________________
Want to know all about your media files? http://mediaarea.net/MediaInfo |
18th August 2008, 17:21 | #386 | Link | |
Registered User
Join Date: Aug 2002
Location: France, Paris
Posts: 672
|
Quote:
http://downloads.sourceforge.net/med...utInstaller.7z
__________________
Want to know all about your media files? http://mediaarea.net/MediaInfo |
|
19th August 2008, 05:25 | #387 | Link | |
Registered User
Join Date: Dec 2005
Posts: 59
|
Quote:
|
|
17th September 2008, 00:46 | #388 | Link | |
Registered User
Join Date: Apr 2007
Posts: 13
|
Is your python script available? I'm thinking of writing one and could use the sample code. I'm thinking of creating a script that will enter media info into a database.
Quote:
|
|
5th October 2008, 15:28 | #389 | Link |
Registered User
Join Date: Apr 2003
Location: Czech Republic
Posts: 752
|
DanielCardenas> I'm sorry for my very late reply. After some moth I finally got back to develop my application. Within a month I should be able to make a first release. It will be available under GPL license. I'm afraid it wouldn't be much helpful to you in the current state.
Anyway if you plan to use MediaInfo from Python, there is a wrapper and an example program included with the DLL version of MediaInfo. If you have any problems using it, I should be able to help you, just PM me. Last edited by vlada; 5th October 2008 at 15:30. |
25th November 2008, 17:18 | #390 | Link |
RipBot264 author
Join Date: May 2006
Location: Poland
Posts: 7,815
|
__________________
Windows 7 Image Updater - SkyLake\KabyLake\CoffeLake\Ryzen Threadripper |
25th November 2008, 19:38 | #391 | Link |
Registered User
Join Date: Aug 2002
Location: France, Paris
Posts: 672
|
IFO support is currently basic, IFO chapters are unfortunatly not well supported (this is planned, but no ETA)
__________________
Want to know all about your media files? http://mediaarea.net/MediaInfo |
30th November 2008, 23:39 | #392 | Link |
Registered User
Join Date: May 2006
Posts: 2
|
Why does the installer tries to connect to internet?
Why does MediaInfo associate itself with *.dat files without asking and why doesn't it have any option in the program settings to change that? Last edited by hiper56; 30th November 2008 at 23:47. |
30th November 2008, 23:48 | #393 | Link | |
RipBot264 author
Join Date: May 2006
Location: Poland
Posts: 7,815
|
Quote:
__________________
Windows 7 Image Updater - SkyLake\KabyLake\CoffeLake\Ryzen Threadripper |
|
1st December 2008, 08:14 | #394 | Link | |
Registered User
Join Date: Aug 2002
Location: France, Paris
Posts: 672
|
Quote:
Uncheck options "check for newest versions" and "Shell extensions" if you don't want this.
__________________
Want to know all about your media files? http://mediaarea.net/MediaInfo |
|
2nd January 2009, 23:20 | #395 | Link |
Registered User
Join Date: Apr 2003
Location: Czech Republic
Posts: 752
|
Hi Zenitram,
I'm getting close to release first version of my transcodig application. There are some things in MediaInfo which I need to workaround or wait for you to implement them. 1) Some files (usually VOBs and VFR FLVs) don't show duration and/or number of frames. I can't correctly transcode such files, because I can't set correct size if I don't know their length. 2) When opening VOBs I would like to see audio/subtitles language and chapters, as Atak_Snajpera already suggested. I know I can read the language from associated .IFO file. What about reading it automatically in MediaInfo? Do you plan to implement these features in near future or should I find a workaround for them? Honestly I don't know how to get round the first issue. I know you might need to scan the whole file in some cases, but I wouldn't mind. You could make it as an option. |
3rd January 2009, 13:28 | #397 | Link | |||
Registered User
Join Date: Aug 2002
Location: France, Paris
Posts: 672
|
Quote:
I can provide a FTP server if requested. Quote:
For 2) When I have time (unfortunatly for you, associating .VOB and .IFO is not currently my priority) Quote:
But if I must, I must adapt a little MediaInfo, but this is time (my time) consuming. Not sure I will do it soon if it is needed. Depends of a lot of things, I can't promise an ETA for this. No, but in IFO associated with the .VOBs ;-) .VOBs concatanation and IFO link option is unfortunatly not planed in a near release. If I am motivated, I try to impement something quickly next week, because this is requested by some users (your feedback as users is a part of the priority I give to feature requests ;-) )
__________________
Want to know all about your media files? http://mediaarea.net/MediaInfo |
|||
3rd January 2009, 19:10 | #398 | Link |
Registered User
Join Date: Apr 2003
Location: Czech Republic
Posts: 752
|
Thanks a lot for your answers. I sent you an e-mail regarding the sample files.
I have one more question if anyone could help. I tried to port the python bindings to Python but it doesn't work and I can't find out why. This is a shorted version of what I did: Code:
# -*- coding: utf-8 -*- import os from ctypes import * if os.name == "posix": MI = CDLL("libmediainfo.so.0") else: MI = windll.MediaInfo NULL = c_void_p(0) MediaInfo_New = MI.MediaInfo_New MediaInfo_New.argtypes = [] MediaInfo_New.restype = c_void_p MediaInfo_Delete = MI.MediaInfo_Delete MediaInfo_Delete.argtypes = [c_void_p] MediaInfo_Open = MI.MediaInfo_Open MediaInfo_Open.argtype = [c_void_p, c_wchar_p] MediaInfo_Open.restype = c_uint MediaInfo_Get = MI.MediaInfo_Get MediaInfo_Get.argtype = [c_void_p, c_int, c_uint, c_wchar_p, c_int, c_int] MediaInfo_Get.restype = c_wchar_p class Stream: General, Video, Audio, Text, Chapters, Image, Menu, Max = range(8) class Info: Name, Text, Measure, Options, Name_Text, Measure_Text, Info, HowTo, Max = range(9) class InfoOption: ShowInInform, Reserved, ShowInSupported, TypeOfValue, Max = range(5) class FileOptions: Nothing, Recursive, CloseAll, xxNULLxx_3, Max = range(5) class MediaInfo: Handle = c_void_p(0) def __init__(self): self.Handle=MediaInfo_New() def __del__(self): MediaInfo_Delete(self.Handle) def Open(self, File): return MediaInfo_Open(self.Handle, File); def Open_Buffer(self, Begin, Begin_Size, End=NULL, End_Size=0): return MediaInfo_Open_Buffer(self.Handle, Begin, Begin_Size, End, End_Size) def Save(self): return MediaInfo_Save(self.Handle) def Close(self): return MediaInfo_Close(self.Handle) def Inform(self): return MediaInfo_Inform(self.Handle, 0) def Get(self, StreamKind, StreamNumber, Parameter, InfoKind=Info.Text, SearchKind=Info.Name): return MediaInfo_Get(self.Handle, StreamKind, StreamNumber, Parameter, InfoKind, SearchKind) def GetI(self, StreamKind, StreamNumber, Parameter, InfoKind=Info.Text): return MediaInfo_GetI(self.Handle, StreamKind, StreamNumber, Parameter, InfoKind) def Set(self, ToSet, StreamKind, StreamNumber, Parameter, OldParameter=u""): return MediaInfo_Set(self.Handle, ToSet, StreamKind, StreamNumber, Parameter, OldParameter) def SetI(self, ToSet, StreamKind, StreamNumber, Parameter, OldValue): return MediaInfo_SetI(self.Handle, ToSet, StreamKind, StreamNumber, Parameter, OldValue) def Option(self, Option, Value=u""): return MediaInfo_Option(self.Handle, Option, Value) def Option_Static(self, Option, Value=u""): return MediaInfo_Option(NULL, Option, Value) def State_Get(self): return MediaInfo_State_Get(self, Handle) def Count_Get(self, StreamKind, StreamNumber=-1): return MediaInfo_Count_Get(self.Handle, StreamKind, StreamNumber) info = MediaInfo() info.Open(u"video.avi") print info.Get(Stream.General, 0, u"Format", Info.Text, Info.Name) |
16th January 2009, 14:37 | #399 | Link | ||
Registered User
Join Date: Aug 2002
Location: France, Paris
Posts: 672
|
Quote:
You can have the new binding here: http://mediainfo.svn.sourceforge.net...py?view=markup The example is updated too: http://mediainfo.svn.sourceforge.net...py?view=markup (if you know how to import the MediaInfoDLL.py instead of pasting and copying it, I am interested in, when I do "import MediaInfoDLL" in the example, I have some error message I don't understand) Quote:
I wrote to the Python ctypes guy about this, here is a link to the mailinglist with the details about my tests: http://thread.gmane.org/gmane.comp.p...ypes.user/4191
__________________
Want to know all about your media files? http://mediaarea.net/MediaInfo Last edited by Zenitram; 22nd January 2009 at 20:26. Reason: Errors in links |
||
22nd January 2009, 20:29 | #400 | Link | |
Registered User
Join Date: Aug 2002
Location: France, Paris
Posts: 672
|
Quote:
http://mediainfo.svn.sourceforge.net...py?view=markup Note: I use now the "Ansi" version of the binding, and I didn't succeed yet to have this method working with files with non-american caracters (é, ü, chinesich characters), so it works with "classic" files, but not with all the filenames. libmediainfo has strange reactions when it is called by Python, I will try to find the problem later.
__________________
Want to know all about your media files? http://mediaarea.net/MediaInfo |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|