Opened 9 years ago
Closed 9 years ago
#13045 closed Bug Report - General (Won't Fix)
UDP stream does not play
| Reported by: | Owned by: | ||
|---|---|---|---|
| Priority: | minor | Milestone: | 0.28.2 |
| Component: | MythTV - General | Version: | 0.28.1 |
| Severity: | medium | Keywords: | |
| Cc: | Peter Bennett | Ticket locked: | no |
Description
I am trying to use a iptv recorder and can play the multicast stream using 'vlc udp://@239.255.42.42:5004'. However, the stream refuses to play with mythtv-0.28.1. I setup a channel file as follows:
$ cat iptv.m3u #EXTM3U #EXTINF:0,1 - Test Channel udp://239.255.42.42:5004
Attachments (1)
Change History (7)
by , 9 years ago
| Attachment: | backend.log added |
|---|
comment:1 by , 9 years ago
comment:2 by , 9 years ago
The problem goes away if the zero length udp packets are dropped
iptables -t raw -A PREROUTING -p udp -m length --length 28 -j DROP
The following ffmpeg patch is required to be brought into mythtv: http://ffmpeg.org/pipermail/ffmpeg-devel/2017-May/211607.html
comment:3 by , 9 years ago
| Milestone: | unknown → 0.28.2 |
|---|---|
| Version: | Unspecified → 0.28.1 |
comment:4 by , 9 years ago
http://lists.mythtv.org/pipermail/mythtv-users/2017-May/391802.html
On 05/23/2017 08:06 AM, Rajil Saraswat wrote:
It seems mythtv doesnt like empty UDP packets which VLC is tolerant off. After inserting the following rule, mythtv works fine.
iptables -t raw -A PREROUTING -p udp -m length --length 28 -j DROP
Is there any way to incorporate this into mythtv?
Thanks
This patch solves it for ffmpeg, http://ffmpeg.org/pipermail/ffmpeg-devel/2017-May/211607.html
comment:5 by , 9 years ago
| Cc: | added |
|---|
Maybe the networking part of MythTV can be changed to ignore those empty packets. That may be better than using iptables.
comment:6 by , 9 years ago
| Resolution: | → Won't Fix |
|---|---|
| Status: | new → closed |
Closing any remaining tickets for 0.28, if the issue persists, feel free to reopen and align to v29 or master

I am trying to use a iptv recorder and can play the multicast stream using 'vlc udp://@239.255.42.42:5004'. However, the stream refuses to play with mythtv-0.28.1. I setup a channel file as follows: