• Blackmist@feddit.uk
    link
    fedilink
    English
    arrow-up
    56
    arrow-down
    1
    ·
    1 个月前

    ffmpeg command lines are straight up black magic.

    Anyone who understands them is not to be trusted.

    It’s even worse than tar.

    • Zannsolo@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      1 个月前

      The biggest pain in the ass I’ve dealt with was using a directshow lib to implement flash on a new camera we were supporting for a desktop application. Working with a device graph and pins is beyond frustrating. We’re porting functionality to the Web and my dev working on the camera just needed to call capture image to trigger the flash.

    • el_bhm@lemm.ee
      link
      fedilink
      arrow-up
      9
      ·
      1 个月前

      If they know Regex, assume you are in Sarumans tower and held captive until a hawk comes in.

        • Deestan@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          21 天前

          Tbh the frequent pain from needing to read it again often happens because it was so hard to write correctly that it misbehaves on some data and you need to adjust it.

    • mmddmm@lemm.ee
      link
      fedilink
      arrow-up
      16
      arrow-down
      1
      ·
      1 个月前

      GNU tar is easy and straight-forward.

      It’s also completely incompatible with any other Unix, but then, what difference does it make is nobody can use them?

      • Eugene V. Debs' Ghost@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        9
        ·
        edit-2
        1 个月前

        A more complex but more commonly used program is rsync

        rsync -rav /home/user/Documents /mnt/usbdrive is treated differently than rsync -rav /home/user/Documents/ /mnt/usbdrive which is different than rsync -rav /home/user/Documents /mnt/usbdrive/ which is different than rsync -rav /home/user/Documents/ /mnt/usbdrive/

        It’s a great tool for making copies onto drives, even servers. But man you have to double check how each folder path is laid out, otherwise it’ll write the files of one folder to the main drive, unorganized.