GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    Zergling_man (zergling_man@sacred.harpy.faith)'s status on Sunday, 22-Sep-2024 23:29:47 JST Zergling_man Zergling_man
    .config/mpv/scripts-storage/mpv-gallery-view/scripts/gallery-thumbgen.lua: --if only fucking ffmpeg supported percent-style seeking
    In conversation about 10 months ago from sacred.harpy.faith permalink
    • Embed this notice
      翠星石 (suiseiseki@freesoftwareextremist.com)'s status on Sunday, 22-Sep-2024 23:29:43 JST 翠星石 翠星石
      in reply to
      @Zergling_man Unfortunately, current video formats do not encode a "percent" field, or even an exact playback position (you can only really fully decode keyframes - frames between are just pixel differences), so getting a percentage of a video is guesswork.
      In conversation about 10 months ago permalink
    • Embed this notice
      Zergling_man (zergling_man@sacred.harpy.faith)'s status on Sunday, 22-Sep-2024 23:29:44 JST Zergling_man Zergling_man
      in reply to
      • kamehamic
      @kamehamic That's probably how it works.
      In conversation about 10 months ago permalink
    • Embed this notice
      kamehamic (kamehamic@poa.st)'s status on Sunday, 22-Sep-2024 23:29:45 JST kamehamic kamehamic
      in reply to
      @Zergling_man Do the math heh, get duration, convert to seconds and "do the percent on those".
      In conversation about 10 months ago permalink
    • Embed this notice
      menherahair (menherahair@eientei.org)'s status on Sunday, 22-Sep-2024 23:29:54 JST menherahair menherahair
      in reply to
      • kamehamic
      • butterdog (nudes at 1M followers)
      @Zergling_man @butterdog @kamehamic >chatGPT is a proprietrary anti-privacy frontend for stackexchange
      In conversation about 10 months ago permalink
      翠星石 likes this.
    • Embed this notice
      Zergling_man (zergling_man@sacred.harpy.faith)'s status on Sunday, 22-Sep-2024 23:29:55 JST Zergling_man Zergling_man
      in reply to
      • kamehamic
      • butterdog (nudes at 1M followers)
      @butterdog @kamehamic No, it's just a retarded premise. The thing doesn't know anything about programming, and it can't even correctly feed you the output of blog/forum posts.
      In conversation about 10 months ago permalink
    • Embed this notice
      butterdog (nudes at 1M followers) (butterdog@poa.st)'s status on Sunday, 22-Sep-2024 23:29:56 JST butterdog (nudes at 1M followers) butterdog (nudes at 1M followers)
      in reply to
      • kamehamic
      @Zergling_man @kamehamic it didn't work? lol
      it's helped me with some very complicated ffmpeg command before and be correct every time. I use phind.com
      In conversation about 10 months ago permalink

      Attachments


    • Embed this notice
      butterdog (nudes at 1M followers) (butterdog@poa.st)'s status on Sunday, 22-Sep-2024 23:29:57 JST butterdog (nudes at 1M followers) butterdog (nudes at 1M followers)
      in reply to
      • kamehamic
      @Zergling_man @kamehamic chat gpt says this;


      # Calculate video duration
      duration=$(ffprobe -v error -show_entries format=duration -of default=noprint_wrappers=1:nokey=1 input.mp4)

      # Calculate timestamp for 50% duration
      percentage=50
      timestamp=$(echo "scale=9; $duration * ($percentage / 100)" | bc)

      # Take screenshot
      ffmpeg -i input.mp4 -ss "$timestamp" -frames:v 1 output_50percent.png
      In conversation about 10 months ago permalink
    • Embed this notice
      Zergling_man (zergling_man@sacred.harpy.faith)'s status on Sunday, 22-Sep-2024 23:29:57 JST Zergling_man Zergling_man
      in reply to
      • kamehamic
      • butterdog (nudes at 1M followers)
      @butterdog @kamehamic Why would you even bother asking a robot?
      In conversation about 10 months ago permalink
    • Embed this notice
      翠星石 (suiseiseki@freesoftwareextremist.com)'s status on Sunday, 22-Sep-2024 23:41:48 JST 翠星石 翠星石
      in reply to
      @Zergling_man Yes, but you likely won't land on the same frame if you seeked from the very start of the video, vs halfway through due to rounding.
      In conversation about 10 months ago permalink
    • Embed this notice
      Zergling_man (zergling_man@sacred.harpy.faith)'s status on Sunday, 22-Sep-2024 23:41:49 JST Zergling_man Zergling_man
      in reply to
      • 翠星石
      @Suiseiseki It already lets you seek by timestamp, as long as it can accurately determine duration (which I won't assume it can, but it thinks it can), it can internally translate a percentage into a timestamp and seek on it.
      In conversation about 10 months ago permalink

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.