On 2/6/20, Mark Filipak <[email protected]> wrote: > The command line below creates 'foo.txt' but the file is empty (i.e., > zero length). > > Any clues why?
Because your file does not have any _frame_ metadata. > > Thanks, > Mark > > > C:\CMD & tiny apps\ffmpeg>ffmpeg -i G:\VIDEO_TS\VTS_02_2.VOB -vf > metadata=mode=print:file=foo.txt -f rawvideo -y NUL > > 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 @ 000001b88fa7a240] 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 @ 000001b88fa79000] New subtitle stream 0:6 at pos:5988366 and > DTS:1166.24s > More than 1000 frames duplicated= 9974528kB time=00:10:57.42 > bitrate=124290.3kbits/s dup=884 drop=0 speed=62.5x > [mpeg2video @ 000001b88fad6c00] ac-tex damaged at 12 1640.35 > bitrate=124290.4kbits/s dup=5326 drop=0 speed=69.2x > [mpeg2video @ 000001b88fad6c00] Warning MVs not available > [mpeg2video @ 000001b88fad6c00] concealing 630 DC, 630 AC, 630 MV errors > in B frame > G:\VIDEO_TS\VTS_02_2.VOB: corrupt decoded frame in stream 1 > frame=43213 fps=2080 q=-0.0 Lsize=21876581kB time=00:24:01.87 > bitrate=124291.7kbits/s dup=5455 drop=0 speed=69.4x > video:21876581kB audio:0kB subtitle:0kB other streams:0kB global > headers:0kB muxing overhead: 0.000000% > > _______________________________________________ > ffmpeg-user mailing list > [email protected] > https://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > [email protected] with subject "unsubscribe". _______________________________________________ ffmpeg-user mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
