ffprobe -show_packets和-show_frames之间的区别

一、show_packets

我们只查看视频的packets

ffprobe -show_packets "rtmp://jdpull.jd.com/live/14042733" -of xml | grep video	

结果如下: 

<packet codec_type="video" stream_index="1" pts="33" pts_time="0.033000" dts="0" dts_time="0.000000" size="722299" pos="619" flags="K_"/>									
<packet codec_type="video" stream_index="1" pts="83" pts_time="0.083000" dts="17" dts_time="0.017000" duration="16" duration_time="0.016000" size="48945" pos="723381" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="49" pts_time="0.049000" dts="33" dts_time="0.033000" duration="16" duration_time="0.016000" size="12941" pos="772747" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="66" pts_time="0.066000" dts="50" dts_time="0.050000" duration="16" duration_time="0.016000" size="16645" pos="786178" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="133" pts_time="0.133000" dts="67" dts_time="0.067000" duration="16" duration_time="0.016000" size="47993" pos="803225" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="99" pts_time="0.099000" dts="83" dts_time="0.083000" duration="16" duration_time="0.016000" size="2084" pos="851238" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="116" pts_time="0.116000" dts="100" dts_time="0.100000" duration="16" duration_time="0.016000" size="15103" pos="853763" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="183" pts_time="0.183000" dts="117" dts_time="0.117000" duration="16" duration_time="0.016000" size="48331" pos="869320" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="149" pts_time="0.149000" dts="133" dts_time="0.133000" duration="16" duration_time="0.016000" size="16908" pos="918104" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="166" pts_time="0.166000" dts="150" dts_time="0.150000" duration="16" duration_time="0.016000" size="1758" pos="935032" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="233" pts_time="0.233000" dts="167" dts_time="0.167000" duration="16" duration_time="0.016000" size="47916" pos="937341" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="199" pts_time="0.199000" dts="183" dts_time="0.183000" duration="16" duration_time="0.016000" size="17019" pos="985791" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="216" pts_time="0.216000" dts="200" dts_time="0.200000" duration="16" duration_time="0.016000" size="17534" pos="1003256" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="283" pts_time="0.283000" dts="217" dts_time="0.217000" duration="16" duration_time="0.016000" size="54086" pos="1021287" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="249" pts_time="0.249000" dts="233" dts_time="0.233000" duration="16" duration_time="0.016000" size="18042" pos="1075393" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="266" pts_time="0.266000" dts="250" dts_time="0.250000" duration="16" duration_time="0.016000" size="17742" pos="1093870" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="333" pts_time="0.333000" dts="267" dts_time="0.267000" duration="16" duration_time="0.016000" size="55496" pos="1112008" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="299" pts_time="0.299000" dts="283" dts_time="0.283000" duration="16" duration_time="0.016000" size="17452" pos="1167983" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="316" pts_time="0.316000" dts="300" dts_time="0.300000" duration="16" duration_time="0.016000" size="17534" pos="1185455" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="383" pts_time="0.383000" dts="317" dts_time="0.317000" duration="16" duration_time="0.016000" size="56603" pos="1203444" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="349" pts_time="0.349000" dts="333" dts_time="0.333000" duration="16" duration_time="0.016000" size="17728" pos="1260510" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="366" pts_time="0.366000" dts="350" dts_time="0.350000" duration="16" duration_time="0.016000" size="19451" pos="1278690" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="433" pts_time="0.433000" dts="367" dts_time="0.367000" duration="16" duration_time="0.016000" size="54794" pos="1298575" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="399" pts_time="0.399000" dts="383" dts_time="0.383000" duration="16" duration_time="0.016000" size="18056" pos="1353389" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="416" pts_time="0.416000" dts="400" dts_time="0.400000" duration="16" duration_time="0.016000" size="17597" pos="1371889" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="483" pts_time="0.483000" dts="417" dts_time="0.417000" duration="16" duration_time="0.016000" size="52047" pos="1389936" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="449" pts_time="0.449000" dts="433" dts_time="0.433000" duration="16" duration_time="0.016000" size="19985" pos="1442446" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="466" pts_time="0.466000" dts="450" dts_time="0.450000" duration="16" duration_time="0.016000" size="20065" pos="1462912" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="533" pts_time="0.533000" dts="467" dts_time="0.467000" duration="16" duration_time="0.016000" size="53739" pos="1482997" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="499" pts_time="0.499000" dts="483" dts_time="0.483000" duration="16" duration_time="0.016000" size="19989" pos="1537182" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="516" pts_time="0.516000" dts="500" dts_time="0.500000" duration="16" duration_time="0.016000" size="17373" pos="1557640" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="583" pts_time="0.583000" dts="517" dts_time="0.517000" duration="16" duration_time="0.016000" size="47689" pos="1575475" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="549" pts_time="0.549000" dts="533" dts_time="0.533000" duration="16" duration_time="0.016000" size="16443" pos="1623184" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="566" pts_time="0.566000" dts="550" dts_time="0.550000" duration="16" duration_time="0.016000" size="16156" pos="1640049" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="633" pts_time="0.633000" dts="567" dts_time="0.567000" duration="16" duration_time="0.016000" size="46345" pos="1656674" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="599" pts_time="0.599000" dts="583" dts_time="0.583000" duration="16" duration_time="0.016000" size="15960" pos="1703454" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="616" pts_time="0.616000" dts="600" dts_time="0.600000" duration="16" duration_time="0.016000" size="19417" pos="1719866" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="683" pts_time="0.683000" dts="617" dts_time="0.617000" duration="16" duration_time="0.016000" size="60645" pos="1739303" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="649" pts_time="0.649000" dts="633" dts_time="0.633000" duration="16" duration_time="0.016000" size="20308" pos="1800439" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="666" pts_time="0.666000" dts="650" dts_time="0.650000" duration="16" duration_time="0.016000" size="20027" pos="1821236" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="733" pts_time="0.733000" dts="667" dts_time="0.667000" duration="16" duration_time="0.016000" size="56021" pos="1841752" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="699" pts_time="0.699000" dts="683" dts_time="0.683000" duration="16" duration_time="0.016000" size="17691" pos="1897793" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="716" pts_time="0.716000" dts="700" dts_time="0.700000" duration="16" duration_time="0.016000" size="21645" pos="1915986" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="783" pts_time="0.783000" dts="717" dts_time="0.717000" duration="16" duration_time="0.016000" size="54559" pos="1938126" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="749" pts_time="0.749000" dts="733" dts_time="0.733000" duration="16" duration_time="0.016000" size="21049" pos="1993193" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="766" pts_time="0.766000" dts="750" dts_time="0.750000" duration="16" duration_time="0.016000" size="21379" pos="2014727" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="833" pts_time="0.833000" dts="767" dts_time="0.767000" duration="16" duration_time="0.016000" size="54852" pos="2036126" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="799" pts_time="0.799000" dts="783" dts_time="0.783000" duration="16" duration_time="0.016000" size="20238" pos="2091444" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="816" pts_time="0.816000" dts="800" dts_time="0.800000" duration="16" duration_time="0.016000" size="20424" pos="2112172" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="883" pts_time="0.883000" dts="817" dts_time="0.817000" duration="16" duration_time="0.016000" size="53897" pos="2133055" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="849" pts_time="0.849000" dts="833" dts_time="0.833000" duration="16" duration_time="0.016000" size="16435" pos="2186972" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="866" pts_time="0.866000" dts="850" dts_time="0.850000" duration="16" duration_time="0.016000" size="16405" pos="2203862" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="933" pts_time="0.933000" dts="867" dts_time="0.867000" duration="16" duration_time="0.016000" size="58802" pos="2220692" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="899" pts_time="0.899000" dts="883" dts_time="0.883000" duration="16" duration_time="0.016000" size="19082" pos="2279905" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="916" pts_time="0.916000" dts="900" dts_time="0.900000" duration="16" duration_time="0.016000" size="20944" pos="2299445" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="983" pts_time="0.983000" dts="917" dts_time="0.917000" duration="16" duration_time="0.016000" size="83778" pos="2320409" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="949" pts_time="0.949000" dts="933" dts_time="0.933000" duration="16" duration_time="0.016000" size="20372" pos="2404647" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="966" pts_time="0.966000" dts="950" dts_time="0.950000" duration="16" duration_time="0.016000" size="17831" pos="2425486" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="1033" pts_time="1.033000" dts="967" dts_time="0.967000" duration="16" duration_time="0.016000" size="77163" pos="2443928" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="999" pts_time="0.999000" dts="983" dts_time="0.983000" duration="16" duration_time="0.016000" size="17235" pos="2521658" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="1016" pts_time="1.016000" dts="1000" dts_time="1.000000" duration="16" duration_time="0.016000" size="25621" pos="2538913" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="1083" pts_time="1.083000" dts="1017" dts_time="1.017000" duration="16" duration_time="0.016000" size="98555" pos="2565097" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="1049" pts_time="1.049000" dts="1033" dts_time="1.033000" duration="16" duration_time="0.016000" size="20048" pos="2664027" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="1066" pts_time="1.066000" dts="1050" dts_time="1.050000" duration="16" duration_time="0.016000" size="20125" pos="2684510" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="1133" pts_time="1.133000" dts="1067" dts_time="1.067000" duration="16" duration_time="0.016000" size="75987" pos="2704655" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="1099" pts_time="1.099000" dts="1083" dts_time="1.083000" duration="16" duration_time="0.016000" size="20083" pos="2781100" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="1116" pts_time="1.116000" dts="1100" dts_time="1.100000" duration="16" duration_time="0.016000" size="19319" pos="2801640" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="1183" pts_time="1.183000" dts="1117" dts_time="1.117000" duration="16" duration_time="0.016000" size="82074" pos="2821437" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="1149" pts_time="1.149000" dts="1133" dts_time="1.133000" duration="16" duration_time="0.016000" size="18504" pos="2903953" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="1166" pts_time="1.166000" dts="1150" dts_time="1.150000" duration="16" duration_time="0.016000" size="20306" pos="2922477" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="1233" pts_time="1.233000" dts="1167" dts_time="1.167000" duration="16" duration_time="0.016000" size="99585" pos="2943247" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="1199" pts_time="1.199000" dts="1183" dts_time="1.183000" duration="16" duration_time="0.016000" size="17834" pos="3043252" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="1216" pts_time="1.216000" dts="1200" dts_time="1.200000" duration="16" duration_time="0.016000" size="18346" pos="3061547" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="1283" pts_time="1.283000" dts="1217" dts_time="1.217000" duration="16" duration_time="0.016000" size="91554" pos="3079913" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="1249" pts_time="1.249000" dts="1233" dts_time="1.233000" duration="16" duration_time="0.016000" size="17779" pos="3171887" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="1266" pts_time="1.266000" dts="1250" dts_time="1.250000" duration="16" duration_time="0.016000" size="17063" pos="3190167" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="1333" pts_time="1.333000" dts="1267" dts_time="1.267000" duration="16" duration_time="0.016000" size="88902" pos="3207724" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="1299" pts_time="1.299000" dts="1283" dts_time="1.283000" duration="16" duration_time="0.016000" size="16974" pos="3297103" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="1316" pts_time="1.316000" dts="1300" dts_time="1.300000" duration="16" duration_time="0.016000" size="17240" pos="3314097" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="1383" pts_time="1.383000" dts="1317" dts_time="1.317000" duration="16" duration_time="0.016000" size="74934" pos="3331778" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="1349" pts_time="1.349000" dts="1333" dts_time="1.333000" duration="16" duration_time="0.016000" size="16481" pos="3407173" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="1366" pts_time="1.366000" dts="1350" dts_time="1.350000" duration="16" duration_time="0.016000" size="23309" pos="3424094" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="1433" pts_time="1.433000" dts="1367" dts_time="1.367000" duration="16" duration_time="0.016000" size="75648" pos="3447423" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="1399" pts_time="1.399000" dts="1383" dts_time="1.383000" duration="16" duration_time="0.016000" size="17043" pos="3523508" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="1416" pts_time="1.416000" dts="1400" dts_time="1.400000" duration="16" duration_time="0.016000" size="32310" pos="3541012" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="1483" pts_time="1.483000" dts="1417" dts_time="1.417000" duration="16" duration_time="0.016000" size="87914" pos="3573772" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="1449" pts_time="1.449000" dts="1433" dts_time="1.433000" duration="16" duration_time="0.016000" size="17471" pos="3662142" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="1466" pts_time="1.466000" dts="1450" dts_time="1.450000" duration="16" duration_time="0.016000" size="19616" pos="3679633" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="1533" pts_time="1.533000" dts="1467" dts_time="1.467000" duration="16" duration_time="0.016000" size="84140" pos="3699699" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="1499" pts_time="1.499000" dts="1483" dts_time="1.483000" duration="16" duration_time="0.016000" size="16032" pos="3784290" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="1516" pts_time="1.516000" dts="1500" dts_time="1.500000" duration="16" duration_time="0.016000" size="24829" pos="3800804" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="1583" pts_time="1.583000" dts="1517" dts_time="1.517000" duration="16" duration_time="0.016000" size="96973" pos="3826075" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="1549" pts_time="1.549000" dts="1533" dts_time="1.533000" duration="16" duration_time="0.016000" size="16473" pos="3923068" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="1566" pts_time="1.566000" dts="1550" dts_time="1.550000" duration="16" duration_time="0.016000" size="16217" pos="3939996" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="1633" pts_time="1.633000" dts="1567" dts_time="1.567000" duration="16" duration_time="0.016000" size="84884" pos="3956676" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="1599" pts_time="1.599000" dts="1583" dts_time="1.583000" duration="16" duration_time="0.016000" size="19901" pos="4042027" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="1616" pts_time="1.616000" dts="1600" dts_time="1.600000" duration="16" duration_time="0.016000" size="19482" pos="4061948" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="1683" pts_time="1.683000" dts="1617" dts_time="1.617000" duration="16" duration_time="0.016000" size="83587" pos="4081909" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="1649" pts_time="1.649000" dts="1633" dts_time="1.633000" duration="16" duration_time="0.016000" size="19029" pos="4165951" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="1666" pts_time="1.666000" dts="1650" dts_time="1.650000" duration="16" duration_time="0.016000" size="19319" pos="4185445" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="1733" pts_time="1.733000" dts="1667" dts_time="1.667000" duration="16" duration_time="0.016000" size="88254" pos="4205222" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="1699" pts_time="1.699000" dts="1683" dts_time="1.683000" duration="16" duration_time="0.016000" size="18824" pos="4293496" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="1716" pts_time="1.716000" dts="1700" dts_time="1.700000" duration="16" duration_time="0.016000" size="18804" pos="4312774" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="1783" pts_time="1.783000" dts="1717" dts_time="1.717000" duration="16" duration_time="0.016000" size="79237" pos="4332002" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="1749" pts_time="1.749000" dts="1733" dts_time="1.733000" duration="16" duration_time="0.016000" size="18670" pos="4411744" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="1766" pts_time="1.766000" dts="1750" dts_time="1.750000" duration="16" duration_time="0.016000" size="25347" pos="4430434" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="1833" pts_time="1.833000" dts="1767" dts_time="1.767000" duration="16" duration_time="0.016000" size="78052" pos="4456335" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="1799" pts_time="1.799000" dts="1783" dts_time="1.783000" duration="16" duration_time="0.016000" size="18298" pos="4534877" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="1816" pts_time="1.816000" dts="1800" dts_time="1.800000" duration="16" duration_time="0.016000" size="28651" pos="4553616" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="1883" pts_time="1.883000" dts="1817" dts_time="1.817000" duration="16" duration_time="0.016000" size="79636" pos="4582704" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="1849" pts_time="1.849000" dts="1833" dts_time="1.833000" duration="16" duration_time="0.016000" size="19104" pos="4662360" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="1866" pts_time="1.866000" dts="1850" dts_time="1.850000" duration="16" duration_time="0.016000" size="26261" pos="4681908" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="1933" pts_time="1.933000" dts="1867" dts_time="1.867000" duration="16" duration_time="0.016000" size="83263" pos="4708636" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="1899" pts_time="1.899000" dts="1883" dts_time="1.883000" duration="16" duration_time="0.016000" size="19873" pos="4792366" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="1916" pts_time="1.916000" dts="1900" dts_time="1.900000" duration="16" duration_time="0.016000" size="21865" pos="4812259" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="1983" pts_time="1.983000" dts="1917" dts_time="1.917000" duration="16" duration_time="0.016000" size="80892" pos="4834574" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="1949" pts_time="1.949000" dts="1933" dts_time="1.933000" duration="16" duration_time="0.016000" size="20363" pos="4915937" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="1966" pts_time="1.966000" dts="1950" dts_time="1.950000" duration="16" duration_time="0.016000" size="23746" pos="4936766" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="2033" pts_time="2.033000" dts="1967" dts_time="1.967000" duration="16" duration_time="0.016000" size="84981" pos="4960975" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="1999" pts_time="1.999000" dts="1983" dts_time="1.983000" duration="16" duration_time="0.016000" size="15946" pos="5045976" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="2016" pts_time="2.016000" dts="2000" dts_time="2.000000" duration="16" duration_time="0.016000" size="24074" pos="5062375" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="2083" pts_time="2.083000" dts="2017" dts_time="2.017000" duration="16" duration_time="0.016000" size="94551" pos="5086904" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="2049" pts_time="2.049000" dts="2033" dts_time="2.033000" duration="16" duration_time="0.016000" size="15769" pos="5181927" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="2066" pts_time="2.066000" dts="2050" dts_time="2.050000" duration="16" duration_time="0.016000" size="16144" pos="5198188" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="2133" pts_time="2.133000" dts="2067" dts_time="2.067000" duration="16" duration_time="0.016000" size="85028" pos="5214352" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="2099" pts_time="2.099000" dts="2083" dts_time="2.083000" duration="16" duration_time="0.016000" size="18499" pos="5299852" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="2116" pts_time="2.116000" dts="2100" dts_time="2.100000" duration="16" duration_time="0.016000" size="20010" pos="5318888" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="2183" pts_time="2.183000" dts="2117" dts_time="2.117000" duration="16" duration_time="0.016000" size="90916" pos="5339353" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="2149" pts_time="2.149000" dts="2133" dts_time="2.133000" duration="16" duration_time="0.016000" size="17336" pos="5430289" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="2166" pts_time="2.166000" dts="2150" dts_time="2.150000" duration="16" duration_time="0.016000" size="17027" pos="5448094" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="2233" pts_time="2.233000" dts="2167" dts_time="2.167000" duration="16" duration_time="0.016000" size="86718" pos="5465626" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="2199" pts_time="2.199000" dts="2183" dts_time="2.183000" duration="16" duration_time="0.016000" size="17146" pos="5552841" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="2216" pts_time="2.216000" dts="2200" dts_time="2.200000" duration="16" duration_time="0.016000" size="20858" pos="5570456" flags="__"/>									
<packet codec_type="video" stream_index="1" pts="2283" pts_time="2.283000" 

