Page 1 of 1

How to specify chroma and pixel format with transcoding

Posted: 06 Jan 2020 00:41
by gdogg371
I have just about managed to display a perfect 4k video display with audio from my Magewell capture in VLC using the below command line arguments:

Code: Select all

vlc dshow:// :dshow-vdev="Video (00 Pro Capture HDMI 4K+)" :dshow-adev="Audio (00 Pro Capture HDMI 4K+)" :dshow-vb=8192 :dshow-aspect-ratio=16\:9 :dshow-chroma=RV32 :dshow-pixel_format=YUV444 :dshow-tune=film :dshow-preset=veryslow :dshow-vcodec=libx265 :dshow-fps=60 :dshow-crf=0 :dshow-acodec=mp4a :dshow-stereo-mode=5 :dshow-force-surround-sound=0 :dshow-ab=96 :dshow-samplerate=44100 :no-dshow-config :live-caching=100 --sout-keep
However, the end goal is to wrap this capture card output into a transport stream so that it can be picked up by a third party PVR platform as a kind of IPTV proxy. When I add some RTP transcoding syntax in as per below, I now get two problems:

1) The signal opens in my VLC session, but is of much lower quality than when using the above. I presume this is because the chroma and pixel format are missing. I have tried adding these in as transcode parameters, but it makes no difference to the picture quality.
2) If I open a second VLC session and attempt to connect to the RTP stream I am only getting audio. No picture.

Code: Select all

vlc dshow:// :dshow-vdev="Video (00 Pro Capture HDMI 4K+)" :dshow-adev="Audio (00 Pro Capture HDMI 4K+)" :dshow-aspect-ratio=16\:9 :dshow-chroma=BGR32 :dshow-vcodec=libx265 :dshow-fps=60 :dshow-acodec=mp4a :dshow-ab=96 :dshow-channels=2 :dshow-samplerate=44100 :no-dshow-config :no-dshow-tuner :live-caching=100 :sout=#transcode{avcodec=h265,width=3840,height=2160,fps=60,vb=8192,acodec=mp4a,ab=128,channels=2,samplerate=44100,scodec=none}:duplicate{dst=rtp{dst=127.0.0.1,port=5004,mux=ts},dst=display}
Can anyone advise as to what I am doing wrong?

Thanks