[mythtv-users] Mythtv 0.27 - IPTV

Lincoln lincoln at performaplus.co.nz
Wed Oct 9 01:43:41 UTC 2013


On 9/10/2013 1:54 p.m., Lincoln wrote:
> On 9/10/2013 1:16 p.m., Jean-Yves Avenard wrote:
>> On 9 October 2013 07:49, Lincoln <lincoln at performaplus.co.nz> wrote:
>>> A simple working playlist I tested in 0.26 was this:
>>> ---
>>> #EXTM3U
>>> udp://192.168.1.199:5004
>>> #EXTINF:0,106 - localudp1
>>> ---
>> That's not a valid m3u file.
>>
>> #EXTM3U
>> #EXTINF:0,106 - localudp1
>> udp://192.168.1.199:5004
>>
>> that's valid...
>>
>> why it worked in 0.26, I don't know.. it shouldn't have
>> _______________________________________________
>> mythtv-users mailing list
>> mythtv-users at mythtv.org
>> http://www.mythtv.org/mailman/listinfo/mythtv-users
>
> Hi Jean-Yves,
>
> Sorry that was just a copy-paste error when I wrote the email.
> I've continued testing varying configurations but haven't had any 
> success yet.
> I found an example udp setup in the sourcetree 
> (libs/libmythtv/recorders/rtp/README.UDP but it didn't help at all.
> Will continue reading through the code for now.
>
> Cheers
>
>
OK, my playlist is:

#EXTM3U
#EXTINF:0,101 - test
udp://localhost:1234
#EXTINF:0,102 - test2
udp://localhost:2345

I set VLC streaming an mpeg2 video with options

:sout=#duplicate{dst=std{access=udp{ttl=1},mux=ts,dst=localhost:1234},dst=display} 
:sout-keep

I logged mythbackend (-v channel,decode,frame,libav,playback,record) 
while changing to an iptv channel:

2013-10-09 14:33:26.519922 I  TVRec[15]: Changing from None to 
WatchingLiveTV
2013-10-09 14:33:26.519953 I  TVRec[15]: 
ClearFlags(FrontendReady,CancelNextRecording,) -> RunMainLoop,
2013-10-09 14:33:26.519968 I  TVRec[15]: HandleTuning Request: 
Program(NULL) channel() input() flags(LiveTV,)
2013-10-09 14:33:26.519996 I  ChannelBase[15]: Looking for startchannel 
'101' on input 'MPEG2TS'
2013-10-09 14:33:26.526277 I  ChannelBase[15]: Found startchannel '101' 
on input 'MPEG2TS'
2013-10-09 14:33:26.526305 I  TVRec[15]: HW Tuner: 15->15
2013-10-09 14:33:26.526317 I  TVRec[15]: ClearFlags(PENDINGACTIONS,) -> 
RunMainLoop,
2013-10-09 14:33:26.526329 I  TVRec[15]: No recorder yet, calling 
TuningFrequency
2013-10-09 14:33:26.526756 I  IPTVChan[15]: Open()
2013-10-09 14:33:26.528286 I  DTVChan[15](): SetChannelByString(101):
2013-10-09 14:33:26.530808 I  DTVChan[15](): SetChannelByString(101): 
success
2013-10-09 14:33:26.530858 I  ChannelBase[15]: GetScriptStatus() 139
2013-10-09 14:33:26.530866 I  ChannelBase[15]: GetScriptStatus() 139 -> 2
2013-10-09 14:33:26.530909 I  ChannelBase[15]: Running command: 
/usr/bin/mythdream_change 101
2013-10-09 14:33:26.533543 I  TVRec[15]: CreateLiveTVRingBuffer(101)
2013-10-09 14:33:26.539553 I  TVRec[15]: GetProgramRingBufferForLiveTV()
2013-10-09 14:33:26.543536 N  AutoExpire: CalcParams(): Max required 
Free Space: 3.0 GB w/freq: 14 min
2013-10-09 14:33:26.592143 I  TVRec[15]: 
StartedRecording(4101_2013-10-09T01:33:26Z) 
fn(/home/livetv/4101_20131009013326.mpg)
2013-10-09 14:33:26.595529 I  Chain: Appended at 2 '4101_20131009013326'
2013-10-09 14:33:26.598663 I  TVRec[15]: Starting Signal Monitor
2013-10-09 14:33:26.598678 I  TVRec[15]: SetupSignalMonitor(1, 1)
2013-10-09 14:33:26.598687 I  IPTVChan[15]: Open()
2013-10-09 14:33:26.598751 I  IPTVSigMon[15](): ctor
2013-10-09 14:33:26.598760 I  TVRec[15]: Signal monitor successfully created
2013-10-09 14:33:26.598767 I  TVRec[15]: Setting up table monitoring.
2013-10-09 14:33:26.600814 I  Using profile 'Live TV' to record
2013-10-09 14:33:26.600866 I  TVRec[15]: MPEG program number: 0
2013-10-09 14:33:26.600912 I  IPTVChan[15]: 
SetStreamData(0x7f88f8024000) StreamHandler(0x0) Close(0)
2013-10-09 14:33:26.613459 I  IPTVSH(::-1): run()
2013-10-09 14:33:26.614808 I  IPTVSH: Creating new stream handler ::-1 
for [data][fectype][fec0][fec1]
2013-10-09 14:33:26.614822 I  SH(::-1): AddListener(0x7f88f8024000) -- begin
2013-10-09 14:33:26.614829 I  SH(::-1): AddListener(0x7f88f8024000) -- 
locked
2013-10-09 14:33:26.614840 I  SH(::-1): AddListener(0x7f88f8024000) -- end
2013-10-09 14:33:26.614851 I  DTVSigMon[15]()::SetProgramNumber(0):
2013-10-09 14:33:26.614867 I  MPEGStream[15]: SetDesiredProgram(0)
2013-10-09 14:33:26.614894 I  TVRec[15]: Successfully set up MPEG table 
monitoring.
2013-10-09 14:33:26.624830 I  TVRec[15]: SetFlags(SignalMonitorRunning,) 
-> RunMainLoop,SignalMonitorRunning,
2013-10-09 14:33:26.624845 I  TVRec[15]: ClearFlags(WaitingForSignal,) 
-> RunMainLoop,SignalMonitorRunning,
2013-10-09 14:33:26.624853 I  TVRec[15]: SetFlags(WaitingForSignal,) -> 
RunMainLoop,WaitingForSignal,SignalMonitorRunning,
2013-10-09 14:33:26.624873 I  TVRec[15]: SetFlags(DummyRecorderRunning,) 
-> RunMainLoop,WaitingForSignal,SignalMonitorRunning,DummyRecorderRunning,
2013-10-09 14:33:26.624878 I  DummyDTVRecorder -- started
2013-10-09 14:33:26.624887 I  TVRec[15]: SetFlags(RingBufferReady,) -> 
RunMainLoop,WaitingForSignal,SignalMonitorRunning,DummyRecorderRunning,RingBufferReady,
2013-10-09 14:33:26.624895 I  TVRec[15]: 
ClearFlags(NeedToStartRecorder,) -> 
RunMainLoop,WaitingForSignal,SignalMonitorRunning,DummyRecorderRunning,RingBufferReady,
2013-10-09 14:33:26.624904 I  TVRec[15]: SetFlags(NeedToStartRecorder,) 
-> 
RunMainLoop,WaitingForSignal,NeedToStartRecorder,SignalMonitorRunning,DummyRecorderRunning,RingBufferReady,
2013-10-09 14:33:26.624937 I  TVRec[15]: TuningSignalCheck: Still 
waiting.  Will timeout @ 14:34:26.624
2013-10-09 14:33:26.624986 I  TVRec[15]: SetFlags(CancelNextRecording,) 
-> 
RunMainLoop,CancelNextRecording,WaitingForSignal,NeedToStartRecorder,SignalMonitorRunning,DummyRecorderRunning,RingBufferReady,
2013-10-09 14:33:26.641104 I  TVRec[15]: TuningSignalCheck: Still 
waiting.  Will timeout @ 14:34:26.624
2013-10-09 14:33:26.641284 I  IPTVChan[15]: 
SetStreamData(0x7f88f8024000) StreamHandler(0x7f88f8021c70) Close(0)
2013-10-09 14:33:27.641631 I  TVRec[15]: TuningSignalCheck: Still 
waiting.  Will timeout @ 14:34:26.624
2013-10-09 14:33:28.641827 I  TVRec[15]: TuningSignalCheck: Still 
waiting.  Will timeout @ 14:34:26.624
2013-10-09 14:33:29.642020 I  TVRec[15]: TuningSignalCheck: Still 
waiting.  Will timeout @ 14:34:26.624
2013-10-09 14:33:30.642218 I  TVRec[15]: TuningSignalCheck: Still 
waiting.  Will timeout @ 14:34:26.624
2013-10-09 14:33:31.642406 I  TVRec[15]: TuningSignalCheck: Still 
waiting.  Will timeout @ 14:34:26.624
2013-10-09 14:33:32.642594 I  TVRec[15]: TuningSignalCheck: Still 
waiting.  Will timeout @ 14:34:26.624
2013-10-09 14:33:33.642785 I  TVRec[15]: TuningSignalCheck: Still 
waiting.  Will timeout @ 14:34:26.624
2013-10-09 14:33:34.642966 I  TVRec[15]: TuningSignalCheck: Still 
waiting.  Will timeout @ 14:34:26.624
2013-10-09 14:33:35.643185 I  TVRec[15]: TuningSignalCheck: Still 
waiting.  Will timeout @ 14:34:26.624
2013-10-09 14:33:36.643758 I  TVRec[15]: TuningSignalCheck: Still 
waiting.  Will timeout @ 14:34:26.624
2013-10-09 14:33:37.643951 I  TVRec[15]: TuningSignalCheck: Still 
waiting.  Will timeout @ 14:34:26.624
2013-10-09 14:33:38.644125 I  TVRec[15]: TuningSignalCheck: Still 
waiting.  Will timeout @ 14:34:26.624
2013-10-09 14:33:39.644297 I  TVRec[15]: TuningSignalCheck: Still 
waiting.  Will timeout @ 14:34:26.624
---------------------

Can anyone see any obvious reasons why it's not working?

Thanks in advance.

Lincoln.


More information about the mythtv-users mailing list