Page 1 of 1

Cannot play live stream on D series

PostPosted: Sat Jul 06, 2013 12:30 pm
by mbat11
Hi,
I have an application that generates udp/mpegts stream to localhost (unicast). Serviio version is 1.2.1.

ffprobe output:

  Code:
Input #0, mpegts, from 'udp://127.0.0.1:1400':
  Duration: N/A, start: 78.464000, bitrate: 63 kb/s
  Program 1
    Metadata:
      service_name    : Service01
      service_provider: FFmpeg
    Stream #0:0[0x100]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 720x576 [SAR 64:45 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0:1[0x101]: Audio: aac ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 63 kb/s


When adding online source to serviio, the check is successful.
When trying to play from TV, I got this error: "Unsupported file format".

Serviio log is:

  Code:
2013-07-06 14:15:37,843 WARN  [ResourceDeliveryProcessor] Error while processing resource, sending back 404 error. Message: Cannot retrieve online media item URL: unknown protocol: udp


Serviio says stream is good, tv says it's not. Is it a tv problem?
Isn't udp converted to http before sending to tv?

Thanks.

Re: Cannot play live stream on D series

PostPosted: Sun Jul 07, 2013 12:54 am
by zip
mpegts is not transcoded in the Samsung profile, but Serviio doesn't deal with udp:// protocol natively, only through FFmpeg. So if you set up remuxing of mpegts (OnlineTranscoding) back to mpegts, it should work.

Other option is to generate http stream instead of mpegts, if possible.

Re: Cannot play live stream on D series

PostPosted: Sun Jul 07, 2013 9:22 am
by mbat11
It works now. Thanks.

I've added the following xml under <OnlineTranscoding> section of Samsung C/D/E profile.
  Code:
<Video targetContainer="mpegts">
    <Matches container="mpegts" />           
</Video>


I don't clearly understand where udp fits in this story. Forcing an unneeded remux is only used to invoke ffmpeg (that can handle udp)?

thanks.

Re: Cannot play live stream on D series

PostPosted: Sun Jul 07, 2013 6:29 pm
by zip
yes