VLC stream grayscale

About encoding, codec settings, muxers and filter usage
tronklol
New Cone
New Cone
Posts: 3
Joined: 22 Feb 2018 10:29

VLC stream grayscale

Postby tronklol » 22 Feb 2018 11:49

Hi, is it possible to stream an yuv 4:2:0 in greyscale? I tried with:
cvlc -vvv cut.wmv --grayscale --sout="#transcode{vcodec=h264, vb=2000,acodec=none,height=360,width=640,aenc=fdkaac,ab=256}:std{mux=ts,access=udp,dst=192.168.1.157:4321}".
Does not work, the video still with colours :( .
I really need it, any help is welcome :?

Rémi Denis-Courmont
Developer
Developer
Posts: 15267
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: VLC stream grayscale

Postby Rémi Denis-Courmont » 22 Feb 2018 18:12

--grayscale only works when decoding with avcodec. If your input is raw, it won't have any effect.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

tronklol
New Cone
New Cone
Posts: 3
Joined: 22 Feb 2018 10:29

Re: VLC stream grayscale

Postby tronklol » 22 Feb 2018 19:28

Firstly, thanks for your answer. So there is no way to keep use that video for stream it in grayscale?

Rémi Denis-Courmont
Developer
Developer
Posts: 15267
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: VLC stream grayscale

Postby Rémi Denis-Courmont » 22 Feb 2018 20:34

Someone would have to write a video filter to clear chroma planes.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

tronklol
New Cone
New Cone
Posts: 3
Joined: 22 Feb 2018 10:29

Re: VLC stream grayscale

Postby tronklol » 22 Feb 2018 20:57

Ah, ok. Thanks so much :)


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 39 guests