분류 전체보기
- Bluelay 안경 2021.08.07
- 스테인리스 레이저 용접기 2021.07.21
- v9_qsv streaming 2021.06.26
- rpi4 Debian : nginx + rtmp + webdav 설치 2021.06.12
- 아스트라 제네카 백신 맞았어요 2021.06.10
- CN-385 : USB-C to USB-C Hub 2021.06.08
- ffmpeg 캡쳐 디바이스 찾기 2021.05.25
- 보아라! 나의 대통령 이시다 2021.05.24 1
Bluelay 안경
스테인리스 레이저 용접기
v9_qsv streaming
Intel HD530 : Hardware codec support
h264: | Decode / Encode |
AV1: | No |
h265 / HEVC (8 bit): | Decode / Encode |
h265 / HEVC (10 bit): | Decode |
VP8: | Decode / Encode |
VP9: | Decode |
VC-1: | Decode |
AVC: | Decode / Encode |
JPEG: | Decode / Encode |
웹 비디오 코덱 가이드
https://developer.mozilla.org/ko/docs/Web/Media/Formats/Video_codecs
웹 비디오 코덱 가이드 - Web media technologies | MDN
이 문서는 웹에서 흔히 볼 수 있는 비디오 코덱을 소개하고 각각의 기능과 호환성, 사용성에 대해 설명하고 여러분에게 필요한 적절한 코덱을 찾는 법을 안내합니다.
developer.mozilla.org
FFmpeg VP8 Encoding Options
http://wiki.webmproject.org/ffmpeg
FFmpeg - wiki
FFmpeg VP8 Encoding Options Options Description Values -vb target bitrate -deadline Encoder speed/quality and cpu use best, good, realtime -cpu-used CPU Used (-16..16) -rc_init_occupancy number of bits which should be loaded into the rc buffer before decod
wiki.webmproject.org
https://developers.google.com/media/vp9/live-encoding?hl=ko
Media | Google Developers
Live encoding with VP9 using FFmpeg Encoding parameters VP9 provides a range of parameters to optimize live encoding. Some broad principles of these are discussed in Bitrate Modes. FFmpeg VP9 encoding example The table below describes the parameters of an
developers.google.com
1. See the encoder options
c:\> ffmpeg -h encoder=vp9_qsv
...
Encoder vp9_qsv [VP9 video (Intel Quick Sync Video acceleration)]:
General capabilities: delay hybrid
Threading capabilities: none
Supported hardware devices: qsv qsv qsv
Supported pixel formats: nv12 p010le qsv
vp9_qsv encoder AVOptions:
-async_depth <int> E..V....... Maximum processing parallelism (from 1 to INT_MAX) (default 4)
-avbr_accuracy <int> E..V....... Accuracy of the AVBR ratecontrol (from 0 to INT_MAX) (default 0)
-avbr_convergence <int> E..V....... Convergence of the AVBR ratecontrol (from 0 to INT_MAX) (default 0)
-preset <int> E..V....... (from 1 to 7) (default medium)
veryfast 7 E..V.......
faster 6 E..V.......
fast 5 E..V.......
medium 4 E..V.......
slow 3 E..V.......
slower 2 E..V.......
veryslow 1 E..V.......
-rdo <int> E..V....... Enable rate distortion optimization (from -1 to 1) (default -1)
-max_frame_size <int> E..V....... Maximum encoded frame size in bytes (from -1 to 65535) (default -1)
-max_slice_size <int> E..V....... Maximum encoded slice size in bytes (from -1 to 65535) (default -1)
-bitrate_limit <int> E..V....... Toggle bitrate limitations (from -1 to 1) (default -1)
-mbbrc <int> E..V....... MB level bitrate control (from -1 to 1) (default -1)
-extbrc <int> E..V....... Extended bitrate control (from -1 to 1) (default -1)
-adaptive_i <int> E..V....... Adaptive I-frame placement (from -1 to 1) (default -1)
-adaptive_b <int> E..V....... Adaptive B-frame placement (from -1 to 1) (default -1)
-b_strategy <int> E..V....... Strategy to choose between I/P/B-frames (from -1 to 1) (default -1)
-forced_idr <boolean> E..V....... Forcing I frames as IDR frames (default false)
-low_power <boolean> E..V....... enable low power mode(experimental: many limitations by mfx version, BRC modes, etc.) (default false)
-profile <int> E..V....... (from 0 to INT_MAX) (default unknown)
unknown 0 E..V.......
profile0 1 E..V.......
profile1 2 E..V.......
profile2 3 E..V.......
profile3 4 E..V.......
c:\>
2. vpp_qsv filter usage
c:\> ffmpeg -h filter=vpp_qsv
...
Filter vpp_qsv
Quick Sync Video VPP.
Inputs:
#0: default (video)
Outputs:
#0: default (video)
vpp_qsv AVOptions:
deinterlace <int> ..FV....... deinterlace mode: 0=off, 1=bob, 2=advanced (from 0 to 2) (default 0)
bob 1 ..FV....... Bob deinterlace mode.
advanced 2 ..FV....... Advanced deinterlace mode.
denoise <int> ..FV....... denoise level [0, 100] (from 0 to 100) (default 0)
detail <int> ..FV....... enhancement level [0, 100] (from 0 to 100) (default 0)
framerate <rational> ..FV....... output framerate (from 0 to DBL_MAX) (default 0/1)
procamp <int> ..FV....... Enable ProcAmp (from 0 to 1) (default 0)
hue <float> ..FV....... ProcAmp hue (from -180 to 180) (default 0)
saturation <float> ..FV....... ProcAmp saturation (from 0 to 10) (default 1)
contrast <float> ..FV....... ProcAmp contrast (from 0 to 10) (default 1)
brightness <float> ..FV....... ProcAmp brightness (from -100 to 100) (default 0)
transpose <int> ..FV....... set transpose direction (from -1 to 6) (default -1)
cclock_hflip 0 ..FV....... rotate counter-clockwise with horizontal flip
clock 1 ..FV....... rotate clockwise
cclock 2 ..FV....... rotate counter-clockwise
clock_hflip 3 ..FV....... rotate clockwise with horizontal flip
reversal 4 ..FV....... rotate by half-turn
hflip 5 ..FV....... flip horizontally
vflip 6 ..FV....... flip vertically
cw <string> ..FV....... set the width crop area expression (default "iw")
ch <string> ..FV....... set the height crop area expression (default "ih")
cx <string> ..FV....... set the x crop area expression (default "(in_w-out_w)/2")
cy <string> ..FV....... set the y crop area expression (default "(in_h-out_h)/2")
w <string> ..FV....... Output video width (default "cw")
width <string> ..FV....... Output video width (default "cw")
h <string> ..FV....... Output video height (default "w*ch/cw")
height <string> ..FV....... Output video height (default "w*ch/cw")
format <string> ..FV....... Output pixel format (default "same")
async_depth <int> ..FV....... Internal parallelization depth, the higher the value the higher the latency. (from 0 to INT_MAX) (default 0)
c:\>
c:\> ffmpeg -h encoder=hevc_qsv
...
Encoder hevc_qsv [HEVC (Intel Quick Sync Video acceleration)]:
General capabilities: delay hybrid
Threading capabilities: none
Supported hardware devices: qsv qsv qsv
Supported pixel formats: nv12 p010le qsv
hevc_qsv encoder AVOptions:
-async_depth <int> E..V....... Maximum processing parallelism (from 1 to INT_MAX) (default 4)
-avbr_accuracy <int> E..V....... Accuracy of the AVBR ratecontrol (from 0 to INT_MAX) (default 0)
-avbr_convergence <int> E..V....... Convergence of the AVBR ratecontrol (from 0 to INT_MAX) (default 0)
-preset <int> E..V....... (from 1 to 7) (default medium)
veryfast 7 E..V.......
faster 6 E..V.......
fast 5 E..V.......
medium 4 E..V.......
slow 3 E..V.......
slower 2 E..V.......
veryslow 1 E..V.......
-rdo <int> E..V....... Enable rate distortion optimization (from -1 to 1) (default -1)
-max_frame_size <int> E..V....... Maximum encoded frame size in bytes (from -1 to 65535) (default -1)
-max_slice_size <int> E..V....... Maximum encoded slice size in bytes (from -1 to 65535) (default -1)
-bitrate_limit <int> E..V....... Toggle bitrate limitations (from -1 to 1) (default -1)
-mbbrc <int> E..V....... MB level bitrate control (from -1 to 1) (default -1)
-extbrc <int> E..V....... Extended bitrate control (from -1 to 1) (default -1)
-adaptive_i <int> E..V....... Adaptive I-frame placement (from -1 to 1) (default -1)
-adaptive_b <int> E..V....... Adaptive B-frame placement (from -1 to 1) (default -1)
-b_strategy <int> E..V....... Strategy to choose between I/P/B-frames (from -1 to 1) (default -1)
-forced_idr <boolean> E..V....... Forcing I frames as IDR frames (default false)
-low_power <boolean> E..V....... enable low power mode(experimental: many limitations by mfx version, BRC modes, etc.) (default false)
-idr_interval <int> E..V....... Distance (in I-frames) between IDR frames (from -1 to INT_MAX) (default 0)
begin_only -1 E..V....... Output an IDR-frame only at the beginning of the stream
-load_plugin <int> E..V....... A user plugin to load in an internal session (from 0 to 2) (default hevc_hw)
none 0 E..V.......
hevc_sw 1 E..V.......
hevc_hw 2 E..V.......
-load_plugins <string> E..V....... A :-separate list of hexadecimal plugin UIDs to load in an internal session (default "")
-profile <int> E..V....... (from 0 to INT_MAX) (default unknown)
unknown 0 E..V.......
main 1 E..V.......
main10 2 E..V.......
mainsp 3 E..V.......
rext 4 E..V.......
-gpb <boolean> E..V....... 1: GPB (generalized P/B frame); 0: regular P frame (default true)
-tile_cols <int> E..V....... Number of columns for tiled encoding (from 0 to 65535) (default 0)
-tile_rows <int> E..V....... Number of rows for tiled encoding (from 0 to 65535) (default 0)
c:\>
rpi4 Debian : nginx + rtmp + webdav 설치
http://www.webdav.org/projects/
$ sudo apt update
$ sudo apt upgrade
*) nginx 웹서버 설치
$ sudo apt install nginx nginx-full
*) rtmp 모듈 설치
$ sudo apt install libnginx-mod-rtmp
*) ngx-mod-http-headers-more-filter 모듈 설치
$ sudo apt install libnginx-mod-http-headers-more-filter
*권장) 모든 모듈 설치
$ sudo apt install libnginx*
$ sudo apt-get install nginx-extras
*) webdav 폴더 생성
$ sudo mkdir /var/www/webdav
*) webdav 폴더 사용자 설정
$ sudo chown www-data:www-data /var/www/webdav
$ sudo service nginx reload
*) webdev 사용자 설정
$ sudo apt install apache2-utils
$ htpasswd -c webdavpw.pwd user01
New password:
Re-type new password:
Adding password for user user01
$ cat ~/webdavpw.pwd
user01:$apr1$Q2AMD3rm$iA89QhjsV5v.Rk5GANgtO/
$ sudo vi /etc/nginx/webdavpw.pwd
user01:$apr1$Q2AMD3rm$iA89QhjsV5v.Rk5GANgtO/
$ sudo vi /etc/nginx/nginx.conf
...
http {
dav_ext_lock_zone zone=pi:10m;
...
$ sudo vi /etc/nginx/sites-available/default
...
# 이곳을 찾어
location / {
# First attempt to serve request as file, then
# as directory, then fall back to displaying a 404.
try_files $uri $uri/ =404;
# 이렇게 추가 해준다.
location /webdav {
charset utf-8;
alias /var/www/webdav;
autoindex on;
auth_basic "WebDAV Page";
auth_basic_user_file /etc/nginx/webdavpw.pwd;
dav_methods PUT DELETE MKCOL COPY MOVE;
dav_ext_methods PROPFIND OPTIONS LOCK UNLOCK;
dav_ext_lock zone=pi;
dav_access user:rw group:rw all:r;
client_max_body_size 0;
create_full_put_path on;
DAVMinTimeout 600;
}
# 여기까지 추가 해준다,
}
...
$ sudo service nginx reload
$ curl -T 업로드파일명 -u 사용자ID:PASSWD http://localhost/webdav
$ sudo apt-get install cadaver
$ cadaver http://localhost/webdav
...
Could not access /webdav/ (not WebDAV-enabled?):
404 Not Found <==== alias 지정 경로에 폴더가 없을때 mkdir /var/www/wedav; chown www-data:www-data /var/www/webdav
...
탐색기에서 파일 생성 할 때 : 0x8000ffff
...
탐색기에서 폴더 생성 할 때 : 0x80070021
...
*) Windows 10에서 webDAV연결 하기
파일 탐색기
==> 내PC : 선택 후
==> 창 상단 : 컴퓨터
==> 네트워크 드라이브 연결
==> 폴더 란에 : http://192.168.0.99/webdav
...
설정 후
파일 탐색기
==> 내PC : 오른쪽 마우스
==> 네트워크 위치 추가
*) Windows 10에서 WebClient 설정 하기
*) regedit
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WebClient\Parameters
===> FileSizeLimitInBytes : 4194304000 (4GB)로 수정
===> BasicAuthLevel : 2 로 수정
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000YGytCAG&l=ko-KR
https://doc.cuba-platform.com/webdav-2.5/
https://docs.microsoft.com/en-us/troubleshoot/windows-client/networking/cannot-automatically-reconnect-dav-share
https://docs.microsoft.com/en-us/previous-versions/office/developer/exchange-server-2003/aa142897(v=exchg.65)
https://docs.oracle.com/cd/E19857-01/817-7510/agdav.html
*) PROPPATCH 기능 있는 모듈 설치 하기
Nginx WebDAV Service – Hev's Blog
0x01 Installation git clone --depth 1 https://github.com/heiher/nginx cd nginx git clone --depth 1 https://github.com/heiher/nginx-dav-ext-module ./auto/configure --prefix=/opt/nginx \ --with-compat \ --with-file-aio \ --with-http_addition_module \ --wi
hev.cc
$ git clone --depth 1 https://github.com/heiher/nginx
$ cd nginx
$ git clone --depth 1 https://github.com/heiher/nginx-dav-ext-module
$ sudo apt install libpcre3-dev libxslt1-dev libgeoip-dev
$ ./auto/configure --prefix=/opt/nginx \
--with-compat \
--with-file-aio \
--with-http_addition_module \
--with-http_auth_request_module \
--with-http_dav_module \
--with-http_degradation_module \
--with-http_flv_module \
--with-http_geoip_module \
--with-http_gunzip_module \
--with-http_gzip_static_module \
--with-http_mp4_module \
--with-http_realip_module \
--with-http_secure_link_module \
--with-http_slice_module \
--with-http_ssl_module \
--with-http_stub_status_module \
--with-http_sub_module \
--with-http_v2_module \
--with-pcre-jit \
--with-threads \
--add-module=nginx-dav-ext-module
'Raspberry PI' 카테고리의 다른 글
ffmpeg 캡쳐 디바이스 찾기 (0) | 2021.05.25 |
---|---|
Cloud not initialize EGL. (0) | 2021.05.09 |
ffplay (0) | 2021.05.05 |
Raspberry Pi 4 에서 PiWall 네트워크 설정 (0) | 2021.05.03 |
모니터 없을때 Raspberry PI xrdp 설정 하기 (0) | 2021.04.23 |
아스트라 제네카 백신 맞았어요


