Closed baxxtor closed 3 years ago
to the developers, it might be worth it to look into https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/setmode?view=msvc-160 and seeing if you need to set O_BINARY on the stdout, same with stdin for vvencc
You may have a point. Perhaps Windows by default is outputting stdin / stdout as text instead of binary.
On Wed, Apr 14, 2021 at 6:58 PM Christopher Degawa @.***> wrote:
to the developers, it might be worth it to look into https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/setmode?view=msvc-160 and seeing if you need to set O_BINARY on the stdout, same with stdin for vvencc
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/fraunhoferhhi/vvdec/issues/51#issuecomment-819902068, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANKVVZWJMWFDQOVOIKPX4CLTIYMYLANCNFSM426JKQYA .
Developers, this article may also be of interest to you: https://docs.microsoft.com/en-us/cpp/c-runtime-library/text-and-binary-mode-file-i-o?view=msvc-160
On Wed, Apr 14, 2021 at 6:58 PM Christopher Degawa @.***> wrote:
to the developers, it might be worth it to look into https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/setmode?view=msvc-160 and seeing if you need to set O_BINARY on the stdout, same with stdin for vvencc
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/fraunhoferhhi/vvdec/issues/51#issuecomment-819902068, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANKVVZWJMWFDQOVOIKPX4CLTIYMYLANCNFSM426JKQYA .
I can confirm the stdout fix is working on Windows. Thank You.
Seems fixed for Windows. Problems reported under PowerShell, but works with cmd.exe.
Stdout on Windows is not functioning. Although stdout ir outputting data, the data is is in some format that the video is not useable. However, STDOUT data on Centos appears to working as expected.