Has anyone managed to capture a feed using the "USB Capture SDI 4k" from Magewell with ffmpeg?
It runs for awhile but then a 0 byte packet comes along and ffmped just stops. It doesn't quit, but the frame number just stops and it doesn't do anything after rhis. I saw 2 bugs from 2014 and both seem to state it's fixed but clearly it's not. Thank you. Output following. > ffmpeg -y -r 60 -thread_queue_size 256 -f v4l2 -framerate 60 -i /dev/video1 > -thread_queue_size 256 -f alsa -i hw:1 -codec:a libfdk_aac -b:a 128k -codec:v > libx264 -crf 18 -preset ultrafast -pix_fmt yuv422p -t 00:53:00 title.mp4 ffmpeg version 3.4.2 Copyright (c) 2000-2018 the FFmpeg developers built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.9) 20160609 configuration: --prefix=/data/software/ffmpeg-3.4.2 --enable-gpl --enable-libfreetype --enable-libx264 --enable-libx265 --enable-nonfree --enable-libfdk-aac --enable-libopus --enable-libvpx --enable-openssl --enable-shared --enable-sdl2 libavutil 55. 78.100 / 55. 78.100 libavcodec 57.107.100 / 57.107.100 libavformat 57. 83.100 / 57. 83.100 libavdevice 57. 10.100 / 57. 10.100 libavfilter 6.107.100 / 6.107.100 libswscale 4. 8.100 / 4. 8.100 libswresample 2. 9.100 / 2. 9.100 libpostproc 54. 7.100 / 54. 7.100 [video4linux2,v4l2 @ 0x1039680] Dequeued v4l2 buffer contains 362568 bytes, but 460800 were expected. Flags: 0x00012001. Input #0, video4linux2,v4l2, from '/dev/video1': Duration: N/A, bitrate: 221184 kb/s Stream #0:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 640x360, 221184 kb/s, 60 fps, 60 tbr, 1000k tbn, 1000k tbc Guessed Channel Layout for Input Stream #1.0 : stereo Input #1, alsa, from 'hw:1': Duration: N/A, start: 1552090307.006454, bitrate: 1536 kb/s Stream #1:0: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s Stream mapping: Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264)) Stream #1:0 -> #0:1 (pcm_s16le (native) -> aac (libfdk_aac)) Press [q] to stop, [?] for help [libx264 @ 0x104ff80] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2 [libx264 @ 0x104ff80] profile High 4:2:2, level 3.1, 4:2:2 8-bit [libx264 @ 0x104ff80] 264 - core 148 r2643 5c65704 - H.264/MPEG-4 AVC codec - Copyleft 2003-2015 - http://www.videolan.org/x264.html - options: cabac=0 ref=1 deblock=0:0:0 analyse=0:0 me=dia subme=0 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=11 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=250 keyint_min=25 scenecut=0 intra_refresh=0 rc=crf mbtree=0 crf=18.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=0 Output #0, mp4, to 'title.mp4': Metadata: encoder : Lavf57.83.100 Stream #0:0: Video: h264 (libx264) (avc1 / 0x31637661), yuv422p(progressive), 640x360, q=-1--1, 60 fps, 15360 tbn, 60 tbc Metadata: encoder : Lavc57.107.100 libx264 Side data: cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1 Stream #0:1: Audio: aac (libfdk_aac) (mp4a / 0x6134706D), 48000 Hz, stereo, s16, 128 kb/s Metadata: encoder : Lavc57.107.100 libfdk_aac [video4linux2,v4l2 @ 0x1039680] Dequeued v4l2 buffer contains corrupted data (0 bytes).= 1x Last message repeated 63 times frame=46086 fps= 43 q=20.0 size= 613888kB time=00:12:47.91 bitrate=6548.9kbits/s speed=0.721x _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".