[Question] iPad Live TV not working. (1 Viewer)

justinbyoung

MP Donator
  • Premium Supporter
  • February 25, 2010
    25
    10
    Wellington
    Home Country
    New Zealand New Zealand
    I can't get live TV working properly at any quality setting on our iPad 3 using MPExtended 0.5.4. I get a still frame and stop start distorted audio. Other sources are fine. I can play back a transcoded 1080p mkv without a problem. Also I can play back live TV on my Android phone via Ampdroid without a problem.

    My server is a 4 core i5, so it shouldn't be a horsepower problem with transcoding, especially as playback on Android is perfect. The iPad is running iOS 7.02, but I also had the problem on iOS 6.02. Any ideas what might be causing my iPad problem?

    I have included the relevant service.log entries below.

    2013-10-06 21:15:52.28896 [(3)] INFO: logconn 5 -> 6
    2013-10-06 21:15:52.28896 [(3)] INFO: Using TsBuffer to read input
    2013-10-06 21:15:52.28896 [(3)] INFO: TsBuffer: Files added 1, removed 0
    2013-10-06 21:15:52.28996 [(3)] DEBUG: Setup data unit 1
    2013-10-06 21:15:52.28996 [(3)] INFO: Encoding: starting input named pipe \\.\pipe\dc7a6ee8-35ee-48d3-8ad8-639353b55bf1
    2013-10-06 21:15:52.28996 [(3)] INFO: Encoder: Transcoder configuration dump
    2013-10-06 21:15:52.28996 [(3)] INFO: Encoder: hasStdin False, hasStdout True, hasStderr False
    2013-10-06 21:15:52.28996 [(3)] INFO: Encoder: path C:\Program Files (x86)\MPExtended\Service\Streaming\vlc-2.0.2\MPExtended.Libraries.VLCWrapper.exe
    2013-10-06 21:15:52.28996 [(3)] INFO: Encoder: arguments "stream://\\\.\pipe\dc7a6ee8-35ee-48d3-8ad8-639353b55bf1" "#transcode{vcodec=h264,vb=256,venc=x264{aud,level=30,keyint=50,bframes=0,profile=baseline,preset=ultrafast},deinterlace=-1,acodec=mp4a,ab=64,channels=2,samplerate=48000,audio-sync,scodec=none,width=480,height=268}:standard{access=livehttp{seglen=7,delsegs=false,numsegs=0,index=C:\Windows\TEMP\MPExtended\httplivestreaming-webmediaportal-96448-232364\index.m3u8,index-url=http://192.168.0.10:4322/MPExtended...eaming-webmediaportal-96448-232364\######.ts}" "--ffmpeg-hw" "--sout-ffmpeg-strict=-2" "--sout-mux-caching=5000" "--audio-track=0"
    2013-10-06 21:15:52.30496 [(3)] DEBUG: Setup data unit 5
    2013-10-06 21:15:52.30496 [(3)] DEBUG: Setup data unit 10
    2013-10-06 21:15:52.30496 [(3)] DEBUG: Setup log unit 6
    2013-10-06 21:15:52.30496 [(3)] INFO: Pipeline assembled
    2013-10-06 21:15:52.30496 [(3)] INFO: Starting data unit 1
    2013-10-06 21:15:52.30496 [(3)] INFO: Starting data unit 5
    2013-10-06 21:15:52.40497 [(3)] INFO: Encoding: Copy stream of type MPExtended.Services.StreamingService.Code.TsBuffer into transcoder input stream of type MPExtended.Services.StreamingService.Code.NamedPipe
    2013-10-06 21:15:52.40497 [(3)] INFO: Starting data unit 10
    2013-10-06 21:16:01.42848 [(3)] INFO: All data units started!
    2013-10-06 21:16:01.42848 [(3)] INFO: Started stream with identifier 'webmediaportal-96448'
     

    Pog

    Retired Team Member
  • Premium Supporter
  • September 7, 2009
    401
    315
    Wicklow
    Home Country
    Ireland Ireland
    I don't know the exact cause of your problem but I had a similar issue with my iPhone.

    Here's what I did - add a custom streaming profile for live tv.

    Go to "C:\ProgramData\MPExtended" and open "StreamingProfiles.xml" in a text editor.

    Add the following lines to the file. This should be inserted after the end of one of the other profiles, look for a </TranscoderProfile> and put it after this. Select this profile via the web interface for live tv.

    Code:
        <TranscoderProfile>
          <Name>iOS TV Streaming</Name>
          <Description>HD-quality HTTP Live Streaming profile</Description>
          <HasVideoStream>true</HasVideoStream>
          <MIME>video/MP2T</MIME>
          <MaxOutputWidth>640</MaxOutputWidth>
          <MaxOutputHeight>360</MaxOutputHeight>
          <Targets>
            <Target>android</Target>
            <Target>ios</Target>
            <Target>mobile-hls-video</Target>
          </Targets>
          <Bandwidth>2500</Bandwidth>
          <Transport>httplive</Transport>
          <Transcoder>MPExtended.Services.StreamingService.Transcoders.VLCWrapperHTTPLiveStreaming</Transcoder>
          <TranscoderParameters>
            <path>C:\Program Files (x86)\MPExtended\Service\Streaming\vlc-2.0.2\MPExtended.Libraries.VLCWrapper.exe</path>
            <options>--ffmpeg-hw --sout-ffmpeg-strict=-2</options>
            <tsOptions>--sout-mux-caching=5000</tsOptions>
            <encoder>vcodec=h264,fps=25,vb=1600,venc=x264{profile=baseline,preset=fast,keyint=50},acodec=mp4a,ab=128,channels=2,samplerate=48000,audio-sync</encoder>
            <muxer>ts{use-key-frames}</muxer>
            <httpLiveOptions>seglen=9,delsegs=false,numsegs=0</httpLiveOptions>
            <httpLiveKeepOld>5</httpLiveKeepOld>
          </TranscoderParameters>
        </TranscoderProfile>
     

    Users who are viewing this thread

    Top Bottom