git clone https://github.com/FFmpeg/FFmpeg/ cd FFmpeg git checkout 74c6a6d3735f79671b177a0e0c6f2db696c2a6d2 make clean ./configure--prefix=/usr/local/ffmpeg--arch=aarch64--cpu=cortex-a72--enable-neon--enable-armv8--enable-shared--disable-static--enable-gpl--enable-libx264--enable-libx265--enable-libvpx--enable-libopus--enable-libvorbis--enable-libmp3lame make sudo make install export LD_LIBRARY_PATH=/usr/local/ffmpeg/lib/ export PATH=/usr/local/ffmpeg/bin/:$PATH
/root/miniconda3/lib/python3.8/site-packages/torchvision/models/_utils.py:208: UserWarning: The parameter'pretrained' is deprecated since 0.13 and may be removed in the future, please use'weights'instead. warnings.warn( /root/miniconda3/lib/python3.8/site-packages/torchvision/models/_utils.py:223: UserWarning: Arguments other than a weight enum or `None` for'weights'are deprecated since 0.13 and may be removed in the future. The current behavior is equivalent to passing `weights=ResNet18_Weights.IMAGENET1K_V1`. You can also use `weights=ResNet18_Weights.DEFAULT` to get the most up-to-date weights. warnings.warn(msg) Downloading: "https://download.pytorch.org/models/resnet18-f37072fd.pth" to /root/.cache/torch/hub/checkpoints/resnet18-f37072fd.pth 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 44.7M/44.7M [02:57<00:00, 264kB/s] model epoch 236 best prec@1: 30.130720138549805 1530 videos loaded. test.py:94: UserWarning: volatile was removed and now has no effect. Use `with torch.no_grad():` instead. input_var = torch.autograd.Variable(data, volatile=True) video 99 done, total 100/1530, average 0.2338184118270874 sec/video video 199 done, total 200/1530, average 0.24016900300979616 sec/video video 299 done, total 300/1530, average 0.24238990863164267 sec/video video 399 done, total 400/1530, average 0.23960657358169557 sec/video video 499 done, total 500/1530, average 0.23549086046218873 sec/video video 599 done, total 600/1530, average 0.234343368212382 sec/video video 699 done, total 700/1530, average 0.23339044264384678 sec/video video 799 done, total 800/1530, average 0.23506154507398605 sec/video