[FFmpeg-user] Integration of ffmpeg
admin at globotrac.com
Tue Aug 17 05:34:33 EEST 2021
I ran it without redirecting the output and it worked. I prefer writing
all the output to a log file, but if it works, that is more important in
On Mon, Aug 16, 2021 at 10:21 PM The Admin <admin at globotrac.com> wrote:
> Hi Jim,
> Thanks for suggesting the -nostdin option. Unfortunately, it didn't
> I am redirecting the output of the subprocess to a file on Windows log
> *Log file highlights*
> Parameters written to a file named *filter.txt *from a batch file
> > "filter.txt"
> Referring to a parameter *-filter_complex_script filter.txt*
> C:\progra~1\GloboTRAC\ffmpeg\bin\ffmpeg.exe -nostdin -loglevel verbose -i
> a0.m3u8 -i a1.m3u8 -i a2.m3u8 -filter_complex_script filter.txt -y
> <Hangs after the previous line>
> I removed the -map "[a]" and the [a] reference in the file because I
> thought perhaps the double quotes were creating an issue.
> On Mon, Aug 16, 2021 at 9:17 PM Jim DeLaHunt <list+ffmpeg-user at jdlh.com>
>> On 2021-08-16 17:38, The Admin wrote:
>> > Hi,
>> > Here the command that works fine at the command prompt.
>> > C:\progra~1\GloboTRAC\ffmpeg\bin\ffmpeg.exe -i a0.m3u8 -i a1.m3u8 -i
>> > a2.m3u8 -filter_complex
>> > -map "[a]" -y all_audio.mp4
>> > When I run the same command from the Process.Start command in C#, it
>> > hangs. I've even tried triggering the execution from .bat file and it
>> > hangs as well.
>> > If it is the subprocess, I am open to any suggestions.
>> > Any help would be appreciated.
>> > Marc.
>> It may be that FFmpeg is trying to interact with stdin, and the
>> subprocess is not responding like a live shell would. Try adding the
>> `-nostdin` option to your command line. See answer
>> <https://stackoverflow.com/a/47114881/1099571> to question, "ffmpeg
>> hangs when run in background".
>> If that answer helps you, consider upvoting it.
>> Best regards,
>> —Jim DeLaHunt
>> ffmpeg-user mailing list
>> ffmpeg-user at ffmpeg.org
>> To unsubscribe, visit link above, or email
>> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
More information about the ffmpeg-user