Menu

#10 --inform not working?

General
closed
General (13)
5
2010-07-03
2010-07-03
Agent Smith
No

Gentoo x64
MediaInfo 0.7.33
I try mediainfo --Inform=file:///test.txt --LogFile=test.txt test.avi
In test.txt:
Video;Video
ID : %ID%
Audio;Audio
ID : %ID%

But in out:
Video
ID : 0

Audio

Where my bad?

Discussion

  • Jerome Martinez

    Jerome Martinez - 2010-07-03
    • status: open --> closed
     
  • Jerome Martinez

    Jerome Martinez - 2010-07-03

    1/
    mediainfo --Inform=file://test.txt --LogFile=out.txt test.avi
    (only 2 "/" and do not write over your template ;-) )

    2/
    Your template is malformed:
    Video;Video\nID : %ID%\n
    Audio;Audio\nID : %ID%\n
    (a carriage return is "\n" in the text file)

    3/
    I imagine you will have this problem after the corrections on your side, known MediaInfo bug with Linux, need a workaround: you must save the file in DOS format (DOS carriage return) due to initial Windows-only release, and I still did not correct it for Linux :(.

    -->
    out is:
    Video
    ID : 0
    Audio
    ID : 1

    Have fun with MediaInfo!

     

Log in to post a comment.