Play network ts streams (H264/AC3) with serviceDVB/MP3/TS

  • Hi all, i'm trying to code a dlna client for Enigma2. The server (PS3 Media Server) provides http ts streams (H264/AC3) that i would display on my dm800HD. So i tested plainty way but no success. Here is what i do.


    First of all playing the file with a mount point :

    sref = eServiceReference(0x1, 0, "/mnt/smb/Aliens.ts") => works with ServiceDVB
    sref = eServiceReference(0x1001, 0, "/mnt/smb/Aliens.ts") => works with ServiceMP3

    so i think the codecs used by the stream are good. now the http part.

    sref = eServiceReference(0x1, 0, "http://xxx.xxx.xxx.xxx/Aliens.ts") => does n't work
    sref = eServiceReference(0x1001, 0, "http://xxx.xxx.xxx.xxx/Aliens.ts") => works with ServiceMP3 but i got buffering problems with high bitrate video tracks. It stutters after about 8-10 seconds.


    With the VLCPlayer plugin i found that a service "ServiceTS" was bundled. I tryed to mod it by changing the stream types (it was eDVBVideo::MPEG2 and eDVBAudio::aMPEG now eDVBVideo::MPEG4_H264 and eDVBAudio::aAC3). I got only sound but without stuttering. A good start :).


    Could someone take a look at the files in the attachement (the original servicets sources) and say me what i should change to get video ??


    Thx by advance
    Pacopad

  • Thx pcd it works with mp4 streamsbut i got ts streams as input. And with ts streams, gstreamer has buffering problems the video hang every 5 seconds.


    You said that i'll need an h264 decoder to go with servicets but the decoder loaded in servicets is the same as servicedvd that read H264 stream...


    Do you see a reason why gstreamer badly handle ts streams ?


    Thank you
    Pacopad

  • pacopad:


    Try this:


    Install the PartnerTV/RemoteTV plugin.


    Reboot....


    Then change to this... :winking_face:


    sref = eServiceReference(4114, 0, http://xxx.xxx.xxx.xxx/Aliens.ts) - >this will work with MPEG2,h264 SD & HD streams...



    P.S: I´m looking for a solution to embedd DVB-IP Streams based on http,udp or rtp into the usal service listing, or in a plugin which is able to handle service lists in a smooth/comfrotable way