加载中…
个人资料
老金猪
老金猪
  • 博客等级:
  • 博客积分:0
  • 博客访问:121,059
  • 关注人气:7
  • 获赠金笔:0支
  • 赠出金笔:0支
  • 荣誉徽章:
访客
加载中…
好友
加载中…
评论
加载中…
留言
加载中…
博文
(2021-01-25 16:33)
标签:

rename

分类: Linux
rename - renames multiple files

       For example, to rename all files matching '*.bak' to strip the extension, you might say

               rename 's/\e.bak$//' *.bak

       To translate uppercase names to lower, you'd use

               rename 'y/A-Z/a-z/' *

wuy@zs-ubuntu1804:~/Progs/PackUvw/in/0$ ls 2_*
2_0.jpg   2_17.jpg  2_24.jpg  2_31.jpg  2_39.jpg  2_46.jpg  2_53.jpg  2_60.jpg
2_10.jpg  2_18.jpg  2_25.jpg  2_32.jpg  2_3.jpg   2_47.jpg  2_54.jpg  2_61.jpg
2_11.jpg  2_19.jpg  2_26.jpg  2_33.jpg  2_40.jpg  2_48.jpg  2_55.jpg  2_62.jpg
2_12.jpg  2_1
阅读  ┆ 评论  ┆ 转载 ┆ 收藏 
(2020-09-19 14:34)
标签:

h265

hevc

vps

sps

pps

分类: AVP
  • BLA (broken link access) access unit: An access unit in which the coded picture with nuh_layer_id equal to 0 is a BLA picture.
  • BLA (broken link access) picture: An IRAP picture for which each VCL NAL unit has nal_unit_type equal to BLA_W_LP, BLA_W_RADL, or BLA_N_LP.
  • CRA (clean random access) access unit: An access unit in which the coded picture with nuh_layer_id equal to 0 is a CRA picture.
  • CRA (clean random access) picture: An IRAP picture for which each VCL NAL unit has nal_unit_type equal to CRA_NUT.
  • CPB (coded picture buffer): A first-in first-out buffer containing decoding units in decoding order specified in the hypothetical reference decoder in Annex C.
  • CVS (coded video sequence): A sequence of access units that consists, in decoding order, of an IRAP access unit with NoRaslOutputFlag equal to 1, followed by zero or m
阅读  ┆ 评论  ┆ 转载 ┆ 收藏 
标签:

图像

透明度

分类: AVP
PAM format specification中,文件头部有一个称之为TUPLTYPE的字段,在这个字段中可以设置图像的透明度,其合法值如:RGB_ALPHA,GRAYSCALE_ALPHA等。这里讲解了图像中的像素在图像存在opacity plane时,其ultimate color of the pixel是如何计算的:

In this kind of image, the color represented by a pixel is actually a combination of an explicitly specified foreground color and a background color to be identified later.

The planes other than the opacity plane describe the foreground color. A sample in the opacity plane tells how opaque the pixel is, by telling what fraction of the pixel's light comes from the foreground color. The rest of the pixel's light comes from the (unspecified) background color.

For example, in a GRAYSCALE_ALPHA image, assume Plane 0 indicates a gray tone 60% of white and Plane 1 indicates opacity 25%. T
阅读  ┆ 评论  ┆ 转载 ┆ 收藏 
标签:

xcode-select

xcrun

mac

分类: Linux

* 执行命令gcc时报错:


xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun


* 网上有介绍说 xcode-select 是解决问题的办法:


 

阅读  ┆ 评论  ┆ 转载 ┆ 收藏 
标签:

centos7

python3.7

安装

分类: Linux
阅读  ┆ 评论  ┆ 转载 ┆ 收藏 
标签:

mac

u盘

文件名灰色

getfileinfo

setfile

分类: iOS+Android
在Mac上用U盘或移动硬盘拷贝文件时,通过Mounty挂载Volume以进行读写,但造成的NTFS权限错误,具体表现为:在源Mac上GetFileInfo看到的文件信息OK,但在目标Mac上,拷贝文件文件变为灰色,“继续”则报错:Item “xxx” is used by macOS and cannot be opened.
要修复它,我们需要命令行工具:
使用 xcode-select --install 来安装命令行工具,安装完成之后,可以使用下面的命令来查看这个文件的属性:

#GetFileInfo CMake.pdf
---
阅读  ┆ 评论  ┆ 转载 ┆ 收藏 
分类: Linux
总结的不错。
阅读  ┆ 评论  ┆ 转载 ┆ 收藏 
标签:

webgl

three.js

阅读  ┆ 评论  ┆ 转载 ┆ 收藏 
(2018-10-21 16:12)
标签:

bim

ifc

阅读  ┆ 评论  ┆ 转载 ┆ 收藏 
标签:

virtualbox

usb

win7

分类: Oracle
VirtualBox安装的是最新版本5.2.0及其扩展Extension_Pack-5.2.0,为了避免版本不兼容的问题,在虚拟机win7下面也安装了VBoxGuestAdditions_5.2.1-118918.iso(下载地址:http://download.virtualbox.org/virtualbox/),根据大家的经验,这时访问插入的USB设备应该是没有问题了。但这个时候问题偏偏就发生了:
USB device with UUID {……} is being exclusively used by the host computer
这句话的意思并不难理解:USB设备正在被宿主机以排他的方式独占着。但接下来该怎么做却让我绕了个大弯子。折腾了一上午,总得有点儿收获,记下来的好。

1. 将目前设置的USB接口2.0 重新设置为USB3.0,这样USB Controller便由OHCI, EHCI变为了xHCI。操作步骤:虚拟机Win7关机,在VirtualBox Manager中,Settings => Ports =>USB => USB 3.0。但这样做的结果是:重新启动Win7之后,在设备管理器中看到“通用串行总线USB控制器”不可用(有感叹号标示),卸载并重新安装驱动无法成功,报告“找不到驱动程序”。
阅读  ┆ 评论  ┆ 转载 ┆ 收藏 
  

新浪BLOG意见反馈留言板 电话:4000520066 提示音后按1键(按当地市话标准计费) 欢迎批评指正

新浪简介 | About Sina | 广告服务 | 联系我们 | 招聘信息 | 网站律师 | SINA English | 会员注册 | 产品答疑

新浪公司 版权所有