Menu

#256 Set wrong Riff Header after killing the sox process by windows Taskkill on the remote computer

closed-invalid
nobody
None
5
2018-04-28
2014-12-09
mana
No

Hi, I have a question regarding recording with sox in Windows command line, I wonder how I can set the duration of recording sound file in wav format, Is there any flag for that? i.e. I want the record to get done after the duration is over, instead of killing the process by taskkill command. Because there is an issue killing the sox process remotely from windows command line. When I kill the process remotely, it sets the wrong riff header for the wav file, for instance, the actual size is 3Mb but it sets the size in the header to 3TB. I tried out :
Pskill sox
taskkill /IM sox.exe
but none of them works.
That is the reason I resorted to set the duration for sox recording in order to make the recording stop when the time is over instead of killing the process.
It does not make any difference for me, either of them works, I apply that approach.
Please inform me if you have any suggestions for either of them.

Discussion

  • Mans Rullgard

    Mans Rullgard - 2018-04-28
    • status: open --> closed-invalid
     
  • Mans Rullgard

    Mans Rullgard - 2018-04-28

    Use the trim effect.

     

Log in to post a comment.

MongoDB Logo MongoDB