可以看到,视频流的pts和dts并不同步,说明有B帧,dts递增,pts因为有B帧的原因所以非递增。所以,当使用show_packets分析视频流时,其实分析的是帧 frame,这里无论I帧,P帧还是B帧都还没有被解码。

二、show_frames

ffprobe -show_frames "rtmp://jdpull.jd.com/live/14042733" -of xml | grep video

结果如下 

<frame media_type="video" stream_index="1" key_frame="1" pkt_pts="33" pkt_pts_time="0.033000" pkt_dts="16" pkt_dts_time="0.016000" best_effort_timestamp="33" best_effort_timestamp_time="0.033000" pkt_pos="619" pkt_size="737783" width="1080" height="1920" pix_fmt="yuv420p" sample_aspect_ratio="1:1" pict_type="I" coded_picture_number="0" display_picture_number="0" interlaced_frame="0" top_field_first="0" repeat_pict="0" color_range="tv" color_space="bt709" color_primaries="bt709" color_transfer="bt709" chroma_location="left"/>									
<frame media_type="video" stream_index="1" key_frame="0" pkt_pts="49" pkt_pts_time="0.049000" pkt_dts="33" pkt_dts_time="0.033000" best_effort_timestamp="49" best_effort_timestamp_time="0.049000" pkt_duration="16" pkt_duration_time="0.016000" pkt_pos="784700" pkt_size="11161" width="1080" height="1920" pix_fmt="yuv420p" sample_aspect_ratio="1:1" pict_type="B" coded_picture_number="2" display_picture_number="0" interlaced_frame="0" top_field_first="0" repeat_pict="0" color_range="tv" color_space="bt709" color_primaries="bt709" color_transfer="bt709" chroma_location="left"/>									
<frame media_type="video" stream_index="1" key_frame="0" pkt_pts="66" pkt_pts_time="0.066000" pkt_dts="50" pkt_dts_time="0.050000" best_effort_timestamp="66" best_effort_timestamp_time="0.066000" pkt_duration="16" pkt_duration_time="0.016000" pkt_pos="795881" pkt_size="11281" width="1080" height="1920" pix_fmt="yuv420p" sample_aspect_ratio="1:1" pict_type="B" coded_picture_number="3" display_picture_number="0" interlaced_frame="0" top_field_first="0" repeat_pict="0" color_range="tv" color_space="bt709" color_primaries="bt709" color_transfer="bt709" chroma_location="left"/>									
<frame media_type="video" stream_index="1" key_frame="0" pkt_pts="82" pkt_pts_time="0.082000" pkt_dts="66" pkt_dts_time="0.066000" best_effort_timestamp="82" best_effort_timestamp_time="0.082000" pkt_duration="16" pkt_duration_time="0.016000" pkt_pos="738866" pkt_size="45341" width="1080" height="1920" pix_fmt="yuv420p" sample_aspect_ratio="1:1" pict_type="P" coded_picture_number="1" display_picture_number="0" interlaced_frame="0" top_field_first="0" repeat_pict="0" color_range="tv" color_space="bt709" color_primaries="bt709" color_transfer="bt709" chroma_location="left"/>									
<frame media_type="video" stream_index="1" key_frame="0" pkt_pts="99" pkt_pts_time="0.099000" pkt_dts="83" pkt_dts_time="0.083000" best_effort_timestamp="99" best_effort_timestamp_time="0.099000" pkt_duration="16" pkt_duration_time="0.016000" pkt_pos="858880" pkt_size="11435" width="1080" height="1920" pix_fmt="yuv420p" sample_aspect_ratio="1:1" pict_type="B" coded_picture_number="5" display_picture_number="0" interlaced_frame="0" top_field_first="0" repeat_pict="0" color_range="tv" color_space="bt709" color_primaries="bt709" color_transfer="bt709" chroma_location="left"/>									
<frame media_type="video" stream_index="1" key_frame="0" pkt_pts="116" pkt_pts_time="0.116000" pkt_dts="100" pkt_dts_time="0.100000" best_effort_timestamp="116" best_effort_timestamp_time="0.116000" pkt_duration="16" pkt_duration_time="0.016000" pkt_pos="870767" pkt_size="11512" width="1080" height="1920" pix_fmt="yuv420p" sample_aspect_ratio="1:1" pict_type="B" coded_picture_number="6" display_picture_number="0" interlaced_frame="0" top_field_first="0" repeat_pict="0" color_range="tv" color_space="bt709" color_primaries="bt709" color_transfer="bt709" chroma_location="left"/>									
<frame media_type="video" stream_index="1" key_frame="0" pkt_pts="132" pkt_pts_time="0.132000" pkt_dts="116" pkt_dts_time="0.116000" best_effort_timestamp="132" best_effort_timestamp_time="0.132000" pkt_duration="16" pkt_duration_time="0.016000" pkt_pos="807610" pkt_size="50859" width="1080" height="1920" pix_fmt="yuv420p" sample_aspect_ratio="1:1" pict_type="P" coded_picture_number="4" display_picture_number="0" interlaced_frame="0" top_field_first="0" repeat_pict="0" color_range="tv" color_space="bt709" color_primaries="bt709" color_transfer="bt709" chroma_location="left"/>									
<frame media_type="video" stream_index="1" key_frame="0" pkt_pts="149" pkt_pts_time="0.149000" pkt_dts="133" pkt_dts_time="0.133000" best_effort_timestamp="149" best_effort_timestamp_time="0.149000" pkt_duration="16" pkt_duration_time="0.016000" pkt_pos="933173" pkt_size="11314" width="1080" height="1920" pix_fmt="yuv420p" sample_aspect_ratio="1:1" pict_type="B" coded_picture_number="8" display_picture_number="0" interlaced_frame="0" top_field_first="0" repeat_pict="0" color_range="tv" color_space="bt709" color_primaries="bt709" color_transfer="bt709" chroma_location="left"/>									
<frame media_type="video" stream_index="1" key_frame="0" pkt_pts="166" pkt_pts_time="0.166000" pkt_dts="150" pkt_dts_time="0.150000" best_effort_timestamp="166" best_effort_timestamp_time="0.166000" pkt_duration="16" pkt_duration_time="0.016000" pkt_pos="944984" pkt_size="11418" width="1080" height="1920" pix_fmt="yuv420p" sample_aspect_ratio="1:1" pict_type="B" coded_picture_number="9" display_picture_number="0" interlaced_frame="0" top_field_first="0" repeat_pict="0" color_range="tv" color_space="bt709" color_primaries="bt709" color_transfer="bt709" chroma_location="left"/>									
<frame media_type="video" stream_index="1" key_frame="0" pkt_pts="182" pkt_pts_time="0.182000" pkt_dts="166" pkt_dts_time="0.166000" best_effort_timestamp="182" best_effort_timestamp_time="0.182000" pkt_duration="16" pkt_duration_time="0.016000" pkt_pos="882732" pkt_size="50421" width="1080" height="1920" pix_fmt="yuv420p" sample_aspect_ratio="1:1" pict_type="P" coded_picture_number="7" display_picture_number="0" interlaced_frame="0" top_field_first="0" repeat_pict="0" color_range="tv" color_space="bt709" color_primaries="bt709" color_transfer="bt709" chroma_location="left"/>									
<frame media_type="video" stream_index="1" key_frame="0" pkt_pts="199" pkt_pts_time="0.199000" pkt_dts="183" pkt_dts_time="0.183000" best_effort_timestamp="199" best_effort_timestamp_time="0.199000" pkt_duration="16" pkt_duration_time="0.016000" pkt_pos="1002440" pkt_size="11174" width="1080" height="1920" pix_fmt="yuv420p" sample_aspect_ratio="1:1" pict_type="B" coded_picture_number="11" display_picture_number="0" interlaced_frame="0" top_field_first="0" repeat_pict="0" color_range="tv" color_space="bt709" color_primaries="bt709" color_transfer="bt709" chroma_location="left"/>									
<frame media_type="video" stream_index="1" key_frame="0" pkt_pts="216" pkt_pts_time="0.216000" pkt_dts="200" pkt_dts_time="0.200000" best_effort_timestamp="216" best_effort_timestamp_time="0.216000" pkt_duration="16" pkt_duration_time="0.016000" pkt_pos="1013634" pkt_size="11482" width="1080" height="1920" pix_fmt="yuv420p" sample_aspect_ratio="1:1" pict_type="B" coded_picture_number="12" display_picture_number="0" interlaced_frame="0" top_field_first="0" repeat_pict="0" color_range="tv" color_space="bt709" color_primaries="bt709" color_transfer="bt709" chroma_location="left"/>									
<frame media_type="video" stream_index="1" key_frame="0" pkt_pts="232" pkt_pts_time="0.232000" pkt_dts="216" pkt_dts_time="0.216000" best_effort_timestamp="232" best_effort_timestamp_time="0.232000" pkt_duration="16" pkt_duration_time="0.016000" pkt_pos="956887" pkt_size="45103" width="1080" height="1920" pix_fmt="yuv420p" sample_aspect_ratio="1:1" pict_type="P" coded_picture_number="10" display_picture_number="0" interlaced_frame="0" top_field_first="0" repeat_pict="0" color_range="tv" color_space="bt709" color_primaries="bt709" color_transfer="bt709" chroma_location="left"/>									
<frame media_type="video" stream_index="1" key_frame="0" pkt_pts="249" pkt_pts_time="0.249000" pkt_dts="233" pkt_dts_time="0.233000" best_effort_timestamp="249" best_effort_timestamp_time="0.249000" pkt_duration="16" pkt_duration_time="0.016000" pkt_pos="1076788" pkt_size="10827" width="1080" height="1920" pix_fmt="yuv420p" sample_aspect_ratio="1:1" pict_type="B" coded_picture_number="14" display_picture_number="0" interlaced_frame="0" top_field_first="0" repeat_pict="0" color_range="tv" color_space="bt709" color_primaries="bt709" color_transfer="bt709" chroma_location="left"/>									
<frame media_type="video" stream_index="1" key_frame="0" pkt_pts="266" pkt_pts_time="0.266000" pkt_dts="250" pkt_dts_time="0.250000" best_effort_timestamp="266" best_effort_timestamp_time="0.266000" pkt_duration="16" pkt_duration_time="0.016000" pkt_pos="1088186" pkt_size="10861" width="1080" height="1920" pix_fmt="yuv420p" sample_aspect_ratio="1:1" pict_type="B" coded_picture_number="15" display_picture_number="0" interlaced_frame="0" top_field_first="0" repeat_pict="0" color_range="tv" color_space="bt709" color_primaries="bt709" color_transfer="bt709" chroma_location="left"/>									
<frame media_type="video" stream_index="1" key_frame="0" pkt_pts="282" pkt_pts_time="0.282000" pkt_dts="266" pkt_dts_time="0.266000" best_effort_timestamp="282" best_effort_timestamp_time="0.282000" pkt_duration="16" pkt_duration_time="0.016000" pkt_pos="1025545" pkt_size="50630" width="1080" height="1920" pix_fmt="yuv420p" sample_aspect_ratio="1:1" pict_type="P" coded_picture_number="13" display_picture_number="0" interlaced_frame="0" top_field_first="0" repeat_pict="0" color_range="tv" color_space="bt709" color_primaries="bt709" color_transfer="bt709" chroma_location="left"/>									
<frame media_type="video" stream_index="1" key_frame="0" pkt_pts="299" pkt_pts_time="0.299000" pkt_dts="283" pkt_dts_time="0.283000" best_effort_timestamp="299" best_effort_timestamp_time="0.299000" pkt_duration="16" pkt_duration_time="0.016000" pkt_pos="1151017" pkt_size="10853" width="1080" height="1920" pix_fmt="yuv420p" sample_aspect_ratio="1:1" pict_type="B" coded_picture_number="17" display_picture_number="0" interlaced_frame="0" top_field_first="0" repeat_pict="0" color_range="tv" color_space="bt709" color_primaries="bt709" color_transfer="bt709" chroma_location="left"/>									
<frame media_type="video" stream_index="1" key_frame="0" pkt_pts="316" pkt_pts_time="0.316000" pkt_dts="300" pkt_dts_time="0.300000" best_effort_timestamp="316" best_effort_timestamp_time="0.316000" pkt_duration="16" pkt_duration_time="0.016000" pkt_pos="1162309" pkt_size="11371" width="1080" height="1920" pix_fmt="yuv420p" sample_aspect_ratio="1:1" pict_type="B" coded_picture_number="18" display_picture_number="0" interlaced_frame="0" top_field_first="0" repeat_pict="0" color_range="tv" color_space="bt709" color_primaries="bt709" color_transfer="bt709" chroma_location="left"/>									
<frame media_type="video" stream_index="1" key_frame="0" pkt_pts="332" pkt_pts_time="0.332000" pkt_dts="316" pkt_dts_time="0.316000" best_effort_timestamp="332" best_effort_timestamp_time="0.332000" pkt_duration="16" pkt_duration_time="0.016000" pkt_pos="1099608" pkt_size="51389" width="1080" height="1920" pix_fmt="yuv420p" sample_aspect_ratio="1:1" pict_type="P" coded_picture_number="16" display_picture_number="0" interlaced_frame="0" top_field_first="0" repeat_pict="0" color_range="tv" color_space="bt709" color_primaries="bt709" color_transfer="bt709" chroma_location="left"/>									
<frame media_type="video" stream_index="1" key_frame="0" pkt_pts="349" pkt_pts_time="0.349000" pkt_dts="333" pkt_dts_time="0.333000" best_effort_timestamp="349" best_effort_timestamp_time="0.349000" pkt_duration="16" pkt_duration_time="0.016000" pkt_pos="1222538" pkt_size="12572" width="1080" height="1920" pix_fmt="yuv420p" sample_aspect_ratio="1:1" pict_type="B" coded_picture_number="20" display_picture_number="0" interlaced_frame="0" top_field_first="0" repeat_pict="0" color_range="tv" color_space="bt709" color_primaries="bt709" color_transfer="bt709" chroma_location="left"/>									
<frame media_type="video" stream_index="1" key_frame="0" pkt_pts="366" pkt_pts_time="0.366000" pkt_dts="350" pkt_dts_time="0.350000" best_effort_timestamp="366" best_effort_timestamp_time="0.366000" pkt_duration="16" pkt_duration_time="0.016000" pkt_pos="1235130" pkt_size="12830" width="1080" height="1920" pix_fmt="yuv420p" sample_aspect_ratio="1:1" pict_type="B" coded_picture_number="21" display_picture_number="0" interlaced_frame="0" top_field_first="0" repeat_pict="0" color_range="tv" color_space="bt709" color_primaries="bt709" color_transfer="bt709" chroma_location="left"/>									
<frame media_type="video" stream_index="1" key_frame="0" pkt_pts="382" pkt_pts_time="0.382000" pkt_dts="366" pkt_dts_time="0.366000" best_effort_timestamp="382" best_effort_timestamp_time="0.382000" pkt_duration="16" pkt_duration_time="0.016000" pkt_pos="1174133" pkt_size="47963" width="1080" height="1920" pix_fmt="yuv420p" sample_aspect_ratio="1:1" pict_type="P" coded_picture_number="19" display_picture_number="0" interlaced_frame="0" top_field_first="0" repeat_pict="0" color_range="tv" color_space="bt709" color_primaries="bt709" color_transfer="bt709" chroma_location="left"/>									
<frame media_type="video" stream_index="1" key_frame="0" pkt_pts="399" pkt_pts_time="0.399000" pkt_dts="383" pkt_dts_time="0.383000" best_effort_timestamp="399" best_effort_timestamp_time="0.399000" pkt_duration="16" pkt_duration_time="0.016000" pkt_pos="1301169" pkt_size="15636" width="1080" height="1920" pix_fmt="yuv420p" sample_aspect_ratio="1:1" pict_type="B" coded_picture_number="23" display_picture_number="0" interlaced_frame="0" top_field_first="0" repeat_pict="0" color_range="tv" color_space="bt709" color_primaries="bt709" color_transfer="bt709" chroma_location="left"/>									
<frame media_type="video" stream_index="1" key_frame="0" pkt_pts="416" pkt_pts_time="0.416000" pkt_dts="400" pkt_dts_time="0.400000" best_effort_timestamp="416" best_effort_timestamp_time="0.416000" pkt_duration="16" pkt_duration_time="0.016000" pkt_pos="1317221" pkt_size="16992" width="1080" height="1920" pix_fmt="yuv420p" sample_aspect_ratio="1:1" pict_type="B" coded_picture_number="24" display_picture_number="0" interlaced_frame="0" top_field_first="0" repeat_pict="0" color_range="tv" color_space="bt709" color_primaries="bt709" color_transfer="bt709" chroma_location="left"/>									
<frame media_type="video" stream_index="1" key_frame="0" pkt_pts="432" pkt_pts_time="0.432000" pkt_dts="416" pkt_dts_time="0.416000" best_effort_timestamp="432" best_effort_timestamp_time="0.432000" pkt_duration="16" pkt_duration_time="0.016000" pkt_pos="1248384" pkt_size="52396" width="1080" height="1920" pix_fmt="yuv420p" sample_aspect_ratio="1:1" pict_type="P" coded_picture_number="22" display_picture_number="0" interlaced_frame="0" top_field_first="0" repeat_pict="0" color_range="tv" color_space="bt709" color_primaries="bt709" color_transfer="bt709" chroma_location="left"/>									
<frame media_type="video" stream_index="1" key_frame="0" pkt_pts="449" pkt_pts_time="0.449000" pkt_dts="433" pkt_dts_time="0.433000" best_effort_timestamp="449" best_effort_timestamp_time="0.449000" pkt_duration="16" pkt_duration_time="0.016000" pkt_pos="1397708" pkt_size="18630" width="1080" height="1920" pix_fmt="yuv420p" sample_aspect_ratio="1:1" pict_type="B" coded_picture_number="26" display_picture_number="0" interlaced_frame="0" top_field_first="0" repeat_pict="0" color_range="tv" color_space="bt709" color_primaries="bt709" color_transfer="bt709" chroma_location="left"/>									
<frame media_type="video" stream_index="1" key_frame="0" pkt_pts="466" pkt_pts_time="0.466000" pkt_dts="450" pkt_dts_time="0.450000" best_effort_timestamp="466" best_effort_timestamp_time="0.466000" pkt_duration="16" pkt_duration_time="0.016000" pkt_pos="1416929" pkt_size="19128" width="1080" height="1920" pix_fmt="yuv420p" sample_aspect_ratio="1:1" pict_type="B" coded_picture_number="27" display_picture_number="0" interlaced_frame="0" top_field_first="0" repeat_pict="0" color_range="tv" color_space="bt709" color_primaries="bt709" color_transfer="bt709" chroma_location="left"/>									
<frame media_type="video" stream_index="1" key_frame="0" pkt_pts="482" pkt_pts_time="0.482000" pkt_dts="466" pkt_dts_time="0.466000" best_effort_timestamp="482" best_effort_timestamp_time="0.482000" pkt_duration="16" pkt_duration_time="0.016000" pkt_pos="1334636" pkt_size="63052" width="1080" height="1920" pix_fmt="yuv420p" sample_aspect_ratio="1:1" pict_type="P" coded_picture_number="25" display_picture_number="0" interlaced_frame="0" top_field_first="0" repeat_pict="0" color_range="tv" color_space="bt709" color_primaries="bt709" color_transfer="bt709" chroma_location="left"/>									
<frame media_type="video" stream_index="1" key_frame="0" pkt_pts="499" pkt_pts_time="0.499000" pkt_dts="483" pkt_dts_time="0.483000" best_effort_timestamp="499" best_effort_timestamp_time="0.499000" pkt_duration="16" pkt_duration_time="0.016000" pkt_pos="1501085" pkt_size="19343" width="1080" height="1920" pix_fmt="yuv420p" sample_aspect_ratio="1:1" pict_type="B" coded_picture_number="29" display_picture_number="0" interlaced_frame="0" top_field_first="0" repeat_pict="0" color_range="tv" color_space="bt709" color_primaries="bt709" color_transfer="bt709" chroma_location="left"/>									
<frame media_type="video" stream_index="1" key_frame="0" pkt_pts="516" pkt_pts_time="0.516000" pkt_dts="500" pkt_dts_time="0.500000" best_effort_timestamp="516" best_effort_timestamp_time="0.516000" pkt_duration="16" pkt_duration_time="0.016000" pkt_pos="1520448" pkt_size="18902" width="1080" height="1920" pix_fmt="yuv420p" sample_aspect_ratio="1:1" pict_type="B" coded_picture_number="30" display_picture_number="0" interlaced_frame="0" top_field_first="0" repeat_pict="0" color_range="tv" color_space="bt709" color_primaries="bt709" color_transfer="bt709" chroma_location="left"/>									
<frame media_type="video" stream_index="1" key_frame="0" pkt_pts="532" pkt_pts_time="0.532000" pkt_dts="516" pkt_dts_time="0.516000" best_effort_timestamp="532" best_effort_timestamp_time="0.532000" pkt_duration="16" pkt_duration_time="0.016000" pkt_pos="1436474" pkt_size="64171" width="1080" height="1920" pix_fmt="yuv420p" sample_aspect_ratio="1:1" pict_type="P" coded_picture_number="28" display_picture_number="0" interlaced_frame="0" top_field_first="0" repeat_pict="0" color_range="tv" color_space="bt709" color_primaries="bt709" color_transfer="bt709" chroma_location="left"/>									
<frame media_type="video" stream_index="1" key_frame="0" pkt_pts="549" pkt_pts_time="0.549000" pkt_dts="533" pkt_dts_time="0.533000" best_effort_timestamp="549" best_effort_timestamp_time="0.549000" pkt_duration="16" pkt_duration_time="0.016000" pkt_pos="1603000" pkt_size="17900" width="1080" height="1920" pix_fmt="yuv420p" sample_aspect_ratio="1:1" pict_type="B" coded_picture_number="32" display_picture_number="0" interlaced_frame="0" top_field_first="0" repeat_pict="0" color_range="tv" color_space="bt709" color_primaries="bt709" color_transfer="bt709" chroma_location="left"/>									
<frame media_type="video" stream_index="1" key_frame="0" pkt_pts="566" pkt_pts_time="0.566000" pkt_dts="550" pkt_dts_time="0.550000" best_effort_timestamp="566" best_effort_timestamp_time="0.566000" pkt_duration="16" pkt_duration_time="0.016000" pkt_pos="1621372" pkt_size="15919" width="1080" height="1920" pix_fmt="yuv420p" sample_aspect_ratio="1:1" pict_type="B" coded_picture_number="33" display_picture_number="0" interlaced_frame="0" top_field_first="0" repeat_pict="0" color_range="tv" color_space="bt709" color_primaries="bt709" color_transfer="bt709" chroma_location="left"/>									
<frame media_type="video" stream_index="1" key_frame="0" pkt_pts="582" pkt_pts_time="0.582000" pkt_dts="566" pkt_dts_time="0.566000" best_effort_timestamp="582" best_effort_timestamp_time="0.582000" pkt_duration="16" pkt_duration_time="0.016000" pkt_pos="1539785" pkt_size="62759" width="1080" height="1920" pix_fmt="yuv420p" sample_aspect_ratio="1:1" pict_type="P" coded_picture_number="31" display_picture_number="0" interlaced_frame="0" top_field_first="0" repeat_pict="0" color_range="tv" color_space="bt709" color_primaries="bt709" color_transfer="bt709" chroma_location="left"/>									
<frame media_type="video" stream_index="1" key_frame="0" pkt_pts="599" pkt_pts_time="0.599000" pkt_dts="583" pkt_dts_time="0.583000" best_effort_timestamp="599" best_effort_timestamp_time="0.599000" pkt_duration="16" pkt_duration_time="0.016000" pkt_pos="1698149" pkt_size="15870" width="1080" height="1920" pix_fmt="yuv420p" sample_aspect_ratio="1:1" pict_type="B" coded_picture_number="35" display_picture_number="0" interlaced_frame="0" top_field_first="0" repeat_pict="0" color_range="tv" color_space="bt709" color_primaries="bt709" color_transfer="bt709" chroma_location="left"/>									
<frame media_type="video" stream_index="1" key_frame="0" pkt_pts="616" pkt_pts_time="0.616000" pkt_dts="600" pkt_dts_time="0.600000" best_effort_timestamp="616" best_effort_timestamp_time="0.616000" pkt_duration="16" pkt_duration_time="0.016000" pkt_pos="1714483" pkt_size="16372" width="1080" height="1920" pix_fmt="yuv420p" sample_aspect_ratio="1:1" pict_type="B" coded_picture_number="36" display_picture_number="0" interlaced_frame="0" top_field_first="0" repeat_pict="0" color_range="tv" color_space="bt709" color_primaries="bt709" color_transfer="bt709" chroma_location="left"/>									
<frame media_type="video" stream_index="1" key_frame="0" pkt_pts="632" pkt_pts_time="0.632000" pkt_dts="616" pkt_dts_time="0.616000" best_effort_timestamp="632" best_effort_timestamp_time="0.632000" pkt_duration="16" pkt_duration_time="0.016000" pkt_pos="1637743" pkt_size="60386" width="1080" height="1920" pix_fmt="yuv420p" sample_aspect_ratio="1:1" pict_type="P" coded_picture_number="34" display_picture_number="0" interlaced_frame="0" top_field_first="0" repeat_pict="0" color_range="tv" color_space="bt709" color_primaries="bt709" color_transfer="bt709" chroma_location="left"/>									
<frame media_type="video" stream_index="1" key_frame="0" pkt_pts="649" pkt_pts_time="0.649000" pkt_dts="633" pkt_dts_time="0.633000" best_effort_timestamp="649" best_effort_timestamp_time="0.649000" pkt_duration="16" pkt_duration_time="0.016000" pkt_pos="1801637" pkt_size="16297" width="1080" height="1920" pix_fmt="yuv420p" sample_aspect_ratio="1:1" pict_type="B" coded_picture_number="38" display_picture_number="0" interlaced_frame="0" top_field_first="0" repeat_pict="0" color_range="tv" color_space="bt709" color_primaries="bt709" color_transfer="bt709" chroma_location="left"/>									
<frame media_type="video" stream_index="1" key_frame="0" pkt_pts="666" pkt_pts_time="0.666000" pkt_dts="650" pkt_dts_time="0.650000" best_effort_timestamp="666" best_effort_timestamp_time="0.666000" pkt_duration="16" pkt_duration_time="0.016000" pkt_pos="1818420" pkt_size="16712" width="1080" height="1920" pix_fmt="yuv420p" sample_aspect_ratio="1:1" pict_type="B" coded_picture_number="39" display_picture_number="0" interlaced_frame="0" top_field_first="0" repeat_pict="0" color_range="tv" color_space="bt709" color_primaries="bt709" color_transfer="bt709" chroma_location="left"/>									
<frame media_type="video" stream_index="1" key_frame="0" pkt_pts="682" pkt_pts_time="0.682000" pkt_dts="666" pkt_dts_time="0.666000" best_effort_timestamp="682" best_effort_timestamp_time="0.682000" pkt_duration="16" pkt_duration_time="0.016000" pkt_pos="1731284" pkt_size="69899" width="1080" height="1920" pix_fmt="yuv420p" sample_aspect_ratio="1:1" pict_type="P" coded_picture_number="37" display_picture_number="0" interlaced_frame="0" top_field_first="0" repeat_pict="0" color_range="tv" color_space="bt709" color_primaries="bt709" color_transfer="bt709" chroma_location="left"/>									
<frame media_type="video" stream_index="1" key_frame="0" pkt_pts="699" pkt_pts_time="0.699000" pkt_dts="683" pkt_dts_time="0.683000" best_effort_timestamp="699" best_effort_timestamp_time="0.699000" pkt_duration="16" pkt_duration_time="0.016000" pkt_pos="1896038" pkt_size="15971" width="1080" height="1920" pix_fmt="yuv420p" sample_aspect_ratio="1:1" pict_type="B" coded_picture_number="41" display_picture_number="0" interlaced_frame="0" top_field_first="0" repeat_pict="0" color_range="tv" color_space="bt709" color_primaries="bt709" color_transfer="bt709" chroma_location="left"/>									
<frame media_type="video" stream_index="1" key_frame="0" pkt_pts="716" pkt_pts_time="0.716000" pkt_dts="700" pkt_dts_time="0.700000" best_effort_timestamp="716" best_effort_timestamp_time="0.716000" pkt_duration="16" pkt_duration_time="0.016000" pkt_pos="1912496" pkt_size="16365" width="1080" height="1920" pix_fmt="yuv420p" sample_aspect_ratio="1:1" pict_type="B" coded_picture_number="42" display_picture_number="0" interlaced_frame="0" top_field_first="0" repeat_pict="0" color_range="tv" color_space="bt709" color_primaries="bt709" color_transfer="bt709" chroma_location="left"/>									
<frame media_type="video" stream_index="1" key_frame="0" pkt_pts="732" pkt_pts_time="0.732000" pkt_dts="716" pkt_dts_time="0.716000" best_effort_timestamp="732" best_effort_timestamp_time="0.732000" pkt_duration="16" pkt_duration_time="0.016000" pkt_pos="1835152" pkt_size="60426" width="1080" height="1920" pix_fmt="yuv420p" sample_aspect_ratio="1:1" pict_type="P" coded_picture_number="40" display_picture_number="0" interlaced_frame="0" top_field_first="0" repeat_pict="0" color_range="tv" color_space="bt709" color_primaries="bt709" color_transfer="bt709" chroma_location="left"/>									
<frame media_type="video" stream_index="1" key_frame="0" pkt_pts="749" pkt_pts_time="0.749000" pkt_dts="733" pkt_dts_time="0.733000" best_effort_timestamp="749" best_effort_timestamp_time="0.749000" pkt_duration="16" pkt_duration_time="0.016000" pkt_pos="1985401" pkt_size="16020" width="1080" height="1920" pix_fmt="yuv420p" sample_aspect_ratio="1:1" pict_type="B" coded_picture_number="44" display_picture_number="0" interlaced_frame="0" top_field_first="0" repeat_pict="0" color_range="tv" color_space="bt709" color_primaries="bt709" color_transfer="bt709" chroma_location="left"/>									
<frame media_type="video" stream_index="1" key_frame="0" pkt_pts="766" pkt_pts_time="0.766000" pkt_dts="750" pkt_dts_time="0.750000" best_effort_timestamp="766" best_effort_timestamp_time="0.766000" pkt_duration="16" pkt_duration_time="0.016000" pkt_pos="2001949" pkt_size="16068" width="1080" height="1920" pix_fmt="yuv420p" sample_aspect_ratio="1:1" pict_type="B" coded_picture_number="45" display_picture_number="0" interlaced_frame="0" top_field_first="0" repeat_pict="0" color_range="tv" color_space="bt709" color_primaries="bt709" color_transfer="bt709" chroma_location="left"/>									
<frame media_type="video" stream_index="1" key_frame="0" pkt_pts="782" pkt_pts_time="0.782000" pkt_dts="766" pkt_dts_time="0.766000" best_effort_timestamp="782" best_effort_timestamp_time="0.782000" pkt_duration="16" pkt_duration_time="0.016000" pkt_pos="1929439" pkt_size="55942" width="1080" height="1920" pix_fmt="yuv420p" sample_aspect_ratio="1:1" pict_type="P" coded_picture_number="43" display_picture_number="0" interlaced_frame="0" top_field_first="0" repeat_pict="0" color_range="tv" color_space="bt709" color_primaries="bt709" color_transfer="bt709" chroma_location="left"/>									
<frame media_type="video" stream_index="1" key_frame="0" pkt_pts="799" pkt_pts_time="0.799000" pkt_dts="783" pkt_dts_time="0.783000" best_effort_timestamp="799" best_effort_timestamp_time="0.799000" pkt_duration="16" pkt_duration_time="0.016000" pkt_pos="2077950" pkt_size="16594" width="1080" height="1920" pix_fmt="yuv420p" sample_aspect_ratio="1:1" pict_type="B" coded_picture_number="47" display_picture_number="0" interlaced_frame="0" top_field_first="0" repeat_pict="0" color_range="tv" color_space="bt709" color_primaries="bt709" color_transfer="bt709" chroma_location="left"/>									
<frame media_type="video" stream_index="1" key_frame="0" pkt_pts="816" pkt_pts_time="0.816000" pkt_dts="800" pkt_dts_time="0.800000" best_effort_timestamp="816" best_effort_timestamp_time="0.816000" pkt_duration="16" pkt_duration_time="0.016000" pkt_pos="2094976" pkt_size="16479" width="1080" height="1920" pix_fmt="yuv420p" sample_aspect_ratio="1:1" pict_type="B" coded_picture_number="48" display_picture_number="0" interlaced_frame="0" top_field_first="0" repeat_pict="0" color_range="tv" color_space="bt709" color_primaries="bt709" color_transfer="bt709" chroma_location="left"/>									
<frame media_type="video" stream_index="1" key_frame="0" pkt_pts="832" pkt_pts_time="0.832000" pkt_dts="816" pkt_dts_time="0.816000" best_effort_timestamp="832" best_effort_timestamp_time="0.832000" pkt_duration="16" pkt_duration_time="0.016000" pkt_pos="2018509" pkt_size="58987" width="1080" height="1920" pix_fmt="yuv420p" sample_aspect_ratio="1:1" pict_type="P" coded_picture_number="46" display_picture_number="0" interlaced_frame="0" top_field_first="0" repeat_pict="0" color_range="tv" color_space="bt709" color_primaries="bt709" color_transfer="bt709" chroma_location="left"/>									
<frame media_type="video" stream_index="1" key_frame="0" pkt_pts="849" pkt_pts_time="0.849000" pkt_dts="833" pkt_dts_time="0.833000" best_effort_timestamp="849" best_effort_timestamp_time="0.849000" pkt_duration="16" pkt_duration_time="0.016000" pkt_pos="2167892" pkt_size="15277" width="1080" height="1920" pix_fmt="yuv420p" sample_aspect_ratio="1:1" pict_type="B" coded_picture_number="50" display_picture_number="0" interlaced_frame="0" top_field_first="0" repeat_pict="0" color_range="tv" color_space="bt709" color_primaries="bt709" color_transfer="bt709" chroma_location="left"/>									
<frame media_type="video" stream_index="1" key_frame="0" pkt_pts="866" pkt_pts_time="0.866000" pkt_dts="850" pkt_dts_time="0.850000" best_effort_timestamp="866" best_effort_timestamp_time="0.866000" pkt_duration="16" pkt_duration_time="0.016000" pkt_pos="2183589" pkt_size="15232" width="1080" height="1920" pix_fmt="yuv420p" sample_aspect_ratio="1:1" pict_type="B" coded_picture_number="51" display_picture_number="0" interlaced_frame="0" top_field_first="0" repeat_pict="0" color_range="tv" color_space="bt709" color_primaries="bt709" color_transfer="bt709" chroma_location="left"/>									
<frame media_type="video" stream_index="1" key_frame="0" pkt_pts="882" pkt_pts_time="0.882000" pkt_dts="866" pkt_dts_time="0.866000" best_effort_timestamp="882" best_effort_timestamp_time="0.882000" pkt_duration="16" pkt_duration_time="0.016000" pkt_pos="2111475" pkt_size="55971" width="1080" height="1920" pix_fmt="yuv420p" sample_aspect_ratio="1:1" pict_type="P" coded_picture_number="49" display_picture_number="0" interlaced_frame="0" top_field_first="0" repeat_pict="0" color_range="tv" color_space="bt709" color_primaries="bt709" color_transfer="bt709" chroma_location="left"/>									
<frame media_type="video" stream_index="1" key_frame="0" pkt_pts="899" pkt_pts_time="0.899000" pkt_dts="883" pkt_dts_time="0.883000" best_effort_timestamp="899" best_effort_timestamp_time="0.899000" pkt_duration="16" pkt_duration_time="0.016000" pkt_pos="2268949" pkt_size="15246" width="1080" height="1920" pix_fmt="yuv420p" sample_aspect_ratio="1:1" pict_type="B" coded_picture_number="53" display_picture_number="0" interlaced_frame="0" top_field_first="0" repeat_pict="0" color_range="tv" color_space="bt709" color_primaries="bt709" color_transfer="bt709" chroma_location="left"/>									
<frame media_type="video" stream_index="1" key_frame="0" pkt_pts="916" pkt_pts_time="0.916000" pkt_dts="900" pkt_dts_time="0.900000" best_effort_timestamp="916" best_effort_timestamp_time="0.916000" pkt_duration="16" pkt_duration_time="0.016000" pkt_pos="2284675" pkt_size="27448" width="1080" height="1920" pix_fmt="yuv420p" sample_aspect_ratio="1:1" pict_type="B" coded_picture_number="54" display_picture_number="0" interlaced_frame="0" top_field_first="0" repeat_pict="0" color_range="tv" color_space="bt709" color_primaries="bt709" color_transfer="bt709" chroma_location="left"/>									
<frame media_type="video" stream_index="1" key_frame="0" pkt_pts="932" pkt_pts_time="0.932000" pkt_dts="916" pkt_dts_time="0.916000" best_effort_timestamp="932" best_effort_timestamp_time="0.932000" pkt_duration="16" pkt_duration_time="0.016000" pkt_pos="2199232" pkt_size="69697" width="1080" height="1920" pix_fmt="yuv420p" sample_aspect_ratio="1:1" pict_type="P" coded_picture_number="52" display_picture_number="0" interlaced_frame="0" top_field_first="0" repeat_pict="0" color_range="tv" color_space="bt709" color_primaries="bt709" color_transfer="bt709" chroma_location="left"/>									
<frame media_type="video" stream_index="1" key_frame="0" pkt_pts="949" pkt_pts_time="0.949000" pkt_dts="933" pkt_dts_time="0.933000" best_effort_timestamp="949" best_effort_timestamp_time="0.949000" pkt_duration="16" pkt_duration_time="0.016000" pkt_pos="2396160" pkt_size="14289" width="1080" height="1920" pix_fmt="yuv420p" sample_aspect_ratio="1:1" pict_type="B" coded_picture_number="56" display_picture_number="0" interlaced_frame="0" top_field_first="0" repeat_pict="0" color_range="tv" color_space="bt709" color_primaries="bt709" color_transfer="bt709" chroma_location="left"/>									
<frame media_type="video" stream_index="1" key_frame="0" pkt_pts="966" pkt_pts_time="0.966000" pkt_dts="950" pkt_dts_time="0.950000" best_effort_timestamp="966" best_effort_timestamp_time="0.966000" pkt_duration="16" pkt_duration_time="0.016000" pkt_pos="2410905" pkt_size="27647" width="1080" height="1920" pix_fmt="yuv420p" sample_aspect_ratio="1:1" pict_type="B" coded_picture_number="57" display_picture_number="0" interlaced_frame="0" top_field_first="0" repeat_pict="0" color_range="tv" color_space="bt709" color_primaries="bt709" color_transfer="bt709" chroma_location="left"/>									
<frame media_type="video" stream_index="1" key_frame="0" pkt_pts="982" pkt_pts_time="0.982000" pkt_dts="966" pkt_dts_time="0.966000" best_effort_timestamp="982" best_effort_timestamp_time="0.982000" pkt_duration="16" pkt_duration_time="0.016000" pkt_pos="2312604" pkt_size="83065" width="1080" height="1920" pix_fmt="yuv420p" sample_aspect_ratio="1:1" pict_type="P" coded_picture_number="55" display_picture_number="0" interlaced_frame="0" top_field_first="0" repeat_pict="0" color_range="tv" color_space="bt709" color_primaries="bt709" color_transfer="bt709" chroma_location="left"/>									
<frame media_type="video" stream_index="1" key_frame="0" pkt_pts="999" pkt_pts_time="0.999000" pkt_dts="983" pkt_dts_time="0.983000" best_effort_timestamp="999" best_effort_timestamp_time="0.999000" pkt_duration="16" pkt_duration_time="0.016000" pkt_pos="2533986" pkt_size="13634" width="1080" height="1920" pix_fmt="yuv420p" sample_aspect_ratio="1:1" pict_type="B" coded_picture_number="59" display_picture_number="0" interlaced_frame="0" top_field_first="0" repeat_pict="0" color_range="tv" color_space="bt709" color_primaries="bt709" color_transfer="bt709" chroma_location="left"/>									
<frame media_type="video" stream_index="1" key_frame="0" pkt_pts="1016" pkt_pts_time="1.016000" pkt_dts="1000" pkt_dts_time="1.000000" best_effort_timestamp="1016" best_effort_timestamp_time="1.016000" pkt_duration="16" pkt_duration_time="0.016000" pkt_pos="2548123" pkt_size="16477" width="1080" height="1920" pix_fmt="yuv420p" sample_aspect_ratio="1:1" pict_type="B" coded_picture_number="60" display_picture_number="0" interlaced_frame="0" top_field_first="0" repeat_pict="0" color_range="tv" color_space="bt709" color_primaries="bt709" color_transfer="bt709" chroma_location="left"/>									
<frame media_type="video" stream_index="1" key_frame="0" pkt_pts="1032" pkt_pts_time="1.032000" pkt_dts="1016" pkt_dts_time="1.016000" best_effort_timestamp="1032" best_effort_timestamp_time="1.032000" pkt_duration="16" pkt_duration_time="0.016000" pkt_pos="2438572" pkt_size="94890" width="1080" height="1920" pix_fmt="yuv420p" sample_aspect_ratio="1:1" pict_type="P" coded_picture_number="58" display_picture_number="0" interlaced_frame="0" top_field_first="0" repeat_pict="0" color_range="tv" color_space="bt709" color_primaries="bt709" color_transfer="bt709" chroma_location="left"/>									
<frame media_type="video" stream_index="1" key_frame="0" pkt_pts="1049" pkt_pts_time="1.049000" pkt_dts="1033" pkt_dts_time="1.033000" best_effort_timestamp="1049" best_effort_timestamp_time="1.049000" pkt_duration="16" pkt_duration_time="0.016000" pkt_pos="2651755" pkt_size="17053" width="1080" height="1920" pix_fmt="yuv420p" sample_aspect_ratio="1:1" pict_type="B" coded_picture_number="62" display_picture_number="0" interlaced_frame="0" top_field_first="0" repeat_pict="0" color_range="tv" color_space="bt709" color_primaries="bt709" color_transfer="bt709" chroma_location="left"/>									
<frame media_type="video" stream_index="1" key_frame="0" pkt_pts="1066" pkt_pts_time="1.066000" pkt_dts="1050" pkt_dts_time="1.050000" best_effort_timestamp="1066" best_effort_timestamp_time="1.066000" pkt_duration="16" pkt_duration_time="0.016000" pkt_pos="2669177" pkt_size="21244" width="1080" height="1920" pix_fmt="yuv420p" sample_aspect_ratio="1:1" pict_type="B" coded_picture_number="63" display_picture_number="0" interlaced_frame="0" top_field_first="0" repeat_pict="0" color_range="tv" color_space="bt709" color_primaries="bt709" color_transfer="bt709" chroma_location="left"/>									
<frame media_type="video" stream_index="1" key_frame="0" pkt_pts="1082" pkt_pts_time="1.082000" pkt_dts="1066" pkt_dts_time="1.066000" best_effort_timestamp="1082" best_effort_timestamp_time="1.082000" pkt_duration="16" pkt_duration_time="0.016000" pkt_pos="2565031" pkt_size="86704" width="1080" height="1920" pix_fmt="yuv420p" sample_aspect_ratio="1:1" pict_type="P" coded_picture_number="61" display_picture_number="0" interlaced_frame="0" top_field_first="0" repeat_pict="0" color_range="tv" color_space="bt709" color_primaries="bt709" color_transfer="bt709" chroma_location="left"/>									
<frame media_type="video" stream_index="1" key_frame="0" pkt_pts="1099" pkt_pts_time="1.099000" pkt_dts="1083" pkt_dts_time="1.083000" best_effort_timestamp="1099" best_effort_timestamp_time="1.099000" pkt_duration="16" pkt_duration_time="0.016000" pkt_pos="2769403" pkt_size="17068" width="1080" height="1920" pix_fmt="yuv420p" sample_aspect_ratio="1:1" pict_type="B" coded_picture_number="65" display_picture_number="0" interlaced_frame="0" top_field_first="0" repeat_pict="0" color_range="tv" color_space="bt709" color_primaries="bt709" color_transfer="bt709" chroma_location="left"/>									
<frame media_type="video" stream_index="1" key_frame="0" pkt_pts="1116" pkt_pts_time="1.116000" pkt_dts="1100" pkt_dts_time="1.100000" best_effort_timestamp="1116" best_effort_timestamp_time="1.116000" pkt_duration="16" pkt_duration_time="0.016000" pkt_pos="2787045" pkt_size="29857" width="1080" height="1920" pix_fmt="yuv420p" sample_aspect_ratio="1:1" pict_type="B" coded_picture_number="66" display_picture_number="0" interlaced_frame="0" top_field_first="0" repeat_pict="0" color_range="tv" color_space="bt709" color_primaries="bt709" color_transfer="bt709" chroma_location="left"/>									
<frame media_type="video" stream_index="1" key_frame="0" pkt_pts="1132" pkt_pts_time="1.132000" pkt_dts="1116" pkt_dts_time="1.116000" best_effort_timestamp="1132" best_effort_timestamp_time="1.132000" pkt_duration="16" pkt_duration_time="0.016000" pkt_pos="2690869" pkt_size="78076" width="1080" height="1920" pix_fmt="yuv420p" sample_aspect_ratio="1:1" pict_type="P" coded_picture_number="64" display_picture_number="0" interlaced_frame="0" top_field_first="0" repeat_pict="0" color_range="tv" color_space="bt709" color_primaries="bt709" color_transfer="bt709" chroma_location="left"/>									
<frame media_type="video" stream_index="1" key_frame="0" pkt_pts="1149" pkt_pts_time="1.149000" pkt_dts="1133" pkt_dts_time="1.133000" best_effort_timestamp="1149" best_effort_timestamp_time="1.149000" pkt_duration="16" pkt_duration_time="0.016000" pkt_pos="2896448" pkt_size="17890" width="1080" height="1920" pix_fmt="yuv420p" sample_aspect_ratio="1:1" pict_type="B" coded_picture_number="68" display_picture_number="0" interlaced_frame="0" top_field_first="0" repeat_pict="0" color_range="tv" color_space="bt709" color_primaries="bt709" color_transfer="bt709" chroma_location="left"/>									
<frame media_type="video" stream_index="1" key_frame="0" pkt_pts="1166" pkt_pts_time="1.166000" pkt_dts="1150" pkt_dts_time="1.150000" best_effort_timestamp="1166" best_effort_timestamp_time="1.166000" pkt_duration="16" pkt_duration_time="0.016000" pkt_pos="2914785" pkt_size="28060" width="1080" height="1920" pix_fmt="yuv420p" sample_aspect_ratio="1:1" pict_type="B" coded_picture_number="69" display_picture_number="0" interlaced_frame="0" top_field_first="0" repeat_pict="0" color_range="tv" color_space="bt709" color_primaries="bt709" color_transfer="bt709" chroma_location="left"/>									
<frame media_type="video" stream_index="1" key_frame="0" pkt_pts="1182" pkt_pts_time="1.182000" pkt_dts="1166" pkt_dts_time="1.166000" best_effort_timestamp="1182" best_effort_timestamp_time="1.182000" pkt_duration="16" pkt_duration_time="0.016000" pkt_pos="2816922" pkt_size="79051" width="1080" height="1920" pix_fmt="yuv420p" sample_aspect_ratio="1:1" pict_type="P" coded_picture_number="67" display_picture_number="0" interlaced_frame="0" top_field_first="0" repeat_pict="0" color_range="tv" color_space="bt709" color_primaries="bt709" color_transfer="bt709" chroma_location="left"/>									
<frame media_type="video" stream_index="1" key_frame="0" pkt_pts="1199" pkt_pts_time="1.199000" pkt_dts="1183" pkt_dts_time="1.183000" best_effort_timestamp="1199" best_effort_timestamp_time="1.199000" pkt_duration="16" pkt_duration_time="0.016000" pkt_pos="3020705" pkt_size="18281" width="1080" height="1920" pix_fmt="yuv420p" sample_aspect_ratio="1:1" pict_type="B" coded_picture_number="71" display_picture_number="0" interlaced_frame="0" top_field_first="0" repeat_pict="0" color_range="tv" color_space="bt709" color_primaries="bt709" color_transfer="bt709" chroma_location="left"/>									
<frame media_type="video" stream_index="1" key_frame="0" pkt_pts="1216" pkt_pts_time="1.216000" pkt_dts="1200" pkt_dts_time="1.200000" best_effort_timestamp="1216" best_effort_timestamp_time="1.216000" pkt_duration="16" pkt_duration_time="0.016000" pkt_pos="3039006" pkt_size="29741" width="1080" height="1920" pix_fmt="yuv420p" sample_aspect_ratio="1:1" pict_type="B" coded_picture_number="72" display_picture_number="0" interlaced_frame="0" top_field_first="0" repeat_pict="0" color_range="tv" color_space="bt709" color_primaries="bt709" color_transfer="bt709" chroma_location="left"/>									
<frame media_type="video" stream_index="1" key_frame="0" pkt_pts="1232" pkt_pts_time="1.232000" pkt_dts="1216" pkt_dts_time="1.216000" best_effort_timestamp="1232" best_effort_timestamp_time="1.232000" pkt_duration="16" pkt_duration_time="0.016000" pkt_pos="2943256" pkt_size="76979" width="1080" height="1920" pix_fmt="yuv420p" sample_aspect_ratio="1:1" pict_type="P" coded_picture_number="70" display_picture_number="0" interlaced_frame="0" top_field_first="0" repeat_pict="0" color_range="tv" color_space="bt709" color_primaries="bt709" color_transfer="bt709" chroma_location="left"/>

