ITER Fly-Through

This video of a MOAB-based ITER surface model was generate with the yt using the following notebook!

In [24]:
from IPython.display import YouTubeVideo
YouTubeVideo('KKQc-wSEOxQ')
Out[24]:
In [1]:
import h5py
from yt.mods import *
import matplotlib.pyplot as plt
from matplotlib import collections
from yt.utilities.lib.geometry_utils import triangle_plane_intersect
In [2]:
def intersect_plane(ax, coord, tri):
    # Tri is [ (p0, p1, p2), (p0, p1, p2), (p0, p1, p2) ]
    p = []
    for i0, i1 in [(0, 1), (1, 2), (2, 0)]:
        p0 = tri[i0,:]
        p1 = tri[i1,:]
        vec = p1 - p0
        t = (coord - p0[ax])/vec[ax]
        # coord = t0[ax] + vec[ax]*t
        if 0.0 <= t <= 1.0:
            p.append(p0 + vec * t)
    return p
In [3]:
#f = h5py.File("teapot.h5m", "r")
#f = h5py.File("iter_imprinted.h5m", "r")
f = h5py.File("bllite30matls_zip.h5m", "r")
coords = f["/tstt/nodes/coordinates"][:]
conn = f["/tstt/elements/Tri3/connectivity"][:]
points = coords[conn-1]
In [19]:
%%time
ax = 2
xax, yax = x_dict[ax], y_dict[ax]
mi = coords.min(axis=0)
ma = coords.max(axis=0)
cut_points = np.mgrid[coords[:,ax].min():coords[:,ax].max():1008j]
for i, coord in parallel_objects(enumerate(cut_points)):
    plt.clf()
    l_cy = triangle_plane_intersect(ax, coord, points)[:,:,(xax, yax)]
    lc = collections.LineCollection(l_cy, colors='k')
    plt.gca().add_collection(lc)
    plt.xlim(mi[xax], ma[xax])
    plt.ylim(mi[yax], ma[yax])
    plt.title("z = {0:.4} cm".format(coord))
    plt.xlabel("x [cm]")
    plt.ylabel("y [cm]")
    plt.savefig("iter{0:03}.png".format(i))
    print("generated {0:.4} {1}".format(coord, i))
