This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ffmpeg


On Wed, Apr 17, 2013 at 11:06 AM,  wrote:
>
> HOW CAN CYGWIN capture W32 Programs WinSTD out as minty and putty do?
>
> I am use several programs that are native windows compiled, such as
> ffmpeg.  I am writing a sheel script to get video clip information
> provided by ffmpeg, but I can't capture the screen output which
> (probably isn't stdout to cygwin), but does display on the minty and
> putty consoles.  I've tried redirecting both stdout and stderr it to
> file.  It doesn't work.
>
> Is there any, method to capture this output, besides writing a windows
> batch file that captures it and writes it to a file, which would work,
> but is really inefficient.
>
> Any advice and pointers would be appreciated.

Does piping to cat and redirect to file from cat work?

foo | cat > bar

-- 
Earnie
-- https://sites.google.com/site/earnieboyd

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]