I want to stream internally through UDP and pick it up in VLC, the stream seems to work since it’s playing but I get no image at all.
I use: ADD 1 STREAM udp://localhost:5001 -codec:v libx264 -format mpegts -crf:v 18
Am I stupid? (Obviously yes, please help!)
That happens to me every day …and you are sure, that you also play anything on the channel, right?
Yep, playing and confirming playout through screen consumer
-pix_fmt yuv420p - mentioned here a few times
rom1
5
In 2.3 when I pass the command
ADD 1 STREAM udp://localhost:5001 -codec:v libx264 -format mpegts -crf:v 18 -pix_fmt yuv420p
response contains Unused option pix_fmt=yuv420p
[2021-05-06 11:51:55.272] [info] Received message from Console: ADD 1 STREAM udp://localhost:5001 -codec:v libx264 -format mpegts -crf:v 18 -pix_fmt yuv420p\r\n
#202 ADD OK
[2021-05-06 11:51:55.276] [info] ffmpeg[udp://localhost:5001] Initialized.
[2021-05-06 11:51:55.278] [info] [ffmpeg] [libx264 @ 000001D4E8C766C0] using SAR=1/1
[2021-05-06 11:51:55.278] [info]
[2021-05-06 11:51:55.279] [info] [ffmpeg] [libx264 @ 000001D4E8C766C0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
[2021-05-06 11:51:55.279] [info]
[2021-05-06 11:51:55.284] [info] [ffmpeg] [libx264 @ 000001D4E8C766C0] profile High 4:2:2, level 3.2, 4:2:2, 8-bit
[2021-05-06 11:51:55.284] [info]
[2021-05-06 11:51:55.289] [warning] ffmpeg[udp://localhost:5001] **Unused option pix_fmt=yuv420p**