• 0 Posts
  • 256 Comments
Joined 1 year ago
cake
Cake day: June 13th, 2023

help-circle


  • NegativeInf@lemmy.worldto196@lemmy.blahaj.zonethis rules
    link
    fedilink
    arrow-up
    24
    ·
    edit-2
    5 days ago

    One of the twilight movies. In a flashback, they show the Volturi massacring a group of vampires in which one of them had converted a child. Being a child when turned made them have no regard for secrecy or discretion, which would have led to them exposing the existence of vampires.

    Which is why they were all coming to kill the Cullens when the mortal Bella gave birth to Edwards half vampire offspring, as another vampire saw a young girl with vampiric powers, not understanding that the half vampire girl would age rapidly until adult and then staying adult for eternity.

    My summary may be slightly off. I read the books like… 16 years ago? Idk.














  • Reframe failure as winning.

    You haven’t died, so you’ve succeeded in staying alive. That in itself is an achievement. And is generally more than most humans to ever exist can claim. Most died in childhood.

    There’s nothing wrong with being a virgin. It’s a state that can change, but there’s no rush or pressure. Engage in activities you find interesting—you’ll meet like-minded people along the way. You may want to reconsider your visual standards or work on your communication skills. Focus on finding people who appreciate you for who you are. Common interests and truly caring about others are attractive traits. (Also, remember, older people are often still sexually active, so losing your virginity is possible even in your later years.) ((As a gay man, I can assure you that everyone is someone’s fetish—no exaggeration. Based on the categories on straight porn sites, the same seems true for heteronormative people.))

    Start small. Incremental change over time is more sustainable than trying to make massive, instant changes. Identify the aspects of your life that you don’t like, and work to improve them gradually. Reflect on the wonder of being able to ponder your own existence. Lie in the grass, look up at the sky, and feel your mind wrestle with the idea that you won’t fall up into the sky.

    Even if you don’t have a lot of money, there are free things you can do. Turn off your phone, leave your headphones at home, and take a walk on a trail at night. Listen to the sounds of the woods, look at the stars, and feel the breeze.

    Nothing inherently matters, and that can be freeing. Since life has no intrinsic meaning, you’re free to assign meaning to the things that matter to you. Take the time you have and focus on what you enjoy.

    Even if none of this resonates with you, I hope tomorrow is a better day. And that each tomorrow is better than the last. One thing you can always have is hope. Nothing can kill hope—not a dictator, not a bad date, not the weather, not even the heat death of the universe. Hope lives on. Time marches on. This too shall pass.





  • Requires ffmpeg and imagemagick

    #!/bin/bash
    
    # Check if input video file is provided and exists
    if [ $# -lt 1 ]; then
        echo "Usage: $0 <input_video>"
        exit 1
    fi
    
    input_video="$1"
    
    if [ ! -f "$input_video" ]; then
        echo "Error: Input video file not found."
        exit 1
    fi
    
    # Get video duration in seconds (floating-point)
    duration=$(ffprobe -v error -show_entries format=duration -of default=noprint_wrappers=1:nokey=1 "$input_video")
    
    # Check if the duration was successfully extracted
    if [ -z "$duration" ]; then
        echo "Error: Could not retrieve video duration."
        exit 1
    fi
    
    # Calculate fps as 20 frames divided by the duration
    fps=$(echo "20 / $duration" | bc -l)
    
    # Create a directory to store frames
    mkdir -p frames
    
    
    # Extract 20 frames from the video using the fps filter
    ffmpeg -i "$input_video" -vf "fps=$fps,scale=200:-1" -frames:v 20 "frames/frame_%02d.jpg" -loglevel error
    
    # Create the collage using ImageMagick's montage tool
    montage -mode concatenate -tile 5x4 -geometry +2+2 frames/frame_*.jpg output_collage.jpg
    
    # Clean up temporary files (delete frames directory)
    rm -r frames
    
    echo "Collage created: output_collage.jpg"