Difference between revisions of "Gst-discoverer"

[quality revision] [quality revision]
m
 
 

Template:ArticleMainWriter Template:ArticleApprovedVersion

1 Overview[edit]

gst-discoverer (gst-discoverer-1.0) is a GStreamer command line utility.

This utility can be used to get information on multimedia content such as images, audio/video files.

2 Usage[edit]

gst-discoverer accepts the following options:

 gst-discoverer-1.0 --help
gst-discoverer-1.0 --help
Usage:
  gst-discoverer-1.0 [OPTION?] - discover files synchronously with GstDiscoverer

Help Options:
  -h, --help                        Show help options
  --help-all                        Show all help options
  --help-gst                        Show GStreamer Options

Application Options:
  -a, --async                       Run asynchronously
  -t, --timeout=T                   Specify timeout (in seconds, default 10)
  -c, --toc                         Output TOC (chapters and editions)
  -v, --verbose                     Verbose properties

By default a short level of information is given including the container format, the audio and the video codecs:

 gst-discoverer-1.0 big_buck_bunny_480p_VP8_VORBIS_25fps_1900K_short.WebM

/usr/local/demo/media/ST2297_visionv3.webm
Analyzing file:///homeusr/root/big_buck_bunny_480p_VP8_VORBIS_25fps_1900K_short.WebMlocal/demo/media/ST2297_visionv3.webm
Done discovering file:///homeusr/root/big_buck_bunny_480p_VP8_VORBIS_25fps_1900K_short.WebM

local/demo/media/ST2297_visionv3.webm
 
Topology:
  container: WebM
    audio: Vorbis
    video: VP8

Properties:
  Duration: 0:0004:0402.000000000413000000
  Seekable: yes
  TagsLive: no
      title: big_buck_bunny_480p_surround-fix.avi_041.AVITags: 
      container format: Matroska
      language code: unden
      application name: SUPER(C)Lavc56.60.100
         encoder: Xiph.Org libVorbis I 20070622
20150105 (????)
      encoder version: 0
      audio codec: Vorbis
      nominal bitrate: 80000112000
      bitrate: 80000112000
      video codec: On2 VP8

The -v option gives more details such as the number of audio channels, the audio sample rate, the video width and height or even the pixel aspect ratio:

 gst-discoverer-1.0 -v big_buck_bunny_480p_VP8_VORBIS_25fps_1900K_short.WebM

/usr/local/demo/media/ST2297_visionv3.webm
Analyzing file:///homeusr/root/big_buck_bunny_480p_VP8_VORBIS_25fps_1900K_short.WebMlocal/demo/media/ST2297_visionv3.webm
Done discovering file:///homeusr/root/big_buck_bunny_480p_VP8_VORBIS_25fps_1900K_short.WebMlocal/demo/media/ST2297_visionv3.webm

Topology:
  container: video/webm
    audio: audio/x-vorbis, channels=(int)2, rate=(int)4410048000, streamheader=(buffer)<>
< 01766f7262697[...]
      Tags:
        title: big_buck_bunny_480p_surround-fix.avi_041.AVI
        container format: Matroska
        language code: unden
        application name: SUPER(C)Lavc56.60.100
           encoder: Xiph.Org libVorbis I 20070622