可以看到,视频流的pts和dts依旧不同步(有B帧),但都是递增的,这是因为使用show_frames分析视频流时,其实分析的是经过解码后的数据,这时的数据已经时yuv数据了,并不是之前的frame了。 

三、DTS和PTS

DTS(Decoding Time Stamp):即解码时间戳,这个时间戳的意义在于告诉播放器该在什么时候解码这一帧的数据。
PTS(Presentation Time Stamp):即显示时间戳,这个时间戳用来告诉播放器该在什么时候显示这一帧的数据。
需要注意的是:虽然 DTS、PTS 是用于指导播放端的行为,但它们是在编码的时候由编码器生成的。

当视频流中没有 B 帧时,通常 DTS 和 PTS 的顺序是一致的。但如果有 B 帧时,就回到了我们前面说的问题:解码顺序和播放顺序不一致了。

比如一个视频中,帧的显示顺序是:I B B P,现在我们需要在解码 B 帧时知道 P 帧中信息,因此这几帧在视频流中的顺序可能是:I P B B,这时候就体现出每帧都有 DTS 和 PTS 的作用了。DTS 告诉我们该按什么顺序解码这几帧图像,PTS 告诉我们该按什么顺序显示这几帧图像。顺序大概如下:

PTS: 480 640 560 520 600 800 720 680 760 960 ...

