Kód: Vybrat vše
C:\Users\k\Desktop>ffplay -f dshow -vcodec mjpeg -i video="Integrated
Rear Camera" -hide_banner
Input #0, dshow, from 'video=Integrated Rear Camera': 0B f=0/0
Duration: N/A, start: 61920.885000, bitrate: N/A
Stream #0:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 640x480, 30 tbr,
10000k tbn, 30 tbc
[mjpeg @ 0000000001d3c960] No JPEG data found in image 0B f=0/0
Last message repeated 1 times
[mjpeg @ 0000000001d3c960] No JPEG data found in image 0B f=0/0
C:\Users\Uživatel\Desktop>ffplay -framerate 30 -vcodec mjpeg -s 1920x1080 -f d
show -i video="Integrated Rear Camera" -hide_banner
Option -s is deprecated, use -video_size.
[mjpeg @ 00000000004d3b40] No JPEG data found in image 0B f=0/0
[dshow @ 00000000004c0d20] Stream #0: not enough frames to estimate rate; consid
er increasing probesize
[dshow @ 00000000004c0d20] decoding for stream 0 failed
[dshow @ 00000000004c0d20] Could not find codec parameters for stream 0 (Video:
mjpeg (MJPG / 0x47504A4D), 1920x1080): unspecified pixel format
Consider increasing the value for the 'analyzeduration' and 'probesize' options
video=Integrated Rear Camera: could not find codec parameters
nan : 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
kamera daný formát umí:>ffplay -f dshow -i video="Integrated Rear Camera" -list_options true
má
[dshow @ 00000000021f0700] vcodec=mjpeg min s=1920x1080 fps=15 max s=1920x108
0 fps=30
[dshow @ 00000000021f0700] vcodec=mjpeg min s=1920x1080 fps=15 max s=1920x108
0 fps=30
[dshow @ 00000000021f0700] vcodec=mjpeg min s=1600x1200 fps=15 max s=1600x120
0 fps=30
[dshow @ 00000000021f0700] vcodec=mjpeg min s=1600x1200 fps=15 max s=1600x120
0 fps=30
[dshow @ 00000000021f0700] vcodec=mjpeg min s=2048x1536 fps=7.5 max s=2048x15
36 fps=15
[dshow @ 00000000021f0700] vcodec=mjpeg min s=2048x1536 fps=7.5 max s=2048x15
36 fps=15
[dshow @ 00000000021f0700] vcodec=mjpeg min s=2592x1944 fps=7.5 max s=2592x19
44 fps=15
[dshow @ 00000000021f0700] vcodec=mjpeg min s=2592x1944 fps=7.5 max s=2592x19
44 fps=15
ps proč je to tam 2x každé?
taky proč to píše inpu: rawvideo, když tam má být mjpg?
po updatu ffmpeg mi to již píše COuld not find codec parameters for steram 0 (Video: mjpeg /0x47504A4D), none(bt470g/unknown/unknwon , <rozlišení>) unspecified pixel format
Jiné programy problém nemají. Proč to nejde?