USB video capture card stops sending bytes

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












I have few dozen Ubuntu 16.04 systems that are grabbing video from a Magewell USB Capture Device via ffmpeg. The PCs themselves are all Dell 5285. On occasion during video capture, the video stream cuts out. ffmpeg simply stops receiving bytes. At precisely this moment, the kernel spits out the following logs:



Apr 11 06:04:53 kernel: [ 8498.989445] uvcvideo: Non-zero status (-32) in video completion handler.
Apr 11 06:04:53 kernel: [ 8498.992933] uvcvideo: Non-zero status (-71) in video completion handler.
Apr 11 06:04:53 kernel: [ 8498.996552] uvcvideo: Non-zero status (-71) in video completion handler.
Apr 11 06:04:53 kernel: [ 8498.999966] uvcvideo: Non-zero status (-71) in video completion handler.
Apr 11 06:04:53 kernel: [ 8499.003544] uvcvideo: Non-zero status (-71) in video completion handler.


At this point, the video stream is dead and does not come back. But if I kill the ffmpeg process and try a new one, the video stream now works. How can I prevent this issue from happening, and who is at fault? (Kernel? Magewell?)



Perhaps importantly, I have tried swapping out Magewell devices and swapping out USB cables with no success. Furthermore, this problem appears to be more pronounced with certain PCs than others, as in some PCs do this constantly (nearly every 15 minutes) while others seem to do it either never or very rarely.



Output of uname -a:



Linux hostname 4.13.0-38-generic #43~16.04.1-Ubuntu SMP Wed Mar 14 17:48:43 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux










share|improve this question

























    up vote
    0
    down vote

    favorite












    I have few dozen Ubuntu 16.04 systems that are grabbing video from a Magewell USB Capture Device via ffmpeg. The PCs themselves are all Dell 5285. On occasion during video capture, the video stream cuts out. ffmpeg simply stops receiving bytes. At precisely this moment, the kernel spits out the following logs:



    Apr 11 06:04:53 kernel: [ 8498.989445] uvcvideo: Non-zero status (-32) in video completion handler.
    Apr 11 06:04:53 kernel: [ 8498.992933] uvcvideo: Non-zero status (-71) in video completion handler.
    Apr 11 06:04:53 kernel: [ 8498.996552] uvcvideo: Non-zero status (-71) in video completion handler.
    Apr 11 06:04:53 kernel: [ 8498.999966] uvcvideo: Non-zero status (-71) in video completion handler.
    Apr 11 06:04:53 kernel: [ 8499.003544] uvcvideo: Non-zero status (-71) in video completion handler.


    At this point, the video stream is dead and does not come back. But if I kill the ffmpeg process and try a new one, the video stream now works. How can I prevent this issue from happening, and who is at fault? (Kernel? Magewell?)



    Perhaps importantly, I have tried swapping out Magewell devices and swapping out USB cables with no success. Furthermore, this problem appears to be more pronounced with certain PCs than others, as in some PCs do this constantly (nearly every 15 minutes) while others seem to do it either never or very rarely.



    Output of uname -a:



    Linux hostname 4.13.0-38-generic #43~16.04.1-Ubuntu SMP Wed Mar 14 17:48:43 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux










    share|improve this question























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I have few dozen Ubuntu 16.04 systems that are grabbing video from a Magewell USB Capture Device via ffmpeg. The PCs themselves are all Dell 5285. On occasion during video capture, the video stream cuts out. ffmpeg simply stops receiving bytes. At precisely this moment, the kernel spits out the following logs:



      Apr 11 06:04:53 kernel: [ 8498.989445] uvcvideo: Non-zero status (-32) in video completion handler.
      Apr 11 06:04:53 kernel: [ 8498.992933] uvcvideo: Non-zero status (-71) in video completion handler.
      Apr 11 06:04:53 kernel: [ 8498.996552] uvcvideo: Non-zero status (-71) in video completion handler.
      Apr 11 06:04:53 kernel: [ 8498.999966] uvcvideo: Non-zero status (-71) in video completion handler.
      Apr 11 06:04:53 kernel: [ 8499.003544] uvcvideo: Non-zero status (-71) in video completion handler.


      At this point, the video stream is dead and does not come back. But if I kill the ffmpeg process and try a new one, the video stream now works. How can I prevent this issue from happening, and who is at fault? (Kernel? Magewell?)



      Perhaps importantly, I have tried swapping out Magewell devices and swapping out USB cables with no success. Furthermore, this problem appears to be more pronounced with certain PCs than others, as in some PCs do this constantly (nearly every 15 minutes) while others seem to do it either never or very rarely.



      Output of uname -a:



      Linux hostname 4.13.0-38-generic #43~16.04.1-Ubuntu SMP Wed Mar 14 17:48:43 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux










      share|improve this question













      I have few dozen Ubuntu 16.04 systems that are grabbing video from a Magewell USB Capture Device via ffmpeg. The PCs themselves are all Dell 5285. On occasion during video capture, the video stream cuts out. ffmpeg simply stops receiving bytes. At precisely this moment, the kernel spits out the following logs:



      Apr 11 06:04:53 kernel: [ 8498.989445] uvcvideo: Non-zero status (-32) in video completion handler.
      Apr 11 06:04:53 kernel: [ 8498.992933] uvcvideo: Non-zero status (-71) in video completion handler.
      Apr 11 06:04:53 kernel: [ 8498.996552] uvcvideo: Non-zero status (-71) in video completion handler.
      Apr 11 06:04:53 kernel: [ 8498.999966] uvcvideo: Non-zero status (-71) in video completion handler.
      Apr 11 06:04:53 kernel: [ 8499.003544] uvcvideo: Non-zero status (-71) in video completion handler.


      At this point, the video stream is dead and does not come back. But if I kill the ffmpeg process and try a new one, the video stream now works. How can I prevent this issue from happening, and who is at fault? (Kernel? Magewell?)



      Perhaps importantly, I have tried swapping out Magewell devices and swapping out USB cables with no success. Furthermore, this problem appears to be more pronounced with certain PCs than others, as in some PCs do this constantly (nearly every 15 minutes) while others seem to do it either never or very rarely.



      Output of uname -a:



      Linux hostname 4.13.0-38-generic #43~16.04.1-Ubuntu SMP Wed Mar 14 17:48:43 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux







      16.04 usb kernel video






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Apr 17 at 20:51









      tyleha

      13111




      13111

























          active

          oldest

          votes











          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "89"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: true,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1025934%2fusb-video-capture-card-stops-sending-bytes%23new-answer', 'question_page');

          );

          Post as a guest



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1025934%2fusb-video-capture-card-stops-sending-bytes%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          pylint3 and pip3 broken

          Missing snmpget and snmpwalk

          How to enroll fingerprints to Ubuntu 17.10 with VFS491