# FFprobe as Json Action

The **FFprobe as JSON Action** node can be used to obtain a complete asset analysis from FFprobe as a JSON response.

To use this node, an FFprobe binary must be available and its file path must be provided.

The JSON response can be retrieved either via the [{stream.last\_result}](/helmut4-releases/helmut4-components/streamdesigner/wildcards/result-or-return-wildcards-2/stream-last_result.md) wildcard or directly through [{node.result.?}](/helmut4-releases/helmut4-components/streamdesigner/wildcards/result-or-return-wildcards-2/node-result.md).

<figure><img src="/files/EU1RwPrjEi6WzaDjw3g1" alt="" width="350"><figcaption><p>FFprobe as Json Action</p></figcaption></figure>

<details>

<summary>Example JSON response</summary>

```json
{
   "streams":[
      {
         "index":0,
         "codec_name":"h264",
         "codec_long_name":"H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10",
         "profile":"High",
         "codec_type":"video",
         "codec_tag_string":"avc1",
         "codec_tag":"0x31637661",
         "width":1280,
         "height":720,
         "coded_width":1280,
         "coded_height":720,
         "has_b_frames":2,
         "sample_aspect_ratio":"1:1",
         "display_aspect_ratio":"16:9",
         "pix_fmt":"yuv420p",
         "level":31,
         "color_range":"tv",
         "color_space":"bt709",
         "color_transfer":"bt709",
         "color_primaries":"bt709",
         "chroma_location":"topleft",
         "field_order":"progressive",
         "refs":1,
         "is_avc":"true",
         "nal_length_size":"4",
         "id":"0x1",
         "r_frame_rate":"25/1",
         "avg_frame_rate":"25/1",
         "time_base":"1/90000",
         "start_pts":3600,
         "start_time":"0.040000",
         "duration_ts":323949600,
         "duration":"3599.440000",
         "bit_rate":"3000335",
         "bits_per_raw_sample":"8",
         "nb_frames":"89986",
         "extradata_size":62,
         "disposition":{
            "default":1,
            "dub":0,
            "original":0,
            "comment":0,
            "lyrics":0,
            "karaoke":0,
            "forced":0,
            "hearing_impaired":0,
            "visual_impaired":0,
            "clean_effects":0,
            "attached_pic":0,
            "timed_thumbnails":0,
            "non_diegetic":0,
            "captions":0,
            "descriptions":0,
            "metadata":0,
            "dependent":0,
            "still_image":0,
            "multilayer":0
         },
         "tags":{
            "language":"und",
            "handler_name":"VideoHandler",
            "vendor_id":"[0][0][0][0]"
         }
      },
      {
         "index":1,
         "codec_name":"aac",
         "codec_long_name":"AAC (Advanced Audio Coding)",
         "profile":"LC",
         "codec_type":"audio",
         "codec_tag_string":"mp4a",
         "codec_tag":"0x6134706d",
         "sample_fmt":"fltp",
         "sample_rate":"48000",
         "channels":2,
         "channel_layout":"stereo",
         "bits_per_sample":0,
         "initial_padding":0,
         "id":"0x2",
         "r_frame_rate":"0/0",
         "avg_frame_rate":"0/0",
         "time_base":"1/48000",
         "start_pts":0,
         "start_time":"0.000000",
         "duration_ts":172775424,
         "duration":"3599.488000",
         "bit_rate":"191999",
         "nb_frames":"168726",
         "extradata_size":2,
         "disposition":{
            "default":1,
            "dub":0,
            "original":0,
            "comment":0,
            "lyrics":0,
            "karaoke":0,
            "forced":0,
            "hearing_impaired":0,
            "visual_impaired":0,
            "clean_effects":0,
            "attached_pic":0,
            "timed_thumbnails":0,
            "non_diegetic":0,
            "captions":0,
            "descriptions":0,
            "metadata":0,
            "dependent":0,
            "still_image":0,
            "multilayer":0
         },
         "tags":{
            "language":"und",
            "handler_name":"SoundHandler",
            "vendor_id":"[0][0][0][0]"
         }
      }
   ],
   "format":{
      "filename":"/Volumes/video/Alex.mp4",
      "nb_streams":2,
      "nb_programs":0,
      "nb_stream_groups":0,
      "format_name":"mov,mp4,m4a,3gp,3g2,mj2",
      "format_long_name":"QuickTime / MOV",
      "start_time":"0.000000",
      "duration":"3599.488000",
      "size":"1438846057",
      "bit_rate":"3197890",
      "probe_score":100,
      "tags":{
         "major_brand":"isom",
         "minor_version":"512",
         "compatible_brands":"isomiso2avc1mp41",
         "encoder":"Lavf62.3.100"
      }
   }
}
```

</details>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.helmut.de/helmut4-releases/helmut4-components/streamdesigner/nodes/actions/misc-21/ffprobe-as-json-action.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
