Update regarding my question from here: https://ffmpeg.org/pipermail/ffmpeg-user/2022-November/055677.html:
Nevermind ffmpeg/ffprobe being 2 times slower than mediainfo, ffprobe is 12 times slower than metaflac now. I updated my post on superuser. To improve the performance I tried to tell ffprobe to do the same as is possible with metaflac and print only the VORBIS_COMMENT or TAG fields (so it doesn't parse the whole file or whatever makes it 12 times slower, but only that specific data block of a FLAC file) by running ffprobe -show_entries format_tags .., but this unfortunately doesn't improve the performance. ------- Original Message ------- On Sunday, November 13th, 2022 at 12:16, sbtgerbtzertertv via ffmpeg-user <[email protected]> wrote: > Hello, > > I asked it already here > https://superuser.com/questions/1752308/ffprobe-runs-over-2-times-slower-than-mediainfo-how-to-make-ffprobe-to-ru, > but no reply so far, maybe the devs are only active here. > > On 1593 FLAC files ffprobe takes 32s to run this script: > > find . -type f -iname "*.flac" -print0 | while read -d $'\0' FILENAME; do > INFOS=$(ffprobe -hide_banner "$FILENAME" 2>&1) > > URL=$("$INFOS"|& grep -i 'http\|www') > if [ "$URL" != "" ]; then > echo -e "$FILENAME\t$URL" > fi > done | column -t -s $'\t' > > , but mediainfo only takes about half as much. How to make ffprobe to run at > least as fast or faster, so I can remove mediainfo again? (this question is > not about making the script run in parallel, but about single threaded > performance, so it runs even faster in parallel) > _______________________________________________ > 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".