DTS: 400 440 480 520 560 600 640 680 720 760 ...
Stream: I P B B B P B B B P ...
播放序: 1 5 3 2 4 9 7 6 8 10 ...
 

总结就是dts一定是递增的,pts不一定,因为会有B帧出现。

参考:

音视频中的PTS和DTS及同步 - 知乎

https://www.cnblogs.com/yongdaimi/p/10676309.html

四、GPT解答

-show_packet、-show_frames、-show_entries之间有什么区别

### -show_packets

使用 `-show_packets` 选项,`ffprobe` 会输出每个媒体数据包的信息。媒体流是由一系列的数据包组成的,每个数据包包含了一部分的编码数据。对于视频来说,一个数据包可能包含一个或多个帧的数据;对于音频,可能包含一段时间内的音频数据。

输出的信息通常包括数据包的大小、时间戳、持续时间、标志等。这对于分析数据流的结构和传输特性非常有用。

### -show_frames

使用 `-show_frames` 选项,`ffprobe` 会输出每一帧的详细信息。在视频文件中,每一帧是单独的图像,而在音频中,帧代表了一段离散的音频样本。

输出的信息可能包括帧的类型(如关键帧、B帧、P帧),帧的时间戳,帧的大小,以及其他编码相关的详细信息。这对于分析视频的编码细节和帧间关系非常有帮助。

