Pipe syntax not producing expected results on Windows

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Pipe syntax not producing expected results on Windows

Adam Baxter
Hi,
Working with named pipes on Windows seems to be a little bit odd.
See the following:

PS C:\Users\Adam> ffmpeg -v quiet -t 1 -f lavfi -i color=c=black:s=640x480
-c:v vp9 -f rawvideo pipe://somepipe
éIâB '≡ ÷ 8$ ╪ Pa÷:÷Ç\╤ε     fΦq¥3íÄ:x╤ß╟O G,⌠LÇfΦq¥3íÄ:x╤ß╟O G,⌠LÇå @Æ [
&¼     X@ⁿα~X@ⁿα~å @Æ [ß Ç       X@ⁿα~X@ⁿα~å @Æ£ Sü Ç       X@ⁿα~X@ⁿα~å @Æ£
Qa Ç       X@ⁿα~X@ⁿα~å @Æ£ Pí Ç       X@ⁿα~X@ⁿα~å @Æ£ Oß Ç       X@ⁿα~X@ⁿα~å
@Æ£ OA Ç       X@ⁿα~X@ⁿα~å @Æ£ Na Ç       X@ⁿα~X@ⁿα~å @Æ£ Mí Ç       X@ⁿα
~X@ⁿα~å └Æ£ Hü Ç       X@ⁿα~X@ⁿα~å @Æ£ Lß Ç       X@ⁿα~X@ⁿα~å @Æ£ LA Ç
  X@ⁿα~X@ⁿα~å @Æ£ KA Ç       X@ⁿα~X@ⁿα~å @Æ£ J! Ç       X@ⁿα~X@ⁿα~å @Æ£ I Ç
      X@ⁿα~X@ⁿα~å @Æ£ G┴ Ç       X@ⁿα~X@ⁿα~å @Æ£ G! Ç       X@ⁿα~X@ⁿα~å @Æ£
Fü Ç       X@ⁿα~X@ⁿα~å @Æ£ F Ç       X@ⁿα~X@ⁿα~å └Æ£ C! Ç       X@ⁿα~X@ⁿα~å
@Æ£ Eü Ç       X@ⁿα~X@ⁿα~å @Æ£ E Ç       X@ⁿα~X@ⁿα~å @Æ£ Dí Ç       X@ⁿα
~X@ⁿα~å @Æ£ D! Ç       X@ⁿα~X@ⁿα~

(i.e. that's going to stdout)

PS C:\Users\Adam> ffmpeg -v error -t 1 -f lavfi -i color=c=black:s=640x480
-c:v vp9 -f rawvideo \\.\pipe\somepipe

     \\.\pipe\somepipe: No such file or directory

I note that *input* pipes seem to be working from another post on this
list, but I haven't seen n example of a working command to encode output to
a pipe.

PS C:\Users\Adam> ffmpeg -version
ffmpeg version N-95216-ge6625ca41f Copyright (c) 2000-2019 the FFmpeg
developers
built with gcc 9.2.1 (GCC) 20190918
configuration: --disable-static --enable-shared --enable-gpl
--enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls
--enable-iconv --enable-libass --enable-libdav1d --enable-libbluray
--enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb
--enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus
--enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora
--enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp
--enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg
--enable-lzma --enable-zlib --enable-gmp --enable-libvidstab
--enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa
--enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx
--enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc
--enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt
--enable-amf
libavutil      56. 35.100 / 56. 35.100
libavcodec     58. 59.101 / 58. 59.101
libavformat    58. 33.100 / 58. 33.100
libavdevice    58.  9.100 / 58.  9.100
libavfilter     7. 61.100 /  7. 61.100
libswscale      5.  6.100 /  5.  6.100
libswresample   3.  6.100 /  3.  6.100
libpostproc    55.  6.100 / 55.  6.100


Can anyone assist?

Thanks,
Adam
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".