Skip to content

Instantly share code, notes, and snippets.

@kiall
Last active March 16, 2017 16:14
Show Gist options
  • Save kiall/8beb59361f83e7d7d1fb0acb7e0b1351 to your computer and use it in GitHub Desktop.
Save kiall/8beb59361f83e7d7d1fb0acb7e0b1351 to your computer and use it in GitHub Desktop.
Input #0, mpegts, from '/var/www/html/bbc_one_freeview_audio_description_flag.ts':
Duration: 00:00:31.04, start: 39219.897622, bitrate: 5984 kb/s
Program 17540
Metadata:
service_name : BBC ONE HD
service_provider:
Stream #0:0[0x19c9]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 24.92 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:1[0x19ca](eng): Audio: aac_latm (LC) ([17][0][0][0] / 0x0011), 48000 Hz, stereo, fltp
Stream #0:2[0x19ce](eng): Audio: aac_latm ([17][0][0][0] / 0x0011), 0 channels (visual impaired)
Index PID Type Language Details
0x19c9 / 6601 PCR
0x19c8 / 6600 PMT
1 0x19c9 / 6601 H264
2 0x19ca / 6602 AAC eng
3 0x19ce / 6606 AAC eng
After filtering and reordering (without PCR and PMT)
Index PID Type Language Details
1 0x19c9 / 6601 H264
2 0x19ca / 6602 AAC eng
3 0x19ce / 6606 AAC eng
{
"meta": "binary",
"streams": [
{
"index": 1,
"type": "H264",
"width": 1920,
"height": 1080,
"duration": 40000,
"aspect_num": 16,
"aspect_den": 9
},
{
"index": 2,
"type": "AAC",
"language": "eng",
"audio_type": 0,
"channels": 2,
"rate": 3
}
],
"sourceinfo": {
"adapter_uuid": "1f7d8e853092034ccf61d40aae2f0c48",
"mux_uuid": "5ae1dbd6aa539335d507ce69edb026e8",
"network_uuid": "d88804f77abc2c2fc15427b1c01a5472",
"adapter": "IPTV",
"mux": "bbc_one_freeview_audio_description_flag",
"network": "Test2",
"network_type": "IPTV",
"service": "BBC ONE HD"
},
"method": "subscriptionStart",
"subscriptionId": 23
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment