当前位置:网站首页>pr导出的avi文件,如何才能被imageJ读read?
pr导出的avi文件,如何才能被imageJ读read?
2022-04-22 17:30:00 【Hodors】
方案1:

选择好编码方式即可
但是方案1有个弊端,输出的avi尺寸最小是720像素;
方案2:万能方案
1、在PR中设置序列的属性;
2、调整好输出的分辨率(即你的期望);
3、导出为mp4;
4、使用imagJ将MP4转换为avi格式;
run("Movie (FFMPEG)...", "choose=./30/A.mp4 first_frame=0 last_frame=-1");
run("Movie (FFMPEG)...", "choose=./30/B.mp4 first_frame=0 last_frame=-1");
run("AVI... ", "compression=JPEG frame=60 save=./B.avi");
close();
前提是按照视频中配置好imageJ,把ffmepg插件给装好
https://www.youtube.com/watch?v=X29zKkvKwEk&ab_channel=LipkeLab

下边 采坑过程可以不看
======================================
采坑过程可以不看
1、先看一下能被imageJ读的avi文件,加载到pr后,的序列设置:

2、原始的avi文件大小为532MB

3、在imageJ中的信息是

4、原始的avi文件加载pr后,重新导出后的结果是:10GB,显然不对劲;

但是这个10GB的图像能被ImageJ打开
5、AVI文件的视频编解码器什么意思,以及如何选择?
AVI编码器的常见编码_snwang_miss的博客-CSDN博客_avi编码器

我彻底懵逼了,为什么500MB的AVI文件,导入到PR中,什么也不做,再导出,就变成10GB,甚至20GB了呢?
到底哪里设置错了啊;
--
6、我先用imageJ读入一下avi序列,然后再写一遍avi序列,帧率是25fps,压缩是jpeg,看看输出的大小和原始大小(500MB)有什么区别。
用imageJ输出avi格式的文件(8000帧)花费了快15分钟,输出的大小为:580MB ,可原始视频在一个数量级啊。

到这里说明了一个问题,cwj的摄像头驱动写的蛮NIU的,把avi压缩到这么小,说明很牛逼;但是帧率是真的拉胯啊。
7、PR导出Avi时,如何选择jpeg的帧压缩方法
自己在imageJ中手动的压缩一下吧。
版权声明
本文为[Hodors]所创,转载请带上原文链接,感谢
https://blog.csdn.net/Hodors/article/details/124329463
边栏推荐
- 锚定美元的USDD,如何引领数字货币变革
- 旋转的扇形---MATLAB(动画演示)
- 元宇宙离我们有多远?博鳌论坛上大咖这样说
- 【深度学习】动手学深度学习 pytorch版
- Basic practice questions and answers of economic law in Hunan primary accounting title examination in 2022
- Go 学习笔记——Switch(我不是游戏机)
- Parameter estimation and hypothesis verification - matlab
- The most expensive new shares in 2022 are coming. Xiaomi and Huawei earn 10 times
- 全网征集!说说你跟宜搭之间的故事吧
- Check whether the paper is retrieved by SCI
猜你喜欢

ES6 Proxy和Object.defineProperty

怎样高效管理混合云中的数据?

There was another bug today. When mogodb was used to query data, it was found that the returned data was null

Huawei is on the old road

这或许是最详细的机器学习模型融合大法汇总

Openstack uses devstack to install. After installation, the dashboard reports an internal server error
How can we make the calendar note of win10 computer display 24 solar terms?

How to efficiently manage data in a hybrid cloud?

linux mysql编译安装

How does the applet integrate instant messaging with instant messaging
随机推荐
发起成立波场联合储备,孙宇晨向美联储发起“挑战”
R language class code record 5
【深度学习】动手学深度学习 pytorch版
阿里云日志服务sls的典型应用场景
2022 technical guidelines and standard exercises and answers for environmental impact assessment engineer examination
Hybrid Backpack
Redis basic data learning record (I)
JS implements six common sorting
Opendaylight analysis of SDN learning (3)
Apache配置多端口
微信小程序留言板设计
京东一面:子线程如何获取父线程 ThreadLocal 的值?我蒙了。。。
flutter List和Map
The most expensive new shares in 2022 are coming. Xiaomi and Huawei earn 10 times
MySQL of fighting spirit and courage
webrtc入门:4.RTCPeerConnection连接音视频流
Huawei is on the old road
科创人·派拉软件CEO谭翔:零信任本质是数字安全,To B也要深研用户心智
How to complete code merging through cloud effect codeup | cloud effect
2022年湖南省初级会计职称考试经济法基础练习题及答案