### -show_entries

`-show_entries` 选项允许你指定想要输出的特定信息字段。它可以与 `-show_packets` 或 `-show_frames` 结合使用,以便只显示你感兴趣的那些条目。例如,如果你只关心关键帧和它们的时间戳,你可以使用以下命令:

```bash
ffprobe -show_frames -select_streams v -show_entries frame=pict_type,pkt_pts_time -of csv 文件名
```

这会输出视频流中每一帧的类型和时间戳,但只会显示你用 `-show_entries` 指定的那些字段。

### 总结

- `-show_packets` 提供每个数据包的信息,适合分析数据流的传输和容器层面的细节。
- `-show_frames` 提供每一帧的信息,适合分析编码层面的细节,如帧类型和帧间依赖。
- `-show_entries` 用于精确控制输出的信息,可以指定你想要的字段,使输出更加可读和方便分析。

通过组合这些选项,你可以定制 `ffprobe` 的输出以满足你的具体需求。

-select_streams呢

`-select_streams` 是 `ffprobe` 命令中的一个选项,它允许你选择特定的流进行分析。媒体文件可以包含多个流,例如一个视频流、一个或多个音频流以及可能的字幕流。使用 `-select_streams` 选项可以帮助你过滤出只关心的特定类型的流的信息。

`-select_streams` 后面通常跟着一个流标识符参数,来指定你想要选择哪种类型的流:

