VideoHelp Forum




+ Reply to Thread
Results 1 to 2 of 2
  1. Searching for knowledge. trodas's Avatar
    Join Date
    Feb 2008
    Location
    Czech Republic
    Search Comp PM
    Guys, I have probably the most simple and stupid also problem EVER:

    I need Mediainfo custom output. However it does NOT include the extension of file name, so the output looks like this:

    File : The Power of Nightmares.cd1
    Format : AVI at 1659 Kbps
    Codec : DivX 5 at 1541 Kbps
    Resolution : 640 x 480 (1.333) at %fps% fps
    Audio : MPEG-1 Audio layer 3 at 96.0 Kbps
    Bitrate : 2 channels, 44.1 KHz


    As you can see, the most important information - the extension of the file!!! - is missing. I use %FileName% as parameter. I cannot seems to find the parameter that give the file WITH THE EXTENSION. VERY flustrating, that I cannot find any form of manual with listed the options for Mediainf.

    And I certanly do NOT want the filename WITH FULL PATH, that is different option %CompleteName% and the damn software stoped showing the FSP AGAIN. Sigh.

    Please help.


    PS. after restart it started to showing fps again, but... that it is.
    Last edited by trodas; 11th May 2015 at 13:22. Reason: added info
    "I believe that all the people who stand to profit by a war and who help provoke it should be shot on the first day it starts..." - Hemingway :) my config
    Quote Quote  
  2. Searching for knowledge. trodas's Avatar
    Join Date
    Feb 2008
    Location
    Czech Republic
    Search Comp PM
    Solved. The missing template option is this: .%FileExtension%

    Result is satisfactory:

    File : The Power of Nightmares.cd1.avi
    Format : AVI at 1 659 Kbps
    Codec : MPEG-4 Visual at 1 541 Kbps
    Resolution : 640 x 480 (1.333) at 25.000 fps
    Audio : MPEG Audio at 96.0 Kbps
    Bitrate : 2 channels, 44.1 KHz


    PS: most helpfull was this note from autor:

    "Note: I am aware there is a big lack of documentation about templates, it was a prototype and I did not have the time to finish it, documentation is on the ToDo-list when I have some free time. in the meanwhile, there are some examples there."
    http://sourceforge.net/p/mediainfo/code/HEAD/tree/MediaInfo/trunk/Source/Resource/Plugin/Custom/
    ...and the linked examples. Hoooray, problem solved!
    "I believe that all the people who stand to profit by a war and who help provoke it should be shot on the first day it starts..." - Hemingway :) my config
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!