Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #2798

Pipe FFMPEG to GNUPlot on Windows

Newsgroups comp.graphics.apps.gnuplot
Date 2015-02-26 13:44 -0800
Message-ID <f9e14a93-9245-4474-ba26-5a956580e29b@googlegroups.com> (permalink)
Subject Pipe FFMPEG to GNUPlot on Windows
From squarebluesolutions@gmail.com

Show all headers | View raw


I am trying to get the example given on the FFMPEG website (URL below) working on a Windows machine

https://trac.ffmpeg.org/wiki/Create%20a%20Waveform%20Image%20from%20an%20Audio%20Stream

The issue seems to come around the syntax for pipes on Windows. What research I have done shows that the more recent gnuplot builds support pipes - so my question is for the following Linux formatted command, what would be the correct Windows one...

ffmpeg -i in.wav -ac 1 -filter:a aresample=8000 -map 0:a -c:a pcm_s16le -f data - | \
    gnuplot -p -e "plot '<cat' binary filetype=bin format='%int16' endian=little array=1:0 with lines;"

When I run this - I get...

/bin/sh: cat: command not found

Presumably because the '<cat' is not valid as the pipe source on Windows.

Any help hugely appreciated!

Back to comp.graphics.apps.gnuplot | Previous | NextNext in thread | Find similar


Thread

Pipe FFMPEG to GNUPlot on Windows squarebluesolutions@gmail.com - 2015-02-26 13:44 -0800
  Re: Pipe FFMPEG to GNUPlot on Windows Ethan A Merritt <sfeam@users.sourceforge.net> - 2015-02-26 16:15 -0800
    Re: Pipe FFMPEG to GNUPlot on Windows James Gibson <squarebluesolutions@gmail.com> - 2015-03-07 17:03 -0800

csiph-web