Menu

#466 Crash when running a custom report

Crash
open-accepted
5
2010-03-17
2010-03-11
Walter
No

First off, let me just say that I really like your tool. I've used it for a short time but found it very helpful.

What I'm attempting to do with your tool, I'm not sure is entirely possible. What I'd like to do is via a DOS command line, send a file to MediaInfo, and have it write out a file of meta-data information about the media. I will then parse those files.

The problem that I have occurring is two-fold. First, I cannot get the Custom-Reporting feature to work when I try to create a custom report with a bunch of information in it. Currently, I'm trying to get all of the General Information. However, every time I try to run it, a Stack Overflow error occurs. I'm pasting in the attached information into the custom report editor window. I took all the items that were listed in the help and removed all deprecated items to get the list. If I can get the "General" section to work, I was going to do the same for the Video and Audio sections next. Ultimately, I would like to get all of the meta-data about a piece of media into a text format so then I can create a quick report from it.

Secondly, I don't see any information or examples of how MediaInfo can be run from the command line other than http://mediainfo.sourceforge.net/en/Support/FAQ#Cmd_Options seems to indicate that there is a command line interface. All I would like to do is send it a file and run a custom report specified.
A video of what I'm trying to accomplish can be seen here: http://screencast.com/t/YTcwODFhOGU

Discussion

  • Walter

    Walter - 2010-03-11

    General Information Report

     
  • Jerome Martinez

    Jerome Martinez - 2010-03-17
    • labels: 553242 --> Library - File recognition
     
  • Jerome Martinez

    Jerome Martinez - 2010-03-17

    > What I'd like to do is via a DOS command line, send a file to
    > MediaInfo, and have it write out a file of meta-data information about the
    > media. I will then parse those files.

    So why do you use a template for this? The CLI (Command Line Interface) is made for this.

    > Currently, I'm trying to get all of the
    > General Information. However, every time I try to run it, a Stack Overflow
    > error occur

    OK, recursivity bug on %Inform% (it is used for custom display, it calls itself), remove this line waiting for a patch.
    After removing %Inform% line, no more crash.

    > I would like to get all of the meta-data
    > about a piece of media into a text format so then I can create a quick
    > report from it.

    No need of custom report for this!
    - GUI: Menu debug, "Advanced mode", and activate "Text" view
    - CLI: MediaInfo -f --Language=raw xxx.avi

    > I don't see any information or examples of how MediaInfo can be
    > run from the command line other than

    Go on the download page http://mediainfo.sourceforge.net/Download , select your OS, download the CLI version.

     
  • Jerome Martinez

    Jerome Martinez - 2010-03-17

    Accepted.

    Warning: non-paid bugs are set to low priority, I don't know when I have time to handle it.
    If you desire to accelerate the development, don't hesitate to contact me for a quotation.

     
  • Jerome Martinez

    Jerome Martinez - 2010-03-17
    • status: open --> open-accepted
     

Log in to post a comment.

MongoDB Logo MongoDB