FFPROBE

Aug 2017

FFPROBE allows the inspection of a file for some basic information. ffprobe is useful to analyse a .ts file before extraction to see what streams are present, the PIDs etc.

ffproble filename.ts
Input #0, mpegts, from 'AVP4000_HEVC_SDR.ts':
Duration: 00:01:01.45, start: 63552.709811, bitrate: 24918 kb/s
Program 1
Metadata:
service_name : AVPUHD
service_provider: Ericsson
Stream #0:0[0x3e9]: Video: hevc (Main 10) ([36][0][0][0] / 0x0024), yuv420p1
0le(tv, bt709), 3840x2160 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 50 tbc
Stream #0:1[0x7d1](eng): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 192 kb/s

In the above example we can see the following:
Duration: 00:01:01.45, start: 63552.709811, bitrate: 24918 kb/s The Program 1
The service_name is AVPUHD
The service_provider is Ericsson
The Stream #0:0[0x3e9] 0x3E9 is Dec 1001 is Video: hevc (Main 10) ([36][0][0][0] / 0x0024), yuv420p1
The Stream #0:1[0x7d1](eng) 0x7d1 is Dec 2001 is Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 192 kb/s.