gst-play: print audio/video/subtitle tracks details
Submitted by Hugues Fruchet
Link to original bug (#751903)
Description
Created attachment 306712
tools: gst-play: print audio/video/subtitle tracks details
Allows to print tracks details when playbin reach playing state:
-
audio
$> gst-play-1.0 /gorillaz.wav
0 video stream(s), 1 audio stream(s), 0 text stream(s)
|
|-[audio]
|-[audio stream 0]
|- codec: Uncompressed 16-bit PCM audio -
video
$> gst-play-1.0 /foreman.3gp
1 video stream(s), 0 audio stream(s), 0 text stream(s)
|-[video]
|-[video stream 0]
|- codec: H.264 -
audio/video
$> gst-play-1.0 /big_buck_bunny_1080p_h264.mov
1 video stream(s), 1 audio stream(s), 0 text stream(s)
|-[video]
| |-[video stream 0]
| |- codec: H.264
|
|-[audio]
|-[audio stream 0]
|- codec: MPEG-4 AAC
|- bitrate: 359245 -
audio/video/subtitles, multiple tracks
$> gst-play-1.0 "dvb://ARTE HD"
1 video stream(s), 4 audio stream(s), 3 text stream(s)
|-[video]
| |-[video stream 0]
| |- codec: H.264
|
|-[audio]
| |-[audio stream 0]
| | |- codec: MPEG-1 Layer 2 (MP2)
| | |- language: fr
| | |- bitrate: 256000
| |-[audio stream 1]
| | |- codec: MPEG-1 Layer 2 (MP2)
| | |- language: qaa
| | |- bitrate: 256000
| |-[audio stream 2]
| | |- codec: MPEG-1 Layer 2 (MP2)
| | |- language: de
| | |- bitrate: 128000
| |-[audio stream 3]
| |- codec: MPEG-1 Layer 2 (MP2)
| |- language: qad
| |- bitrate: 128000
|
|-[subtitle]
|-[subtitle stream 0]
| |- language: fr
|-[subtitle stream 1]
| |- language: de
|-[subtitle stream 2]
|- language: fr
Patch 306712, "tools: gst-play: print audio/video/subtitle tracks details":
0001-tools-gst-play-print-audio-video-subtitle-tracks-det.patch