[FFmpeg-user] ffprobe output for wmf/wtv files

noone roberts nooneroberts610 at gmail.com
Wed Jul 24 12:20:05 EEST 2019


On Windows 10, I ran the following

ffprobe -i "NCIS_5 USA_2015_07_02_20_00_15.wtv" 2> result1.txt

the result1 was

ffprobe version 4.1.4 Copyright (c) 2007-2019 the FFmpeg developers

  built with gcc 9.1.1 (GCC) 20190716

  configuration: --enable-gpl --enable-version3 --enable-sdl2
--enable-fontconfig --enable-gnutls --enable-iconv --enable-libass
--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

  libavutil      56. 22.100 / 56. 22.100

  libavcodec     58. 35.100 / 58. 35.100

  libavformat    58. 20.100 / 58. 20.100

  libavdevice    58.  5.100 / 58.  5.100

  libavfilter     7. 40.101 /  7. 40.101

  libswscale      5.  3.100 /  5.  3.100

  libswresample   3.  3.100 /  3.  3.100

  libpostproc    55.  3.100 / 55.  3.100

[mpeg2video @ 00000128a6de0240] Invalid frame dimensions 0x0.

    Last message repeated 6 times

[wtv @ 00000128a6d8c300] Could not find codec parameters for stream 3
(Audio: mp2 (P[0][0][0] / 0x0050), 48000 Hz, 2 channels, s16p, 256 kb/s):
unspecified frame size

Consider increasing the value for the 'analyzeduration' and 'probesize'
options

*Input* #0, wtv, from *'NCIS_5 USA_2015_07_02_20_00_15.wtv'*:

  Metadata:

    WM/MediaClassPrimaryID: db9830bd-3ab3-4fab-8a371a995f7ff74

    WM/MediaClassSecondaryID: ba7f258a-62f7-47a9-b21f4651c42a000

    Title           : NCIS

    *WM/SubTitleDescription*: *Witness: US drama about the navy's dedicated
federal agency. A woman claims to have witnessed the murder of a sailor,
but there is scant evidence to go on. (S2 Ep 14) [AD,S]*

    WM/OriginalReleaseTime: 0

    WM/MediaCredits : ;;;

    service_provider: 5 USA

    service_name    : 5 USA

    WM/MediaNetworkAffiliation: 5 USA

    WM/MediaOriginalChannel: 21

    WM/MediaOriginalChannelSubNumber: 0

    WM/MediaOriginalBroadcastDateTime: 0001-01-01T00:00:00Z

    *WM/MediaOriginalRunTime*: *38205772044*

    WM/MediaIsStereo: false

    WM/MediaIsRepeat: false

    WM/MediaIsLive  : false

    WM/MediaIsTape  : false

    WM/MediaIsDelay : false

    WM/MediaIsSubtitled: false

    WM/MediaIsMovie : false

    WM/MediaIsPremiere: false

    WM/MediaIsFinale: false

    WM/MediaIsSAP   : false

    WM/MediaIsSport : false

    WM/Provider     : MediaCenterDefault

    WM/VideoClosedCaptioning: false

    WM/WMRVEncodeTime: 2015-07-02 19:00:19

    WM/WMRVSeriesUID: !GenericSeries!NCIS

    WM/WMRVServiceID: !Generated!b11dfc9137e94012bfdeffb0120275ac

    WM/WMRVProgramID: !Loaders!Glid!Programs!9018:12294:12992!37957

    WM/WMRVRequestID: 0

    WM/WMRVScheduleItemID: 0

    WM/WMRVQuality  : 3

    WM/WMRVOriginalSoftPrePadding: 300

    WM/WMRVOriginalSoftPostPadding: 240

    WM/WMRVHardPrePadding: 4294966996

    WM/WMRVHardPostPadding: 0

    WM/WMRVATSCContent: false

    WM/WMRVDTVContent: true

    WM/WMRVHDContent: false

  Duration: 01:05:57.18, start: 1.416956, bitrate: 1642 kb/s

    Stream #0:0[0x24](eng): Subtitle: dvb_subtitle

    Stream #0:1[0x25]: Video: mpeg2video (Main), yuv420p(tv, top first),
544x576 [SAR 32:17 DAR 16:9], 25 fps, 25 tbr, 10000k tbn, 50 tbc

    Stream #0:2[0x26](eng): Audio: mp2 (P[0][0][0] / 0x0050), 48000 Hz,
stereo, s16p, 256 kb/s

    Stream #0:3[0x27](eng): Audio: mp2 (P[0][0][0] / 0x0050), 48000 Hz, 2
channels, s16p, 256 kb/s (hearing impaired)

    Stream #0:4[0xffffffff]: Video: mjpeg, yuvj420p(pc,
bt470bg/unknown/unknown), 189x200 [SAR 96:96 DAR 189:200], 90k tbr, 90k
tbn, 90k tbc

    Metadata:

      title           : TV Thumbnail



Question 1--  I am interested in gleaning only three fields

*Input*

*WM/SubTitleDescription*

*WM/MediaOriginalRunTime*

Question 2--  I also require that these fields be output as a single (long)
line with the fields separated by  ‘|’ character. It would be helpful if
the RunTime duration be in terms of minutes rather than milliseconds.

Question3--  Can the ffprobe handle multiple files e.g.  ‘NCIS*.wtv’


More information about the ffmpeg-user mailing list