[mythtv-users] Multicast works, Unicast doesnt

Rajil Saraswat rajil.s at gmail.com
Wed Nov 22 00:36:17 UTC 2017


Hello,

I have an iptv stream which can work in either multicast and unicast.
When using multicast ip address (239.255.42.42:5004) both mythtv and
mplayer can play the stream. However, when using unicast mplayer works
but mythtv doesnt. Any idea why unicast doesnt work?

Mythtv log shows this,

2017-11-21 12:34:15.695989 I [23239/23331] TVRecEvent tv_rec.cpp:1074
(HandleStateChange) - TVRec[5]: Changing from None to WatchingLiveTV
2017-11-21 12:34:15.700151 I [23239/23331] TVRecEvent tv_rec.cpp:3686
(TuningFrequency) - TVRec[5]: TuningFrequency
2017-11-21 12:34:15.716999 I [23239/23331] TVRecEvent
channelutil.cpp:1976 (GetIPTVTuningData) - Loaded
[data]udp://172.16.1.189:5004[fectype][fec0][fec1] for 2122
2017-11-21 12:34:15.722564 N [23239/23239] CoreContext
autoexpire.cpp:251 (CalcParams) - AutoExpire: CalcParams(): Max required
Free Space: 3.0 GB w/freq: 14 min
2017-11-21 12:34:15.724523 W [23239/23331] TVRecEvent
programinfo.cpp:5668 (LoadFromProgram) - LoadFromProgram(): SQL contains
LIMIT clause, caller should be updated to use limit parameter instead
2017-11-21 12:34:15.734406 N [23239/23331] TVRecEvent
recordinginfo.cpp:687 (ApplyRecordRecGroupChange) -
ApplyRecordRecGroupChange: LiveTV to LiveTV (2)
2017-11-21 12:34:15.745720 I [23239/5089] StreamHandler
recorders/iptvstreamhandler.cpp:125 (run) - IPTVSH(172.16.1.189::5004):
run()
2017-11-21 12:34:45.916570 W [23239/23331] TVRecEvent tv_rec.cpp:4005
(TuningSignalCheck) - TVRec[5]: TuningSignalCheck: taking more than
30000 ms to get a lock. marking this recording as 'Failing'.
2017-11-21 12:34:45.916583 W [23239/23331] TVRecEvent tv_rec.cpp:4007
(TuningSignalCheck) - TVRec[5]: See 'Tuning timeout' in mythtv-setup for
this input

Mplayer works though,

$ mplayer udp://@172.16.1.189:5004  -vo xv -ao null        
MPlayer 1.3.0-5.4.0 (C) 2000-2016 MPlayer Team
mplayer: could not open config files /home/rs4/.lircrc and /etc/lirc/lircrc
mplayer: No such file or directory
Failed to read LIRC config file ~/.lircrc.

Playing udp://@172.16.1.189:5004.
STREAM_UDP, URL: udp://@172.16.1.189:5004
libavformat version 57.71.100 (external)
Stream not seekable!
Stream not seekable!
TS file format detected.
Stream not seekable!
VIDEO H264(pid=2001) AUDIO MPA(pid=2002) NO SUBS (yet)!  PROGRAM N. 256
Stream not seekable!
FPS seems to be: 29.970030
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 57.89.100 (external)
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
Opening audio decoder: [mpg123] MPEG 1.0/2.0/2.5 layers I, II, III
AUDIO: 48000 Hz, 2 ch, s16le, 192.0 kbit/12.50% (ratio: 24000->192000)
Selected audio codec: [mpg123] afm: mpg123 (MPEG 1.0/2.0/2.5 layers I,
II, III)
==========================================================================
AO: [null] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 1920x1080 => 1920x1080 Planar YV12
[VO_XV] Shared memory not supported
Reverting to normal Xv.

Thanks!


More information about the mythtv-users mailing list