- `v`:选择所有视频流。
- `a`:选择所有音频流。
- `s`:选择所有字幕流。
- `v:0`、`a:0`、`s:0` 等:选择特定类型的第一个流。数字可以更改来选择不同的流,例如 `v:1` 会选择第二个视频流。

例如,如果你只想查看视频文件中第一个视频流的帧信息,你可以使用以下命令:

```bash
ffprobe -show_frames -select_streams v:0 文件名
```

如果你想查看同一个文件中所有音频流的信息,你可以使用:

```bash
ffprobe -show_streams -select_streams a 文件名
```

`-select_streams` 选项可以和 `-show_packets`、`-show_frames` 或 `-show_entries` 等选项结合使用,以便对输出的信息进行精确控制。这样,你就可以根据需要分析特定的视频、音频或字幕流,而不必处理文件中的所有数据。

为什么用-show_packets进行分析时pts非递增,而用-show_frames进行分析时pts递增

在分析媒体文件时,使用 `ffprobe` 的 `-show_packets` 和 `-show_frames` 选项可能会观察到不同的表现,尤其是在呈现时间戳(PTS)的递增性方面。这种差异主要源于媒体流的编码和包装方式,以及视频帧的类型。

### 数据包(Packets)和帧(Frames)

首先,理解数据包(Packets)和帧(Frames)之间的区别是重要的:

