home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.os.linux.misc      Linux-specific topics not covered by oth      135,536 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 135,447 of 135,536   
   Carlos E. R. to All   
   Re: SOMETHING Wrong With DebiVerse FFMPE   
   18 Feb 26 13:32:33   
   
   From: robin_listas@es.invalid   
      
   On 2026-02-18 05:53, c186282 wrote:   
   > All was well, until an 'update'.   
   >   
   > Have a very small Python script that uses ffmpeg to   
   > record/resize an rtsp stream from a security camera.   
   > The '-t' param determines the video length, then the   
   > ffmpeg process auto-ends. Then we repeat for the   
   > next video segment. 5-minute vids are ideal.   
   >   
   > Or USED TO be.   
   >   
   > Now, several times a day, oddly most often at certain   
   > hours, the ffmpeg process will HANG - never exits,   
   > never makes anything beyond a zero-byte vid. No   
   > messages. Might work for 5 minutes, 5 hours, 15 hours,   
   > but it WILL hang eventually.   
   >   
   > Kept complicating the script, attempting to force   
   > ffmpeg to end with "kill" or "pkill" commands - but   
   > they are usually invulnerable to that.   
   >   
   > Latest, ultra-simplfied ... a little better but STILL   
   > prone to hanging-up.   
   >   
   > So, had to write a watchdog script. If the log file   
   > doesn't get updated in 150% vidlength then it reboots   
   > the box. Radical, but the ONLY apparent fix and I've   
   > tried a bunch, a bunch of bunches.   
   >   
   > This is all running on a MX Libereto ... a fairly   
   > recent incarnation based on BullsEye.   
   >   
   > And no no no ... I'm NOT going to try and install another   
   > version of ffmpeg. Tried that once - it's dependencies   
   > and dependencies and dependencies in a massively growing   
   > pyramid. You'd have to gut the entire system, wind up   
   > with some horrible unmaintainable FrankenDistro.   
   >   
   > SO ... for now ... I can stick with my kinda-crappy   
   > fix and hope for an updated update OR move this   
   > particular app to another box, another distro, and   
   > hope it's worth it.   
   >   
      
   In some cases, ffmpeg makes use of hardware support for the codec. If it   
   is doing this, probably you can force doing it all in software.   
      
   You can try a different codec.   
      
   If you want to try a different distro, openSUSE leap 15.6 has available   
   several ffmpeg versions, so you can try which works.   
      
      
   --   
   Cheers,   
           Carlos E.R.   
           ES🇪🇸, EU🇪🇺;   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca