<div dir="ltr"><div><div><div>Basically,  I am trying to use mythbackend as a PVR for a paid IPTV 
service, but the back end fails to stream any data from the URL.<br><br></div>I used mythtv-setup to create an IPTV capture card using an m3u file with the following format:<br><br><code>#EXTM3U<br>#EXTINF:-1,300 - ANIMAL PLANET HD<br>#EXTMYTHTV:xmltvid=57394<br><a href="http://2.welcm.tv:8000/live/xxx@xyz.com/xxxpasswordxxx/5010.ts">http://2.welcm.tv:8000/live/xxx@xyz.com/xxxpasswordxxx/5010.ts</a><br><br></code></div><br></div><div>I successfully added the channels and program data and can see the channels and program data on my Kodi front end as well as in Mythweb.<br><br></div><div>However, when I go to watch a channel live or record a program, I am not getting any data streaming into the buffers. I set the timeout for the card to 60000 ms, but it appears to only attempt the connection for a few seconds at most. I can open the URLs just fine in VLC and the video starts to play in just a few seconds.<br><br>Here is a snippet from the back end log using --setverbose channel,record and --setloglevel debug:<br><br><dl class=""><dd><code>2016-06-13 18:25:08.621845 I [5221/5743] StreamHandler 
recorders/httptsstreamhandler.cpp:137 (DownloadStream) - 
HTTPReader(<a href="http://2.welcm.tv:8000/live/xxx@xyz.com/xxxpasswordxxx/4649.ts">http://2.welcm.tv:8000/live/xxx@xyz.com/xxxpasswordxxx/4649.ts</a>):
 DownloadStream -- begin<br>2016-06-13 18:25:08.938128 I [5221/5743] 
StreamHandler recorders/httptsstreamhandler.cpp:179 (DownloadStream) - 
HTTPReader(<a href="http://2.welcm.tv:8000/live/xxx@xyz.com/xxxpasswordxxx/4649.ts">http://2.welcm.tv:8000/live/xxx@xyz.com/xxxpasswordxxx/4649.ts</a>):
 DownloadStream -- end<br>2016-06-13 18:25:08.938189 I [5221/5743] 
StreamHandler recorders/httptsstreamhandler.cpp:114 (run) - 
HTTPTSSH(<a href="http://2.welcm.tv:8000/live/xxx@xyz.com/xxxpasswordxxx/4649.ts">http://2.welcm.tv:8000/live/xxx@xyz.com/xxxpasswordxxx/4649.ts</a>):
 DownloadStream failed to receive bytes from 
<a href="http://2.welcm.tv:8000/live/xxx@xyz.com/xxxpasswordxxx/4649.ts">http://2.welcm.tv:8000/live/xxx@xyz.com/xxxpasswordxxx/4649.ts</a></code></dd></dl><p>More from the same log: <a href="http://pastebin.com/4kFuWnxR">http://pastebin.com/4kFuWnxR</a></p><p>You can see that the entire attempt to stream the data only lasts a few seconds. I thought that maybe the '@' symbol was causing an issue so I tried to escape it using '\@', but it resulted in the same behavior.<br></p><p>Here is mediainfo output from a sample stream I pulled through VLC: <a href="http://pastebin.com/DCEUCbq7">http://pastebin.com/DCEUCbq7</a></p><p>I initially tried this setup on 0.27/fixes and encountered the same issue so I did a fresh compile of 0.28/fixes and deleted/re-created the IPTV tuner and sources to the same end. <br></p><p>Here is my mythbackend version:</p><p><code>MythTV Version : v0.28-35-g812ec08<br>MythTV Branch : fixes/0.28<br>Network Protocol : 88<br>Library API : 0.28.20160309-1<br>QT Version : 5.6.0<br>Options compiled in:<br> linux
 release use_hidesyms using_alsa using_oss using_pulse using_pulseoutput
 using_backend using_bindings_perl using_bindings_python 
using_bindings_php using_crystalhd using_dvb using_frontend 
using_hdhomerun using_vbox using_ceton using_hdpvr using_ivtv 
using_joystick_menu using_libcec using_libcrypto using_libdns_sd 
using_libxml2 using_lirc using_mheg using_opengl using_opengl_video 
using_qtwebkit using_qtscript using_qtdbus using_taglib using_v4l2 
using_x11 using_xrandr using_xv using_systemd_notify using_bindings_perl
 using_bindings_python using_bindings_php using_freetype2 
using_mythtranscode using_opengl using_vaapi using_vdpau 
using_ffmpeg_threads using_mheg using_libass using_libxml2</code></p><p>It seems like the back end is *trying* to open the stream, but it doesn't like what it is seeing so my initial thoughts were that it either doesn't like the URL format, or that it is receiving data that it isn't expecting...</p><p>Should this setup theoretically work? Is there a way to get more debugging into to determine why the stream isn't opening?<br><br>Any ideas are appreciated.<br><br>Thanks,</p><p>Dave<br></p> </div></div>