[WebService] General Media Access Webservice (1 Viewer)

Oxan

Retired Team Member
  • Premium Supporter
  • August 29, 2009
    1,730
    1,124
    Home Country
    Netherlands Netherlands
    That looks a lot like a crash in ffmpeg or a deadlock after starting the transcoding. Probably a bug on our side. To help fixing it, could you try this:

    - Start a new command prompt
    - Execute this command
    Code:
    "C:\Program Files (x86)\GmaWebService\FFMpeg\ffmpeg.exe" -y -i "\\THORSTENPC\Recorded TV\Filme\Der Morgen stirbt nie[1997]\Der Morgen stirbt nie[1997].ts" -s 400x224 -aspect 01.778 -vcodec libx264 -b 256k -profile baseline -preset veryfast -acodec aac -ab 64k -ac 2 -strict experimental -f mpegts "C:\out.ts"
    (you can just copy-paste, but please change the first directory if you don't have an English Windows Vista or Windows 7 installation)
    - Does it keep running? You can see this by the last line of the output that keeps changing and looks something like this:
    Code:
    frame=  923 fps=256 q=31.0 size=    2712kB time=00:05:22.56 bitrate= 601.8kbits/s
    - If not, please send the output to us (a screenshot is fine, no need to type it all over).

    Thanks!
     

    Prospero

    Portal Member
    May 14, 2011
    14
    0
    Well that would be easy, but you seem to forget that an installer can't predict each configuration.
    I was thinking along the lines of an interactive wizard which gathers what information it can from the network and asks you what else it needs to know about your configuration, then configures what it can itself and gives you instructions for the rest.

    We can only add firewall rules for the Windows Firewall, then anyone with a 3rd party firewall has a problem.
    What about user with another location for the database, they need to configure there services different
    and so on.
    With services like Bonjour and uPnP clients/servers/installers can discover substantially more about each other than in the past. Where the installer may not easily be able to configure the firewall in an external router, for example, it ought to be able to help the user by suggesting what needs to be configured.

    I think as long as the whole stuff relies heavily on network features the configuration will never be as easy as it should be.
    Agreed, there are several different possible configurations, but not a limitless number of possibilities, and most of the common ones could be catered for. Really what it comes down to is whether there is anyone with sufficient time, energy and motivation to implement something like this. I realise that with a non-commercial product it's simply not practical to do all this.

    P.S. Just a note to say thanks to all the people who do do so much fantastic work on this wonderful project. Sometimes it's easy to criticise and even easier to forget to give credit where it's due. ;)
     

    IchBinsShort

    Portal Pro
    January 3, 2008
    683
    54
    Home Country
    Germany Germany
    AW: [WebService] General Media Access Webservice

    No it seems not working, here are the Screenshot
     

    Attachments

    • Unbenannt.png
      Unbenannt.png
      199.7 KB

    Fafnir

    MP Donator
  • Premium Supporter
  • November 19, 2006
    203
    44
    43
    Home Country
    Germany Germany
    Hi Everybody.

    I just came to use aMPdroid for the first time. Since the access to media is a main feature - Thanks for that!
    Unfortunately I can't seem to access my media files.

    Wifi-Remote and access to TV-server work (But only on the first attempt after logging in on the client).
    I have no access to:
    - the MP plugins (not sure if this is GMA related)
    - the videos
    - the music
    - the photos (it says not implemented yet, so no wonder...)
    - streaming works only on the first attempt after logging in on the client (not sure if this is GMA related)

    My system:
    - Android device is an ARCHOS IT 70
    - MP is a default Single Seat installation of 1.1.3
    - GMAWebservice 0.3
    - aMPdroid version 0.8
    - Windows XP MCE, SP 3

    What happens:
    1. Remote works, sometimes streaming works, but no access to media
    2. Edited the GMA config.xml with the paths to my databases, database names are checked & correct (file attached)
    3. Edited the "GmaWebService.CoreService.exe.config" to insert the IP address of my HTPC (changed file and original file attached)
    4. GetSupportedFunctions output is also attached. It says 0 for every function, but unfortunately I am not sure what these lines mean...

    Hopefully this is no dumb question, but since I am not sure what I made wrong, maybe the problem results from the ARCHOS tablet?:(

    Has anyone an idea why this doesn't work with my configuration? Any help is appreciated!
     

    Attachments

    • config.xml
      2.6 KB
    • BKP GmaWebService.CoreService.rar
      947 bytes
    • GetSupportedFunctions.rar
      314 bytes
    • GmaWebService.CoreService.rar
      954 bytes

    DieBagger

    Retired Team Member
  • Premium Supporter
  • September 11, 2007
    2,516
    1,276
    40
    Austria
    Home Country
    Austria Austria
    Re: AW: [WebService] General Media Access Webservice

    No it seems not working, here are the Screenshot

    I think the problem here is that you need admin access to write directly to c:\

    can you a) open the command line as admin or b) change the output to your desktop

    Something along the lines of:
    "C:\Program Files (x86)\GmaWebService\FFMpeg\ffmpeg.exe" -y -i "\\THORSTENPC\Recorded TV\Filme\Der Morgen stirbt nie[1997]\Der Morgen stirbt nie[1997].ts" -s 400x224 -aspect 01.778 -vcodec libx264 -b 256k -profile baseline -preset veryfast -acodec aac -ab 64k -ac 2 -strict experimental -f mpegts "C:\Users\[Your Username]\Desktop\out.ts"
     

    DieBagger

    Retired Team Member
  • Premium Supporter
  • September 11, 2007
    2,516
    1,276
    40
    Austria
    Home Country
    Austria Austria
    GmaWebservice 0.3.1 has just been released with a few bugfixes and a much improved streaming performance...

    *hf*
     

    hofi

    MP Donator
  • Premium Supporter
  • February 19, 2009
    301
    46
    Ardagger Markt
    Home Country
    Austria Austria
    AW: Re: [WebService] General Media Access Webservice

    Hi Everybody.

    I just came to use aMPdroid for the first time. Since the access to media is a main feature - Thanks for that!
    Unfortunately I can't seem to access my media files.

    Wifi-Remote and access to TV-server work (But only on the first attempt after logging in on the client).
    I have no access to:
    - the MP plugins (not sure if this is GMA related)
    - the videos
    - the music
    - the photos (it says not implemented yet, so no wonder...)
    - streaming works only on the first attempt after logging in on the client (not sure if this is GMA related)

    My system:
    - Android device is an ARCHOS IT 70
    - MP is a default Single Seat installation of 1.1.3
    - GMAWebservice 0.3
    - aMPdroid version 0.8
    - Windows XP MCE, SP 3

    What happens:
    1. Remote works, sometimes streaming works, but no access to media
    2. Edited the GMA config.xml with the paths to my databases, database names are checked & correct (file attached)
    3. Edited the "GmaWebService.CoreService.exe.config" to insert the IP address of my HTPC (changed file and original file attached)
    4. GetSupportedFunctions output is also attached. It says 0 for every function, but unfortunately I am not sure what these lines mean...

    Hopefully this is no dumb question, but since I am not sure what I made wrong, maybe the problem results from the ARCHOS tablet?:(

    Has anyone an idea why this doesn't work with my configuration? Any help is appreciated!


    I had also Problems like yours, my problem was the option "Verbindungswiederherstellung" in the aMPdroid-Configuratin, since i disabled this, aMPdroid runs perfect for me!
     

    offbyone

    Development Group
  • Team MediaPortal
  • April 26, 2008
    3,989
    3,712
    Stuttgart
    Home Country
    Germany Germany
    Latest version returns duplicates (at least) on Tv Series.

    e.g. I have this in the json when asking for all tv series: (there's even more)

    Code:
    {
          "CurrentBannerUrl":"C:\\ProgramData\\Team MediaPortal\\MediaPortal\\thumbs\\MPTVSeriesBanners\\\\South Pacific\\-langen-graphical\\94231-g2.jpg",
          "CurrentFanartUrl":"C:\\ProgramData\\Team MediaPortal\\MediaPortal\\thumbs\\Fan Art\\fanart\\original\\94231-3.jpg",
          "CurrentPosterUrl":"C:\\ProgramData\\Team MediaPortal\\MediaPortal\\thumbs\\MPTVSeriesBanners\\\\South Pacific\\-langen-posters\\94231-2.jpg",
          "EpisodeCount":6,
          "GenreString":"|Documentary|",
          "Genres":[
             "Documentary"
          ],
          "Id":94231,
          "ImdbId":"tt1458521",
          "PrettyName":"BBC South Pacific",
          "Rating":9.6999998092651367,
          "RatingCount":13
       },
       {
          "CurrentBannerUrl":"C:\\ProgramData\\Team MediaPortal\\MediaPortal\\thumbs\\MPTVSeriesBanners\\\\South Pacific\\-langen-graphical\\94231-g2.jpg",
          "CurrentFanartUrl":"C:\\ProgramData\\Team MediaPortal\\MediaPortal\\thumbs\\Fan Art\\fanart\\original\\94231-3.jpg",
          "CurrentPosterUrl":"C:\\ProgramData\\Team MediaPortal\\MediaPortal\\thumbs\\MPTVSeriesBanners\\\\South Pacific\\-langen-posters\\94231-2.jpg",
          "EpisodeCount":6,
          "GenreString":"|Documentary|",
          "Genres":[
             "Documentary"
          ],
          "Id":94231,
          "ImdbId":"tt1458521",
          "PrettyName":"BBC South Pacific",
          "Rating":9.6999998092651367,
          "RatingCount":13
       },
     

    Oxan

    Retired Team Member
  • Premium Supporter
  • August 29, 2009
    1,730
    1,124
    Home Country
    Netherlands Netherlands
    Hmm, that's an interesting case. I can't reproduce it here but I do see where the error comes from (more then one local serie linked to an online serie). That's fixable, but I think that's going to give you other problems (double seasons for example). How does it show up in the MPTvSeries GUI?
     

    Colin_

    Portal Member
    October 13, 2007
    24
    1
    Home Country
    Germany Germany
    I still have the problem mentioned by sproth in post #126. I can't use the artist and albums view to start songs. I have the lastet gma version 0.3.1 and the latest ampdroid from the market 0.8.2
     

    Users who are viewing this thread

    Top Bottom