[FFmpeg-user] How can I pipe ffmpeg listing?
Mark Filipak
markfilipak.windows+ffmpeg at gmail.com
Wed Feb 5 06:17:28 EET 2020
This:
>ffmpeg -ss 2:00 -i g:\VIDEO_TS\VTS_02_2.VOB -filter:v idet -frames:v
900 -an -f rawvideo -y NUL
produces the listing at the bottom -- it is that listing that I'm trying
to pipe.
However, adding 'pipe:' & 'pipe:1', thus:
>ffmpeg -ss 2:00 -i g:\VIDEO_TS\VTS_02_2.VOB -filter:v idet -frames:v
900 -an -f rawvideo -y NUL pipe:1 | FINDSTR /L "Parsed_idet"
doesn't work and produces this:
[NULL @ 000002a346af4a80] Unable to find a suitable output format for
'pipe:1'
pipe:1: Invalid argument
Redirection to a file doesn't work, either.
Operating system is Windows 10.
I've searched for a solution for the last few hours. I'd really like to
do some post-processing, but how?
Thanks for any help,
Mark.
ffmpeg version N-94664-g0821bc4eee Copyright (c) 2000-2019 the FFmpeg
developers
built with gcc 9.1.1 (GCC) 20190807
configuration: --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-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va
--enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth
--enable-libopenmpt
libavutil 56. 33.100 / 56. 33.100
libavcodec 58. 55.101 / 58. 55.101
libavformat 58. 31.104 / 58. 31.104
libavdevice 58. 9.100 / 58. 9.100
libavfilter 7. 58.101 / 7. 58.101
libswscale 5. 6.100 / 5. 6.100
libswresample 3. 6.100 / 3. 6.100
libpostproc 55. 6.100 / 55. 6.100
[mpeg2video @ 0000015ef0c6acc0] Invalid frame dimensions 0x0.
Last message repeated 2 times
Input #0, mpeg, from 'g:\VIDEO_TS\VTS_02_2.VOB':
Duration: 00:24:02.08, start: 1159.049500, bitrate: 5956 kb/s
Stream #0:0[0x81]: Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s
Stream #0:1[0x1e0]: Video: mpeg2video (Main), yuv420p(tv, top
first), 720x480 [SAR 32:27 DAR 16:9], Closed Captions, 29.97 fps, 29.97
tbr, 90k tbn, 59.94 tbc
Stream #0:2[0x82]: Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s
Stream #0:3[0x80]: Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s
Stream #0:4[0x83]: Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s
Stream #0:5[0x1bf]: Data: dvd_nav_packet
Stream mapping:
Stream #0:1 -> #0:0 (mpeg2video (native) -> rawvideo (native))
Press [q] to stop, [?] for help
Output #0, rawvideo, to 'NUL':
Metadata:
encoder : Lavf58.31.104
Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 720x480
[SAR 32:27 DAR 16:9], q=2-31, 124291 kb/s, 29.97 fps, 29.97 tbn, 29.97 tbc
Metadata:
encoder : Lavc58.55.101 rawvideo
[mpeg @ 0000015ef0c69580] New subtitle stream 0:6 at pos:106573838 and
DTS:1279.62s
frame= 900 fps=0.0 q=-0.0 Lsize= 455625kB time=00:00:30.03
bitrate=124291.7kbits/s speed=38.9x
video:455625kB audio:0kB subtitle:0kB other streams:0kB global
headers:0kB muxing overhead: 0.000000%
[Parsed_idet_0 @ 0000015ef0c72840] Repeated Fields: Neither: 772 Top:
66 Bottom: 63
[Parsed_idet_0 @ 0000015ef0c72840] Single frame detection: TFF: 687
BFF: 1 Progressive: 159 Undetermined: 54
[Parsed_idet_0 @ 0000015ef0c72840] Multi frame detection: TFF: 901
BFF: 0 Progressive: 0 Undetermined: 0
More information about the ffmpeg-user
mailing list