20150105 (????)
        encoder version: 0
        audio codec: Vorbis
        nominal bitrate: 80000112000
        bitrate: 80000112000
     
       Codec:
        audio/x-vorbis, channels=(int)2, rate=(int)4410048000, streamheader=(buffer)<>< 01766f72 [...]
    Additional info:
        None
      Stream ID: b2ab3c289a804933c863327b88bbe3eac46bb36c16a173328c94e4928c7222ae18eb4f2d90d91d79f9bf3f9b9e41e785ee2cc1396d37b5ad127838437f6a3847/002:002
      Language: unden
      Channels: 2 (front-left, front-right)
      Sample rate: 4410048000
      Depth: 32
      Bitrate: 80000112000
      Max bitrate: 0
    video: video/x-vp8, width=(int)854640, height=(int)480360, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)025/1
      Tags:
        title: big_buck_bunny_480p_surround-fix.avi_041.AVI
        container format: Matroska
        video codec: On2 VP8
        language code: unden
     
       Codec:
        video/x-vp8, width=(int)854640, height=(int)480360, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)025/1
      Additional info:
        None
      Stream ID: b2ab3c289a804933c863327b88bbe3eac46bb36c16a173328c94e4928c7222ae18eb4f2d90d91d79f9bf3f9b9e41e785ee2cc1396d37b5ad127838437f6a3847/001:001
      Width: 854640
      Height: 480360
      Depth: 24
      Frame rate: 025/1
      Pixel aspect ratio: 1/1
      Interlaced: false
      Bitrate: 0
      Max bitrate: 0

Properties:
  Duration: 0:0004:0402.000000000413000000
  Seekable: yes
  Live: no
  Tags: 
      title: big_buck_bunny_480p_surround-fix.avi_041.AVIcontainer format: Matroska
      containervideo formatcodec: MatroskaOn2 VP8
      language code: unden
      application name: SUPER(C)Lavc56.60.100
         encoder: Xiph.Org libVorbis I 20070622
20150105 (????)
      encoder version: 0
      audio codec: Vorbis
      nominal bitrate: 80000112000
      bitrate: 80000
      video codec: On2 VP8
112000



<noinclude>

{{ArticleMainWriter | HuguesF}}
{{ArticleApprovedVersion | HuguesF | Jean-ChristopheT | No previous approved version | BrunoB - 11Jun'18 - 7658 | 11Jun'18 }}

[[Category:GStreamer]]</noinclude>

== Overview ==
{{highlight|'''gst-discoverer'''}} (gst-discoverer-1.0) is a GStreamer command line utility.

This utility can be used to get information on multimedia content such as images, audio/video files.

== Usage ==
gst-discoverer accepts the following options:
 {{Board$}} gst-discoverer-1.0 --help<pre>

gst-discoverer-1.0 --help
Usage:
  gst-discoverer-1.0 [OPTION?] - discover files synchronously with GstDiscoverer

Help Options:
  -h, --help                        Show help options
  --help-all                        Show all help options
  --help-gst                        Show GStreamer Options

Application Options:
  -a, --async                       Run asynchronously
  -t, --timeout=T                   Specify timeout (in seconds, default 10)
  -c, --toc                         Output TOC (chapters and editions)
  -v, --verbose                     Verbose properties</pre>


By default a short level of information is given including the container format, the audio and the video codecs: 

 {{Board$}} gst-discoverer-1.0 big_buck_bunny_480p_VP8_VORBIS_25fps_1900K_short.WebM<pre>

Analyzing file:///home/root/big_buck_bunny_480p_VP8_VORBIS_25fps_1900K_short.WebM
Done discovering file:///home/root/big_buck_bunny_480p_VP8_VORBIS_25fps_1900K_short.WebM

Topology:
  container: WebM
    audio: Vorbis
    video: VP8

Properties:
  Duration: 0:00:04.000000000
  Seekable: yes
  Tags: 
      title: big_buck_bunny_480p_surround-fix.avi_041.AVI
      container format: Matroska
      language code: und
      application name: SUPER(C)   {{av_ref_file}}
 Analyzing file://{{av_ref_file}}
 Done discovering file://{{av_ref_file}}

 Topology:
   container: WebM
     audio: Vorbis
     video: VP8

 Properties:
   Duration: 0:04:02.413000000
   Seekable: yes
   Live: no
   Tags: 
       container format: Matroska
       language code: en
       application name: Lavc56.60.100encoder: Xiph.Org libVorbis I 20070622
      encoder version: 0
      audio codec: Vorbis
      nominal bitrate: 80000
      bitrate: 8000020150105 (????)
       encoder version: 0
       audio codec: Vorbis
       nominal bitrate: 112000
       bitrate: 112000video codec: On2 VP8</pre>