generated -850.0 0
generated -848.3 1
generated -846.6 2
generated -844.9 3
generated -843.2 4
generated -841.6 5
generated -839.9 6
generated -838.2 7
generated -836.5 8
generated -834.8 9
generated -833.1 10
generated -831.4 11
generated -829.7 12
generated -828.1 13
generated -826.4 14
generated -824.7 15
generated -823.0 16
generated -821.3 17
generated -819.6 18
generated -817.9 19
generated -816.2 20
generated -814.5 21
generated -812.9 22
generated -811.2 23
generated -809.5 24
generated -807.8 25
generated -806.1 26
generated -804.4 27
generated -802.7 28
generated -801.0 29
generated -799.4 30
generated -797.7 31
generated -796.0 32
generated -794.3 33
generated -792.6 34
generated -790.9 35
generated -789.2 36
generated -787.5 37
generated -785.8 38
generated -784.2 39
generated -782.5 40
generated -780.8 41
generated -779.1 42
generated -777.4 43
generated -775.7 44
generated -774.0 45
generated -772.3 46
generated -770.7 47
generated -769.0 48
generated -767.3 49
generated -765.6 50
generated -763.9 51
generated -762.2 52
generated -760.5 53
generated -758.8 54
generated -757.1 55
generated -755.5 56
generated -753.8 57
generated -752.1 58
generated -750.4 59
generated -748.7 60
generated -747.0 61
generated -745.3 62
generated -743.6 63
generated -742.0 64
generated -740.3 65
generated -738.6 66
generated -736.9 67
generated -735.2 68
generated -733.5 69
generated -731.8 70
generated -730.1 71
generated -728.5 72
generated -726.8 73
generated -725.1 74
generated -723.4 75
generated -721.7 76
generated -720.0 77
generated -718.3 78
generated -716.6 79
generated -714.9 80
generated -713.3 81
generated -711.6 82
generated -709.9 83
generated -708.2 84
generated -706.5 85
generated -704.8 86
generated -703.1 87
generated -701.4 88
generated -699.8 89
generated -698.1 90
generated -696.4 91
generated -694.7 92
generated -693.0 93
generated -691.3 94
generated -689.6 95
generated -687.9 96
generated -686.2 97
generated -684.6 98
generated -682.9 99
generated -681.2 100
generated -679.5 101
generated -677.8 102
generated -676.1 103
generated -674.4 104
generated -672.7 105
generated -671.1 106
generated -669.4 107
generated -667.7 108
generated -666.0 109
generated -664.3 110
generated -662.6 111
generated -660.9 112
generated -659.2 113
generated -657.5 114
generated -655.9 115
generated -654.2 116
generated -652.5 117
generated -650.8 118
generated -649.1 119
generated -647.4 120
generated -645.7 121
generated -644.0 122
generated -642.4 123
generated -640.7 124
generated -639.0 125
generated -637.3 126
generated -635.6 127
generated -633.9 128
generated -632.2 129
generated -630.5 130
generated -628.8 131
generated -627.2 132
generated -625.5 133
generated -623.8 134
generated -622.1 135
generated -620.4 136
generated -618.7 137
generated -617.0 138
generated -615.3 139
generated -613.7 140
generated -612.0 141
generated -610.3 142
generated -608.6 143
generated -606.9 144
generated -605.2 145
generated -603.5 146
generated -601.8 147
generated -600.1 148
generated -598.5 149
generated -596.8 150
generated -595.1 151
generated -593.4 152
generated -591.7 153
generated -590.0 154
generated -588.3 155
generated -586.6 156
generated -585.0 157
generated -583.3 158
generated -581.6 159
generated -579.9 160
generated -578.2 161
generated -576.5 162
generated -574.8 163
generated -573.1 164
generated -571.4 165
generated -569.8 166
generated -568.1 167
generated -566.4 168
generated -564.7 169
generated -563.0 170
generated -561.3 171
generated -559.6 172
generated -557.9 173
generated -556.3 174
generated -554.6 175
generated -552.9 176
generated -551.2 177
generated -549.5 178
generated -547.8 179
generated -546.1 180
generated -544.4 181
generated -542.8 182
generated -541.1 183
generated -539.4 184
generated -537.7 185
generated -536.0 186
generated -534.3 187
generated -532.6 188
generated -530.9 189
generated -529.2 190
generated -527.6 191
generated -525.9 192
generated -524.2 193
generated -522.5 194
generated -520.8 195
generated -519.1 196
generated -517.4 197
generated -515.7 198
generated -514.1 199
generated -512.4 200
generated -510.7 201
generated -509.0 202
generated -507.3 203
generated -505.6 204
generated -503.9 205
generated -502.2 206
generated -500.5 207
generated -498.9 208
generated -497.2 209
generated -495.5 210
generated -493.8 211
generated -492.1 212
generated -490.4 213
generated -488.7 214
generated -487.0 215
generated -485.4 216
generated -483.7 217
generated -482.0 218
generated -480.3 219
generated -478.6 220
generated -476.9 221
generated -475.2 222
generated -473.5 223
generated -471.8 224
generated -470.2 225
generated -468.5 226
generated -466.8 227
generated -465.1 228
generated -463.4 229
generated -461.7 230
generated -460.0 231
generated -458.3 232
generated -456.7 233
generated -455.0 234
generated -453.3 235
generated -451.6 236
generated -449.9 237
generated -448.2 238
generated -446.5 239
generated -444.8 240
generated -443.1 241
generated -441.5 242
generated -439.8 243
generated -438.1 244
generated -436.4 245
generated -434.7 246
generated -433.0 247
generated -431.3 248
generated -429.6 249
generated -428.0 250
generated -426.3 251
generated -424.6 252
generated -422.9 253
generated -421.2 254
generated -419.5 255
generated -417.8 256
generated -416.1 257
generated -414.4 258
generated -412.8 259
generated -411.1 260
generated -409.4 261
generated -407.7 262
generated -406.0 263
generated -404.3 264
generated -402.6 265
generated -400.9 266
generated -399.3 267
generated -397.6 268
generated -395.9 269
generated -394.2 270
generated -392.5 271
generated -390.8 272
generated -389.1 273
generated -387.4 274
generated -385.7 275
generated -384.1 276
generated -382.4 277
generated -380.7 278
generated -379.0 279
generated -377.3 280
generated -375.6 281
generated -373.9 282
generated -372.2 283
generated -370.6 284
generated -368.9 285
generated -367.2 286
generated -365.5 287
generated -363.8 288
generated -362.1 289
generated -360.4 290
generated -358.7 291
generated -357.1 292
generated -355.4 293
generated -353.7 294
generated -352.0 295
generated -350.3 296
generated -348.6 297
generated -346.9 298
generated -345.2 299
generated -343.5 300
generated -341.9 301
generated -340.2 302
generated -338.5 303
generated -336.8 304
generated -335.1 305
generated -333.4 306
generated -331.7 307
generated -330.0 308
generated -328.4 309
generated -326.7 310
generated -325.0 311
generated -323.3 312
generated -321.6 313
generated -319.9 314
generated -318.2 315
generated -316.5 316
generated -314.8 317
generated -313.2 318
generated -311.5 319
generated -309.8 320
generated -308.1 321
generated -306.4 322
generated -304.7 323
generated -303.0 324
generated -301.3 325
generated -299.7 326
generated -298.0 327
generated -296.3 328
generated -294.6 329
generated -292.9 330
generated -291.2 331
generated -289.5 332
generated -287.8 333
generated -286.1 334
generated -284.5 335
generated -282.8 336
generated -281.1 337
generated -279.4 338
generated -277.7 339
generated -276.0 340
generated -274.3 341
generated -272.6 342
generated -271.0 343
generated -269.3 344
generated -267.6 345
generated -265.9 346
generated -264.2 347
generated -262.5 348
generated -260.8 349
generated -259.1 350
generated -257.4 351
generated -255.8 352
generated -254.1 353
generated -252.4 354
generated -250.7 355
generated -249.0 356
generated -247.3 357
generated -245.6 358
generated -243.9 359
generated -242.3 360
generated -240.6 361
generated -238.9 362
generated -237.2 363
generated -235.5 364
generated -233.8 365
generated -232.1 366
generated -230.4 367
generated -228.7 368
generated -227.1 369
generated -225.4 370
generated -223.7 371
generated -222.0 372
generated -220.3 373
generated -218.6 374
generated -216.9 375
generated -215.2 376
generated -213.6 377
generated -211.9 378
generated -210.2 379
generated -208.5 380
generated -206.8 381
generated -205.1 382
generated -203.4 383
generated -201.7 384
generated -200.0 385
generated -198.4 386
generated -196.7 387
generated -195.0 388
generated -193.3 389
generated -191.6 390
generated -189.9 391
generated -188.2 392
generated -186.5 393
generated -184.9 394
generated -183.2 395
generated -181.5 396
generated -179.8 397
generated -178.1 398
generated -176.4 399
generated -174.7 400
generated -173.0 401
generated -171.4 402
generated -169.7 403
generated -168.0 404
generated -166.3 405
generated -164.6 406
generated -162.9 407
generated -161.2 408
generated -159.5 409
generated -157.8 410
generated -156.2 411
generated -154.5 412
generated -152.8 413
generated -151.1 414
generated -149.4 415
generated -147.7 416
generated -146.0 417
generated -144.3 418
generated -142.7 419
generated -141.0 420
generated -139.3 421
generated -137.6 422
generated -135.9 423
generated -134.2 424
generated -132.5 425
generated -130.8 426
generated -129.1 427
generated -127.5 428
generated -125.8 429
generated -124.1 430
generated -122.4 431
generated -120.7 432
generated -119.0 433
generated -117.3 434
generated -115.6 435
generated -114.0 436
generated -112.3 437
generated -110.6 438
generated -108.9 439
generated -107.2 440
generated -105.5 441
generated -103.8 442
generated -102.1 443
generated -100.4 444
generated -98.76 445
generated -97.07 446
generated -95.38 447
generated -93.69 448
generated -92.01 449
generated -90.32 450
generated -88.63 451
generated -86.94 452
generated -85.25 453
generated -83.57 454
generated -81.88 455
generated -80.19 456
generated -78.5 457
generated -76.81 458
generated -75.12 459
generated -73.44 460
generated -71.75 461
generated -70.06 462
generated -68.37 463
generated -66.68 464
generated -65.0 465
generated -63.31 466
generated -61.62 467
generated -59.93 468
generated -58.24 469
generated -56.55 470
generated -54.87 471
generated -53.18 472
generated -51.49 473
generated -49.8 474
generated -48.11 475
generated -46.43 476
generated -44.74 477
generated -43.05 478
generated -41.36 479
generated -39.67 480
generated -37.98 481
generated -36.3 482
generated -34.61 483
generated -32.92 484
generated -31.23 485
generated -29.54 486
generated -27.86 487
generated -26.17 488
generated -24.48 489
generated -22.79 490
generated -21.1 491
generated -19.41 492
generated -17.73 493
generated -16.04 494
generated -14.35 495
generated -12.66 496
generated -10.97 497
generated -9.285 498
generated -7.597 499
generated -5.909 500
generated -4.22 501
generated -2.532 502
generated -0.8441 503
generated 0.8441 504
generated 2.532 505
generated 4.22 506
generated 5.909 507
generated 7.597 508
generated 9.285 509
generated 10.97 510
generated 12.66 511
generated 14.35 512
generated 16.04 513
generated 17.73 514
generated 19.41 515
generated 21.1 516
generated 22.79 517
generated 24.48 518
generated 26.17 519
generated 27.86 520
generated 29.54 521
generated 31.23 522
generated 32.92 523
generated 34.61 524
generated 36.3 525
generated 37.98 526
generated 39.67 527
generated 41.36 528
generated 43.05 529
generated 44.74 530
generated 46.43 531
generated 48.11 532
generated 49.8 533
generated 51.49 534
generated 53.18 535
generated 54.87 536
generated 56.55 537
generated 58.24 538
generated 59.93 539
generated 61.62 540
generated 63.31 541
generated 65.0 542
generated 66.68 543
generated 68.37 544
generated 70.06 545
generated 71.75 546
generated 73.44 547
generated 75.12 548
generated 76.81 549
generated 78.5 550
generated 80.19 551
generated 81.88 552
generated 83.57 553
generated 85.25 554
generated 86.94 555
generated 88.63 556
generated 90.32 557
generated 92.01 558
generated 93.69 559
generated 95.38 560
generated 97.07 561
generated 98.76 562
generated 100.4 563
generated 102.1 564
generated 103.8 565
generated 105.5 566
generated 107.2 567
generated 108.9 568
generated 110.6 569
generated 112.3 570
generated 114.0 571
generated 115.6 572
generated 117.3 573
generated 119.0 574
generated 120.7 575
generated 122.4 576
generated 124.1 577
generated 125.8 578
generated 127.5 579
generated 129.1 580
generated 130.8 581
generated 132.5 582
generated 134.2 583
generated 135.9 584
generated 137.6 585
generated 139.3 586
generated 141.0 587
generated 142.7 588
generated 144.3 589
generated 146.0 590
generated 147.7 591
generated 149.4 592
generated 151.1 593
generated 152.8 594
generated 154.5 595
generated 156.2 596
generated 157.8 597
generated 159.5 598
generated 161.2 599
generated 162.9 600
generated 164.6 601
generated 166.3 602
generated 168.0 603
generated 169.7 604
generated 171.4 605
generated 173.0 606
generated 174.7 607
generated 176.4 608
generated 178.1 609
generated 179.8 610
generated 181.5 611
generated 183.2 612
generated 184.9 613
generated 186.5 614
generated 188.2 615
generated 189.9 616
generated 191.6 617
generated 193.3 618
generated 195.0 619
generated 196.7 620
generated 198.4 621
generated 200.0 622
generated 201.7 623
generated 203.4 624
generated 205.1 625
generated 206.8 626
generated 208.5 627
generated 210.2 628
generated 211.9 629
generated 213.6 630
generated 215.2 631
generated 216.9 632
generated 218.6 633
generated 220.3 634
generated 222.0 635
generated 223.7 636
generated 225.4 637
generated 227.1 638
generated 228.7 639
generated 230.4 640
generated 232.1 641
generated 233.8 642
generated 235.5 643
generated 237.2 644
generated 238.9 645
generated 240.6 646
generated 242.3 647
generated 243.9 648
generated 245.6 649
generated 247.3 650
generated 249.0 651
generated 250.7 652
generated 252.4 653
generated 254.1 654
generated 255.8 655
generated 257.4 656
generated 259.1 657
generated 260.8 658
generated 262.5 659
generated 264.2 660
generated 265.9 661
generated 267.6 662
generated 269.3 663
generated 271.0 664
generated 272.6 665
generated 274.3 666
generated 276.0 667
generated 277.7 668
generated 279.4 669
generated 281.1 670
generated 282.8 671
generated 284.5 672
generated 286.1 673
generated 287.8 674
generated 289.5 675
generated 291.2 676
generated 292.9 677
generated 294.6 678
generated 296.3 679
generated 298.0 680
generated 299.7 681
generated 301.3 682
generated 303.0 683
generated 304.7 684
generated 306.4 685
generated 308.1 686
generated 309.8 687
generated 311.5 688
generated 313.2 689
generated 314.8 690
generated 316.5 691
generated 318.2 692
generated 319.9 693
generated 321.6 694
generated 323.3 695
generated 325.0 696
generated 326.7 697
generated 328.4 698
generated 330.0 699
generated 331.7 700
generated 333.4 701
generated 335.1 702
generated 336.8 703
generated 338.5 704
generated 340.2 705
generated 341.9 706
generated 343.5 707
generated 345.2 708
generated 346.9 709
generated 348.6 710
generated 350.3 711
generated 352.0 712
generated 353.7 713
generated 355.4 714
generated 357.1 715
generated 358.7 716
generated 360.4 717
generated 362.1 718
generated 363.8 719
generated 365.5 720
generated 367.2 721
generated 368.9 722
generated 370.6 723
generated 372.2 724
generated 373.9 725
generated 375.6 726
generated 377.3 727
generated 379.0 728
generated 380.7 729
generated 382.4 730
generated 384.1 731
generated 385.7 732
generated 387.4 733
generated 389.1 734
generated 390.8 735
generated 392.5 736
generated 394.2 737
generated 395.9 738
generated 397.6 739
generated 399.3 740
generated 400.9 741
generated 402.6 742
generated 404.3 743
generated 406.0 744
generated 407.7 745
generated 409.4 746
generated 411.1 747
generated 412.8 748
generated 414.4 749
generated 416.1 750
generated 417.8 751
generated 419.5 752
generated 421.2 753
generated 422.9 754
generated 424.6 755
generated 426.3 756
generated 428.0 757
generated 429.6 758
generated 431.3 759
generated 433.0 760
generated 434.7 761
generated 436.4 762
generated 438.1 763
generated 439.8 764
generated 441.5 765
generated 443.1 766
generated 444.8 767
generated 446.5 768
generated 448.2 769
generated 449.9 770
generated 451.6 771
generated 453.3 772
generated 455.0 773
generated 456.7 774
generated 458.3 775
generated 460.0 776
generated 461.7 777
generated 463.4 778
generated 465.1 779
generated 466.8 780
generated 468.5 781
generated 470.2 782
generated 471.8 783
generated 473.5 784
generated 475.2 785
generated 476.9 786
generated 478.6 787
generated 480.3 788
generated 482.0 789
generated 483.7 790
generated 485.4 791
generated 487.0 792
generated 488.7 793
generated 490.4 794
generated 492.1 795
generated 493.8 796
generated 495.5 797
generated 497.2 798
generated 498.9 799
generated 500.5 800
generated 502.2 801
generated 503.9 802
generated 505.6 803
generated 507.3 804
generated 509.0 805
generated 510.7 806
generated 512.4 807
generated 514.1 808
generated 515.7 809
generated 517.4 810
generated 519.1 811
generated 520.8 812
generated 522.5 813
generated 524.2 814
generated 525.9 815
generated 527.6 816
generated 529.2 817
generated 530.9 818
generated 532.6 819
generated 534.3 820
generated 536.0 821
generated 537.7 822
generated 539.4 823
generated 541.1 824
generated 542.8 825
generated 544.4 826
generated 546.1 827
generated 547.8 828
generated 549.5 829
generated 551.2 830
generated 552.9 831
generated 554.6 832
generated 556.3 833
generated 557.9 834
generated 559.6 835
generated 561.3 836
generated 563.0 837
generated 564.7 838
generated 566.4 839
generated 568.1 840
generated 569.8 841
generated 571.4 842
generated 573.1 843
generated 574.8 844
generated 576.5 845
generated 578.2 846
generated 579.9 847
generated 581.6 848
generated 583.3 849
generated 585.0 850
generated 586.6 851
generated 588.3 852
generated 590.0 853
generated 591.7 854
generated 593.4 855
generated 595.1 856
generated 596.8 857
generated 598.5 858
generated 600.1 859
generated 601.8 860
generated 603.5 861
generated 605.2 862
generated 606.9 863
generated 608.6 864
generated 610.3 865
generated 612.0 866
generated 613.7 867
generated 615.3 868
generated 617.0 869
generated 618.7 870
generated 620.4 871
generated 622.1 872
generated 623.8 873
generated 625.5 874
generated 627.2 875
generated 628.8 876
generated 630.5 877
generated 632.2 878
generated 633.9 879
generated 635.6 880
generated 637.3 881
generated 639.0 882
generated 640.7 883
generated 642.4 884
generated 644.0 885
generated 645.7 886
generated 647.4 887
generated 649.1 888
generated 650.8 889
generated 652.5 890
generated 654.2 891
generated 655.9 892
generated 657.5 893
generated 659.2 894
generated 660.9 895
generated 662.6 896
generated 664.3 897
generated 666.0 898
generated 667.7 899
generated 669.4 900
generated 671.1 901
generated 672.7 902
generated 674.4 903
generated 676.1 904
generated 677.8 905
generated 679.5 906
generated 681.2 907
generated 682.9 908
generated 684.6 909
generated 686.2 910
generated 687.9 911
generated 689.6 912
generated 691.3 913
generated 693.0 914
generated 694.7 915
generated 696.4 916
generated 698.1 917
generated 699.8 918
generated 701.4 919
generated 703.1 920
generated 704.8 921
generated 706.5 922
generated 708.2 923
generated 709.9 924
generated 711.6 925
generated 713.3 926
generated 714.9 927
generated 716.6 928
generated 718.3 929
generated 720.0 930
generated 721.7 931
generated 723.4 932
generated 725.1 933
generated 726.8 934
generated 728.5 935
generated 730.1 936
generated 731.8 937
generated 733.5 938
generated 735.2 939
generated 736.9 940
generated 738.6 941
generated 740.3 942
generated 742.0 943
generated 743.6 944
generated 745.3 945
generated 747.0 946
generated 748.7 947
generated 750.4 948
generated 752.1 949
generated 753.8 950
generated 755.5 951
generated 757.1 952
generated 758.8 953
generated 760.5 954
generated 762.2 955
generated 763.9 956
generated 765.6 957
generated 767.3 958
generated 769.0 959
generated 770.7 960
generated 772.3 961
generated 774.0 962
generated 775.7 963
generated 777.4 964
generated 779.1 965
generated 780.8 966
generated 782.5 967
generated 784.2 968
generated 785.8 969
generated 787.5 970
generated 789.2 971
generated 790.9 972
generated 792.6 973
generated 794.3 974
generated 796.0 975
generated 797.7 976
generated 799.4 977
generated 801.0 978
generated 802.7 979
generated 804.4 980
generated 806.1 981
generated 807.8 982
generated 809.5 983
generated 811.2 984
generated 812.9 985
generated 814.5 986
generated 816.2 987
generated 817.9 988
generated 819.6 989
generated 821.3 990
generated 823.0 991
generated 824.7 992
generated 826.4 993
generated 828.1 994
generated 829.7 995
generated 831.4 996
generated 833.1 997
generated 834.8 998
generated 836.5 999
generated 838.2 1000
generated 839.9 1001
generated 841.6 1002
generated 843.2 1003
generated 844.9 1004
generated 846.6 1005
generated 848.3 1006
generated 850.0 1007
CPU times: user 17min 57s, sys: 4.24 s, total: 18min 1s
Wall time: 18min 3s
In [23]:
!mencoder 'mf://iter*.png' -mf fps=24 -o iter-surfaces.mp4 -ovc lavc -lavcopts vcodec=mpeg4
MEncoder svn r34540 (Ubuntu), built with gcc-4.7 (C) 2000-2012 MPlayer Team

WARNING: OUTPUT FILE FORMAT IS _AVI_. See -of help.
success: format: 16  data: 0x0 - 0x0
MF file format detected.
[mf] search expr: iter*.png
[mf] number of files: 1008 (8064)
[demux_mf] file type was not set! trying 'type=png'...
VIDEO:  [MPNG]  0x0  24bpp  24.000 fps    0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:16  fourcc:0x474E504D  size:0x0  fps:24.000  ftime:=0.0417
libavcodec version 53.35.0 (external)
Mismatching header version 53.32.2
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffpng] vfm: ffmpeg (FFmpeg PNG)
==========================================================================
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
Movie-Aspect is undefined - no prescaling applied.
[swscaler @ 0x7fe74c4e3640]BICUBIC scaler, from bgra to yuv420p using MMX2
videocodec: libavcodec (432x288 fourcc=34504d46 [FMP4])
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.

[VD_FFMPEG] DRI failure.


Flushing video frames.
Writing index...
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.

Video stream:  428.022 kbit/s  (53502 B/s)  size: 2247118 bytes  42.000 secs  1008 frames
In [18]:
!rm iter*.png
In [ ]: