Probe media files via the ffmpeg WASM core (emulated).
Synopsis
ffprobe [options] -i <input>
Description
SLICC does not ship a real ffprobe binary; @ffmpeg/core provides only the ffmpeg entry point. This command runs the shared WASM core with -i <input> (no output), parses the 'Input #N' banner from the core log, and formats the subset of fields it can source reliably: format (filename, format_name, duration, start_time, bit_rate) and streams (index, codec_type, codec_name, profile, width/height, pix_fmt, sample_rate, channels, channel_layout, frame rate, bit_rate, duration).
Options
-i FILE Input file (VFS path).
-show_format Include the format section.
-show_streams Include the streams section.
-show_entries SPEC format=a,b:stream=c,d (subset of real ffprobe).
-select_streams SPEC v / a / v:N / a:N.
-of, -print_format FMT json | csv[=p=0] | default[=nw=1:nk=1].
-v, -loglevel LEVEL quiet|panic|fatal|error|warning|info|verbose|debug.
-version Report that this is the WASM emulation.
Examples
$ ffprobe -v error -show_entries stream=channels -select_streams a:0 -of default=nw=1:nk=1 clip.mp4
Print the channel count of the first audio stream.
$ ffprobe -v error -show_format -show_streams -of json clip.mp4
Print full format and stream info as JSON.
Notes
Unsupported options are rejected with a non-zero exit rather than silently ignored. Requires the same ffmpeg-core install/pin as ffmpeg (ipk add -g @ffmpeg/core@<pinned>).
See Also
ffmpeg