VLC - Fine tuning command line

a very small Live CD shaped to look and act like Puppy Linux.

Moderator: fredx181

Post Reply
dcung
Posts: 373
Joined: Fri Sep 25, 2020 4:31 am
Has thanked: 42 times
Been thanked: 51 times

VLC - Fine tuning command line

Post by dcung »

I use VLC to view/stream security cameras on one of my PC (BusterDog).

I browsed the net reading other people's experiences (also happy to get Fred's tip with scaling) and switches that they used and I picked/tried to adapt for my need.

And I put it in startup.

Code: Select all

QT_SCALE_FACTOR=1.6 vlc --no-audio rtsp://xxxxxx/ch01 --qt-start-minimized

On locations where the WiFi signal is low, often there's drop out. And you need to press 'play' for the stream to start again.
I found several postings on the net, and ways they resolved it to restart the stream automatically. One that I like was to use play list. So, my command line evolved to become

Code: Select all

QT_SCALE_FACTOR=1.6 vlc --loop --no-audio /root/backyard.xspf --qt-start-minimized

When VLC starts. You see VLC minimised icon.
Good...but few seconds later, when connection is made to the cameras, VLC automatically maximise.
Interrupting what I was doing, and needing to minimise VLC again.

The same issue with using playlist.
When it dropped out and automatically reconnected, it automatically maximise again.

I'd like VLC to always stays minimised in background, until I click it.

Is this possible?

Thank you.

xx_T3n0ch_X
Posts: 36
Joined: Thu Jul 22, 2021 1:31 am
Has thanked: 3 times
Been thanked: 10 times

Re: VLC - Fine tuning command line

Post by xx_T3n0ch_X »

Did you try this Auto raising the interface > Never and Resize interface to video size?

bla.jpeg
bla.jpeg (74.85 KiB) Viewed 417 times
dcung
Posts: 373
Joined: Fri Sep 25, 2020 4:31 am
Has thanked: 42 times
Been thanked: 51 times

Re: VLC - Fine tuning command line

Post by dcung »

xx_T3n0ch_X wrote: Sun Feb 05, 2023 1:30 am

Did you try this Auto raising the interface > Never and Resize interface to video size?

I tried it.
Individually and combined.

Resize interface to video size - I have to enable it. Otherwise, the camera main stream is 4K, substream is 2K.
Not very useful/comfortable to see unless it's resized accordingly.

Auto raising the interface (Never) - didn't seem to make difference.

Show media change popup (Never) - didn't seem to make difference.

Thanks for input though. :)

xx_T3n0ch_X
Posts: 36
Joined: Thu Jul 22, 2021 1:31 am
Has thanked: 3 times
Been thanked: 10 times

Re: VLC - Fine tuning command line

Post by xx_T3n0ch_X »

I tried adding to the jwm configuration file,

Code: Select all

<Group>
<Class>vlc</Class>
<Name>vlc</Name>
<Option>minimized</Option>
<Option>nofocus</Option>
</Group>

It does not work.

It appears to be a known issue,
https://forum.videolan.org/viewtopic.php?t=154878

Last edited by xx_T3n0ch_X on Sun Feb 05, 2023 5:48 pm, edited 1 time in total.
dcung
Posts: 373
Joined: Fri Sep 25, 2020 4:31 am
Has thanked: 42 times
Been thanked: 51 times

Re: VLC - Fine tuning command line

Post by dcung »

xx_T3n0ch_X wrote: Sun Feb 05, 2023 3:36 am

...
It appears to be a know issue,
https://forum.videolan.org/viewtopic.php?t=154878

Yes. It's exactly what I'm trying to get a solution to.

Last post was about 2 years ago.
Hopefully, someone found a solution by now...

dcung
Posts: 373
Joined: Fri Sep 25, 2020 4:31 am
Has thanked: 42 times
Been thanked: 51 times

Re: VLC - Fine tuning command line

Post by dcung »

Interesting read.
Some people are trying to achieve the opposite. :lol:

https://forum.videolan.org/viewtopic.php?t=153990
https://forum.videolan.org/viewtopic.php?t=153772

Anyway, I'll keep trialing and erroring.

Post Reply

Return to “DebianDogs”