'잡동사니'에 해당되는 글 13974건

  1. 2021.11.22 PCB 동박 두께 oz
  2. 2021.11.22 윈10 탐색기 복수 확장자 검색하기
  3. 2021.11.21 방정
  4. 2021.11.20 rpi 3b 2초 부팅 fs
  5. 2021.11.20 img 파일 마운트 하기
  6. 2021.11.20 병원 투어 2주차
  7. 2021.11.19 nc -k 옵션
  8. 2021.11.18 mp4 container
  9. 2021.11.18 wayland / weston
  10. 2021.11.18 구조체 타입과 변수명은 구분된다?

대개 물병에 보면 몇 oz / ml 이런식으로 표기해서 oz는 부피 단위 같은데

(다시 찾아보니 무게 단위라고)

[링크 : https://en.wikipedia.org/wiki/Ounce]

 

도대체.. PCB에 뜬금없이 왜 부피가 들어가나 검색을 해보게 됨

 

구리 1oz는 약 28.35g 이라는데

온도에 따른 부피 변화를 또 고려해야 하는건 아니겠지 -ㅁ-

아무튼 그정도 무게의 구리를 펴서 쫘악 바르면

1피트 * 1피트(약 30cm)의 PCB 기반 기분 약 35um 정도 두께로 쫘약 펴면 그 크기가 만들어 진다고

[링크 : https://my-know-how.tistory.com/3]

 

다만 얇으면 얇을수록 흐를 수 있는 전류가 낮아지고

아무래도 얇으면 열을 흡수할 수 있는 매질이 부족해지니, 이래저래 trade-off가 존재할 수 밖에 없을 듯.

게다가 원자재값 상승으로 구리가 비싸지면.. 흐음...

[링크 : https://dailylifetip.tistory.com/entry/PCB-동박두께Base-Copper-clad-관련-요약]

[링크 : https://igotit.tistory.com/entry/PCB-동박-두께-05-온스-1온스-2온스]

Posted by 구차니
Microsoft/Windows2021. 11. 22. 10:22

'Microsoft > Windows' 카테고리의 다른 글

dependency walker  (0) 2022.02.18
winPE format  (0) 2022.02.18
강제 edge 브라우저 이동 끄기  (0) 2021.06.11
원격 데스크탑 멀티 모니터  (0) 2020.11.13
원격 데스크톱 바로가기 만들기  (0) 2020.11.10
Posted by 구차니

빨래만 몇번이야.

 

밥 두번

총소 수시..

'개소리 왈왈 > 육아관련 주저리' 카테고리의 다른 글

코로나 난리구나..  (0) 2021.12.04
추워어어  (0) 2021.11.30
병원 투어 2주차  (0) 2021.11.20
병원 투어  (0) 2021.11.15
오랫만에 키즈카페  (0) 2021.11.14
Posted by 구차니
embeded/raspberry pi2021. 11. 20. 23:21

와.. /dev 아래 없는 것 보소..

 

/mnt $ sudo tree
.
├── bin
│   ├── arch -> busybox
│   ├── ash -> busybox
│   ├── base64 -> busybox
│   ├── busybox
│   ├── cat -> busybox
│   ├── chattr -> busybox
│   ├── chgrp -> busybox
│   ├── chmod -> busybox
│   ├── chown -> busybox
│   ├── cp -> busybox
│   ├── cpio -> busybox
│   ├── date -> busybox
│   ├── dd -> busybox
│   ├── df -> busybox
│   ├── dmesg -> busybox
│   ├── dnsdomainname -> busybox
│   ├── dumpkmap -> busybox
│   ├── echo -> busybox
│   ├── egrep -> busybox
│   ├── false -> busybox
│   ├── fdflush -> busybox
│   ├── fgrep -> busybox
│   ├── getopt -> busybox
│   ├── grep -> busybox
│   ├── gunzip -> busybox
│   ├── gzip -> busybox
│   ├── hostname -> busybox
│   ├── kill -> busybox
│   ├── link -> busybox
│   ├── linux32 -> busybox
│   ├── linux64 -> busybox
│   ├── ln -> busybox
│   ├── login -> busybox
│   ├── ls -> busybox
│   ├── lsattr -> busybox
│   ├── mkdir -> busybox
│   ├── mknod -> busybox
│   ├── mktemp -> busybox
│   ├── more -> busybox
│   ├── mount -> busybox
│   ├── mountpoint -> busybox
│   ├── mt -> busybox
│   ├── mv -> busybox
│   ├── netstat -> busybox
│   ├── nice -> busybox
│   ├── nuke -> busybox
│   ├── pidof -> busybox
│   ├── ping -> busybox
│   ├── pipe_progress -> busybox
│   ├── printenv -> busybox
│   ├── ps -> busybox
│   ├── pwd -> busybox
│   ├── resume -> busybox
│   ├── rm -> busybox
│   ├── rmdir -> busybox
│   ├── run-parts -> busybox
│   ├── sed -> busybox
│   ├── setarch -> busybox
│   ├── setpriv -> busybox
│   ├── setserial -> busybox
│   ├── sh -> busybox
│   ├── sleep -> busybox
│   ├── stty -> busybox
│   ├── su -> busybox
│   ├── sync -> busybox
│   ├── tar -> busybox
│   ├── touch -> busybox
│   ├── true -> busybox
│   ├── umount -> busybox
│   ├── uname -> busybox
│   ├── usleep -> busybox
│   ├── vi -> busybox
│   ├── watch -> busybox
│   └── zcat -> busybox
├── dev
│   ├── fd -> ../proc/self/fd
│   ├── log -> ../tmp/log
│   ├── pts
│   ├── shm
│   ├── stderr -> ../proc/self/fd/2
│   ├── stdin -> ../proc/self/fd/0
│   └── stdout -> ../proc/self/fd/1
├── etc
│   ├── fstab
│   ├── group
│   ├── hostname
│   ├── hosts
│   ├── init.d
│   │   ├── rcK
│   │   ├── rcS
│   │   ├── S01syslogd
│   │   ├── S02klogd
│   │   ├── S20urandom
│   │   └── S21ftDev
│   ├── inittab
│   ├── issue
│   ├── mtab -> ../proc/self/mounts
│   ├── network
│   │   ├── if-down.d
│   │   ├── if-post-down.d
│   │   ├── if-pre-up.d
│   │   └── if-up.d
│   ├── nsswitch.conf
│   ├── os-release -> ../usr/lib/os-release
│   ├── passwd
│   ├── profile
│   ├── profile.d
│   │   └── umask.sh
│   ├── protocols
│   ├── random-seed
│   ├── resolv.conf -> ../tmp/resolv.conf
│   ├── services
│   ├── shadow
│   └── shells
├── lib
│   ├── ld-2.28.so
│   ├── ld-linux-armhf.so.3 -> ld-2.28.so
│   ├── libanl-2.28.so
│   ├── libanl.so.1 -> libanl-2.28.so
│   ├── libatomic.so -> libatomic.so.1.2.0
│   ├── libatomic.so.1 -> libatomic.so.1.2.0
│   ├── libatomic.so.1.2.0
│   ├── libc-2.28.so
│   ├── libcrypt-2.28.so
│   ├── libcrypt.so.1 -> libcrypt-2.28.so
│   ├── libc.so.6 -> libc-2.28.so
│   ├── libdl-2.28.so
│   ├── libdl.so.2 -> libdl-2.28.so
│   ├── libgcc_s.so
│   ├── libgcc_s.so.1
│   ├── libm-2.28.so
│   ├── libm.so.6 -> libm-2.28.so
│   ├── libnss_dns-2.28.so
│   ├── libnss_dns.so.2 -> libnss_dns-2.28.so
│   ├── libnss_files-2.28.so
│   ├── libnss_files.so.2 -> libnss_files-2.28.so
│   ├── libpthread-2.28.so
│   ├── libpthread.so.0 -> libpthread-2.28.so
│   ├── libresolv-2.28.so
│   ├── libresolv.so.2 -> libresolv-2.28.so
│   ├── librt-2.28.so
│   ├── librt.so.1 -> librt-2.28.so
│   ├── libutil-2.28.so
│   ├── libutil.so.1 -> libutil-2.28.so
│   └── modules
│       └── 4.14.29-v7
│           ├── kernel
│           │   ├── arch
│           │   │   └── arm
│           │   │       ├── crypto
│           │   │       │   ├── aes-arm-bs.ko
│           │   │       │   ├── aes-arm.ko
│           │   │       │   ├── sha1-arm.ko
│           │   │       │   └── sha1-arm-neon.ko
│           │   │       ├── lib
│           │   │       │   └── xor-neon.ko
│           │   │       └── oprofile
│           │   │           └── oprofile.ko
│           │   ├── crypto
│           │   │   ├── arc4.ko
│           │   │   ├── async_tx
│           │   │   │   ├── async_memcpy.ko
│           │   │   │   ├── async_pq.ko
│           │   │   │   ├── async_raid6_recov.ko
│           │   │   │   ├── async_tx.ko
│           │   │   │   └── async_xor.ko
│           │   │   ├── authencesn.ko
│           │   │   ├── authenc.ko
│           │   │   ├── cast5_generic.ko
│           │   │   ├── cast_common.ko
│           │   │   ├── ccm.ko
│           │   │   ├── cmac.ko
│           │   │   ├── cryptd.ko
│           │   │   ├── crypto_simd.ko
│           │   │   ├── ctr.ko
│           │   │   ├── cts.ko
│           │   │   ├── deflate.ko
│           │   │   ├── drbg.ko
│           │   │   ├── ecb.ko
│           │   │   ├── ecdh_generic.ko
│           │   │   ├── echainiv.ko
│           │   │   ├── gcm.ko
│           │   │   ├── gf128mul.ko
│           │   │   ├── ghash-generic.ko
│           │   │   ├── hmac.ko
│           │   │   ├── jitterentropy_rng.ko
│           │   │   ├── lz4.ko
│           │   │   ├── lzo.ko
│           │   │   ├── md4.ko
│           │   │   ├── md5.ko
│           │   │   ├── michael_mic.ko
│           │   │   ├── seqiv.ko
│           │   │   ├── sha1_generic.ko
│           │   │   ├── sha256_generic.ko
│           │   │   ├── sha512_generic.ko
│           │   │   ├── tgr192.ko
│           │   │   ├── wp512.ko
│           │   │   ├── xcbc.ko
│           │   │   ├── xor.ko
│           │   │   └── xts.ko
│           │   ├── drivers
│           │   │   ├── bcma
│           │   │   │   └── bcma.ko
│           │   │   ├── block
│           │   │   │   ├── cryptoloop.ko
│           │   │   │   ├── pktcdvd.ko
│           │   │   │   └── zram
│           │   │   │       └── zram.ko
│           │   │   ├── cdrom
│           │   │   │   └── cdrom.ko
│           │   │   ├── char
│           │   │   │   └── broadcom
│           │   │   │       └── bcm2835_smi_dev.ko
│           │   │   ├── dax
│           │   │   │   └── dax.ko
│           │   │   ├── extcon
│           │   │   │   └── extcon-core.ko
│           │   │   ├── gpio
│           │   │   │   ├── gpio-arizona.ko
│           │   │   │   ├── gpio-mockup.ko
│           │   │   │   └── gpio-pcf857x.ko
│           │   │   ├── gpu
│           │   │   │   └── drm
│           │   │   │       ├── drm_kms_helper.ko
│           │   │   │       ├── drm.ko
│           │   │   │       ├── panel
│           │   │   │       │   └── panel-simple.ko
│           │   │   │       └── tinydrm
│           │   │   │           ├── core
│           │   │   │           │   └── tinydrm.ko
│           │   │   │           ├── mi0283qt.ko
│           │   │   │           ├── mipi-dbi.ko
│           │   │   │           └── repaper.ko
│           │   │   ├── hid
│           │   │   │   ├── hid-belkin.ko
│           │   │   │   ├── hid-cherry.ko
│           │   │   │   ├── hid-chicony.ko
│           │   │   │   ├── hid-cypress.ko
│           │   │   │   ├── hid-dr.ko
│           │   │   │   ├── hid-elecom.ko
│           │   │   │   ├── hid-emsff.ko
│           │   │   │   ├── hid-ezkey.ko
│           │   │   │   ├── hid-gaff.ko
│           │   │   │   ├── hid-gembird.ko
│           │   │   │   ├── hid-gyration.ko
│           │   │   │   ├── hid-kensington.ko
│           │   │   │   ├── hid-keytouch.ko
│           │   │   │   ├── hid-kye.ko
│           │   │   │   ├── hid-lcpower.ko
│           │   │   │   ├── hid-led.ko
│           │   │   │   ├── hid-microsoft.ko
│           │   │   │   ├── hid-monterey.ko
│           │   │   │   ├── hid-multitouch.ko
│           │   │   │   ├── hid-ortek.ko
│           │   │   │   ├── hid-petalynx.ko
│           │   │   │   ├── hid-picolcd.ko
│           │   │   │   ├── hid-pl.ko
│           │   │   │   ├── hid-samsung.ko
│           │   │   │   ├── hid-sjoy.ko
│           │   │   │   ├── hid-speedlink.ko
│           │   │   │   ├── hid-sunplus.ko
│           │   │   │   ├── hid-tmff.ko
│           │   │   │   ├── hid-topseed.ko
│           │   │   │   ├── hid-twinhan.ko
│           │   │   │   ├── hid-waltop.ko
│           │   │   │   ├── hid-wiimote.ko
│           │   │   │   ├── hid-xinmo.ko
│           │   │   │   ├── hid-zpff.ko
│           │   │   │   ├── hid-zydacron.ko
│           │   │   │   └── uhid.ko
│           │   │   ├── hwmon
│           │   │   │   ├── ads1015.ko
│           │   │   │   ├── hwmon.ko
│           │   │   │   ├── ina2xx.ko
│           │   │   │   ├── jc42.ko
│           │   │   │   ├── lm75.ko
│           │   │   │   ├── sht21.ko
│           │   │   │   ├── sht3x.ko
│           │   │   │   ├── shtc1.ko
│           │   │   │   └── tmp102.ko
│           │   │   ├── i2c
│           │   │   │   ├── algos
│           │   │   │   │   └── i2c-algo-bit.ko
│           │   │   │   ├── busses
│           │   │   │   │   ├── i2c-bcm2708.ko
│           │   │   │   │   ├── i2c-bcm2835.ko
│           │   │   │   │   └── i2c-gpio.ko
│           │   │   │   ├── i2c-dev.ko
│           │   │   │   ├── i2c-mux.ko
│           │   │   │   └── muxes
│           │   │   │       ├── i2c-mux-gpmux.ko
│           │   │   │       └── i2c-mux-pca954x.ko
│           │   │   ├── input
│           │   │   │   ├── evdev.ko
│           │   │   │   ├── ff-memless.ko
│           │   │   │   ├── gameport
│           │   │   │   │   ├── gameport.ko
│           │   │   │   │   ├── lightning.ko
│           │   │   │   │   └── ns558.ko
│           │   │   │   ├── input-polldev.ko
│           │   │   │   ├── keyboard
│           │   │   │   │   └── gpio_keys.ko
│           │   │   │   ├── misc
│           │   │   │   │   ├── ad714x-i2c.ko
│           │   │   │   │   ├── ad714x.ko
│           │   │   │   │   ├── ad714x-spi.ko
│           │   │   │   │   ├── adxl34x-i2c.ko
│           │   │   │   │   ├── adxl34x.ko
│           │   │   │   │   ├── adxl34x-spi.ko
│           │   │   │   │   ├── cma3000_d0x.ko
│           │   │   │   │   ├── rotary_encoder.ko
│           │   │   │   │   └── uinput.ko
│           │   │   │   └── serio
│           │   │   │       ├── serio.ko
│           │   │   │       ├── serio_raw.ko
│           │   │   │       └── serport.ko
│           │   │   ├── leds
│           │   │   │   └── trigger
│           │   │   │       ├── ledtrig-camera.ko
│           │   │   │       └── ledtrig-transient.ko
│           │   │   ├── md
│           │   │   │   ├── dm-bio-prison.ko
│           │   │   │   ├── dm-bufio.ko
│           │   │   │   ├── dm-crypt.ko
│           │   │   │   ├── dm-log.ko
│           │   │   │   ├── dm-mirror.ko
│           │   │   │   ├── dm-mod.ko
│           │   │   │   ├── dm-raid.ko
│           │   │   │   ├── dm-region-hash.ko
│           │   │   │   ├── dm-snapshot.ko
│           │   │   │   ├── dm-thin-pool.ko
│           │   │   │   ├── dm-zero.ko
│           │   │   │   ├── linear.ko
│           │   │   │   ├── md-mod.ko
│           │   │   │   ├── persistent-data
│           │   │   │   │   └── dm-persistent-data.ko
│           │   │   │   ├── raid0.ko
│           │   │   │   ├── raid10.ko
│           │   │   │   ├── raid1.ko
│           │   │   │   └── raid456.ko
│           │   │   ├── mfd
│           │   │   │   ├── arizona-i2c.ko
│           │   │   │   ├── arizona-spi.ko
│           │   │   │   ├── rpisense-core.ko
│           │   │   │   └── wl1273-core.ko
│           │   │   ├── misc
│           │   │   │   ├── bcm2835_smi.ko
│           │   │   │   └── eeprom
│           │   │   │       ├── at24.ko
│           │   │   │       └── eeprom_93cx6.ko
│           │   │   ├── mmc
│           │   │   │   └── host
│           │   │   │       ├── mmc_spi.ko
│           │   │   │       └── of_mmc_spi.ko
│           │   │   ├── mtd
│           │   │   │   ├── chips
│           │   │   │   │   └── chipreg.ko
│           │   │   │   ├── devices
│           │   │   │   │   └── m25p80.ko
│           │   │   │   ├── mtd_blkdevs.ko
│           │   │   │   ├── mtdblock.ko
│           │   │   │   ├── mtd.ko
│           │   │   │   ├── nand
│           │   │   │   │   ├── bcm2835_smi_nand.ko
│           │   │   │   │   ├── nand_ecc.ko
│           │   │   │   │   └── nand.ko
│           │   │   │   ├── ofpart.ko
│           │   │   │   ├── spi-nor
│           │   │   │   │   └── spi-nor.ko
│           │   │   │   └── ubi
│           │   │   │       └── ubi.ko
│           │   │   ├── mux
│           │   │   │   └── mux-core.ko
│           │   │   ├── perf
│           │   │   │   └── raspberrypi_axi_monitor.ko
│           │   │   ├── pinctrl
│           │   │   │   └── pinctrl-mcp23s08.ko
│           │   │   ├── power
│           │   │   │   └── supply
│           │   │   │       └── ds2760_battery.ko
│           │   │   ├── pps
│           │   │   │   ├── clients
│           │   │   │   │   ├── pps-gpio.ko
│           │   │   │   │   └── pps-ldisc.ko
│           │   │   │   └── pps_core.ko
│           │   │   ├── pwm
│           │   │   │   ├── pwm-bcm2835.ko
│           │   │   │   └── pwm-pca9685.ko
│           │   │   ├── regulator
│           │   │   │   └── fixed.ko
│           │   │   ├── rtc
│           │   │   │   ├── rtc-abx80x.ko
│           │   │   │   ├── rtc-bq32k.ko
│           │   │   │   ├── rtc-ds1302.ko
│           │   │   │   ├── rtc-ds1305.ko
│           │   │   │   ├── rtc-ds1307.ko
│           │   │   │   ├── rtc-ds1374.ko
│           │   │   │   ├── rtc-ds1390.ko
│           │   │   │   ├── rtc-ds1672.ko
│           │   │   │   ├── rtc-ds3232.ko
│           │   │   │   ├── rtc-em3027.ko
│           │   │   │   ├── rtc-fm3130.ko
│           │   │   │   ├── rtc-isl12022.ko
│           │   │   │   ├── rtc-isl1208.ko
│           │   │   │   ├── rtc-m41t80.ko
│           │   │   │   ├── rtc-m41t93.ko
│           │   │   │   ├── rtc-m41t94.ko
│           │   │   │   ├── rtc-max6900.ko
│           │   │   │   ├── rtc-max6902.ko
│           │   │   │   ├── rtc-pcf2123.ko
│           │   │   │   ├── rtc-pcf2127.ko
│           │   │   │   ├── rtc-pcf8523.ko
│           │   │   │   ├── rtc-pcf8563.ko
│           │   │   │   ├── rtc-pcf8583.ko
│           │   │   │   ├── rtc-r9701.ko
│           │   │   │   ├── rtc-rs5c348.ko
│           │   │   │   ├── rtc-rs5c372.ko
│           │   │   │   ├── rtc-rv3029c2.ko
│           │   │   │   ├── rtc-rx4581.ko
│           │   │   │   ├── rtc-rx8025.ko
│           │   │   │   ├── rtc-rx8581.ko
│           │   │   │   ├── rtc-s35390a.ko
│           │   │   │   └── rtc-x1205.ko
│           │   │   ├── scsi
│           │   │   │   ├── iscsi_boot_sysfs.ko
│           │   │   │   ├── osst.ko
│           │   │   │   ├── sg.ko
│           │   │   │   ├── sr_mod.ko
│           │   │   │   └── st.ko
│           │   │   ├── spi
│           │   │   │   ├── spi-bcm2835aux.ko
│           │   │   │   ├── spi-bcm2835.ko
│           │   │   │   └── spidev.ko
│           │   │   ├── ssb
│           │   │   │   └── ssb.ko
│           │   │   ├── staging
│           │   │   │   ├── fbtft
│           │   │   │   │   ├── fb_agm1264k-fl.ko
│           │   │   │   │   ├── fb_bd663474.ko
│           │   │   │   │   ├── fb_hx8340bn.ko
│           │   │   │   │   ├── fb_hx8347d.ko
│           │   │   │   │   ├── fb_hx8353d.ko
│           │   │   │   │   ├── fb_hx8357d.ko
│           │   │   │   │   ├── fb_ili9163.ko
│           │   │   │   │   ├── fb_ili9320.ko
│           │   │   │   │   ├── fb_ili9325.ko
│           │   │   │   │   ├── fb_ili9340.ko
│           │   │   │   │   ├── fb_ili9341.ko
│           │   │   │   │   ├── fb_ili9481.ko
│           │   │   │   │   ├── fb_ili9486.ko
│           │   │   │   │   ├── fb_pcd8544.ko
│           │   │   │   │   ├── fb_ra8875.ko
│           │   │   │   │   ├── fb_s6d02a1.ko
│           │   │   │   │   ├── fb_s6d1121.ko
│           │   │   │   │   ├── fb_ssd1289.ko
│           │   │   │   │   ├── fb_ssd1306.ko
│           │   │   │   │   ├── fb_ssd1331.ko
│           │   │   │   │   ├── fb_ssd1351.ko
│           │   │   │   │   ├── fb_st7735r.ko
│           │   │   │   │   ├── fb_st7789v.ko
│           │   │   │   │   ├── fbtft_device.ko
│           │   │   │   │   ├── fbtft.ko
│           │   │   │   │   ├── fb_tinylcd.ko
│           │   │   │   │   ├── fb_tls8204.ko
│           │   │   │   │   ├── fb_uc1701.ko
│           │   │   │   │   ├── fb_upd161704.ko
│           │   │   │   │   ├── fb_watterott.ko
│           │   │   │   │   └── flexfb.ko
│           │   │   │   └── speakup
│           │   │   │       ├── speakup.ko
│           │   │   │       └── speakup_soft.ko
│           │   │   ├── tty
│           │   │   │   └── serial
│           │   │   │       └── sc16is7xx.ko
│           │   │   ├── uio
│           │   │   │   ├── uio.ko
│           │   │   │   └── uio_pdrv_genirq.ko
│           │   │   ├── video
│           │   │   │   ├── backlight
│           │   │   │   │   ├── gpio_backlight.ko
│           │   │   │   │   ├── lcd.ko
│           │   │   │   │   └── rpi_backlight.ko
│           │   │   │   └── fbdev
│           │   │   │       ├── core
│           │   │   │       │   ├── fb_sys_fops.ko
│           │   │   │       │   ├── syscopyarea.ko
│           │   │   │       │   ├── sysfillrect.ko
│           │   │   │       │   └── sysimgblt.ko
│           │   │   │       ├── rpisense-fb.ko
│           │   │   │       └── ssd1307fb.ko
│           │   │   ├── w1
│           │   │   │   ├── masters
│           │   │   │   │   ├── ds1wm.ko
│           │   │   │   │   ├── ds2482.ko
│           │   │   │   │   └── w1-gpio.ko
│           │   │   │   ├── slaves
│           │   │   │   │   ├── w1_ds2406.ko
│           │   │   │   │   ├── w1_ds2408.ko
│           │   │   │   │   ├── w1_ds2413.ko
│           │   │   │   │   ├── w1_ds2423.ko
│           │   │   │   │   ├── w1_ds2431.ko
│           │   │   │   │   ├── w1_ds2433.ko
│           │   │   │   │   ├── w1_ds2438.ko
│           │   │   │   │   ├── w1_ds2760.ko
│           │   │   │   │   ├── w1_ds2780.ko
│           │   │   │   │   ├── w1_ds2781.ko
│           │   │   │   │   ├── w1_ds28e04.ko
│           │   │   │   │   ├── w1_smem.ko
│           │   │   │   │   └── w1_therm.ko
│           │   │   │   └── wire.ko
│           │   │   └── watchdog
│           │   │       └── gpio_wdt.ko
│           │   ├── fs
│           │   │   ├── binfmt_misc.ko
│           │   │   ├── btrfs
│           │   │   │   └── btrfs.ko
│           │   │   ├── ecryptfs
│           │   │   │   └── ecryptfs.ko
│           │   │   ├── fuse
│           │   │   │   ├── cuse.ko
│           │   │   │   └── fuse.ko
│           │   │   ├── gfs2
│           │   │   │   └── gfs2.ko
│           │   │   ├── hfs
│           │   │   │   └── hfs.ko
│           │   │   ├── hfsplus
│           │   │   │   └── hfsplus.ko
│           │   │   ├── isofs
│           │   │   │   └── isofs.ko
│           │   │   ├── jffs2
│           │   │   │   └── jffs2.ko
│           │   │   ├── jfs
│           │   │   │   └── jfs.ko
│           │   │   ├── nilfs2
│           │   │   │   └── nilfs2.ko
│           │   │   ├── nls
│           │   │   │   ├── nls_cp1250.ko
│           │   │   │   ├── nls_cp1251.ko
│           │   │   │   ├── nls_cp1255.ko
│           │   │   │   ├── nls_cp737.ko
│           │   │   │   ├── nls_cp775.ko
│           │   │   │   ├── nls_cp850.ko
│           │   │   │   ├── nls_cp852.ko
│           │   │   │   ├── nls_cp855.ko
│           │   │   │   ├── nls_cp857.ko
│           │   │   │   ├── nls_cp860.ko
│           │   │   │   ├── nls_cp861.ko
│           │   │   │   ├── nls_cp862.ko
│           │   │   │   ├── nls_cp863.ko
│           │   │   │   ├── nls_cp864.ko
│           │   │   │   ├── nls_cp865.ko
│           │   │   │   ├── nls_cp866.ko
│           │   │   │   ├── nls_cp869.ko
│           │   │   │   ├── nls_cp874.ko
│           │   │   │   ├── nls_cp932.ko
│           │   │   │   ├── nls_cp936.ko
│           │   │   │   ├── nls_cp949.ko
│           │   │   │   ├── nls_cp950.ko
│           │   │   │   ├── nls_euc-jp.ko
│           │   │   │   ├── nls_iso8859-13.ko
│           │   │   │   ├── nls_iso8859-14.ko
│           │   │   │   ├── nls_iso8859-15.ko
│           │   │   │   ├── nls_iso8859-1.ko
│           │   │   │   ├── nls_iso8859-2.ko
│           │   │   │   ├── nls_iso8859-3.ko
│           │   │   │   ├── nls_iso8859-4.ko
│           │   │   │   ├── nls_iso8859-5.ko
│           │   │   │   ├── nls_iso8859-6.ko
│           │   │   │   ├── nls_iso8859-7.ko
│           │   │   │   ├── nls_iso8859-9.ko
│           │   │   │   ├── nls_koi8-r.ko
│           │   │   │   ├── nls_koi8-ru.ko
│           │   │   │   ├── nls_koi8-u.ko
│           │   │   │   └── nls_utf8.ko
│           │   │   ├── ntfs
│           │   │   │   └── ntfs.ko
│           │   │   ├── overlayfs
│           │   │   │   └── overlay.ko
│           │   │   ├── quota
│           │   │   │   ├── quota_tree.ko
│           │   │   │   ├── quota_v1.ko
│           │   │   │   └── quota_v2.ko
│           │   │   ├── reiserfs
│           │   │   │   └── reiserfs.ko
│           │   │   ├── squashfs
│           │   │   │   └── squashfs.ko
│           │   │   ├── ubifs
│           │   │   │   └── ubifs.ko
│           │   │   ├── udf
│           │   │   │   └── udf.ko
│           │   │   └── xfs
│           │   │       └── xfs.ko
│           │   ├── kernel
│           │   │   └── configs.ko
│           │   ├── lib
│           │   │   ├── crc7.ko
│           │   │   ├── crc8.ko
│           │   │   ├── crc-ccitt.ko
│           │   │   ├── lz4
│           │   │   │   └── lz4_compress.ko
│           │   │   ├── lzo
│           │   │   │   └── lzo_compress.ko
│           │   │   ├── raid6
│           │   │   │   └── raid6_pq.ko
│           │   │   ├── xxhash.ko
│           │   │   ├── zlib_deflate
│           │   │   │   └── zlib_deflate.ko
│           │   │   └── zstd
│           │   │       ├── zstd_compress.ko
│           │   │       └── zstd_decompress.ko
│           │   └── mm
│           │       └── zsmalloc.ko
│           ├── modules.alias
│           ├── modules.alias.bin
│           ├── modules.builtin
│           ├── modules.builtin.bin
│           ├── modules.dep
│           ├── modules.dep.bin
│           ├── modules.devname
│           ├── modules.order
│           ├── modules.softdep
│           ├── modules.symbols
│           └── modules.symbols.bin
├── lib32 -> lib
├── linuxrc -> bin/busybox
├── lost+found
├── media
├── mnt
├── opt
├── proc
├── root
│   └── QmlTestApplication
├── run
│   └── utmp
├── sbin
│   ├── arp -> ../bin/busybox
│   ├── blkid -> ../bin/busybox
│   ├── devmem -> ../bin/busybox
│   ├── fdisk -> ../bin/busybox
│   ├── freeramdisk -> ../bin/busybox
│   ├── fsck -> ../bin/busybox
│   ├── fstrim -> ../bin/busybox
│   ├── getty -> ../bin/busybox
│   ├── halt -> ../bin/busybox
│   ├── hdparm -> ../bin/busybox
│   ├── hwclock -> ../bin/busybox
│   ├── ifconfig -> ../bin/busybox
│   ├── ifdown -> ../bin/busybox
│   ├── ifup -> ../bin/busybox
│   ├── init -> ../bin/busybox
│   ├── insmod -> ../bin/busybox
│   ├── ip -> ../bin/busybox
│   ├── ipaddr -> ../bin/busybox
│   ├── iplink -> ../bin/busybox
│   ├── ipneigh -> ../bin/busybox
│   ├── iproute -> ../bin/busybox
│   ├── iprule -> ../bin/busybox
│   ├── iptunnel -> ../bin/busybox
│   ├── klogd -> ../bin/busybox
│   ├── loadkmap -> ../bin/busybox
│   ├── losetup -> ../bin/busybox
│   ├── lsmod -> ../bin/busybox
│   ├── makedevs -> ../bin/busybox
│   ├── mdev -> ../bin/busybox
│   ├── mkdosfs -> ../bin/busybox
│   ├── mke2fs -> ../bin/busybox
│   ├── mkswap -> ../bin/busybox
│   ├── modprobe -> ../bin/busybox
│   ├── nameif -> ../bin/busybox
│   ├── pivot_root -> ../bin/busybox
│   ├── poweroff -> ../bin/busybox
│   ├── reboot -> ../bin/busybox
│   ├── rmmod -> ../bin/busybox
│   ├── route -> ../bin/busybox
│   ├── run-init -> ../bin/busybox
│   ├── runlevel -> ../bin/busybox
│   ├── setconsole -> ../bin/busybox
│   ├── start-stop-daemon -> ../bin/busybox
│   ├── sulogin -> ../bin/busybox
│   ├── swapoff -> ../bin/busybox
│   ├── swapon -> ../bin/busybox
│   ├── switch_root -> ../bin/busybox
│   ├── sysctl -> ../bin/busybox
│   ├── syslogd -> ../bin/busybox
│   ├── tc -> ../bin/busybox
│   ├── udhcpc -> ../bin/busybox
│   ├── uevent -> ../bin/busybox
│   ├── vconfig -> ../bin/busybox
│   └── watchdog -> ../bin/busybox
├── sys
├── tmp
├── usr
│   ├── bin
│   │   ├── [ -> ../../bin/busybox
│   │   ├── [[ -> ../../bin/busybox
│   │   ├── ar -> ../../bin/busybox
│   │   ├── awk -> ../../bin/busybox
│   │   ├── basename -> ../../bin/busybox
│   │   ├── bunzip2 -> ../../bin/busybox
│   │   ├── bzcat -> ../../bin/busybox
│   │   ├── chrt -> ../../bin/busybox
│   │   ├── chvt -> ../../bin/busybox
│   │   ├── cksum -> ../../bin/busybox
│   │   ├── clear -> ../../bin/busybox
│   │   ├── cmp -> ../../bin/busybox
│   │   ├── containers_check_frame_int
│   │   ├── containers_datagram_receiver
│   │   ├── containers_datagram_sender
│   │   ├── containers_dump_pktfile
│   │   ├── containers_rtp_decoder
│   │   ├── containers_stream_client
│   │   ├── containers_stream_server
│   │   ├── containers_test
│   │   ├── containers_test_bits
│   │   ├── containers_test_uri
│   │   ├── containers_uri_pipe
│   │   ├── crontab -> ../../bin/busybox
│   │   ├── cut -> ../../bin/busybox
│   │   ├── dc -> ../../bin/busybox
│   │   ├── deallocvt -> ../../bin/busybox
│   │   ├── diff -> ../../bin/busybox
│   │   ├── dirname -> ../../bin/busybox
│   │   ├── dos2unix -> ../../bin/busybox
│   │   ├── dtmerge
│   │   ├── dtoverlay
│   │   ├── dtoverlay-post
│   │   ├── dtoverlay-pre
│   │   ├── dtparam -> dtoverlay
│   │   ├── du -> ../../bin/busybox
│   │   ├── eject -> ../../bin/busybox
│   │   ├── env -> ../../bin/busybox
│   │   ├── expr -> ../../bin/busybox
│   │   ├── factor -> ../../bin/busybox
│   │   ├── fallocate -> ../../bin/busybox
│   │   ├── find -> ../../bin/busybox
│   │   ├── flock -> ../../bin/busybox
│   │   ├── fold -> ../../bin/busybox
│   │   ├── free -> ../../bin/busybox
│   │   ├── fuser -> ../../bin/busybox
│   │   ├── head -> ../../bin/busybox
│   │   ├── hexdump -> ../../bin/busybox
│   │   ├── hexedit -> ../../bin/busybox
│   │   ├── hostid -> ../../bin/busybox
│   │   ├── id -> ../../bin/busybox
│   │   ├── install -> ../../bin/busybox
│   │   ├── ipcrm -> ../../bin/busybox
│   │   ├── ipcs -> ../../bin/busybox
│   │   ├── killall -> ../../bin/busybox
│   │   ├── last -> ../../bin/busybox
│   │   ├── less -> ../../bin/busybox
│   │   ├── logger -> ../../bin/busybox
│   │   ├── logname -> ../../bin/busybox
│   │   ├── lsof -> ../../bin/busybox
│   │   ├── lspci -> ../../bin/busybox
│   │   ├── lsscsi -> ../../bin/busybox
│   │   ├── lsusb -> ../../bin/busybox
│   │   ├── lzcat -> ../../bin/busybox
│   │   ├── lzma -> ../../bin/busybox
│   │   ├── lzopcat -> ../../bin/busybox
│   │   ├── md5sum -> ../../bin/busybox
│   │   ├── mesg -> ../../bin/busybox
│   │   ├── microcom -> ../../bin/busybox
│   │   ├── mkfifo -> ../../bin/busybox
│   │   ├── mkpasswd -> ../../bin/busybox
│   │   ├── mmal_vc_diag
│   │   ├── nl -> ../../bin/busybox
│   │   ├── nohup -> ../../bin/busybox
│   │   ├── nproc -> ../../bin/busybox
│   │   ├── nslookup -> ../../bin/busybox
│   │   ├── od -> ../../bin/busybox
│   │   ├── openvt -> ../../bin/busybox
│   │   ├── passwd -> ../../bin/busybox
│   │   ├── paste -> ../../bin/busybox
│   │   ├── patch -> ../../bin/busybox
│   │   ├── printf -> ../../bin/busybox
│   │   ├── raspistill
│   │   ├── raspivid
│   │   ├── raspividyuv
│   │   ├── raspiyuv
│   │   ├── readlink -> ../../bin/busybox
│   │   ├── realpath -> ../../bin/busybox
│   │   ├── renice -> ../../bin/busybox
│   │   ├── reset -> ../../bin/busybox
│   │   ├── resize -> ../../bin/busybox
│   │   ├── seq -> ../../bin/busybox
│   │   ├── setfattr -> ../../bin/busybox
│   │   ├── setkeycodes -> ../../bin/busybox
│   │   ├── setsid -> ../../bin/busybox
│   │   ├── sha1sum -> ../../bin/busybox
│   │   ├── sha256sum -> ../../bin/busybox
│   │   ├── sha3sum -> ../../bin/busybox
│   │   ├── sha512sum -> ../../bin/busybox
│   │   ├── shred -> ../../bin/busybox
│   │   ├── sort -> ../../bin/busybox
│   │   ├── strings -> ../../bin/busybox
│   │   ├── svc -> ../../bin/busybox
│   │   ├── svok -> ../../bin/busybox
│   │   ├── tail -> ../../bin/busybox
│   │   ├── tee -> ../../bin/busybox
│   │   ├── telnet -> ../../bin/busybox
│   │   ├── test -> ../../bin/busybox
│   │   ├── tftp -> ../../bin/busybox
│   │   ├── time -> ../../bin/busybox
│   │   ├── top -> ../../bin/busybox
│   │   ├── tr -> ../../bin/busybox
│   │   ├── traceroute -> ../../bin/busybox
│   │   ├── truncate -> ../../bin/busybox
│   │   ├── tty -> ../../bin/busybox
│   │   ├── tvservice
│   │   ├── uniq -> ../../bin/busybox
│   │   ├── unix2dos -> ../../bin/busybox
│   │   ├── unlink -> ../../bin/busybox
│   │   ├── unlzma -> ../../bin/busybox
│   │   ├── unlzop -> ../../bin/busybox
│   │   ├── unxz -> ../../bin/busybox
│   │   ├── unzip -> ../../bin/busybox
│   │   ├── uptime -> ../../bin/busybox
│   │   ├── uudecode -> ../../bin/busybox
│   │   ├── uuencode -> ../../bin/busybox
│   │   ├── vcgencmd
│   │   ├── vchiq_test
│   │   ├── vcmailbox
│   │   ├── vcsmem
│   │   ├── vlock -> ../../bin/busybox
│   │   ├── w -> ../../bin/busybox
│   │   ├── wc -> ../../bin/busybox
│   │   ├── wget -> ../../bin/busybox
│   │   ├── which -> ../../bin/busybox
│   │   ├── who -> ../../bin/busybox
│   │   ├── whoami -> ../../bin/busybox
│   │   ├── xargs -> ../../bin/busybox
│   │   ├── xxd -> ../../bin/busybox
│   │   ├── xz -> ../../bin/busybox
│   │   ├── xzcat -> ../../bin/busybox
│   │   └── yes -> ../../bin/busybox
│   ├── etc
│   │   └── init.d
│   │       └── vcfiled
│   ├── lib
│   │   ├── libbcm_host.so
│   │   ├── libbrcmEGL.so
│   │   ├── libbrcmGLESv2.so
│   │   ├── libbrcmOpenVG.so
│   │   ├── libbrcmWFC.so
│   │   ├── libcontainers.so
│   │   ├── libdebug_sym.so
│   │   ├── libdtovl.so
│   │   ├── libEGL.so
│   │   ├── libGLESv2.so
│   │   ├── libkhrn_client.so
│   │   ├── libmmal_components.so
│   │   ├── libmmal_core.so
│   │   ├── libmmal.so
│   │   ├── libmmal_util.so
│   │   ├── libmmal_vc_client.so
│   │   ├── libopenmaxil.so
│   │   ├── libOpenVG.so
│   │   ├── libstdc++.so -> libstdc++.so.6.0.24
│   │   ├── libstdc++.so.6 -> libstdc++.so.6.0.24
│   │   ├── libstdc++.so.6.0.24
│   │   ├── libstdc++.so.6.0.24-gdb.py
│   │   ├── libvcfiled_check.so
│   │   ├── libvchiq_arm.so
│   │   ├── libvchostif.so
│   │   ├── libvcilcs.so
│   │   ├── libvcos.so
│   │   ├── libvcsm.so
│   │   ├── libWFC.so
│   │   ├── os-release
│   │   └── plugins
│   │       ├── reader_asf.so
│   │       ├── reader_avi.so
│   │       ├── reader_binary.so
│   │       ├── reader_flv.so
│   │       ├── reader_metadata_id3.so
│   │       ├── reader_mkv.so
│   │       ├── reader_mp4.so
│   │       ├── reader_mpga.so
│   │       ├── reader_ps.so
│   │       ├── reader_qsynth.so
│   │       ├── reader_raw_video.so
│   │       ├── reader_rcv.so
│   │       ├── reader_rtp.so
│   │       ├── reader_rtsp.so
│   │       ├── reader_rv9.so
│   │       ├── reader_simple.so
│   │       ├── reader_wav.so
│   │       ├── writer_asf.so
│   │       ├── writer_avi.so
│   │       ├── writer_binary.so
│   │       ├── writer_dummy.so
│   │       ├── writer_mp4.so
│   │       ├── writer_raw_video.so
│   │       └── writer_simple.so
│   ├── lib32 -> lib
│   ├── sbin
│   │   ├── addgroup -> ../../bin/busybox
│   │   ├── adduser -> ../../bin/busybox
│   │   ├── arping -> ../../bin/busybox
│   │   ├── chroot -> ../../bin/busybox
│   │   ├── crond -> ../../bin/busybox
│   │   ├── delgroup -> ../../bin/busybox
│   │   ├── deluser -> ../../bin/busybox
│   │   ├── dnsd -> ../../bin/busybox
│   │   ├── ether-wake -> ../../bin/busybox
│   │   ├── fbset -> ../../bin/busybox
│   │   ├── fdformat -> ../../bin/busybox
│   │   ├── fsfreeze -> ../../bin/busybox
│   │   ├── i2cdetect -> ../../bin/busybox
│   │   ├── i2cdump -> ../../bin/busybox
│   │   ├── i2cget -> ../../bin/busybox
│   │   ├── i2cset -> ../../bin/busybox
│   │   ├── inetd -> ../../bin/busybox
│   │   ├── killall5 -> ../../bin/busybox
│   │   ├── loadfont -> ../../bin/busybox
│   │   ├── partprobe -> ../../bin/busybox
│   │   ├── rdate -> ../../bin/busybox
│   │   ├── readprofile -> ../../bin/busybox
│   │   ├── setlogcons -> ../../bin/busybox
│   │   ├── ubirename -> ../../bin/busybox
│   │   └── vcfiled
│   └── share
│       └── udhcpc
│           ├── default.script
│           └── default.script.d
└── var
    ├── cache -> ../tmp
    ├── lib
    │   └── misc -> ../../tmp
    ├── lock -> ../tmp
    ├── log -> ../tmp
    ├── run -> ../run
    ├── spool -> ../tmp
    ├── tmp -> ../tmp
    └── www

151 directories, 785 files

'embeded > raspberry pi' 카테고리의 다른 글

rpitx  (0) 2021.12.16
wayland on rpi  (0) 2021.11.22
img 파일 마운트 하기  (0) 2021.11.20
rpi 3b 2초 부팅 이미지 테스트  (0) 2021.11.17
라즈베리 피코 USB HID 키코드  (0) 2021.11.16
Posted by 구차니
embeded/raspberry pi2021. 11. 20. 23:18

mount offset 기능을 이용해서 계산해 적당히 붙이면 된다고..

# fdisk -l whatever.img
Device         Boot     Start       End  Blocks  Id System
whatever.img1            8192    122879   57344   c W95 FAT32 (LBA)
whatever.img2          122880   5785599 2831360  83 Linux

# mount -v -o offset=4194304 -t vfat whatever.img /mnt/img/one
# mount -v -o offset=62914560 -t ext4 whatever.img /mnt/img/two

[링크 : https://raspberrypi.stackexchange.com/questions/13137/how-can-i-mount-a-raspberry-pi-linux-distro-image]

'embeded > raspberry pi' 카테고리의 다른 글

wayland on rpi  (0) 2021.11.22
rpi 3b 2초 부팅 fs  (0) 2021.11.20
rpi 3b 2초 부팅 이미지 테스트  (0) 2021.11.17
라즈베리 피코 USB HID 키코드  (0) 2021.11.16
라즈베리 파이 피코 한글 키 입력?  (0) 2021.11.16
Posted by 구차니

어우 병원비 ㅠㅠ

오랫만에 실손보험이 값어치를 하려나?

'개소리 왈왈 > 육아관련 주저리' 카테고리의 다른 글

추워어어  (0) 2021.11.30
방정  (0) 2021.11.21
병원 투어  (0) 2021.11.15
오랫만에 키즈카페  (0) 2021.11.14
병원  (0) 2021.11.13
Posted by 구차니
프로그램 사용/nc2021. 11. 19. 11:24

nc를 이용해 udp 소켓을 테스트 하고 있는데

UDP 서버(?)

$ nc -ul 0.0.0.0 6000

 

UDP 클라이언트

$ nc -u 0.0.0.0 6000

 

로 설정하고 클라이언트에서 1번 메시지를 보낸 후, ctrl-c를 눌러 종료하고

다시 전송하려고 nc -u 옵션을 통해 실행하면 전송되지 않고 종료된다.

 

혹시나 해서 옵션을 찾아보니 forces nc to stay listening for another connection 이라는게 보이네..

아무튼 udp 커넥션(?)이 이뤄지면 netstat -unl 에서도 사라지는데 멀까...?

 

-k' Forces nc to stay listening for another connection after its current connection is completed. It is an error to use this option without the -l option.

-l' Used to specify that nc should listen for an incoming connection rather than initiate a connection to a remote host. It is an error to use this option in conjunction with the -p, -s, or -z options. Additionally, any timeouts specified with the -w option are ignored.

[링크 : https://linux.die.net/man/1/nc]

Posted by 구차니

 

Structure of MP4 Files 

MP4 is an extensible container file, meaning that it does not define a strict structure and allows custom structure and hierarchy for each media type. The data in the MP4 file is divided into two sections, the first containing the media-related data and the second containing metadata. The media data contains audio or video and metadata indicate flags for random access, timestamps, etc. The structures in MP4 are typically referred to as atoms or boxes. The minimum size of an atom is 8 bytes(the first 4 bytes specify size and the next 4 bytes specify type). Here is a list of the root level atoms contained in MP files:
  • ftyp: Contains the file type, description, and the common data structures used.
  • pdin: Contains progressive video loading/downloading information.
  • moov: Container for all the movie metadata.
  • moof: Container with video fragments.
  • mfra: The container with random access to the video fragment
  • mdat: Data container for media.
  • stts: sample-to-time table.
  • stsc: sample-to-chunk table.
  • stsz: sample sizes (framing)
  • meta: The container with the metadata information.

[링크 : https://docs.fileformat.com/video/mp4/]

[링크 : http://www.ftyps.com/]

[링크 : https://m.blog.naver.com/yesing1/70096278829]

 

+

22.01.24

[링크 : https://whitesnake1004.tistory.com/710]

 

+

팟 플레이어 메타 정보

General
Complete name                  : C:\file_example_MP4_480_1_5MG.mp4
Format                         : MPEG-4
Format profile                 : Base Media / Version 2
Codec ID                       : mp42 (mp42/mp41/isom/avc1)
File size                      : 1.50 MiB
Duration                       : 30 s 527 ms
Overall bit rate               : 411 kb/s
Encoded date                   : UTC 2015-08-07 09:13:02
Tagged date                    : UTC 2015-08-07 09:13:02

Video
ID                             : 1
Format                         : AVC
Format/Info                    : Advanced Video Codec
Format profile                 : Baseline@L3
Format settings                : 3 Ref Frames
Format settings, CABAC         : No
Format settings, Reference fra : 3 frames
Format settings, GOP           : M=1, N=90
Codec ID                       : avc1
Codec ID/Info                  : Advanced Video Coding
Duration                       : 30 s 33 ms
Bit rate                       : 300 kb/s
Width                          : 480 pixels
Height                         : 270 pixels
Display aspect ratio           : 16:9
Frame rate mode                : Constant
Frame rate                     : 30.000 FPS
Color space                    : YUV
Chroma subsampling             : 4:2:0
Bit depth                      : 8 bits
Scan type                      : Progressive
Bits/(Pixel*Frame)             : 0.077
Stream size                    : 1.08 MiB (72%)
Writing library                : x264 core 146 r11M 121396c
Encoding settings              : cabac=0 / ref=3 / deblock=1:0:0 / analyse=0x1:0x111 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=0 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=48 / lookahead_threads=2 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / stitchable=1 / constrained_intra=0 / bframes=0 / weightp=0 / keyint=infinite / keyint_min=30 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=2pass / mbtree=1 / bitrate=300 / ratetol=1.0 / qcomp=0.60 / qpmin=5 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=330 / vbv_bufsize=360 / nal_hrd=none / filler=0 / ip_ratio=1.40 / aq=1:1.00
Encoded date                   : UTC 2015-08-07 09:13:02
Tagged date                    : UTC 2015-08-07 09:13:02
Codec configuration box        : avcC

Audio
ID                             : 2
Format                         : AAC LC
Format/Info                    : Advanced Audio Codec Low Complexity
Codec ID                       : mp4a-40-2
Duration                       : 30 s 527 ms
Bit rate mode                  : Constant
Bit rate                       : 112 kb/s
Channel(s)                     : 2 channels
Channel layout                 : L R
Sampling rate                  : 48.0 kHz
Frame rate                     : 46.875 FPS (1024 SPF)
Compression mode               : Lossy
Stream size                    : 417 KiB (27%)
Encoded date                   : UTC 2015-08-07 09:13:02
Tagged date                    : UTC 2015-08-07 09:13:02

size(4byte) + fourcc?(4byte) + data 라는 구조로 보면

 

ftyp 구획은 0x20 =32byte이고 이건 size의 4바이트 포함하여, 포맷의 종류를 적어두는 느낌? mp42 mp41 isom avc1

팟 플레이어 파일 정보 에서는 아래와 같이 나온다.

Codec ID                       : mp42 (mp42/mp41/isom/avc1)

 

moov 구획 0x2E30 길이(11824)

인코더의 메타정보 같기도 하고.. L-SMASH Video Handler, L-SMASH Audio Handler 이런 문구가 나온다.

 

free 구획 8 바이트 길이(내용 없음)

 

mdat 구획 0x17c690 (1,558,160 바이트)

 

일단은 mdat 로 끝나도 파일 재생에는 문제 없다.

[링크 : https://file-examples.com/index.php/sample-video-files/sample-mp4-files/]

 

+

moov 는 비디오 데이터의 인덱스 역할을 합니다.
플레이어가 이 인덱스에 접근할때까지 영상은 재생되지 않습니다.
보통 moov는 파일을 설명하는 모든 정보가 생성된 뒤에 파일의 끝에 저장됩니다.

[링크 : https://duzi077.tistory.com/118]

 

moov : 미디어의 모든 메타 데이타를 저장하는 무비 박스 (movie box)
  mvhd: 무비 헤더 박스 (movie header box)
  trak : 무비 안의 단일 트랙을 정의하는 박스 (track box) ------------ 반복 가능
    tkhd : 트랙의 특성을 기술 (track header box)
    edts : (edit box)
      elst : (edit list box)
    mdia : 트랙의 미디어 타입과 샘플 데이타 (media box)
      mdhd : 미디어의 특성을 기술 (media header box)
      hdlr : (handler reference box)
      minf : (media information box)
        hdlr : (handler reference box)
        stbl : (sample table box)
          stsd : 트랙의 디코딩에 필요한 코덱의 정보 (sample description box)
          stts : 샘플의 시간 (time-to-sample box)
          stsz : 청크 내 샘플의 크기 (sample size box)
          stsc : 청크 내 샘플의 수 (sample to chunk box)
          stco : 청크의 위치 (chunk offset box)

[링크 : https://unipro.tistory.com/104]

'이론 관련 > 컴퓨터 관련' 카테고리의 다른 글

SLP - Superword Level Parallelism  (0) 2022.06.02
digital twin  (0) 2022.04.13
current loop to rs232  (0) 2021.10.22
usb dwc  (0) 2021.09.23
fp16  (0) 2021.05.10
Posted by 구차니
프로그램 사용/wayland2021. 11. 18. 13:48

 

static const struct android_wlegl_handle_interface server_handle_impl = {
add_fd,
destroy
};

server_wlegl_handle *
server_wlegl_handle_create(uint32_t id)
{
server_wlegl_handle *handle = new server_wlegl_handle;

memset(handle, 0, sizeof(*handle));

handle->resource.object.id = id;
handle->resource.object.interface = &android_wlegl_handle_interface;
handle->resource.object.implementation =
(void (**)(void))&server_handle_impl;

handle->resource.destroy = server_wlegl_handle_dtor;
handle->resource.data = handle;

wl_array_init(&handle->ints);
wl_array_init(&handle->fds);

return handle;
}

[링크 : https://github.com/libhybris/libhybris/blob/master/hybris/egl/platforms/common/server_wlegl_handle.cpp]

 

extern const struct wl_interface android_wlegl_handle_interface;

[링크 : https://github.com/groleo/simple-yuv/blob/master/wayland-android-client-protocol.h]

'프로그램 사용 > wayland' 카테고리의 다른 글

weston shell  (0) 2021.11.26
weston_log()  (0) 2021.11.25
wayland weston 구조  (0) 2021.11.24
wayland weston flow  (0) 2021.11.22
wayland weston  (0) 2021.11.17
Posted by 구차니
프로그램 사용/gcc2021. 11. 18. 12:46

gcc에서 해보는데 헐.. 이게 되네?

변수명과 구조체 타입명은 다른 영역으로 구분되나?

identifier로 동일하게 취급될줄 알았는데 아니라니?

 

$ cat t.c
#include <stdio.h>

struct help { int a; int b; int c;};

struct help a;
int help = 1;

void main()
{
        a.a = 5;
        a.b = 7;
        a.c = 9;
        printf("%d %d %d %d\n",help, a.a, a.b, a.c);
}

 

$ gcc t.c
$ ./a.out
1 5 7 9

 

[링크 : https://cpp.hotexamples.com/site/file?hash=0x3b8107de9c96fe7f1b348af2ed3b6ff15fb2cb740a65ea0a91d33bcab75b25ae&fullName=wheatley-master/wlegl_handle.c&project=jekstrand/wheatley]

 

다만, 함수와 변수명의 식별자 영역은 동일한지 에러가 발생한다.

$ cat t.c
#include <stdio.h>

void help()
{
        printf("%s\n",__func__);
}

struct help { int a; int b; int c;};

struct help a;
int help = 1;

void main()
{
        a.a = 5;
        a.b = 7;
        a.c = 9;
        printf("%d %d %d %d\n",help, a.a, a.b, a.c);
        help();
}

 

$ gcc t.c
t.c:11:5: error: ‘help’ redeclared as different kind of symbol
 int help = 1;
     ^~~~
t.c:3:6: note: previous definition of ‘help’ was here
 void help()
      ^~~~
t.c: In function ‘main’:
t.c:19:2: error: called object ‘help’ is not a function or function pointer
  help();
  ^~~~
t.c:11:5: note: declared here
 int help = 1;
     ^~~~

'프로그램 사용 > gcc' 카테고리의 다른 글

gcc / 문자열 선언  (0) 2022.03.17
static link  (0) 2022.02.07
gcc unsigned to signed upcast 테스트  (0) 2021.07.08
gcc vectorized loop  (0) 2021.06.30
gcc unsigned to signed cast  (0) 2021.06.22
Posted by 구차니