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

help-circle



  • HelloRoot@lemy.loltoLinux@lemmy.mlOne distro for the next five years?
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    23 hours ago

    Arch was definitely tricky to get right for me at yhe beginning.

    You often have a choise between multiple similar tools for each job and you only know the pros and cons or what works and what doesn’t after trying.

    I did 3-4 fresh installs before getting it right for my needs and hardware. (for example, btrfs with buttermanager requires a completely different fs layout than btrfs with snapper, I picked buttermanager first, didn’t like it after 2 weeks and had to do a fresh install)

    For that it’s handy to have a good backup of your important data, ideally outside of your pc, just so there is no risk of fucking it up somehow.

    I definitely recommend using btrfs and using it’s snapsotting feature through snapper or timeshift or something else, again, multiple tools for the same job, different pros and cons.

    That way you can roll back after fucking something up. But make sure to try it out a couple of times before the case comes where you have to rely on it, so you’re sure that it does work and you know how to properly do it.

    I prefer arch cause I was able to customize it more and I love the up to date packages and the AUR. But there is some additional maintenance you have to do like once or twice a year and you have to pay attention to news for manual interventions when there is a breaking update. So it is way more involved than other distros. Yet it has been rock solid for me and should be very reliable once you know your way around.

    But tbh. as long as you are completely happy with mint, there is no reason to change anything.






  • to me that smells like what I said in the other comment:

    Wayland might be a bit stricter when it comes to following specs and not implementing hacky workarounds. (or it could always be a bug)

    I feel like, if a cable is high quality and up to spec, it will work with wayland. But if the signal integrity is below spec, wayland might fall back to slower signaling while x11 is more lax and ignores the issue and so a worse cable still works even if unnoticably below spec quality. Or the 4k over hdmi 1.3 is some hack that x11 supports and wayland doesn’t because it’s out of spec.

    But thats just a feeling. May be wrong.

    Thanks for reporting back with your findings!



  • afaik you just listed features that the printer I mentioned (or if I am wrong, other similar printers) supports

    it’s my bad for not mentioning all possible workflows, I was just a bit lazy and thinking of my personal documents only, which do not work well with further smart automation, because my batches are highly irregular. So the more manual approach is the best for me currently. Maybe possible with some future AI integration.






  • 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.




  • # 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