this post was submitted on 29 Sep 2024
40 points (95.5% liked)

Asklemmy

43965 readers
1773 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy ๐Ÿ”

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_[email protected]~

founded 5 years ago
MODERATORS
 

I have Samsung UE40J5200AW and it has that screen mirroring feature. Whenever I try to use to cast from Windows 11 to this TV, the stream stops after few mins of playing.

I have no idea if Samsung doesnt allow to play full screen videos from casting devices or not. I have tried to connect both PC and TV via Ethernet and see if it will help, but its happening all the time.

Whats interesting it also happens when I cast via my lineage os phone and I checked it on different TV and had the same issue.

Whats your ways to cast videos from PC/laptop to TV?

you are viewing a single comment's thread
view the rest of the comments
[โ€“] shalafi 4 points 1 month ago* (last edited 1 month ago)

I'd suggest figuring out the Windows casting issue. My TV is hardwired to the network, so maybe that helps.

Here's a script for a mode switcher. Works great using psexe to wrap it in an executable.

Do {
    CLS
    $Mode = Read-Host "`r`n(W)ork, (P)lay, (M)ovie?"
    } until ( 'w', 'p', 'm' -contains $Mode) 

if ($Mode -eq "w"){
# Work Mode
displayswitch.exe /extend
# Display taskbar and restart Explorer
$p='HKCU:SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\StuckRects3';$v=(Get-ItemProperty -Path $p).Settings;$v[8]=2;&Set-ItemProperty -Path $p -Name Settings -Value $v;&Stop-Process -f -ProcessName explorer
    }

if ($Mode -eq "p"){
# Play Mode
displayswitch.exe /external
# Display taskbar and restart Explorer
$p='HKCU:SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\StuckRects3';$v=(Get-ItemProperty -Path $p).Settings;$v[8]=2;&Set-ItemProperty -Path $p -Name Settings -Value $v;&Stop-Process -f -ProcessName explorer
    }

if ($Mode -eq "m"){
# Movie Mode
displayswitch.exe /internal
#Hide taskbar and restart Explorer
$p='HKCU:SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\StuckRects3';$v=(Get-ItemProperty -Path $p).Settings;$v[8]=3;&Set-ItemProperty -Path $p -Name Settings -Value $v;&Stop-Process -f -ProcessName explorer
    }