• 0 Posts
  • 334 Comments
Joined 1 year ago
cake
Cake day: February 15th, 2025

help-circle

  • The stuff you describe sounds like a cable timing issue. Not something you can fix in Linux. Think of it like the two devices trying to talk to each other on different frequencies and picking the highest res one that works. (so thats why they might get stuck on a random smaller one)

    I had some examples like that in the past where some low quality or very long cables couldn’t reach it’s spec, even fresh out of the box, even on windows.

    Oh, also I am pretty sure HDMI 1.3 does not do 4k at all. Either 1080 or 1440p was the spec limit.

    If you can space the money for an experiment try an active DP 1.2 → HDMI 2.0 cable/adapter.

    Maybe something like https://www.delock.com/produkt/85956/merkmale.html or Digitus branded. Depending on what known good cable manufacturer is available in your area.


  • You can mostly just copy your home partition/dir with something like rsync.

    Step by step:

    1. Install new distro, in the installer make sure to use the same username (otherwise there is some extra work involved but still doable)

    2. start up new distro to make sure it works

    3. reboot into old distro or into live linux

    4. use rsync to copy olddistro/home/user to newdistro/home/user (you have to think about whether it makes sense to overwrite all files or if there is maybe some special exception somehow. Like there may be some idiomatic bashrc on one distro that does not work well with the other)

    (I’ve done that multiple times now and there is some minor fixing involved sometimes, like with the bashrc example, but otherwise it’s super easy. If you ever get stuck just hit me up and I can hop on a Rustdesk/discord/whatever support session)




  • # CUT (fast, keyframe-aligned, no re-encode)
    ffmpeg -ss 00:01:30 -to 00:02:10 -i input.mp4 -c copy cut.mp4
    
    # CUT (accurate, re-encode)
    ffmpeg -i input.mp4 -ss 00:01:30 -to 00:02:10 -c:v libx264 -c:a aac cut.mp4
    
    
    # MERGE / CONCATENATE (same codecs, no re-encode)
    printf "file 'a.mp4'\nfile 'b.mp4'\n" > list.txt
    ffmpeg -f concat -safe 0 -i list.txt -c copy merged.mp4
    
    
    # MERGE (different formats, re-encode)
    ffmpeg -i a.mp4 -i b.mp4 -filter_complex \
    "[0:v][0:a][1:v][1:a]concat=n=2:v=1:a=1[v][a]" \
    -map "[v]" -map "[a]" merged.mp4
    
    
    # TRANSITION (video crossfade, keep audio from first clip)
    ffmpeg -i a.mp4 -i b.mp4 -filter_complex \
    "[0:v][1:v]xfade=transition=fade:duration=1:offset=4[v]" \
    -map "[v]" -map 0:a transition.mp4
    
    
    # ADD TEXT (overlay)
    ffmpeg -i input.mp4 -vf \
    "drawtext=text='Hello world':x=20:y=20:fontsize=32:fontcolor=white" \
    -c:a copy text.mp4
    
    
    # ADD AUDIO TRACK (replace existing audio)
    ffmpeg -i input.mp4 -i music.mp3 \
    -map 0:v -map 1:a -c:v copy -shortest out.mp4
    
    
    # ADD AUDIO TRACK (mix with existing audio)
    ffmpeg -i input.mp4 -i music.mp3 -filter_complex \
    "[0:a][1:a]amix=inputs=2:duration=shortest[a]" \
    -map 0:v -map "[a]" out.mp4
    
    
    # CHANGE SPEED (2x video, drop audio)
    ffmpeg -i input.mp4 -vf "setpts=0.5*PTS" -an fast.mp4
    
    
    # SCALE / RESIZE
    ffmpeg -i input.mp4 -vf scale=1280:720 resized.mp4
    
    
    # SUBTITLES (burn in)
    ffmpeg -i input.mp4 -vf subtitles=subs.srt out.mp4
    

    Check out the docs for more https://ffmpeg.org/ffmpeg-doc.html


  • hard disagree, it depends on where you live.

    Which is at the current stage of globalism mostly a personal choise. I have friends that got here by hitchhiking on a container ship by asking the crew nicely and other who literally walked here for half a year, begging for food along the way.

    I moved countries with nothing but my documents and a backpack full of clothes. And I am off way better now, by using my brain and not being an asshole.

    And yeah, bit of survivorship bias, ngl. But it’s far from the bleak picture you drew. If you live in a shithole, go somewhere else.


  • I agree with the sentiment, but a 4 day work week(or 6h/day) won’t help at all, exactly because of this. Most people will just do more passive entertainment consumption in their newly increased freetime instead of informing themselves about some complex issues or learning something new.

    And at least where I live, the people that are smart enough to do what you want them to, already make enough money to work however they like and have more than enough free tkme for this kind of stuff. (I personally know some who are well off financially and all they do is <20h per week or freelance 3-5 months per year)





  • You are the exception, not the norm.

    Most people are on the bandwagon of buying the shiny new thing with a bigger version number once every year or two (even when the old one still works perfectly).

    The mecha comet is one of those devices that get hyped up among the nerds, but after a month 90%of them will either gather dust on a shelf or end up on the second hand market for cheap. You can see the same pattern in many nieche hardware subcultures, linux phones, flipper zero, raspberry pis, various digital music gadgets, AI bs hardware etc.

    (I have like 20 random things like that rotting in a box, just to be transparent)








  • Magic earth is great

    is was

    1 Star rating in the play store since december update

    And even before that, it had wrong POI all the time and didn’t update osm data to stay up to date.

    I tried every open source app I could find, but none of the open source ones have live traffic, which makes them completely useless for where I live. I honestly don’t understand why we can’t opt-in crowdsource that.