The {{highlight|'''-v'''}} option gives more details such as the number of audio channels, the audio sample rate, the video width and height or even the pixel aspect ratio:
 {{Board$}} gst-discoverer-1.0 -v big_buck_bunny_480p_VP8_VORBIS_25fps_1900K_short.WebM<pre>

Analyzing file:///home/root/big_buck_bunny_480p_VP8_VORBIS_25fps_1900K_short.WebM
Done discovering file:///home/root/big_buck_bunny_480p_VP8_VORBIS_25fps_1900K_short.WebM

Topology:
  container: video/webm{{av_ref_file}}
 Analyzing file://{{av_ref_file}}
 Done discovering file://{{av_ref_file}}

 Topology:
   container: video/webmaudio: audio/x-vorbis, channels=(int)2, rate=(int)4410048000, streamheader=(buffer)<>

      Tags:
        title: big_buck_bunny_480p_surround-fix.avi_041.AVI
        container format: Matroska
        language code: und
        application name: SUPER(C)   < 01766f7262697[...]
       Tags:
         container format: Matroska
         language code: en
         application name: Lavc56.60.100encoder: Xiph.Org libVorbis I 20070622
        encoder version: 0
        audio codec: Vorbis
        nominal bitrate: 80000
        bitrate: 80000

      Codec:20150105 (????)
         encoder version: 0
         audio codec: Vorbis
         nominal bitrate: 112000
         bitrate: 112000

       Codec:audio/x-vorbis, channels=(int)2, rate=(int)4410048000, streamheader=(buffer)<>
      Additional info:
        None
      Stream ID: b2ab3c289a804933c863327b88bbe3eac46bb36c16a173328c94e4928c7222ae/002:002
      Language: und
      Channels: 2
      Sample rate: 44100
      Depth: 32
      Bitrate: 80000
      Max bitrate: 0< 01766f72 [...]
     Additional info:
         None
       Stream ID: 18eb4f2d90d91d79f9bf3f9b9e41e785ee2cc1396d37b5ad127838437f6a3847/002:002
       Language: en
       Channels: 2 (front-left, front-right)
       Sample rate: 48000
       Depth: 32
       Bitrate: 112000
       Max bitrate: 0video: video/x-vp8, width=(int)854640, height=(int)480360, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)025/1 Tags:title: big_buck_bunny_480p_surround-fix.avi_041.AVI
        container format: Matroska container format: Matroskavideo codec: On2 VP8 language code: und

      Codec:en

       Codec:video/x-vp8, width=(int)854640, height=(int)480360, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)025/1 Additional info: None Stream ID: b2ab3c289a804933c863327b88bbe3eac46bb36c16a173328c94e4928c7222ae18eb4f2d90d91d79f9bf3f9b9e41e785ee2cc1396d37b5ad127838437f6a3847/001:001 Width: 854
      Height: 480
      Depth: 24
      Frame rate: 0/1640
       Height: 360
       Depth: 24
       Frame rate: 25/1Pixel aspect ratio: 1/1 Interlaced: false Bitrate: 0 Max bitrate: 0
Properties: Duration: 0:00:04.000000000
  Seekable: yes
  Tags: 
      title: big_buck_bunny_480p_surround-fix.avi_041.AVI
      container format: Matroska
      language code: und
      application name: SUPER(C)   04:02.413000000
   Seekable: yes
   Live: no
   Tags: 
       container format: Matroska
       video codec: On2 VP8
       language code: en
       application name: Lavc56.60.100encoder: Xiph.Org libVorbis I 20070622
      encoder version: 0
      audio codec: Vorbis
      nominal bitrate: 80000
      bitrate: 80000
      video codec: On2 VP8</pre>20150105 (????)
       encoder version: 0
       audio codec: Vorbis
       nominal bitrate: 112000
       bitrate: 112000
<noinclude>

{{PublicationRequestId | 7658 | 2018-06-11 | BrunoB}}
[[Category:GStreamer]]</noinclude>
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<noinclude>
 
