Changes between Version 48 and Version 49 of Concatenate


Ignore:
Timestamp:
Jul 20, 2023, 7:26:58 PM (3 years ago)
Author:
ziotech
Comment:

Updated powershell command to not require manual editing after creation, removed "echo" due to being surperflous. Powershell's about_Redirection explicitly states that "Out-File" is to be used when using different encodings.

Legend:

Unmodified
Added
Removed
Modified
  • Concatenate

    v48 v49  
    5656
    5757{{{
    58 foreach ($i in Get-ChildItem .\*.wav) {echo "file '$i'" >> mylist.txt}
    59 }}}
    60 
    61 * Note: if you do this, you need to open the text file after its creation and 'Save As...' with UTF-8 encoding in order for the demuxer to work, otherwise you will get an error when FFmpeg tries reading the file because Windows by default saves with UTF-16 encoding.
     58foreach ($i in Get-ChildItem .\*.wav) {"file '$i'" | Out-File mylist.txt -Encoding utf8 -Append}
     59}}}
    6260
    6361Or for Windows bat-file: