摘要: for fname in `ls *m4a`; do ffmpeg.exe -i $fname -c:a libmp3lame -b:a 128k $fname.mp3 ; done 阅读全文
posted @ 2024-03-19 20:30 rivanwang 阅读(29) 评论(0) 推荐(0) 编辑
摘要: 树莓派3 上 omxplayer 无法播放 h.265编码的 .mp4 文件,需要进行转码. 参考: https://superuser.com/questions/1380946/how-do-i-convert-10-bit-h-265-hevc-videos-to-h-264-without- 阅读全文
posted @ 2024-03-04 11:53 rivanwang 阅读(270) 评论(0) 推荐(0) 编辑
摘要: 仅抓取指定TCP端口号的 syn、rst 、fin 事件: tcpdump -nnn -i eth0 "tcp port 1234 && (tcp[tcpflags] & (tcp-syn|tcp-rst|tcp-fin) != 0)" 注意 && 和 & 的区别, 以及 空格 。 写入日志文件: 阅读全文
posted @ 2024-02-26 10:11 rivanwang 阅读(14) 评论(0) 推荐(0) 编辑
摘要: 通过netsh命令设置(需要管理员权限) 1.启用“DHCP和静态IP地址共存: netsh int ipv4 set interface "网卡名" dhcpstaticipcoexistence=enabled 2.为网卡添加静态IP地址: netsh int ipv4 add address 阅读全文
posted @ 2024-01-27 15:46 rivanwang 阅读(123) 评论(0) 推荐(0) 编辑
摘要: (参考: https://linux.cn/article-3967-1.html ) 注意不同位置 && 和 & 的区别。 阅读全文
posted @ 2024-01-23 19:56 rivanwang 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 1. 合并多个文件。且追加(-a)模式,更快。 2. 抽取 符合过滤条件的 数据: 3. 转换成 时间戳 + Hex 格式a56爆大奖在线娱乐 上图,抽取 time_epoch(时间戳)和 data 字段,写入 指定的文件。 参考: 阅读全文
posted @ 2023-11-27 19:55 rivanwang 阅读(18) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2023-11-22 11:49 rivanwang 阅读(16) 评论(0) 推荐(0) 编辑
摘要: 查看特定分辨率 对应的 模式参数: 查看当前设置: (依次)设置参数: (新分辨率生效) 阅读全文
posted @ 2023-10-31 10:59 rivanwang 阅读(887) 评论(0) 推荐(0) 编辑
摘要: ffmpeg 命令格式:usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}... crop的参数格式为 w:h:x:y (注意,宽:高 写在前面)w:h 为输出视频的宽和高,x:y 标 阅读全文
posted @ 2023-09-14 19:14 rivanwang 阅读(146) 评论(0) 推荐(0) 编辑
摘要: 通过nmcli添加了多个wifi连接,但是貌似 连接优先级是按照添加顺序来的,导致设备不能优先连接 信号更强的AP。 可通过修改 " connection.autoconnect-priority " 达到目的: 上图中: " nmcli conn show " 可查看各连接的 UUID 。 " n 阅读全文
posted @ 2023-09-05 09:16 rivanwang 阅读(468) 评论(0) 推荐(0) 编辑