{{ArticleMainWriter | HuguesF}}
 
{{ArticleApprovedVersion | HuguesF | Jean-ChristopheT | No previous approved version | BrunoB - 11Jun'18 - 7658 | 11Jun'18 }}
 
 
[[Category:GStreamer]]
 
</noinclude>
 
 
 
== Overview ==
 
== Overview ==
 
{{highlight|'''gst-discoverer'''}} (gst-discoverer-1.0) is a GStreamer command line utility.
 
{{highlight|'''gst-discoverer'''}} (gst-discoverer-1.0) is a GStreamer command line utility.
Line 33: Line 26:
 
By default a short level of information is given including the container format, the audio and the video codecs:  
 
By default a short level of information is given including the container format, the audio and the video codecs:  
   
  {{Board$}} gst-discoverer-1.0 big_buck_bunny_480p_VP8_VORBIS_25fps_1900K_short.WebM
+
  {{Board$}} gst-discoverer-1.0 {{av_ref_file}}
<pre>
+
Analyzing file://{{av_ref_file}}
Analyzing file:///home/root/big_buck_bunny_480p_VP8_VORBIS_25fps_1900K_short.WebM
+
Done discovering file://{{av_ref_file}}
Done discovering file:///home/root/big_buck_bunny_480p_VP8_VORBIS_25fps_1900K_short.WebM
+
 
 
+
Topology:
Topology:
+
  container: WebM
  container: WebM
+
    audio: Vorbis
    audio: Vorbis
+
    video: VP8
    video: VP8
+
 
+
Properties:
Properties:
+
  Duration: 0:04:02.413000000
  Duration: 0:00:04.000000000
+
  Seekable: yes
  Seekable: yes
+
  Live: no
  Tags:  
+
  Tags:  
      title: big_buck_bunny_480p_surround-fix.avi_041.AVI
+
      container format: Matroska
      container format: Matroska
+
      language code: en
      language code: und
+
      application name: Lavc56.60.100
      application name: SUPER(C) 
+
      encoder: Xiph.Org libVorbis I 20150105 (????)
      encoder: Xiph.Org libVorbis I 20070622
+
      encoder version: 0
      encoder version: 0
+
      audio codec: Vorbis
      audio codec: Vorbis
+
      nominal bitrate: 112000
      nominal bitrate: 80000
+
      bitrate: 112000
      bitrate: 80000
+
      video codec: On2 VP8
      video codec: On2 VP8
 
</pre>
 
 
 
   
 
The {{highlight|'''-v'''}} option gives more details such as the number of audio channels, the audio sample rate, the video width and height or even the pixel aspect ratio:
 
The {{highlight|'''-v'''}} option gives more details such as the number of audio channels, the audio sample rate, the video width and height or even the pixel aspect ratio:
  {{Board$}} gst-discoverer-1.0 -v big_buck_bunny_480p_VP8_VORBIS_25fps_1900K_short.WebM
+
  {{Board$}} gst-discoverer-1.0 -v {{av_ref_file}}
<pre>
+
Analyzing file://{{av_ref_file}}
Analyzing file:///home/root/big_buck_bunny_480p_VP8_VORBIS_25fps_1900K_short.WebM
+
Done discovering file://{{av_ref_file}}
Done discovering file:///home/root/big_buck_bunny_480p_VP8_VORBIS_25fps_1900K_short.WebM
+
 
+
Topology:
Topology:
+
  container: video/webm
  container: video/webm
+
    audio: audio/x-vorbis, channels=(int)2, rate=(int)48000, streamheader=(buffer)< 01766f7262697[...]
    audio: audio/x-vorbis, channels=(int)2, rate=(int)44100, streamheader=(buffer)<>
+
      Tags:
      Tags:
+
        container format: Matroska
        title: big_buck_bunny_480p_surround-fix.avi_041.AVI
+
        language code: en
        container format: Matroska
+
        application name: Lavc56.60.100
        language code: und
