How to read live output from another process ?

2023-06-23 Thread Vinod K Chandran via Digitalmars-d-learn
Hi all, I am trying to create a program which burns time codes to a video. I am using ffmpeg for this. So far, I can successfully start ffmpeg in another thread and stop it when I need. But I can't read the live outputs from ffmpeg. This is my code. ```d void onBtnBurnClick(Control c, EventArg

Re: How to read live output from another process ?

2023-06-28 Thread Vinod K Chandran via Digitalmars-d-learn
On Friday, 23 June 2023 at 23:37:29 UTC, Vinod K Chandran wrote: Hi all, Hi, I found the solution by myself. We can use Pipe struct for this job. Here is the code looks like. This is for future readers. ```d void onBtnBurnClick(Control c, EventArgs e) { // A button click event handler

Re: How to read live output from another process ?

2023-06-29 Thread Ferhat Kurtulmuş via Digitalmars-d-learn
On Friday, 23 June 2023 at 23:37:29 UTC, Vinod K Chandran wrote: Hi all, I am trying to create a program which burns time codes to a video. I am using ffmpeg for this. So far, I can successfully start ffmpeg in another thread and stop it when I need. But I can't read the live outputs from ffmp