<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 07/01/2021 03:37, James Linder
      wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:5E312EA0-B77C-46AF-B743-D09ABAA02E81@tigger.ws">
      <pre class="moz-quote-pre" wrap="">I tried to catch the output of mythffprobe. Failure.
A quick browse os stack-exchange revealed one of their rare rubish sprouts
(ffprobe does NOT write to stdout or stderr so trying to redirect those streams will fail)</pre>
    </blockquote>
    <p>I'm not sure what version of ffprobe you're using, but here on
      Debian:</p>
    <pre>❯ annotate-output ffprobe VID_20200720_204748.mp4
11:55:03 I: Started ffprobe VID_20200720_204748.mp4
11:55:03 E: ffprobe version 4.3.1-5 Copyright (c) 2007-2020 the FFmpeg developers
11:55:03 E:   built with gcc 10 (Debian 10.2.0-15)
11:55:03 E:   configuration: --prefix=/usr --extra-version=5 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --disable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-pocketsphinx --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
11:55:03 E:   libavutil      56. 51.100 / 56. 51.100
11:55:03 E:   libavcodec     58. 91.100 / 58. 91.100
11:55:03 E:   libavformat    58. 45.100 / 58. 45.100
11:55:03 E:   libavdevice    58. 10.100 / 58. 10.100
11:55:03 E:   libavfilter     7. 85.100 /  7. 85.100
11:55:03 E:   libavresample   4.  0.  0 /  4.  0.  0
11:55:03 E:   libswscale      5.  7.100 /  5.  7.100
11:55:03 E:   libswresample   3.  7.100 /  3.  7.100
11:55:03 E:   libpostproc    55.  7.100 / 55.  7.100
11:55:03 E: Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'VID_20200720_204748.mp4':
11:55:03 E:   Metadata:
11:55:03 E:     major_brand     : mp42
11:55:03 E:     minor_version   : 512

</pre>
    <p>and so on ... The "E:" indicates  that the output is on stderr,
      so you should be able to capture the output by "ffprobe
      YOURFILE.mp4 2>&1" to copy the stderr stream to stdout.<br>
    </p>
    <p><br>
    </p>
    <blockquote type="cite"
      cite="mid:5E312EA0-B77C-46AF-B743-D09ABAA02E81@tigger.ws">
      <pre class="moz-quote-pre" wrap="">

/store/Movies [1025]% (mythffprobe Myth-G/The\ Grand\ Budapest\ Hotel.mp4) | less

looked promising (ie worked as expected)

but

/store/Movies [1025]% (mythffprobe Myth-G/The\ Grand\ Budapest\ Hotel.mp4) | cat > ~/probe

did not.
Hours spent pouring over the manual (for a -o file type option) were fruitless.
Anybody please . . .
James

_______________________________________________
mythtv-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a>
<a class="moz-txt-link-freetext" href="http://lists.mythtv.org/mailman/listinfo/mythtv-users">http://lists.mythtv.org/mailman/listinfo/mythtv-users</a>
<a class="moz-txt-link-freetext" href="http://wiki.mythtv.org/Mailing_List_etiquette">http://wiki.mythtv.org/Mailing_List_etiquette</a>
MythTV Forums: <a class="moz-txt-link-freetext" href="https://forum.mythtv.org">https://forum.mythtv.org</a>
</pre>
    </blockquote>
  </body>
</html>