+
        encoder: Xiph.Org libVorbis I 20150105 (????)
        application name: SUPER(C) 
+
        encoder version: 0
        encoder: Xiph.Org libVorbis I 20070622
+
        audio codec: Vorbis
        encoder version: 0
+
        nominal bitrate: 112000
        audio codec: Vorbis
+
        bitrate: 112000
        nominal bitrate: 80000
 
        bitrate: 80000
 
 
        
 
        
      Codec:
+
      Codec:
        audio/x-vorbis, channels=(int)2, rate=(int)44100, streamheader=(buffer)<>
+
        audio/x-vorbis, channels=(int)2, rate=(int)48000, streamheader=(buffer)< 01766f72 [...]
      Additional info:
+
    Additional info:
        None
+
        None
      Stream ID: b2ab3c289a804933c863327b88bbe3eac46bb36c16a173328c94e4928c7222ae/002:002
+
      Stream ID: 18eb4f2d90d91d79f9bf3f9b9e41e785ee2cc1396d37b5ad127838437f6a3847/002:002
      Language: und
+
      Language: en
      Channels: 2
+
      Channels: 2 (front-left, front-right)
      Sample rate: 44100
+
      Sample rate: 48000
      Depth: 32
+
      Depth: 32
      Bitrate: 80000
+
      Bitrate: 112000
      Max bitrate: 0
+
      Max bitrate: 0
    video: video/x-vp8, width=(int)854, height=(int)480, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)0/1
+
    video: video/x-vp8, width=(int)640, height=(int)360, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)25/1
      Tags:
+
      Tags:
        title: big_buck_bunny_480p_surround-fix.avi_041.AVI
+
        container format: Matroska
        container format: Matroska
+
        video codec: On2 VP8
        video codec: On2 VP8
+
        language code: en
        language code: und
 
 
        
 
        
      Codec:
+
      Codec:
        video/x-vp8, width=(int)854, height=(int)480, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)0/1
+
        video/x-vp8, width=(int)640, height=(int)360, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)25/1
      Additional info:
+
      Additional info:
        None
+
        None
      Stream ID: b2ab3c289a804933c863327b88bbe3eac46bb36c16a173328c94e4928c7222ae/001:001
+
      Stream ID: 18eb4f2d90d91d79f9bf3f9b9e41e785ee2cc1396d37b5ad127838437f6a3847/001:001
      Width: 854
+
      Width: 640
      Height: 480
+
      Height: 360
      Depth: 24
+
      Depth: 24
      Frame rate: 0/1
+
      Frame rate: 25/1
      Pixel aspect ratio: 1/1
+
      Pixel aspect ratio: 1/1
      Interlaced: false
+
      Interlaced: false
      Bitrate: 0
+
      Bitrate: 0
      Max bitrate: 0
+
      Max bitrate: 0
  +
  +
Properties:
  +
  Duration: 0:04:02.413000000
  +
  Seekable: yes
  +
  Live: no
  +
  Tags:
  +
      container format: Matroska
  +
      video codec: On2 VP8
  +
      language code: en
  +
      application name: Lavc56.60.100
  +
      encoder: Xiph.Org libVorbis I 20150105 (????)
  +
      encoder version: 0
  +
      audio codec: Vorbis
  +
      nominal bitrate: 112000
  +
      bitrate: 112000
  +
 
   
Properties:
+
<noinclude>
  Duration: 0:00:04.000000000
+
{{PublicationRequestId | 7658 | 2018-06-11 | BrunoB}}
  Seekable: yes
+
[[Category:GStreamer]]
  Tags:
+
</noinclude>
      title: big_buck_bunny_480p_surround-fix.avi_041.AVI
 
      container format: Matroska
 
      language code: und
 
      application name: SUPER(C) 
 
      encoder: Xiph.Org libVorbis I 20070622
 
      encoder version: 0
 
      audio codec: Vorbis
 
      nominal bitrate: 80000
 
      bitrate: 80000
 
      video codec: On2 VP8
 
</pre>