- **数据包**是传输或存储媒体数据的容器,它们包含了编码后的帧数据。数据包的顺序可能不完全按照播放顺序排列,这是为了优化编码效率和支持不同类型的帧预测技术。
- **帧**是视频的单个图像或音频的一小段样本。视频帧可以是关键帧(I帧)、预测帧(P帧)或双向预测帧(B帧)。

### 为什么 PTS 在 `-show_packets` 下非递增

使用 `-show_packets` 时,你看到的是数据包的原始排序,这反映了它们在媒体文件中的存储或传输顺序。由于视频编码技术(如H.264、H.265)经常利用帧间预测来减少文件大小,这意味着一些帧(特别是B帧)可能会被编码并存储在使用它们进行解码的帧之前。

因此,当你查看数据包级别的信息时,PTS(呈现时间戳)可能不会递增,因为数据包的顺序是为了编码效率而优化的,而不是按照播放顺序。

### 为什么 PTS 在 `-show_frames` 下递增

当使用 `-show_frames` 选项时,`ffprobe` 显示的是帧级别的信息,包括每一帧的PTS。在这个级别上,PTS应该是递增的,因为它反映了每一帧在播放时的确切出现顺序。即使B帧在物理存储或传输中可能出现在依赖它们的帧之前,它们的PTS仍然标记了它们应该被显示的正确时间。

### 总结

- 使用 `-show_packets` 观察到的PTS非递增,反映了数据包的存储或传输顺序,这与编码效率优化相关。
- 使用 `-show_frames` 观察到的PTS递增,反映了帧的播放顺序,这与观看体验直接相关。

这种差异是由于媒体文件的编码和包装方式,以及视频帧类型的不同处理方式所导致的。

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值