Recherche avancée

Médias (39)

Mot : - Tags -/audio

Autres articles (67)

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (12902)

  • avcodec/aacenc : Avoid 0 lambda

    28 mai 2021, par Michael Niedermayer
    avcodec/aacenc : Avoid 0 lambda
    

    Fixes : Ticket8003
    Fixes : CVE-2020-20453

    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavcodec/aacenc.c
  • Losing audio quality when merging multiple videos with FFmpeg

    30 mai 2021, par Charly

    I am trying to merge multiple videos (a few seconds each) into one, using FFmpeg.

    &#xA;

    Merging all at once

    &#xA;

    I first tried merging all videos with one FFmpeg command, but it only seems to work with up to a certain amount of videos. On my Raspberry Pi 4 (2BG RAM), it worked for 16 videos and broke (ran out of memory ?) while merging 36 videos (command and ouput below)

    &#xA;

    ffmpeg -i 1Rbrdn1Xp.mp4 -i G7eYqdFPb.mp4 -i -Xo-6ABm3.mp4 -i 6As9IlqbW.mp4 -i tz9tVKFA-.mp4&#xA;-i MS6DHZoJE.mp4 -i CeJYs99-G.mp4 -i Hsv5X48IC.mp4 -i Gm_DtjNU4.mp4 -i PZytbInZL.mp4&#xA;-i qsIJuvKO2.mp4 -i c5wxGk_Fx.mp4 -i j4K1qA7ih.mp4 -i AIpVWuhGV.mp4 -i yiLk0snSh.mp4&#xA;-i q1zmytaXZ.mp4 -i VRwQvLxaW.mp4 -i 0_3yLrokH.mp4 -i fW28LPQsk.mp4 -i La6WsGeE8.mp4&#xA;-i FlroQnCHq.mp4 -i c7SiL_qSU.mp4 -i aaGTUMJXD.mp4 -i hvXYBaCSM.mp4 -i CMDaFrWM4.mp4&#xA;-i _YAGDRyQN.mp4 -i RQXyshs_o.mp4 -i 96pKlIZxW.mp4 -i HVOOeCUYG.mp4 -i pJFxq7BTx.mp4&#xA;-i VxMJQqbK5.mp4 -i mkgbViPTI.mp4 -i zrjj93b5c.mp4 -i AL9oG1F36.mp4 -i IsUnC0NPb.mp4&#xA;-i Qhj2bhab9.mp4 -y -filter_complex concat=n=36:v=1:a=1 -vsync 2 kn-dQSN-v.mp4&#xA;

    &#xA;

    ffmpeg version 4.1.6-1~deb10u1&#x2B;rpt1 Copyright (c) 2000-2020 the FFmpeg developers&#xA;  built with gcc 8 (Raspbian 8.3.0-6&#x2B;rpi1)&#xA;(...)&#xA;Input #0, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;1Rbrdn1Xp.mp4&#x27;:&#xA;  Metadata:&#xA;    major_brand     : isom&#xA;    minor_version   : 512&#xA;    compatible_brands: isomiso2avc1mp41&#xA;    encoder         : Lavf58.20.100&#xA;  Duration: 00:00:08.08, start: 0.000000, bitrate: 602 kb/s&#xA;    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 533 kb/s, 57.62 fps, 60 tbr, 15360 tbn, 120 tbc (default)&#xA;    Metadata:&#xA;      handler_name    : VideoHandler&#xA;    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 22050 Hz, mono, fltp, 64 kb/s (default)&#xA;    Metadata:&#xA;      handler_name    : SoundHandler&#xA;Input #1, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;G7eYqdFPb.mp4&#x27;:&#xA;  Metadata:&#xA;    major_brand     : isom&#xA;    minor_version   : 512&#xA;    compatible_brands: isomiso2avc1mp41&#xA;    encoder         : Lavf58.20.100&#xA;  Duration: 00:00:21.00, start: 0.000000, bitrate: 310 kb/s&#xA;    Stream #1:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 229 kb/s, 59.09 fps, 60 tbr, 15360 tbn, 120 tbc (default)&#xA;    Metadata:&#xA;      handler_name    : VideoHandler&#xA;    Stream #1:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 22050 Hz, mono, fltp, 72 kb/s (default)&#xA;    Metadata:&#xA;      handler_name    : SoundHandler&#xA;(...)&#xA;Stream mapping:&#xA;  Stream #0:0 (h264) -> concat:in0:v0&#xA;  Stream #0:1 (aac) -> concat:in0:a0&#xA;  Stream #1:0 (h264) -> concat:in1:v0&#xA;  Stream #1:1 (aac) -> concat:in1:a0&#xA;(...)&#xA;  concat:out:v0 -> Stream #0:0 (libx264)&#xA;  concat:out:a0 -> Stream #0:1 (aac)&#xA;Press [q] to stop, [?] for help&#xA;[libx264 @ 0x17cb5e0] using SAR=1/1   0kB time=-577014:32:22.77 bitrate=  -0.0kbits/s speed=N/A    &#xA;[libx264 @ 0x17cb5e0] using cpu capabilities: ARMv6 NEON&#xA;[libx264 @ 0x17cb5e0] profile High, level 3.2&#xA;[libx264 @ 0x17cb5e0] 264 - core 155 r2917 0a84d98 - H.264/MPEG-4 AVC codec - Copyleft 2003-2018 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00&#xA;(...)&#xA;Output #0, mp4, to &#x27;kn-dQSN-v.mp4&#x27;:&#xA;  Metadata:&#xA;    major_brand     : isom&#xA;    minor_version   : 512&#xA;    compatible_brands: isomiso2avc1mp41&#xA;    encoder         : Lavf58.20.100&#xA;    Stream #0:0: Video: h264 (libx264) (avc1 / 0x31637661), yuv420p(progressive), 1280x720 [SAR 1:1 DAR 16:9], q=-1--1, 60 fps, 15360 tbn, 60 tbc (default)&#xA;    Metadata:&#xA;      encoder         : Lavc58.35.100 libx264&#xA;    Side data:&#xA;      cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1&#xA;    Stream #0:1: Audio: aac (LC) (mp4a / 0x6134706D), 22050 Hz, mono, fltp, 69 kb/s (default)&#xA;    Metadata:&#xA;      encoder         : Lavc58.35.100 aac&#xA;frame=15952 fps= 52 q=31.0 size=   10240kB time=00:04:33.02 bitrate= 307.3kbits/s speed=0.844x&#xA;[h264 @ 0x3472d80] get_buffer() failed40kB time=00:04:33.02 bitrate= 307.3kbits/s speed=0.844x    &#xA;[h264 @ 0x3472d80] thread_get_buffer() failed&#xA;[h264 @ 0x3472d80] decode_slice_header error&#xA;[h264 @ 0x3472d80] no frame!&#xA;Error while decoding stream #15:0: Invalid data found when processing input&#xA;[h264 @ 0x34f54d0] get_buffer() failed&#xA;[h264 @ 0x34f54d0] thread_get_buffer() failed&#xA;[h264 @ 0x34f54d0] decode_slice_header error&#xA;[h264 @ 0x34f54d0] no frame!&#xA;[h264 @ 0x3472d80] get_buffer() failed&#xA;[h264 @ 0x3472d80] thread_get_buffer() failed&#xA;(...)&#xA;Error while decoding stream #15:0: Invalid data found when processing input&#xA;[h264 @ 0x3472d80] reference picture missing during reorder&#xA;[h264 @ 0x3472d80] Missing reference picture, default is 65660&#xA;[h264 @ 0x34c4540] mmco: unref short failure&#xA;[h264 @ 0x34f54d0] get_buffer() failed08kB time=00:04:45.37 bitrate= 316.0kbits/s speed=0.845x    &#xA;[h264 @ 0x34f54d0] thread_get_buffer() failed&#xA;[h264 @ 0x34f54d0] decode_slice_header error&#xA;[h264 @ 0x34f54d0] no frame!&#xA;[h264 @ 0x3472d80] decode_slice_header error&#xA;[h264 @ 0x3472d80] no frame!&#xA;Error while decoding stream #15:0: Invalid data found when processing input&#xA;[h264 @ 0x34f54d0] mmco: unref short failure&#xA;Error while decoding stream #15:0: Invalid data found when processing input&#xA;[h264 @ 0x3472d80] get_buffer() failed&#xA;[h264 @ 0x3472d80] thread_get_buffer() failed&#xA;[h264 @ 0x3472d80] decode_slice_header error&#xA;[h264 @ 0x3472d80] no frame!&#xA;Error while decoding stream #15:0: Invalid data found when processing input&#xA;[h264 @ 0x3472d80] get_buffer() failed&#xA;[h264 @ 0x3472d80] thread_get_buffer() failed&#xA;[h264 @ 0x3472d80] decode_slice_header error&#xA;[h264 @ 0x3472d80] no frame!&#xA;[h264 @ 0x34f54d0] reference picture missing during reorder&#xA;    Last message repeated 1 times&#xA;[h264 @ 0x34f54d0] Missing reference picture, default is 65708&#xA;    Last message repeated 1 times&#xA;Error while decoding stream #15:0: Invalid data found when processing input&#xA;[h264 @ 0x34dccb0] reference picture missing during reorder&#xA;[h264 @ 0x34dccb0] Missing reference picture, default is 65716&#xA;[h264 @ 0x3472d80] mmco: unref short failure&#xA;[h264 @ 0x34f54d0] decode_slice_header error&#xA;[h264 @ 0x34f54d0] no frame!&#xA;Error while decoding stream #15:0: Invalid data found when processing inputbits/s speed=0.845x    &#xA;[h264 @ 0x3480010] get_buffer() failed&#xA;[h264 @ 0x3480010] thread_get_buffer() failed&#xA;[h264 @ 0x3480010] decode_slice_header error&#xA;[h264 @ 0x3480010] no frame!&#xA;[h264 @ 0x34c4540] decode_slice_header error&#xA;[h264 @ 0x34c4540] no frame!&#xA;Error while decoding stream #15:0: Invalid data found when processing input&#xA;[h264 @ 0x3480010] mmco: unref short failure&#xA;Error while decoding stream #15:0: Invalid data found when processing input&#xA;[h264 @ 0x34c4540] get_buffer() failed&#xA;[h264 @ 0x34c4540] thread_get_buffer() failed&#xA;[h264 @ 0x34c4540] decode_slice_header error&#xA;[h264 @ 0x34c4540] no frame!&#xA;Error while decoding stream #15:0: Invalid data found when processing input&#xA;[h264 @ 0x34c4540] get_buffer() failed&#xA;[h264 @ 0x34c4540] thread_get_buffer() failed&#xA;[h264 @ 0x34c4540] decode_slice_header error&#xA;[h264 @ 0x34c4540] no frame!&#xA;[h264 @ 0x34f54d0] decode_slice_header error&#xA;[h264 @ 0x34f54d0] no frame!&#xA;Error while decoding stream #15:0: Invalid data found when processing input&#xA;[h264 @ 0x3480010] reference picture missing during reorder&#xA;    Last message repeated 1 times&#xA;[h264 @ 0x3480010] Missing reference picture, default is 65772&#xA;    Last message repeated 1 times&#xA;Error while decoding stream #15:0: Invalid data found when processing input&#xA;[h264 @ 0x3472d80] reference picture missing during reorder&#xA;[h264 @ 0x3472d80] Missing reference picture, default is 65780&#xA;[h264 @ 0x34c4540] mmco: unref short failure&#xA;av_interleaved_write_frame(): Cannot allocate memory&#xA;[mp4 @ 0x295c7e0] Application provided duration: 3689347710924763697 / timestamp: 6291454 is out of range for mov/mp4 format&#xA;Segmentation fault&#xA;

    &#xA;

    Merging videos 2 by 2

    &#xA;

    I then tried gradually merging videos into one, using multiple FFmpeg commands.

    &#xA;

    # Pseudocode&#xA;final = merge(clip1, clip2)&#xA;final = merge(final, clip3)&#xA;final = merge(final, clip4)&#xA;final = merge(final, clip5)&#xA;...&#xA;

    &#xA;

    with each command, looking like this :

    &#xA;

    ffmpeg -i 1Rbrdn1Xp.mp4 -i G7eYqdFPb.mp4 -y -filter_complex concat=n=2:v=1:a=1 -vsync 2 UMVDl9jki.mp4&#xA;

    &#xA;

    ffmpeg -i UMVDl9jki.mp4 -i -Xo-6ABm3.mp4 -y -filter_complex concat=n=2:v=1:a=1 -vsync 2 azE1Uombp.mp4&#xA;

    &#xA;

    This works but there is a loss in audio quality on the first clips, and it is slowly improving over time. I am guessing this is due to the first videos being merged more times than the last ones. You can see this effect happen in this video (weird artefacts in the voice).

    &#xA;


    &#xA;

    So, am I doing something wrong ?
    &#xA;Is there a way of merging a lot of videos, without running out of memory or worsening the audio quality ?

    &#xA;

  • Streaming Webcam from Windows 10 to Ubuntu 18.04 via WSL2 and usbip [closed]

    15 juin 2021, par Jacob Dallas

    Background
    &#xA;Alright so I was able to set up my Windows 10 desktop with WSL2 in order to run Ubuntu 18.04. I'm trying to get the webcam to be accessible and have picked and pieced together the following tutorials in order to get myself to where I am.

    &#xA;

    &#xA;

    The Why
    &#xA;"Why would you go through this painstaking effort ? Seems dumb." you might be telling yourself. Well I think that it's dumb that WSL2 doesn't have a USB pass-through, so there's that. But I develop on Windows traditionally, and with a recent computer vision project I'm undertaking that incorporates the Nvidia Isaac SDK (only available on Ubuntu 18.04) I was hoping to continue to use Windows to develop, and then Ubuntu 18.04 to test. I'm trying to stay away from dual booting because switching back and forth between OSs is time-consuming.

    &#xA;

    Current State
    &#xA;What I'm able to do is pass through the web camera using usbip from windows using the following commands
    &#xA;.\usbip.exe bind -b 1-189
    &#xA;.\usbipd.exe -d -4

    &#xA;

    and then on the linux side I connect it by running
    &#xA;sudo usbip attach --remote=172.30.64.1 --busid=1-220
    &#xA;except that I put in my own remote address and busid

    &#xA;

    What that results in is the ability to see that the camera is attached and seen by linux, but no matter what program/library I use, none of them are able to open the webcam

    &#xA;

    Here are some outputs from different commands people have used to display camera information :

    &#xA;

    ~$ v4l2-ctl --list-devices &#xA;Logitech Webcam C930e (usb-vhci_hcd.0-1):&#xA;    /dev/video0&#xA;    /dev/video1&#xA;&#xA;~$ v4l-info /dev/video0&#xA;&#xA;### v4l2 device info [/dev/video0] ###&#xA;general info&#xA;    VIDIOC_QUERYCAP&#xA;    driver                  : "uvcvideo"&#xA;    card                    : "Logitech Webcam C930e"&#xA;    bus_info                : "usb-vhci_hcd.0-1"&#xA;    version                 : 4.19.84&#xA;    capabilities            : 0x84a00001 [VIDEO_CAPTURE,?,?,STREAMING,(null)]&#xA;&#xA;standards&#xA;&#xA;inputs&#xA;    VIDIOC_ENUMINPUT(0)&#xA;    index                   : 0&#xA;    name                    : "Camera 1"&#xA;    type                    : CAMERA&#xA;    audioset                : 0&#xA;    tuner                   : 0&#xA;    std                     : 0x0 []&#xA;    status                  : 0x0 []&#xA;&#xA;video capture&#xA;    VIDIOC_ENUM_FMT(0,VIDEO_CAPTURE)&#xA;    index                   : 0&#xA;    type                    : VIDEO_CAPTURE&#xA;    flags                   : 0&#xA;    description             : "YUYV 4:2:2"&#xA;    pixelformat             : 0x56595559 [YUYV]&#xA;    VIDIOC_ENUM_FMT(1,VIDEO_CAPTURE)&#xA;    index                   : 1&#xA;    type                    : VIDEO_CAPTURE&#xA;    flags                   : 1&#xA;    description             : "Motion-JPEG"&#xA;    pixelformat             : 0x47504a4d [MJPG]&#xA;    VIDIOC_G_FMT(VIDEO_CAPTURE)&#xA;    type                    : VIDEO_CAPTURE&#xA;    fmt.pix.width           : 640&#xA;    fmt.pix.height          : 480&#xA;    fmt.pix.pixelformat     : 0x56595559 [YUYV]&#xA;    fmt.pix.field           : NONE&#xA;    fmt.pix.bytesperline    : 1280&#xA;    fmt.pix.sizeimage       : 614400&#xA;    fmt.pix.colorspace      : SRGB&#xA;    fmt.pix.priv            : 4276996862&#xA;&#xA;controls&#xA;    VIDIOC_QUERYCTRL(BASE&#x2B;0)&#xA;    id                      : 9963776&#xA;    type                    : INTEGER&#xA;    name                    : "Brightness"&#xA;    minimum                 : 0&#xA;    maximum                 : 255&#xA;    step                    : 1&#xA;    default_value           : 128&#xA;    flags                   : unknown&#xA;    VIDIOC_QUERYCTRL(BASE&#x2B;1)&#xA;    id                      : 9963777&#xA;    type                    : INTEGER&#xA;    name                    : "Contrast"&#xA;    minimum                 : 0&#xA;    maximum                 : 255&#xA;    step                    : 1&#xA;    default_value           : 128&#xA;    flags                   : unknown&#xA;    VIDIOC_QUERYCTRL(BASE&#x2B;2)&#xA;    id                      : 9963778&#xA;    type                    : INTEGER&#xA;    name                    : "Saturation"&#xA;    minimum                 : 0&#xA;    maximum                 : 255&#xA;    step                    : 1&#xA;    default_value           : 128&#xA;    flags                   : unknown&#xA;    VIDIOC_QUERYCTRL(BASE&#x2B;12)&#xA;    id                      : 9963788&#xA;    type                    : BOOLEAN&#xA;    name                    : "White Balance Temperature, Auto"&#xA;    minimum                 : 0&#xA;    maximum                 : 1&#xA;    step                    : 1&#xA;    default_value           : 1&#xA;    flags                   : unknown&#xA;    VIDIOC_QUERYCTRL(BASE&#x2B;19)&#xA;    id                      : 9963795&#xA;    type                    : INTEGER&#xA;    name                    : "Gain"&#xA;    minimum                 : 0&#xA;    maximum                 : 255&#xA;    step                    : 1&#xA;    default_value           : 0&#xA;    flags                   : unknown&#xA;    VIDIOC_QUERYCTRL(BASE&#x2B;24)&#xA;    id                      : 9963800&#xA;    type                    : MENU&#xA;    name                    : "Power Line Frequency"&#xA;    minimum                 : 0&#xA;    maximum                 : 2&#xA;    step                    : 1&#xA;    default_value           : 2&#xA;    flags                   : unknown&#xA;    VIDIOC_QUERYCTRL(BASE&#x2B;26)&#xA;    id                      : 9963802&#xA;    type                    : INTEGER&#xA;    name                    : "White Balance Temperature"&#xA;    minimum                 : 2000&#xA;    maximum                 : 7500&#xA;    step                    : 1&#xA;    default_value           : 4000&#xA;    flags                   : INACTIVE&#xA;    VIDIOC_QUERYCTRL(BASE&#x2B;27)&#xA;    id                      : 9963803&#xA;    type                    : INTEGER&#xA;    name                    : "Sharpness"&#xA;    minimum                 : 0&#xA;    maximum                 : 255&#xA;    step                    : 1&#xA;    default_value           : 128&#xA;    flags                   : unknown&#xA;    VIDIOC_QUERYCTRL(BASE&#x2B;28)&#xA;    id                      : 9963804&#xA;    type                    : INTEGER&#xA;    name                    : "Backlight Compensation"&#xA;    minimum                 : 0&#xA;    maximum                 : 1&#xA;    step                    : 1&#xA;    default_value           : 0&#xA;    flags                   : unknown&#xA;&#xA;~$ sudo ffmpeg -y -t 5 -f video4linux2  -i /dev/video0  out.mov&#xA;ffmpeg version 3.4.8-0ubuntu0.2 Copyright (c) 2000-2020 the FFmpeg developers&#xA;  built with gcc 7 (Ubuntu 7.5.0-3ubuntu1~18.04)&#xA;  configuration: --prefix=/usr --extra-version=0ubuntu0.2 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-librsvg --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared&#xA;  libavutil      55. 78.100 / 55. 78.100&#xA;  libavcodec     57.107.100 / 57.107.100&#xA;  libavformat    57. 83.100 / 57. 83.100&#xA;  libavdevice    57. 10.100 / 57. 10.100&#xA;  libavfilter     6.107.100 /  6.107.100&#xA;  libavresample   3.  7.  0 /  3.  7.  0&#xA;  libswscale      4.  8.100 /  4.  8.100&#xA;  libswresample   2.  9.100 /  2.  9.100&#xA;  libpostproc    54.  7.100 / 54.  7.100&#xA;/dev/video0: Input/output error&#xA;&#xA;~$ ffmpeg -f v4l2 -video_size 640x480 -i /dev/video0 -frames 1 out.jpg&#xA;ffmpeg version 3.4.8-0ubuntu0.2 Copyright (c) 2000-2020 the FFmpeg developers&#xA;  built with gcc 7 (Ubuntu 7.5.0-3ubuntu1~18.04)&#xA;  configuration: --prefix=/usr --extra-version=0ubuntu0.2 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-librsvg --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared&#xA;  libavutil      55. 78.100 / 55. 78.100&#xA;  libavcodec     57.107.100 / 57.107.100&#xA;  libavformat    57. 83.100 / 57. 83.100&#xA;  libavdevice    57. 10.100 / 57. 10.100&#xA;  libavfilter     6.107.100 /  6.107.100&#xA;  libavresample   3.  7.  0 /  3.  7.  0&#xA;  libswscale      4.  8.100 /  4.  8.100&#xA;  libswresample   2.  9.100 /  2.  9.100&#xA;  libpostproc    54.  7.100 / 54.  7.100&#xA;/dev/video0: Input/output error&#xA;

    &#xA;
    &#xA;

    I'm not sure if I don't have a specific library, driver, random other thing, but everything I've tried so far seems to not solve the problem.

    &#xA;Question
    &#xA;Linux sees the web camera, knows that it is a web camera, but is not processing the camera feed. What would you recommend I do to be able to process the video feed ? I think this is an issue with my settings when I originally set up linux with menuconfig.&#xA;Any help would be appreciated :)

    &#xA;