'글' 카테고리의 다른 글
보아라! 나의 대통령 이시다 (1) | 2021.05.24 |
---|---|
2021.05.21 한미정상 노마스크 회담 (0) | 2021.05.22 |
보시布施 (0) | 2019.11.14 |
CN-385 : USB-C to USB-C Hub
https://www.sitecom.com/en/usb-c-hub-4-port/cn-385/p/1879
Sitecom
Sitecom is one of the leading and fastest growing computer network brands for home and small business use. The Sitecom brand has a clear mission statement: “make it easy”.
www.sitecom.com
https://superuser.com/questions/1381139/why-cant-i-find-a-usb-c-hub-with-multiple-usb-c-ports
Why can't I find a USB-C hub with multiple USB-C ports?
My computer only has one USB-C port and I want to connect multiple USB-C devices to it. I have trawled through Amazon but am amazed that I cannot find a single one. There are many hubs that have U...
superuser.com
ffmpeg 캡쳐 디바이스 찾기
*) av_rpi_zc_ref: *** Format not SAND/YUV420P
ffmpeg -i input.mp4 -vf format=yuv420p output.mp4
c:\>ffmpeg -list_devices true -f dshow -i dummy
[dshow @ 00000235dde42940] DirectShow video devices (some may be both video and audio devices)
[dshow @ 00000235dde42940] "USB3. 0 capture"
[dshow @ 00000235dde42940] Alternative name "@device_pnp_\\?\usb#vid_534d&pid_2109&mi_00#7&3b7e634&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global"
[dshow @ 00000235dde42940] "ATIV Real HD Camera"
[dshow @ 00000235dde42940] Alternative name "@device_pnp_\\?\usb#vid_2232&pid_1078&mi_00#6&10a3a3d8&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global"
[dshow @ 00000235dde42940] "OBS Virtual Camera"
[dshow @ 00000235dde42940] Alternative name "@device_sw_{860BB310-5D01-11D0-BD3B-00A0C911CE86}\{A3FCE0F5-3493-419F-958A-ABA1250EC20B}"
[dshow @ 00000235dde42940] "XSplitBroadcaster"
[dshow @ 00000235dde42940] Alternative name "@device_sw_{860BB310-5D01-11D0-BD3B-00A0C911CE86}\{VHSplitProc}_XSplitBroadcaster_1_staticsource_VIDEO"
[dshow @ 00000235dde42940] DirectShow audio devices
[dshow @ 00000235dde42940] "디지털 오디오 인터페이스(USB3. 0 capture)"
[dshow @ 00000235dde42940] Alternative name "@device_cm_{33D9A762-90C8-11D0-BD43-00A0C911CE86}\wave_{7BAA0C60-92DA-42FE-9649-3295BD38C380}"
[dshow @ 00000235dde42940] "XSplitBroadcaster"
[dshow @ 00000235dde42940] Alternative name "@device_sw_{33D9A762-90C8-11D0-BD43-00A0C911CE86}\{VHSplitProc}_XSplitBroadcaster_1_staticsource_AUDIO"
[dshow @ 00000235dde42940] "마이크 배열(Realtek(R) Audio)"
[dshow @ 00000235dde42940] Alternative name "@device_cm_{33D9A762-90C8-11D0-BD43-00A0C911CE86}\wave_{6D3CA813-2150-4D4F-88B6-A985DF508486}"
dummy: Immediate exit requested
c:\>
c:\>ffmpeg -f dshow -list_options true -i video="USB3. 0 capture"
[dshow @ 000002b6bd472940] DirectShow video device options (from video devices)
[dshow @ 000002b6bd472940] Pin "캡쳐" (alternative pin name "0")
[dshow @ 000002b6bd472940] vcodec=mjpeg min s=1920x1080 fps=10 max s=1920x1080 fps=60.0002
[dshow @ 000002b6bd472940] vcodec=mjpeg min s=1920x1080 fps=10 max s=1920x1080 fps=60.0002
[dshow @ 000002b6bd472940] vcodec=mjpeg min s=1600x1200 fps=10 max s=1600x1200 fps=60.0002
[dshow @ 000002b6bd472940] vcodec=mjpeg min s=1600x1200 fps=10 max s=1600x1200 fps=60.0002
[dshow @ 000002b6bd472940] vcodec=mjpeg min s=1360x768 fps=10 max s=1360x768 fps=60.0002
[dshow @ 000002b6bd472940] vcodec=mjpeg min s=1360x768 fps=10 max s=1360x768 fps=60.0002
[dshow @ 000002b6bd472940] vcodec=mjpeg min s=1280x1024 fps=10 max s=1280x1024 fps=60.0002
[dshow @ 000002b6bd472940] vcodec=mjpeg min s=1280x1024 fps=10 max s=1280x1024 fps=60.0002
[dshow @ 000002b6bd472940] vcodec=mjpeg min s=1280x960 fps=10 max s=1280x960 fps=60.0002
[dshow @ 000002b6bd472940] vcodec=mjpeg min s=1280x960 fps=10 max s=1280x960 fps=60.0002
[dshow @ 000002b6bd472940] vcodec=mjpeg min s=1280x720 fps=10 max s=1280x720 fps=60.0002
[dshow @ 000002b6bd472940] vcodec=mjpeg min s=1280x720 fps=10 max s=1280x720 fps=60.0002
[dshow @ 000002b6bd472940] vcodec=mjpeg min s=1024x768 fps=10 max s=1024x768 fps=60.0002
[dshow @ 000002b6bd472940] vcodec=mjpeg min s=1024x768 fps=10 max s=1024x768 fps=60.0002
[dshow @ 000002b6bd472940] vcodec=mjpeg min s=800x600 fps=10 max s=800x600 fps=60.0002
[dshow @ 000002b6bd472940] vcodec=mjpeg min s=800x600 fps=10 max s=800x600 fps=60.0002
[dshow @ 000002b6bd472940] vcodec=mjpeg min s=720x576 fps=10 max s=720x576 fps=60.0002
[dshow @ 000002b6bd472940] vcodec=mjpeg min s=720x576 fps=10 max s=720x576 fps=60.0002
[dshow @ 000002b6bd472940] vcodec=mjpeg min s=720x480 fps=10 max s=720x480 fps=60.0002
[dshow @ 000002b6bd472940] vcodec=mjpeg min s=720x480 fps=10 max s=720x480 fps=60.0002
[dshow @ 000002b6bd472940] vcodec=mjpeg min s=640x480 fps=10 max s=640x480 fps=60.0002
[dshow @ 000002b6bd472940] vcodec=mjpeg min s=640x480 fps=10 max s=640x480 fps=60.0002
[dshow @ 000002b6bd472940] pixel_format=yuyv422 min s=1280x720 fps=10 max s=1280x720 fps=10
[dshow @ 000002b6bd472940] pixel_format=yuyv422 min s=1280x720 fps=10 max s=1280x720 fps=10
[dshow @ 000002b6bd472940] pixel_format=yuyv422 min s=1920x1080 fps=5 max s=1920x1080 fps=5
[dshow @ 000002b6bd472940] pixel_format=yuyv422 min s=1920x1080 fps=5 max s=1920x1080 fps=5
[dshow @ 000002b6bd472940] pixel_format=yuyv422 min s=1600x1200 fps=5 max s=1600x1200 fps=5
[dshow @ 000002b6bd472940] pixel_format=yuyv422 min s=1600x1200 fps=5 max s=1600x1200 fps=5
[dshow @ 000002b6bd472940] pixel_format=yuyv422 min s=1360x768 fps=8 max s=1360x768 fps=8
[dshow @ 000002b6bd472940] pixel_format=yuyv422 min s=1360x768 fps=8 max s=1360x768 fps=8
[dshow @ 000002b6bd472940] pixel_format=yuyv422 min s=1280x1024 fps=8 max s=1280x1024 fps=8
[dshow @ 000002b6bd472940] pixel_format=yuyv422 min s=1280x1024 fps=8 max s=1280x1024 fps=8
[dshow @ 000002b6bd472940] pixel_format=yuyv422 min s=1280x960 fps=8 max s=1280x960 fps=8
[dshow @ 000002b6bd472940] pixel_format=yuyv422 min s=1280x960 fps=8 max s=1280x960 fps=8
[dshow @ 000002b6bd472940] pixel_format=yuyv422 min s=1024x768 fps=10 max s=1024x768 fps=10
[dshow @ 000002b6bd472940] pixel_format=yuyv422 min s=1024x768 fps=10 max s=1024x768 fps=10
[dshow @ 000002b6bd472940] pixel_format=yuyv422 min s=800x600 fps=5 max s=800x600 fps=20
[dshow @ 000002b6bd472940] pixel_format=yuyv422 min s=800x600 fps=5 max s=800x600 fps=20
[dshow @ 000002b6bd472940] pixel_format=yuyv422 min s=720x576 fps=5 max s=720x576 fps=25
[dshow @ 000002b6bd472940] pixel_format=yuyv422 min s=720x576 fps=5 max s=720x576 fps=25
[dshow @ 000002b6bd472940] pixel_format=yuyv422 min s=720x480 fps=5 max s=720x480 fps=30
[dshow @ 000002b6bd472940] pixel_format=yuyv422 min s=720x480 fps=5 max s=720x480 fps=30
[dshow @ 000002b6bd472940] pixel_format=yuyv422 min s=640x480 fps=5 max s=640x480 fps=30
[dshow @ 000002b6bd472940] pixel_format=yuyv422 min s=640x480 fps=5 max s=640x480 fps=30
video=USB3. 0 capture: Immediate exit requested
c:\>
c:\>ffmpeg -f dshow -video_size 1920x1080 -framerate 25 -i video="USB3. 0 capture" a.avi
c:\>ffmpeg -f dshow -video_size 1920x1080 -framerate 25 -i video="USB3. 0 capture" -f mpegts udp://239.5.5.5:5555
c:\>ffmpeg -f dshow -video_size 1920x1080 -framerate 25 -i video="USB3. 0 capture" -c:v copy -i "디지털 오디오 인터페이스(USB3. 0 capture)" -c:a copy -f mpegts udp://239.5.5.5:5555
[dshow @ 000001a163806300] Could not run graph (sometimes caused by a device already in use by other application)
audio=디지털 오디오 인터페이스(USB3. 0 capture): I/O error
*) 에러 발생시
좌하단 윈도우 버튼 ==> 설정 ==> 개인정보 ==> 마이크 ==> "...마이크에 대한 액세스 허용" 아래 "변경"버튼 클릭 "켬"
c:\>ffmpeg -f dshow -video_size 1920x1080 -framerate 25 -i video="USB3. 0 capture":audio="디지털 오디오 인터 페이스(USB3. 0 capture)" -f mpegts udp://239.5.5.5:5555
c:\>ffmpeg -f dshow -video_size 1920x1080 -framerate 30 -i video="USB3. 0 capture":audio="디지털 오디오 인터 페이스(USB3. 0 capture)" -c:v h264 -c:a mp3 -vf format=yuv420p -f mpegts udp://239.5.5.5:5555
c:\>ffmpeg -analyzeduration 2147483647 -probesize 2147483647 -f dshow -video_size 1920x1080 -framerate 20 -i video="USB3. 0 capture":audio="디지털 오디오 인터페이스(USB3. 0 capture)" -c:v h264 -c:a mp3 -f mpegts udp://239.5.5.5:5555
c:\>ffprobe
Stream #0:0[0x100]: Video: mpeg2video (4:2:2) ([2][0][0][0] / 0x0002), yuv422p(tv, bt470bg/unknown/unknown, progres
e), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
c:\>ffmpeg
Stream #0:0: Video: mjpeg (Baseline) (MJPG / 0x47504A4D), yuvj422p(pc, bt470bg/unknown/unknown), 1920x1080, 25 fps, 25 tbr, 10000k tbn, 10000k tbc
Stream mapping:
Stream #0:0 -> #0:0 (mjpeg (native) -> mpeg2video (native))
> ffplay -fflags nobuffer -flags low_delay -framedrop -strict experimental -f dshow -framerate 25 -video_size 1920x1080 -i video="USB3. 0 capture"
*) No JPEG Error
[mjpeg @ 0000020fe885e580] No JPEG data found in image
[mjpeg @ 0000020fe885e580] Found EOI before any SOF, ignoring
[mjpeg @ 0000020fe885e580] No JPEG data found in image
[mjpeg @ 0000020fe885e580] Found EOI before any SOF, ignoring f=0/0
*) ffplay -f dshow -video_size 1920x1080 -framerate 30 -i video="USB3. 0 capture"
-framerate 30 <== 이값 지정이 잘못 되었을때 나타남 60 일때 나옴
'Raspberry PI' 카테고리의 다른 글
rpi4 Debian : nginx + rtmp + webdav 설치 (0) | 2021.06.12 |
---|---|
Cloud not initialize EGL. (0) | 2021.05.09 |
ffplay (0) | 2021.05.05 |
Raspberry Pi 4 에서 PiWall 네트워크 설정 (0) | 2021.05.03 |
모니터 없을때 Raspberry PI xrdp 설정 하기 (0) | 2021.04.23 |
보아라! 나의 대통령 이시다
'글' 카테고리의 다른 글
아스트라 제네카 백신 맞았어요 (0) | 2021.06.10 |
---|---|
2021.05.21 한미정상 노마스크 회담 (0) | 2021.05.22 |
보시布施 (0) | 2019.11.14 |