I use ffmpeg on my Mac without understanding much of it. I'd like to be able to determine where in the video occasional reported errors occur so I can view the affected passage in the output. My questions about the following command and output are, "do the errors reported include the time in the video where the error occurred, and if so, how do I calculate that time in hours, minutes, and seconds so I can view its containing passage in the encoded video?"
The errors I'm referring to in the output are [h264 @ 0x127f33070] concealing 858 DC, 858 AC, 858 MV errors in B frame0.4kbits/s dup=76 drop=0 speed=8.83x [h264 @ 0x127f44130] left block unavailable for requested intra mode [h264 @ 0x127f44130] error while decoding MB 0 30, bytestream 49191 [h264 @ 0x127f44130] concealing 4609 DC, 4609 AC, 4609 MV errors in P frame [vist#0:0/h264 @ 0x127f05730] [dec:h264 @ 0x127f06d30] corrupt decoded frame Thanks. ffmpeg -i '/Users/me/Downloads/philanthropist.ts' -map 0:0 -vf decimate=cycle=5,crop=1920:1024:0:28 -c:v h264_videotoolbox -b:v 3000k -color_primaries:v bt709 -color_trc:v bt709 -colorspace:v bt709 -metadata:s:v "title=" -disposition:v default -map 0:1 -c:a:0 copy -metadata:s:a:0 "title=" -disposition:a:0 default -metadata:g "title=" -r 24 -movflags disable_chpl '/Users/me/Downloads/philanthropist.mp4';sleep 3;echo' ========================== philanthropist.detelecine.mp4 FINISHED! rate values: 3800 ========================== ' Output: ffmpeg version N-117060-gfec6a8df31 Copyright (c) 2000-2024 the FFmpeg developers built with Apple clang version 16.0.0 (clang-1600.0.26.3) configuration: --prefix=/opt/homebrew/Cellar/ffmpeg/HEAD-fec6a8d --enable-shared --cc=clang --host-cflags= --host-ldflags= --enable-gpl --enable-libaom --enable-libdav1d --enable-libharfbuzz --enable-libmp3lame --enable-libopus --enable-libsnappy --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-demuxer=dash --enable-opencl --enable-audiotoolbox --enable-videotoolbox --enable-neon --disable-htmlpages --enable-chromaprint --enable-libbluray --enable-libfdk-aac --enable-libsoxr --enable-libtwolame --enable-libxvid --enable-nonfree libavutil 59. 36.100 / 59. 36.100 libavcodec 61. 14.100 / 61. 14.100 libavformat 61. 5.101 / 61. 5.101 libavdevice 61. 2.101 / 61. 2.101 libavfilter 10. 2.102 / 10. 2.102 libswscale 8. 2.100 / 8. 2.100 libswresample 5. 2.100 / 5. 2.100 libpostproc 58. 2.100 / 58. 2.100 Input #0, mpegts, from '/Users/me/Downloads/philanthropist.ts': Duration: 02:01:47.16, start: 1.400000, bitrate: 15016 kb/s Program 1 Metadata: service_name : Service01 service_provider: FFmpeg Stream #0:0[0x100]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 30 fps, 30 tbr, 90k tbn Stream #0:1[0x101]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), fltp, 640 kb/s Stream mapping: Stream #0:0 -> #0:0 (h264 (native) -> h264 (h264_videotoolbox)) Stream #0:1 -> #0:1 (copy) Press [q] to stop, [?] for help [mp4 @ 0x127f05a10] track 1: codec frame size is not set Output #0, mp4, to '/Users/me/Downloads/philanthropist.mp4': Metadata: encoder : Lavf61.5.101 Stream #0:0: Video: h264 (avc1 / 0x31637661), yuv420p(tv, bt709, progressive), 1920x1024 [SAR 1:1 DAR 15:8], q=2-31, 3000 kb/s, 24 fps, 12288 tbn (default) Metadata: encoder : Lavc61.14.100 h264_videotoolbox Stream #0:1: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), fltp, 640 kb/s (default) [h264 @ 0x127f33070] concealing 858 DC, 858 AC, 858 MV errors in B frame0.4kbits/s dup=76 drop=0 speed=8.83x [h264 @ 0x127f44130] left block unavailable for requested intra mode [h264 @ 0x127f44130] error while decoding MB 0 30, bytestream 49191 [h264 @ 0x127f44130] concealing 4609 DC, 4609 AC, 4609 MV errors in P frame [vist#0:0/h264 @ 0x127f05730] [dec:h264 @ 0x127f06d30] corrupt decoded frame Last message repeated 1 times [out#0/mp4 @ 0x60000266c0c0] video:2678214KiB audio:570865KiB subtitle:0KiB other streams:0KiB global headers:0KiB muxing overhead: 0.130871% frame=175372 fps=213 q=-0.0 Lsize= 3253330KiB time=02:01:47.11 bitrate=3647.3kbits/s dup=76 drop=0 speed=8.86x /tmp/execme.command: line 10: echo ========================== philanthropist.detelecine.mp4 FINISHED! rate values: 3800 ========================== Sincerely, L. Lee _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".