• 4 Posts
  • 105 Comments
Joined 1 year ago
cake
Cake day: June 17th, 2023

help-circle

  • You can absolutely re-encode h265 video, but you can’t do it losslessly. In the end, it’s always a balance between quality and filesize.

    I decided for myself, that 1080p30 crf28 h265 is good enough for home video, which lead to a 50% to 80% storage space reduction on videos from my phone.

    If you don’t obsess over quality, I would highly recommend just messing around with ffmpeg a little bit and decide how much quality you’re willing to lose in order to save disk space. When you’re happy with your settings, you can either use ffmpeg itself or some fancy batch program like Tdarr to transcode all (or parts of) your video library.

    My goto command is:
    for file in *.mp4; do ffmpeg -i "$file" -movflags use_metadata_tags -map_metadata 0 -vcodec libx265 -crf 28 -vf scale=1920:-1 -r 30 "${file%.*}_transcoded.mp4"; done



  • i use miracast where I can (my TV and Samsung phone support it natively), as it pretty much just works and is a decent protocol. Sadly every phone manufacturer that isn’t Samsung seems to have abandoned it right now, but it is still widely supported in TVs. On Linux, there is the app gnome-network-displays (yes it also works on KDE) to cast your screen over miracast.

    Miracast is an actual local streaming protocol (closely related to WiFi Direct). For content streaming the only FOSS standard I am aware of is FCast, but sofar it only is implemented in the GrayJay Android app.

    Edit: There is also Deskreen for casting a PC screen.

    For casting mobile to PC there is also scrcpy.

    This isn’t really casting, but I often find that an HDMI cable (often paired with a USB-C to HDMI dongle) is the simplest and most reliable way to display a phone screen on another monitor (as long as the phone supports DP altmode).








  • eco_game@discuss.tchncs.detoMemes@lemmy.mlGogle
    link
    fedilink
    arrow-up
    2
    ·
    4 months ago

    I was very disappointed with the (default) Camera after switching to Graphene, luckily you can just download the Pixel Camera (including all the Pixel optimizations) from Play Store on Graphene OS or download it as an APK bundle from some other sites (downloading the normal APK won’t work, it has to be the bundle).




  • TVHeadend is the way, I’ve been running it with a USB satellite tuner for 5+ years. Setting it up can be a little confusing, but once it’s running you pretty much never have to touch it again.

    As for clients, there’s a Jellyfin plugin, however it seems to not work for me right now.

    My client of choice is Kodi with the TVHeadend plugin, and that works great. If you still want Jellyfin integration, you could just add your recordings folder as a library in Jellyfin.


  • Could I purchase two different brand drives and use them with btrfs?

    I don’t quite remember the source for this, but I believe I read some time ago that it’s actually a good thing to have separate drives. The reasoning is, if you buy two identical drives (at the same time), the likelyhood of both drives failing around the same time is severely higher.

    This is then amplified by the fact that rebuilding a RAID puts a lot of strain on the non-dead drive, so if ie. drive 1 dies and drive 2 is about to die, the strain you put on drive 2 in order to rebuild your RAID onto drive 3 might kill drive 2 before you even finish rebuilding your RAID.

    Again, this is just from my memory, it might be worth doing some more research on.