This can be reproduced with any iTunes movie which has audio descriptions. The
movie I tested against had 3 english streams - a stereo audio stream, a 5.1
audio stream and an audio description.
ffmpeg version: ffmpeg-3.2.2-win64-staticMediaInfo version: 0.7.93
I used the following command on the iTunes movie and was UNABLE to find the
media tag on the audio stream (output attached).ffprobe.exe -v error
-show_streams -select_streams a -print_format json "Z:\Music\iTunes\iTunes
Media\Movies\A Bug's Life\A Bug's Life (1080p HD).m4v"
I then ran mediainfo on the same iTunes movie and I'm able to see the tag with
value "tagc : public.accessibility.describes-video" (output attached).
I'd like to know how to fetch this tag information via ffprobe ?
Note: You can read this Apple page https://support.apple.com/en-us/HT204657 to
know about the media characteristics tag "public.accessibility.describes-video”
and how to add it to the audio stream.
ThanksSenthil.
{
"streams": [
{
"index": 0,
"codec_name": "aac",
"codec_long_name": "AAC (Advanced Audio Coding)",
"profile": "LC",
"codec_type": "audio",
"codec_time_base": "1/48000",
"codec_tag_string": "drms",
"codec_tag": "0x736d7264",
"sample_fmt": "fltp",
"sample_rate": "48000",
"channels": 2,
"channel_layout": "stereo",
"bits_per_sample": 0,
"r_frame_rate": "0/0",
"avg_frame_rate": "0/0",
"time_base": "1/48000",
"start_pts": 0,
"start_time": "0.000000",
"duration_ts": 273456000,
"duration": "5697.000000",
"bit_rate": "131949",
"max_bit_rate": "150624",
"nb_frames": "267049",
"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
},
"tags": {
"creation_time": "2016-10-21T07:16:06.000000Z",
"language": "eng",
"handler_name": "Core Media Audio"
}
},
{
"index": 19,
"codec_type": "audio",
"codec_tag_string": "drms",
"codec_tag": "0x736d7264",
"sample_rate": "48000",
"channels": 6,
"channel_layout": "5.1(side)",
"bits_per_sample": 0,
"r_frame_rate": "0/0",
"avg_frame_rate": "0/0",
"time_base": "1/48000",
"start_pts": 0,
"start_time": "0.000000",
"duration_ts": 273454080,
"duration": "5696.960000",
"bit_rate": "384000",
"nb_frames": "178030",
"disposition": {
"default": 0,
"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
},
"tags": {
"creation_time": "2016-10-21T07:16:06.000000Z",
"language": "eng",
"handler_name": "Core Media Audio"
},
"side_data_list": [
{
"side_data_type": "Audio Service Type",
"side_data_size": 4
}
]
},
{
"index": 20,
"codec_name": "aac",
"codec_long_name": "AAC (Advanced Audio Coding)",
"profile": "LC",
"codec_type": "audio",
"codec_time_base": "1/48000",
"codec_tag_string": "drms",
"codec_tag": "0x736d7264",
"sample_fmt": "fltp",
"sample_rate": "48000",
"channels": 2,
"channel_layout": "stereo",
"bits_per_sample": 0,
"r_frame_rate": "0/0",
"avg_frame_rate": "0/0",
"time_base": "1/48000",
"start_pts": 0,
"start_time": "0.000000",
"duration_ts": 273454000,
"duration": "5696.958333",
"bit_rate": "159588",
"max_bit_rate": "263624",
"nb_frames": "267047",
"disposition": {
"default": 0,
"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
},
"tags": {
"creation_time": "2016-10-21T07:16:06.000000Z",
"language": "fra",
"handler_name": "Core Media Audio"
}
},
{
"index": 21,
"codec_name": "aac",
"codec_long_name": "AAC (Advanced Audio Coding)",
"profile": "LC",
"codec_type": "audio",
"codec_time_base": "1/48000",
"codec_tag_string": "drms",
"codec_tag": "0x736d7264",
"sample_fmt": "fltp",
"sample_rate": "48000",
"channels": 2,
"channel_layout": "stereo",
"bits_per_sample": 0,
"r_frame_rate": "0/0",
"avg_frame_rate": "0/0",
"time_base": "1/48000",
"start_pts": 0,
"start_time": "0.000000",
"duration_ts": 273454000,
"duration": "5696.958333",
"bit_rate": "158945",
"max_bit_rate": "249352",
"nb_frames": "267047",
"disposition": {
"default": 0,
"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
},
"tags": {
"creation_time": "2016-10-21T07:16:06.000000Z",
"language": "spa",
"handler_name": "Core Media Audio"
}
},
{
"index": 22,
"codec_name": "aac",
"codec_long_name": "AAC (Advanced Audio Coding)",
"profile": "LC",
"codec_type": "audio",
"codec_time_base": "1/48000",
"codec_tag_string": "drms",
"codec_tag": "0x736d7264",
"sample_fmt": "fltp",
"sample_rate": "48000",
"channels": 2,
"channel_layout": "stereo",
"bits_per_sample": 0,
"r_frame_rate": "0/0",
"avg_frame_rate": "0/0",
"time_base": "1/48000",
"start_pts": 0,
"start_time": "0.000000",
"duration_ts": 273456000,
"duration": "5697.000000",
"bit_rate": "157175",
"max_bit_rate": "247512",
"nb_frames": "267049",
"disposition": {
"default": 0,
"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
},
"tags": {
"creation_time": "2016-10-21T07:16:06.000000Z",
"language": "eng",
"handler_name": "Core Media Audio"
}
}
]
}
Audio #1
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : 40
Duration : 1 h 34 min
Source duration : 1 h 34 min
Bit rate mode : Constant
Bit rate : 132 kb/s
Nominal bit rate : 160 kb/s
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 kHz
Frame rate : 46.875 FPS (1024 spf)
Compression mode : Lossy
Stream size : 89.6 MiB (2%)
Source stream size : 89.6 MiB (2%)
Title : Core Media Audio
Language : English
Default : Yes
Alternate group : 2
Encoded date : UTC 2016-10-21 07:16:06
Tagged date : UTC 2016-10-21 07:16:44
Encryption : iTunes
Fallback From : 20
Subtitles : 3
Menus : 18,19
Audio #2
ID : 20
Format : drms
Codec ID : drms
Duration : 1 h 34 min
Bit rate mode : Constant
Bit rate : 384 kb/s
Sampling rate : 48.0 kHz
Bit depth : 16 bits
Stream size : 261 MiB (7%)
Title : Core Media Audio
Language : English
Default : Inherited From: 2
Alternate group : 2
Encoded date : UTC 2016-10-21 07:16:06
Tagged date : UTC 2016-10-21 07:16:44
Encryption : iTunes
Fallback To : 2
Subtitles : 3
Menus : 18,19
Audio #3
ID : 21
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : 40
Duration : 1 h 34 min
Source duration : 1 h 34 min
Bit rate mode : Variable
Bit rate : 160 kb/s
Maximum bit rate : 264 kb/s
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 kHz
Frame rate : 46.875 FPS (1024 spf)
Compression mode : Lossy
Stream size : 108 MiB (3%)
Source stream size : 108 MiB (3%)
Title : Core Media Audio
Language : French
Default : No
Alternate group : 2
Encoded date : UTC 2016-10-21 07:16:06
Tagged date : UTC 2016-10-21 07:16:44
Encryption : iTunes
Subtitles : 5,6
Menus : 18,19
Audio #4
ID : 22
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : 40
Duration : 1 h 34 min
Source duration : 1 h 34 min
Bit rate mode : Variable
Bit rate : 160 kb/s
Maximum bit rate : 249 kb/s
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 kHz
Frame rate : 46.875 FPS (1024 spf)
Compression mode : Lossy
Stream size : 108 MiB (3%)
Source stream size : 108 MiB (3%)
Title : Core Media Audio
Language : Spanish
Default : No
Alternate group : 2
Encoded date : UTC 2016-10-21 07:16:06
Tagged date : UTC 2016-10-21 07:16:44
Encryption : iTunes
Subtitles : 7,8
Menus : 18,19
Audio #5
ID : 23
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : 40
Duration : 1 h 34 min
Source duration : 1 h 34 min
Bit rate mode : Variable
Bit rate : 160 kb/s
Maximum bit rate : 248 kb/s
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 kHz
Frame rate : 46.875 FPS (1024 spf)
Compression mode : Lossy
Stream size : 107 MiB (3%)
Source stream size : 107 MiB (3%)
Title : Core Media Audio
Language : English
Default : No
Alternate group : 2
Encoded date : UTC 2016-10-21 07:16:06
Tagged date : UTC 2016-10-21 07:16:44
Encryption : iTunes
Menus : 18,19
tagc : public.accessibility.describes-video
_______________________________________________
ffmpeg-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".