[Info] - Windows Phone App

Discussion in 'MPExtended' started by jwe, February 19, 2013.

  1. jwe

    jwe Portal Pro

    Joined:
    November 17, 2011
    Messages:
    64
    Likes Received:
    57
    Occupation:
    .NET/C# Developer Win/WP
    Location:
    Germany/Hessen/MKK
    Ratings:
    +57 / 0
    Home Country:
    Germany Germany
    Show System Specs
    UPDATE 22.03.2013
    =========
    The App finally is availlable for Windows Phone 8
    http://www.windowsphone.com/s?appid=2f4333f1-fd97-44d6-b234-1da04fd4f05b

    Please Test and give me Feedback here!

    Changelog:
    ==================
    Update 2013-07-26 (0.8.0.1):
    * Added Remote Control (need WifiRemote enabled on default port)
    * Use System Style for Buttons ( as user selects in Phone Settings)
    * Fix some smaller Bugs.




    Update 2013-05-26 (0.7.1.0):
    * Allow using username and password
    * Allow selecting of Movie Provider
    * Allow setting PreBuffer
    * AudioStream-Selection now shows StreamId in case there is no name for Stream
    * Settings page now checks if server settings are okay.

    Update 2013-05-12(0.6.0.0):
    * Fixed Memory Leak with App Crashing when watching Non-Live-Content.
    * Added Statistics in Video
    * Added AudioStream selection on multi-audio content.


    Update 2013-04-30:
    * Added TVEpisodes Streaming
    * Added better startscreen layout in multi-orientation
    * Fixed a Crash when loading Artworks/Covers

    Update 2013-04-23:
    * Added Movie Streaming
    * Added new nice Buttons on the start-screen
    * Added Error Reporting

    Update 2013-04-16:
    * Fixed a bug which causes the TVCard to keep beeing in use after stopping the stream.
    * App is now usable in horizontal and vertical positioning.
    ==================

    =========
    UPDATE
    =========
    the new Profiles look like this, and are included in MPExtended 0.5.4 (i.e. if you're running MPExtended v0.5.4 or newer, you don't need to add them manually).
    Code (XML):
    1.  
    2.   <TranscoderProfile>
    3.       <Name>WP8 FFmpeg WVGA</Name>
    4.       <Description>WVGA Profile for WP8</Description>
    5.       <HasVideoStream>true</HasVideoStream>
    6.       <MIME>video/MP2T</MIME>
    7.       <MaxOutputWidth>800</MaxOutputWidth>
    8.       <MaxOutputHeight>480</MaxOutputHeight>
    9.       <Targets>
    10.         <Target>windows-phone-ts</Target>
    11.       </Targets>
    12.       <Bandwidth>2280</Bandwidth>
    13.       <Transport>http</Transport>
    14.       <Transcoder>MPExtended.Services.StreamingService.Transcoders.FFMpeg</Transcoder>
    15.       <TranscoderParameters>
    16.         <codecParameters>-x264opts no-cabac:trellis=0:keyint=50 -codec:v libx264 -b:v 1768k -r 25 -profile:v baseline -preset:v faster -coder rle -codec:a libmp3lame -b:a 128k -ac 2 -strict experimental -sn -f mpegts -async 1000</codecParameters>
    17.       </TranscoderParameters>
    18.     </TranscoderProfile>
    19.  
    20.   <TranscoderProfile>
    21.       <Name>WP8 FFmpeg WXGA</Name>
    22.       <Description>WXGA  Profile for WP8</Description>
    23.       <HasVideoStream>true</HasVideoStream>
    24.       <MIME>video/MP2T</MIME>
    25.       <MaxOutputWidth>1280</MaxOutputWidth>
    26.       <MaxOutputHeight>768</MaxOutputHeight>
    27.       <Targets>
    28.         <Target>windows-phone-ts</Target>
    29.       </Targets>
    30.       <Bandwidth>2280</Bandwidth>
    31.       <Transport>http</Transport>
    32.       <Transcoder>MPExtended.Services.StreamingService.Transcoders.FFMpeg</Transcoder>
    33.       <TranscoderParameters>
    34.         <codecParameters>-x264opts no-cabac:trellis=0:keyint=50 -codec:v libx264 -b:v 1768k -r 25 -profile:v baseline -preset:v faster -coder rle -codec:a libmp3lame -b:a 128k -ac 2 -strict experimental -sn -f mpegts -async 1000</codecParameters>
    35.       </TranscoderParameters>
    36.     </TranscoderProfile>
    37.  
    38.       <TranscoderProfile>
    39.       <Name>WP8 FFmpeg 720p</Name>
    40.       <Description>720p Profile for WP8</Description>
    41.       <HasVideoStream>true</HasVideoStream>
    42.       <MIME>video/MP2T</MIME>
    43.       <MaxOutputWidth>1280</MaxOutputWidth>
    44.       <MaxOutputHeight>720</MaxOutputHeight>
    45.       <Targets>
    46.         <Target>windows-phone-ts</Target>
    47.       </Targets>
    48.       <Bandwidth>2280</Bandwidth>
    49.       <Transport>http</Transport>
    50.       <Transcoder>MPExtended.Services.StreamingService.Transcoders.FFMpeg</Transcoder>
    51.       <TranscoderParameters>
    52.         <codecParameters>-x264opts no-cabac:trellis=0:keyint=50 -codec:v libx264 -b:v 1768k -r 25 -profile:v baseline -preset:v faster -coder rle -codec:a libmp3lame -b:a 128k -ac 2 -strict experimental -sn -f mpegts -async 1000</codecParameters>
    53.       </TranscoderParameters>
    54.     </TranscoderProfile>
    55.  

    =========
    Old Crap:

    Show Spoiler
    I created a WP8 App to play live-tv via MPExtended. This app needs a new StreamingProfile installed to mpextended. What the best way to submit this profile to default installation? Here is the Profile:
    Code (XML):
    1.         <TranscoderProfile>   <Name>WP8 High VLC</Name>   <Description>WP8 Streaming Profile Low</Description>    <HasVideoStream>true</HasVideoStream>   <MIME>video/mp4</MIME>      <MaxOutputWidth>320</MaxOutputWidth>    <MaxOutputHeight>160</MaxOutputHeight>      <Targets>     <Target>WP8</Target>      </Targets>      <Bandwidth>1280</Bandwidth>       <Transport>http</Transport>   <Transcoder>MPExtended.Services.StreamingService.Transcoders.VLCWrapper</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>      <encoder>threads=4,fps=25, vcodec=h264,vb=256,venc=x264{profile=baseline,preset=faster,no-cabac,trellis=0,keyint=50},deinterlace=-1,aenc=ffmpeg,acodec=mp3,ab=128,samplerate=48000,channels=2,audio-sync</encoder>      <muxer>:standard{access=file,mux=ts,dst=#OUT#}</muxer>    </TranscoderParameters>   </TranscoderProfile>
    Update: The App is in certification Process for WP8 store. as soon as this is done, i post the link to the app here. And yes - its free
     
    Last edited: July 25, 2013
    • Like Like x 7
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. Oxan
    • Team MediaPortal

    Oxan Retired Team Member

    Joined:
    August 29, 2009
    Messages:
    1,730
    Likes Received:
    1,024
    Gender:
    Male
    Ratings:
    +1,115 / 2
    Home Country:
    Netherlands Netherlands
    Awesome!

    There's no support for upgrading the transcoder profiles yet, but I'm implementing it at the moment. I'll probably just add your profile to 0.5.4 :)

    This will probably be changed in the future (we'll either create a directory with profile files for each client, or let the client update them through the API), but it'll take some time for that to get implemented.
     
    • Like Like x 1
  4. jwe

    jwe Portal Pro

    Joined:
    November 17, 2011
    Messages:
    64
    Likes Received:
    57
    Occupation:
    .NET/C# Developer Win/WP
    Location:
    Germany/Hessen/MKK
    Ratings:
    +57 / 0
    Home Country:
    Germany Germany
    Show System Specs
    Maybe allow Clients to InitStream with custom profileXmlNode generated by the client. this way no change is required for every new client.
     
  5. gibber
    • Premium Supporter

    gibber MP Donator

    Joined:
    October 8, 2009
    Messages:
    35
    Likes Received:
    2
    Ratings:
    +2 / 0
    Home Country:
    Canada Canada
    Show System Specs
    Do you think that profile will work for WP7? I assume that I just need to paste it into the streamingprofiles.xml file.
     
    Last edited: February 20, 2013
  6. jwe

    jwe Portal Pro

    Joined:
    November 17, 2011
    Messages:
    64
    Likes Received:
    57
    Occupation:
    .NET/C# Developer Win/WP
    Location:
    Germany/Hessen/MKK
    Ratings:
    +57 / 0
    Home Country:
    Germany Germany
    Show System Specs
    I cant fest for wp7.
    It works on WP, but only with my app as wp8 cant decode mpegts out of the box.
    I will try to get my app working with wp7 as soon as i got a testing device.
     
  7. barneh
    • Premium Supporter

    barneh MP Donator

    Joined:
    February 4, 2010
    Messages:
    242
    Likes Received:
    27
    Location:
    Malmö
    Ratings:
    +53 / 0
    Home Country:
    Sweden Sweden
    Show System Specs
    What is the name of you're app?
    So I know what I'm searching for when it coming trough the Store process.... ;)
     
  8. jwe

    jwe Portal Pro

    Joined:
    November 17, 2011
    Messages:
    64
    Likes Received:
    57
    Occupation:
    .NET/C# Developer Win/WP
    Location:
    Germany/Hessen/MKK
    Ratings:
    +57 / 0
    Home Country:
    Germany Germany
    Show System Specs
    i will publish the link here as soon as its available. I dont make it public in the beginning. Only access via url.
     
    • Like Like x 3
  9. gibber
    • Premium Supporter

    gibber MP Donator

    Joined:
    October 8, 2009
    Messages:
    35
    Likes Received:
    2
    Ratings:
    +2 / 0
    Home Country:
    Canada Canada
    Show System Specs
    If I read the streaming profile properly, you are using vlc to encode the original file or stream (if tv that would be mpeg2 video codec in .ts container) into an mp4 container with .h264 video codec. I think that is compatible with WP7! (depending on resolution, etc, etc,).

    What I don't understand is how MPExtended recognizes the client and creates the pick-list of compatible streaming profiles.
     
    Last edited: February 21, 2013
  10. jwe

    jwe Portal Pro

    Joined:
    November 17, 2011
    Messages:
    64
    Likes Received:
    57
    Occupation:
    .NET/C# Developer Win/WP
    Location:
    Germany/Hessen/MKK
    Ratings:
    +57 / 0
    Home Country:
    Germany Germany
    Show System Specs
    The Problem is: mp4 container is not available for LIVE streaming on WP. only LIVE streaming working on WP by default is Microsoft Smooth Streaming Server.

    The streaming profile I created is using h264 and mp3 in an mpeg-ts stream. On Client side is a cusom mpeg-ts parser which is not implemented on WP by default. If you have a developer-unlocked WP7 phone, i can try to create an WP7 xap package for u to try if it is running on wp7
     
    • Like Like x 1
  11. gibber
    • Premium Supporter

    gibber MP Donator

    Joined:
    October 8, 2009
    Messages:
    35
    Likes Received:
    2
    Ratings:
    +2 / 0
    Home Country:
    Canada Canada
    Show System Specs
    Interesting...so you are trying to get away from the "standard" server, so copying sample applications that require a smooth streaming server would be of no use to you.
    The issue was raised by my Daughter (who has my old Lumia 710 since work provided me with an iphone). She is taking a high-school programming course that is supposed to involve either some html coding for mobile OR app development at the end of the course....I'll see if she is up to signing up as a WP student developer (free developer unlock of phone). Microsoft really did not make this easy. Previous application used was Plex server + client, which worked on WP7 and Iphone and (not very well) on Xbox; I guess that the Plex server must have a smoothstreaming server implementation. I like MPExtended better since it is open source, fast, and does not double-up on databases.
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!