# Stream Udp

**URL:** <https://casparcgforum.org/t/stream-udp/6874>\
**Category:** General\
**Tags:** streaming, development, config, client, server\
**Created:** [October 24, 2024, 6:24pm UTC](https://casparcgforum.org/t/stream-udp/6874 "2024-10-24T18:24:50Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![MarceloCarvalho](https://casparcgforum.org/letter_avatar_proxy/v4/letter/m/ecccb3/32.png) [@MarceloCarvalho](https://casparcgforum.org/u/MarceloCarvalho)\
**Post date:** [October 24, 2024, 6:24pm UTC](https://casparcgforum.org/t/stream-udp/6874/1 "2024-10-24T18:24:50Z")

</div>

Hello everyone!!

I’m streaming video via UDP, but I’m facing issues.  
For testing, I open the Caspar Client, select the correct channel, and play the video.  
On the destination machine, I’m trying to open it in VLC using the command `udp://@:5001`.  
The video doesn’t show up, and the audio is choppy.  
This is my configuration in Caspar’s config file.

 1080i5994 udp://:5001 -codec:v h264\_nvenc -preset:v fast -b:v 6000k -filter:v format=pix\_fmts=yuv420p,fps=30 -format mpegts false false 

This is my Caspar Server setup, version 2.4:  
Core i7 8th Gen, 18GB RAM, Nvidia GForce RTX 3060

Am I doing something wrong, or is there something missing in my configuration?  
Can anyone help me with this issue?

Any help would be greatly appreciated.  
Thank you all!!!

---

<div class="post-metadata">

**Author:** ![MarceloCarvalho](https://casparcgforum.org/letter_avatar_proxy/v4/letter/m/ecccb3/32.png) [@MarceloCarvalho](https://casparcgforum.org/u/MarceloCarvalho)\
**Post date:** [October 25, 2024, 4:22pm UTC](https://casparcgforum.org/t/stream-udp/6874/2 "2024-10-25T16:22:39Z")

</div>

This is my Caspar.config,

```auto
<channel>
	<video-mode>1080i5994</video-mode>
	<consumers>
		<ffmpeg>
			<path>udp://<MyIP>:5001</path>
			<args>-codec:v h264_nvenc -preset:v fast -b:v 6000k -filter:v format=pix_fmts=yuv420p,fps=30 -format mpegts</args>
			<separate-key>false</separate-key>
			<mono-streams>false</mono-streams>
		</ffmpeg>
	</consumers>
</channel>

```

Has anyone ever had this problem?"

---

<div class="post-metadata">

**Author:** ![MarceloCarvalho](https://casparcgforum.org/letter_avatar_proxy/v4/letter/m/ecccb3/32.png) [@MarceloCarvalho](https://casparcgforum.org/u/MarceloCarvalho)\
**Post date:** [October 29, 2024, 1:15pm UTC](https://casparcgforum.org/t/stream-udp/6874/3 "2024-10-29T13:15:32Z")

</div>

Good morning!!!

Has no one faced this difficulty??

Any tips would be very helpful.

Thank you all!!!

---

<div class="post-metadata">

**Author:** ![andyw](https://casparcgforum.org/letter_avatar_proxy/v4/letter/a/f05b48/32.png) [@andyw](https://casparcgforum.org/u/andyw)\
**Post date:** [October 30, 2024, 4:46am UTC](https://casparcgforum.org/t/stream-udp/6874/4 "2024-10-30T04:46:04Z")

</div>

Have a look [at this thread](https://casparcgforum.org/t/udp-streaming-on-casparcg-2-3-0-server/3542/7). One of the items that has frequently been mentioned in solutions to UDP streaming is the importance in setting the ethernet packet size (the `?pkt_size=1316` part of the command.

---

<div class="post-metadata">

**Author:** ![MarceloCarvalho](https://casparcgforum.org/letter_avatar_proxy/v4/letter/m/ecccb3/32.png) [@MarceloCarvalho](https://casparcgforum.org/u/MarceloCarvalho)\
**Post date:** [October 30, 2024, 4:31pm UTC](https://casparcgforum.org/t/stream-udp/6874/5 "2024-10-30T16:31:54Z")

</div>

Yesss, you are right!!!  
That worked perfect.

Thank so much.
