While using ffmpeg.ffprobe, and if you want json output, the output is like this:
Error: unable to open display { . . [response object] . . }
Response object is the json object returned by ffprobe, which is ok. But the first error is not. It ruins the output and also causes command executer to exit with error.
And this is the full command ffmpeg.ffprobe -v quiet -print_format json -show_format -show_streams test.mkv
What should have happened?
Must prints only the output, without any extra info.
Output of snap info $snap_name
name: ffmpeg
summary: A complete solution to record, convert and stream audio and video.
publisher: Snapcrafters
store-url: https://snapcraft.io/ffmpeg
contact: https://github.com/snapcrafters/ffmpeg/issues
license: unset
description: |
FFmpeg is the leading multimedia framework, able to decode, encode, transcode, mux, demux, stream,
filter and play pretty much anything that humans and machines have created. It supports the most
obscure ancient formats up to the cutting edge. No matter if they were designed by some standards
committee, the community or a corporation.
This snap is maintained by the Snapcrafters community, and is not necessarily endorsed or
officially maintained by the upstream developers.
commands:
- ffmpeg
- ffmpeg.ffplay
- ffmpeg.ffprobe
snap-id: Ee7LGphwQR669pcfCCdl0oJQouta69to
tracking: latest/stable
refresh-date: today at 04:53 UTC
channels:
latest/stable: 4.3.1 2020-11-08 (1286) 83MB -
latest/candidate: ↑
latest/beta: ↑
latest/edge: n4.4.1-2-gcc33e73618 2021-12-20 (1334) 160MB -
installed: 4.3.1 (1286) 83MB -
What happened?
While using ffmpeg.ffprobe, and if you want json output, the output is like this:
Error: unable to open display { . . [response object] . . }
Response object is the json object returned by ffprobe, which is ok. But the first error is not. It ruins the output and also causes command executer to exit with error.And this is the full command
ffmpeg.ffprobe -v quiet -print_format json -show_format -show_streams test.mkv
What should have happened?
Must prints only the output, without any extra info.
Output of
snap info $snap_name
Output of
snap connections $snap_name
Output of
snap version
Relevant log output
No response
Teminal output of app