Different video and audio streams. (1 Viewer)

Juppe

Portal Pro
November 17, 2006
298
31
Sweden Sweden
Country flag
I'm developing a new plugin for a site that returns two/three different streams. One Video, one audio and sometimes one for subtitles. Is it possible to make this work with OnlineVideos?
And if it is, how shall I do to get it to work?
 

Juppe

Portal Pro
November 17, 2006
298
31
Sweden Sweden
Country flag
I've investigated it a bit more and it seems that it is a hls(HTTP Live Stream) that I can start with a m3u8 playlist. Is this supported in Online Videos or is there any workaround to get this to work?
 

Juppe

Portal Pro
November 17, 2006
298
31
Sweden Sweden
Country flag
I did find the helper class hlshelper and hope that it will work for me to use that class.
 

doskabouter

Development Group
  • Team MediaPortal
  • September 27, 2009
    3,750
    1,995
    Nuenen
    Netherlands Netherlands
    Country flag
    The results of that hlshelper could directy be used in onlinevideos, there are already some examples where that helper is used (but I guess you've found them already :) )

    But if that site returns them as separate audio and video streams, then I don't know if those can be merged into one which you can feed to the player.
    Same goes for subtitles although there may be other options to pass subs to the player. (I only have used the videoinfo property where you can put in the complete srt-file contents, so no experience with other methods...)
     

    Juppe

    Portal Pro
    November 17, 2006
    298
    31
    Sweden Sweden
    Country flag
    Thanks. I seems like the site returns separate audio and video. Is it possible to use that or do I have to do it in another way?
    Isn't there other places in MP that uses different streams for audio and video?
    If there are, couldn't Online Videos use that also?

    One other strange thing is that I only get playlists back all the time. I shall try to explain what I mean.
    I first get a playlist with URL:s to the audio, video and subtitle and when I use those URL:s I get new playlists with the same info but different URL:s and so on. Does anyone run in to this problem and know what to do?

    I can upload a playlist if that helps?
     

    doskabouter

    Development Group
  • Team MediaPortal
  • September 27, 2009
    3,750
    1,995
    Nuenen
    Netherlands Netherlands
    Country flag
    Hm, sounds a bit strange. Must say I never encountered anything like this in all the years maintaining onlinevideos
    Care to disclose the site? Or DM if appropriate, 'cause I'm getting a bit curious here :)
     

    Juppe

    Portal Pro
    November 17, 2006
    298
    31
    Sweden Sweden
    Country flag
    I think I've found out why I only get playlists all the time. It was me that didn't understand that I had to send cookies back to the site when I should get the streams. I havent tested it yet, but think it is right.
    The site I'm trying to get working is DPlay.se/dk/no.

    But there still another problem and that is that I will get one audio stream and one video stream, and I think there are segments, so not one stream of video, rather small pieces that must be put together. Both for the video and audio stream.

    Hope someone have a solution for this?

    I can add that I get them to work in VLC if I just put in the URL to the first playlist.
    I think that the containt in the streams are encrypted too, is there a way in Online videos to decrypt it or shall that be done in my plugin?
     
    Last edited:

    doskabouter

    Development Group
  • Team MediaPortal
  • September 27, 2009
    3,750
    1,995
    Nuenen
    Netherlands Netherlands
    Country flag
    that seems to be something you can feed to the player,,,
     

    Users who are viewing this thread

    Similar threads
    OP Title Forum Replies Date
    J [fixed] Importer confused on specific movies with the same title, different years and different NFO's Submit: Bug Reports 3
    R Files moved to different location - Easy way to update database? Moving Pictures 2
    A Different audio outputs Feature Requests 0
    ajs [WiP] 5058: BlackScreen instead XMas Video :) MediaPortal 1 302
    rainbowforest MP2 - V2.3 Anmeldung Online Video (Streaming provider) Allgemeines Support- und Diskussionsforum 9
    doskabouter 1.26.0 Codec question (unable to play video, lv50 codec) Codecs, External Players 24
    Scheibes MP2 - V2.3 2. Client stops video on 1. Client Submit: Bug Reports 10
    S MP2 - V2.3 MP2 No video General 6
    Sakols No video in channel preview window General Support 12
    P Nach Video Stream muss TVService beendet werden TV / Streaming 0
    O No Video playback on Media Portal 2.2.3 Newcomers Forum 2
    E 1.25.0 Change AVC / AAC Codec for Analog card captured videos Codecs, External Players 0
    N [not reproducible] Online videos not working at all Submit: Bug Reports 1
    R Bug: Video Folders disappear General Support 11
    Stephen O'Kane [SOLVED] TV Stream stuttering - both Video and Audio Watch / Listen Media 14
    B some music videos stutter Watch / Listen Media 0
    I 1.25.0 Videos in HEVC UHD 2160p don't play good watch/edit Videos 8
    CanadianEh MP TV server rebuild with Colossus 2 - Kodi clients receive PMT error when playing videos recoreded by Colossus 2 TV-Server 2
    Rob Hexenmeister Skinning Online Videos question OnlineVideos 2
    A [solved] How to Play All Videos in a List watch/edit Videos 3
    O 1.25.0 Codecs and Video Format for PlayStation 2 Codecs, External Players 0
    g0rsq Info box randomly popping up when watching TV or other video MediaPortal 2 Newcomers Forum 1
    I Video Playback Stuttering General Support 45
    B some videos jerky Television (MyTV frontend and TV-Server) 0
    B MP 2.2.3 Error playing videos from NAS Submit: Bug Reports 2

    Similar threads

    Top Bottom