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%
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!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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!