Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shaka packager cannot use named pipe on windows for output #1208

Open
duggaraju opened this issue May 26, 2023 · 0 comments
Open

Shaka packager cannot use named pipe on windows for output #1208

duggaraju opened this issue May 26, 2023 · 0 comments
Labels
platform: Windows Issues affecting Windows type: enhancement New feature or request
Milestone

Comments

@duggaraju
Copy link
Contributor

System info

Operating System: Windows 10/11
Shaka Packager Version: v2.6.1-634af65-release

Issue and steps to reproduce the problem

Named pipes for output works only on Linux not windows.

Packager Command:
packager-win-x64.exe with arguments: --io_block_size 65536 "stream=video,in=\.\pipe\pipe_11316904.mp4,out=\.\pipe\pipe_b13363ff.mp4" --mpd_output truepic.mpd

Extra steps to reproduce the problem?
Named pipes on windows exist only under \.\pipe\ path. and you cannot create a \.\ directory on windows.

What is the expected result?
The packager succeeds.

What happens instead?
The packager tries to create all directories in the path of the file and fails.

<Please attach the input files or email to shaka-packager-issues@google.com.>

C:\Users\krishndu\source\repos\AMSMigrate\AMSMigrate\bin\Debug\net6.0\packager-win-x64.exe with arguments: --io_block_size 65536 --vmodule=*=1 stream=video,in=\.\pipe\pipe_11316904.mp4,out=\.\pipe\pipe_b13363ff.mp4 --mpd_output truepic.mpd
[0526/160621:INFO:demuxer.cc(89)] Demuxer::Run() on file '\.\pipe\pipe_11316904.mp4'.
[0526/160621:INFO:demuxer.cc(155)] Initialize Demuxer for file '\.\pipe\pipe_11316904.mp4'.
[0526/160621:ERROR:local_file.cc(150)] Cannot get file size.
[0526/160621:ERROR:file.cc(399)] Failed to GetFileAttributes of \.\pipe\pipe_11316904.mp4
[0526/160622:ERROR:local_file.cc(85)] Failed to create directory \ ErrorCode 123
[0526/160622:VERBOSE1:status.cc(74)] 5 (FILE_FAILURE): Cannot open file to write \.\pipe\pipe_b13363ff.mp4
[0526/160622:ERROR:packager_main.cc(554)] Packaging Error: 5 (FILE_FAILURE): Cannot open file to write \.\pipe\pipe_b13363ff.mp4
(null)
(null)
C:\Users\krishndu\source\repos\AMSMigrate\AMSMigrate\bin\Debug\net6.0\packager-win-x64.exe finished with exit code 2

@cosmin cosmin added type: enhancement New feature or request platform: Windows Issues affecting Windows labels Apr 26, 2024
@github-actions github-actions bot added this to the Backlog milestone Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform: Windows Issues affecting Windows type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants