[FFmpeg-user] Can ffpmeg output to stdout?
Mike Brown
brown at mrvideo.vidiot.com
Mon Sep 4 04:02:30 EEST 2017
On Sun, Sep 03, 2017 at 05:45:24PM +0200, Cley Faye wrote:
> 2017-09-03 17:16 GMT+02:00 Mike Brown <brown at mrvideo.vidiot.com>:
>
> > ffmpeg version N-52837-g399f6ef Copyright (c) 2000-2013 the FFmpeg
> > developers
> > built on May 7 2013 01:09:00 with gcc 4.7.3 (GCC)
> >
>
> ???That's very, very old. But probably irrelevant to the problem at hand.???
Yes it is, but is the newest version that will run under XP 32bit.
> > Output #0, wav, to 'pipe:':
> > Metadata:
> > ISFT : Lavf55.4.101
> > Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz,
> > 5.1(side), s16, 4608 kb/s
> > Stream mapping:
> > Stream #0:1 -> #0:0 (ac3 -> pcm_s16le)
> > Press [q] to stop, [?] for help
> > size= 243306kB time=00:07:12.54 bitrate=4608.0kbits/s
> > video:0kB audio:243306kB subtitle:0 global headers:0kB muxing overhead
> > 0.000041%
> >
> >
> ???ffmpeg IS outputting to stdout as far as I can tell.???
Ya, that is what it looks like to me as well. Thanks for confirming.
> > FFDCAENC --- experimental 'Coherent Acoustics' compressor.
> >
> > Input: -
> > Output: ABC-HD-DD51-AudioTest.dts
> > Bitrate: 1509 kbps
> >
> > Could not open or parse "-".
> > Error: Data chunk not found!
> >
> ???I believe your issue does not lay in ffmpeg but in ffdcaenc that can not
> open stdin, as it plainly say he can't parse "-". To check this, you could
> test by running the ffmpeg command by itself (which should just fill your
> terminal with clutter and beeps). You can also try piping from a file to
> ffdcaenc to make sure it work.
>
> But as far as ffmpeg is concerned, it is outputting to stdout from that log.
Looks like I'll just write the script to have ffmpeg output to a file and
then have ffdcaenc read in that file. I'll just delete the temp wave file.
That I know works.
Thanks for the confirmation.
MB
--
e-mail: vidiot at vidiot.com | vidiot at vidiot.net /~\ The ASCII
6082066843 at email.uscc.net (140 char limit) \ / Ribbon Campaign
Visit - URL: http://vidiot.com/ X Against
http://vidiot.net/ / \ HTML Email
"You're Sherlock Holmes, wear the damn hat!" - Watson to Sherlock
Sherlock - The Abominable Bride - 1/01/16
More information about the ffmpeg-user
mailing list