Opened 4 years ago

Closed 4 years ago

#8999 closed defect (invalid)

Output (stderr) can't be redirected in powershell

Reported by: KeinNiemand Owned by:
Priority: normal Component: undetermined
Version: git-master Keywords: powershell
Cc: lukas.dengl@gmail.com Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:
Trying to redirect the output of ffmpeg (stderr) to a file in powershell results and an empty file. Doing the same thing in cmd sucefully redirects the output to a file.
This problem does not occur in older versions of FFMPEG (7.1.3)
How to reproduce:

ffmpeg 2> test.txt
ffmpeg version N-99959-g09f1d15ae8 Copyright (c) 2000-2020 the FFmpeg developers
built with gcc 9.3-win32 (GCC) 20200320

test.txt is empty when running this in powershell

Patches should be submitted to the ffmpeg-devel mailing list and not this bug tracker.

Change History (5)

comment:1 by KeinNiemand, 4 years ago

Keywords: powershell added

comment:2 by KeinNiemand, 4 years ago

Cc: lukas.dengl@gmail.com added

comment:3 by Carl Eugen Hoyos, 4 years ago

Resolution: needs_more_info
Status: newclosed

There is no version 7.1.3 and it is unlikely that the console output looks like the one you posted. Sorry

comment:4 by KeinNiemand, 4 years ago

Resolution: needs_more_info
Status: closedreopened

That's becouse there is no console output since I'm triying to Redirect the output but I only get an empty file as as an output. Sorry for using the wrong formating and making it look like there was a console output.
This is the old build a I was using that did NOT have the problem (it's no longer online outside of web archive) with this build I can redirect the output to a file (the output in the file is just the error Message for not specifiying any input): https://web.archive.org/web/20190426212558/https://ffmpeg.zeranoe.com/builds/win64/shared/ffmpeg-4.1.3-win64-shared.zip
This is called version 4.1.3 don't know if has another name or something but clearly there is a version 4.1.3
Both the latest realease build from gyan.dev (4.3.1) and latest dev build from BtBn (ffmpeg-N-99959) do have the issue with them it just creates an empty file with no output whatsoever when trying to redirect output in powershell.
I hope this is enough information do I need to try every version to find out which version this firt happend in or build it myself or something?

Version 0, edited 4 years ago by KeinNiemand (next)

comment:5 by Elon Musk, 4 years ago

Resolution: invalid
Status: reopenedclosed

Not our bug. Please refrain from reopening this ticket.

Note: See TracTickets for help on using tickets.