MPD on media server, Sonata on clients, how to listen?

So I finally got organized and built myself a new media server to host all my music and videos (on Arch of course). I really like MPD, but the problem I'm having now is how to actually listen to its output.  Right now I have Sonata on the clients which control mpd on the server, then I output to an icecast stream and I use mplayer on the clients to hear the music.  While this works ok, it can be a real hassle sometimes.  There's a delay between changes made in Sonata and when they finally make it through the stream.  If you change the playlist the stream will stop and you have to manually restart mplayer. 
I've heard some people use PulseAudio over network to get around this, but I don't want PA to be a dependency for every computer on the network.  Before I start writing a new module for Sonata that will manage mplayer for me, does anyone have a more intuitive way of listening to a remote mpd server?

I'd love to find a simpler solution for that, too (if possible).
Tido wrote:is there anything simpler/lighter than mplayer?
Of course there is, you could try moc or any of the other CLI audio players mentioned on the lightweight software wiki page or the Useful Applications page.

Similar Messages

  • How "real-time" is Media Server

    Hi,
    I am testing a developer version of Media server. I am
    broadcasting real-time audio (not a pre-recorded file). I am
    curious how fast the audio is distributed among the clients? What's
    the delay value between the Media server and the clients?
    On the client side I am monitoring a "liveDelay" value every
    five seconds. The value keeps its value at around 0.200-0.500
    seconds. Is that a real delay between the client and the server?
    Sometimes this value jumps to 3.5 seconds and stays there for
    a long time. My network is perfect (it's our internal network and
    the latency is less than 1ms).
    Is it possible to make sure that the Media server broadcasts
    the audio data as fast as possible please?
    Thanks

    See-
    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=15&catid=628&threadid =1287387&enterthread=y

  • Integrating Flash Media Server with other formats

    I would like to create a standard screen/player that can play
    any of the following formats:
    windows media files, all flash files, quick time files, real
    player files.
    So, for example, lets say I want to manipulate the screen to
    be an exact aspect ratio and have the same skin, and exact same
    controls as my flash files, but I don't want to work with Real
    Server or a Windows Media Server to serve these files what is the
    best approach to take ? i.e. a "Standardized" look and feel for all
    the formats listed.
    Where would I be able to get information that will help me
    achieve this ?

    There are two parts to this,
    Flash Media Server application - both client and server side. Check out the video conference app here http://www.adobe.com/devnet/flashmediaserver/sample_apps.html.
    The client side app will be a .swf file which you can develop in Flash/Flex.
    Second, you will have to embed this swf file in your asp.net page that will be delivered to browsers. I am not an expert in asp.net but googled a bit and get a feeling it's possible using
    tag.
    Also don't forget to check this link http://renaun.com/blog/2006/10/28/139/ for video conferencing app using flex and FMS.

  • Netbackup Media Server on LDOM

    Hi guys,
    Currently, my existing tape drive connection is using fiber. If i migrate my existing media server to LDOM. How do i make my drive visiable on the LDOM? I have already done the masking and it is visible under "format" on the control domain but not on guest domain. Pls kindly advice.

    There is a lot of useful information in the [LDoms Community Cookbook|http://wikis.sun.com/display/SolarisLogicalDomains/LDoms+Community+Cookbook] . Note the comments about tape in [Section 1 (NEW) - Hardware|http://wikis.sun.com/display/SolarisLogicalDomains/Section+1+%28NEW%29+-+Hardware] .
    have a good weekend,
    Glen

  • Quantum Media Server Loses Saved Shows and Reboots

    Back in Jan-2015, I upgraded to the Quantum service with one media server and two clients.  Everything worked generally fine until a week and a half ago.  Suddently, all saved shows on the DVR mysteriously vanished, and the media server went into a re-boot frenzy for about a half an hour. So, I ordered a replacement, installed it, everything was fine for a week, and yesterday, THIS media server lost all saved shows and now has random re-boots multiple times per day. Waiting for a 3rd media server to show up tomorrow. In the mean time, the only way to watch TV is to view it on one of the client boxes since the server has super slow response to any remote action.  During a reboot, the clients provide NO TV service. I was told by a tech that there is a 'bug' in the system right now.  This is a VERY SERIOUS BUG.

    Called tech support and they said that my service had been disabled because a new Quantum media server was due to arrive on the same day.Got the new server (3rd in two weeks) on Thu.  So far, Quantum TV service is functioning properly including DVR, Guide, client boxes, etc.Hope this lasts for a long time now.

  • How to pass an image from the mobile application to the Adobe Media Server?

    The image is taken as photo from the CameraUI in the Client Side(AIR Mobile Application) and saved as a .jpg file in the mobile. I passed the image byte array values from the client to the server. How to convert that byte array to a file in the Adobe Media server?

    This is very similar to the problem here:
    http://forums.adobe.com/thread/655314
    processByteArray = function(byteArrayAsPlainObject){
         // byteArrayAsPlainObject is an object serialized from a ByteArray but without functions
         // we need to get a ByteArray that we can call functions on
         var usableByteArray = new ByteArray();
         byteArrayAsPlainObject.position = 0; // make sure we start from the beginning
         ByteArray.prototype.readBytes.call(byteArrayAsPlainObject, usableByteArray);
         // now usableByteArray contains what was in the original argument, but we can actually use it on the server side

  • How to configure network for Plex Media Server

    How do I configure my router for accessing Plex Media Server running on my home PC?
    The router ActionTec MI424-WR Rev F adds an entry in the port forwarding (port 32400), but I am unable to access the system.

    Did you check the Plex documentation for ALL the ports you need to forward?
    http://wiki.plexapp.com/index.php/Frequently_Asked​_Questions#Where_do_I_find_the_documentation.3F
    What network ports do I need to allow through my firewall to enable access?
    TCP 32400 (for access to the Plex Media Server) [required]
    UDP 1900 (for access to the Plex DLNA Server)
    UDP 32469 (for access to the Plex DLNA Server)
    UDP 5353 (for Bonjour/Avahi if you are using these products for service discovery) [recommended for iOS clients]

  • Media server and Media live encoder running, but how do I view my stream?

    Ok. This is the first time I have ever used these two programs. I got the Media server running and connected and the Media live encoder streaming and connected to the server. I have not been able to test the stream to see if it is working correctly however, judging by the logs, it seems to be working. What I really want to know is the simplest instructions on how to view the stream from outside of my network, as it is broadcasting over the net. I am trying to do a live stream.
    With just these two programs running is there a link I can go to that it will automatically play the stream back?
    What exactly to I need to do now to be able to give someone my link over the net so they can watch the stream?
    Do I actually need a server to put the /applications/live folder onto?
    Thank you!
    (ps I have been reading the adobe documentation on this but I'm still confused)

    I am certainly no expert as I have just started working
    with this myself.  But I will try to help.
    To view the stream you need a client. As started in the Flash Media Server Development Guide:
    You can use any of the following clients to play video streamed from the live service:
    Flash Media Server sample video player (RootInstall/samples/videoPlayer)
    Flash FLVPlayback component (fl.video.FLVPlayback)
    Flex VideoDisplay component (mx.controls.VideoDisplay)
    Any custom-built application that runs in Flash Player, AIR, or Flash Lite 3
    You can pick up this link at http://help.adobe.com/en_US/FlashMediaServer/3.5_Deving/WS5b3ccc516d4fbf351e63e3d11a0773cf ae-7ff7.html
    I have a very basic example of a custom-built player that does work - I'm running FMS Dev (localhost) and a webcam.  Let me know if you need the example.
    Good luck.  I hope more experts will start to post help, as I am struggling with some things myself.
    Phillip

  • FLEX 2.0 and Flash Media Server 2.0 Unable to stream from client to server

    Hi All,
    I have been trying to put together a quick demo to stream
    and record audio from Client to Server. I get this error when
    trying to connect to FMS.
    ArgumentError: Error #2126: NetConnection object must be
    connected.
    at flash.net::NetStream/flash.net:NetStream::construct()
    at flash.net::NetStream$iinit()
    at Audio/toggle()
    at Audio/__submit_click()
    my Program fails at this line - ns = new NetStream(nc);
    Your help is greatly appreciated. Here is the MXML file
    Audio.mxml
    This file contains a simple start and stop button start and
    stop audio processing.
    This page is served from Apache Tomcat on host : demoserver1
    and port 8080
    Flash media server is also installed on the same host
    demoserver1.
    I did not do any additional config at FMS except creating an
    application called "DemoApp". All other settings are defaults.
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    applicationComplete="startup()">
    <mx:Script>
    <![CDATA[
    import flash.net.NetConnection;
    import flash.net.NetStream;
    public var started:Boolean = false;
    public var nc:NetConnection;
    public var ns:NetStream;
    public var mp:Microphone;
    public function startup():void{
    lblMessage.text="Stopped";
    public function toggle():void{
    if (started==false){
    submit.label="Stop";
    started=true;
    lblMessage.text="Started";
    nc = new NetConnection();
    nc.addEventListener(NetStatusEvent.NET_STATUS,
    netStatusHandler);
    nc.addEventListener(SecurityErrorEvent.SECURITY_ERROR,
    securityErrorHandler);
    nc.objectEncoding = flash.net.ObjectEncoding.AMF0;
    nc.connect("rtmp://demoserver1/DemoApp");
    ns = new NetStream(nc);
    ns.addEventListener(NetStatusEvent.NET_STATUS,
    netStatusHandler);
    mp = Microphone.getMicrophone(0);
    ns.attachAudio(mp);
    ns.publish("sample1", "record");
    else{
    started=false;
    submit.label="Start";
    lblMessage.text="Stopped";
    ns.close();
    nc.close();
    private function netStatusHandler(event:NetStatusEvent):void
    switch (event.info.code) {
    case "NetConnection.Connect.Success":
    trace(" connection success : " );
    break;
    case "NetStream.Play.StreamNotFound":
    trace("Stream not found: " );
    break;
    private function
    securityErrorHandler(event:SecurityErrorEvent):void {
    trace("securityErrorHandler: " + event);
    ]]>
    </mx:Script>
    <mx:Canvas xmlns:mx="
    http://www.adobe.com/2006/mxml"
    width="400"
    height="300">
    <mx:HBox left="19" right="0" height="100" top="30">
    <mx:Label text="Label" id="lblMessage" width="150"/>
    <mx:Button label="Start" click="toggle()" id="submit"/>
    </mx:HBox>
    </mx:Canvas>
    </mx:Application>

    Hi,
    Are you trying to make an air app or a web application (flash) for streaming? You may want to check out the osmf framework to help you write a player for mobile platform. Check out http://www.opensourcemediaframework.com/ for more info on how you can write streaming video players using this framework. There are some good tutorials there and also you may post on the forum to get your specific queries solved.
    Thanks,
    Abhishek

  • How do I Host my Adobe Media server Online to friends and family?

      I got hamachi for now but when i get on laptop it connects to the site but said it cant connect to the Network to watch videos i added.
    When i installed the media server it did ask which ip to bind to and i chose hamachi as i want to test befor i put online but even when i did that i can only run my content on host pc and not client pc.   How do i change that and right now i am not able to portforward, Are there any work arounds for that?
    I dont get the instructions for the Documentation for setting ip's and access,   Can anyone help me?
    Almost forgot,   I am running Adobe Media server 5 but believe it is the Extended version, dont remember. Not sure if there are any differances between the two.

    Your only option is to install the version they provide thru the link I provided.  My only thought is to see if a search of the forums using the search option and the search terms "CS2 disk 2" yields any useful information...  what I found might prove helpful.  If not, try the search yourself for more possibilities.  It appears you need to get all of the files into the same folder before installing.  Here is a link to the discussion I found....
    Re: What is the work around for the error of the downloaded CS2 installer CD 2 disk prompt?

  • How do I use Adobe Media Server 5 on Amazon Web Services?

    Adobe Media Server 5 on Amazon Web Services was suggested to my project manager as a way to deal with some of the video we have to host at work, but after signing up and poking around, I'm wondering: how do you actually use it? Is it something that requires the Media Server software, or is there a web interface through AWS? I follow the links, and they tell me it's already active for my account - but I still see no way to use it.
    Thanks in advance for help on this seemingly remedial question!

    Hi,
    Please have a look at the document and let me know if it helps you get started: http://help.adobe.com/en_US/adobemediaserver/amazonec2/adobemediaserve r_5.0_amazonec2.pdf
    Thanks,
    Apurva

  • How to control one server with multiple clients via TCP/IP

    I am wanting to control a single server with multiple clients.  Only one client would be active at a time, so there would be no conflict.  I want to use TCP/IP.  So far, I have programmed a cluster that passes data back to the server with no problems.  The challenge come in when a second client is added to the mix.  I have't been able to figure out how to turn each client on and send the appropriate data and then turn it off so it doesn't keep sending the same data to the server. 
    Here are the things that I have considered and did some preliminary testing, but don't really know how to impliment:
    1.  Send a numeric on the front of the cluster packet that tells the server that data is on the way.
    2.  Send a boolean on the front of the cluster packet to somehow turn the server TCP/IP on.
    The problem I have found is that LabVIEW TCP/IP doesn't like to be turned on and off.  If it doesn't get the data it expects, it goes into a reset mode and that kills the response time.
    Any help?

    You should consider implementing a set of simple one-byte commands that can be sent back and forth between the Server and the Clients. You can base all of these ideas off the example in the Example Finder under Networking >> TCP and UDP called Multiple Connections - Server.
    You will have two loops in the server VI: one to wait for new connections, and one to send and receive data from the existing connections. For instance, after one of the clients connects, it can request control of the server to send data to it by sending the character "R" for request. Every time the send/receive loop of the Server executes, the first thing it can do is to check all the existing connections to see if any of the clients have sent a control request ("R"). If so, it will create a buffer (array) of control requests. This could be in the form of Connection IDs or indexes in the array for a particular Connection ID. Your choice.
    After the Server receives a request for contol, if it is not already under control by another client, then it can send a response to the first client on the control request list. For instance, the server could send the first client a "S" command for send. Note that after the clients send their control request, they should execute a TCP Read and wait indefinitely for the server to respond with the one-byte "S" command. Then, once the client in control is finished sending data to the server, it could send the character "X" telling the Server to release it from control.
    The example I mentioned above already does a similar thing. Note how when a client wants to disconnect, they send the letter "Q". You can see this in the Multiple Connections - Client VI. The Server then checks each individual connection to see if it's received this one-byte command, and if it has, it closes the connection to the client. This is what you would want to implement, but instead of having just one command, you'll have to distinguish between a few and build up a buffer of control requests.
    Finally, if a client does decide to disconnect in your application, they could send the command "Q" just like the example above. At this point, close the connection and remove that Connection ID from the array of connections. You will also have to handle the case that this client was in the request control waiting line when it disconnected, in which case you need to delete it from that array as well.
    This will definitely work for you, but it will take some work. Best of luck!
    Jarrod S.
    National Instruments

  • How to get list of logged-in users from Flash Media Server in a Flash programm? (Or login/logout notifications)

    Hi there,
    I'm Very sorry for asking this. I guess it's a very basic problem, but I'm very new to Flash and Flash media Server and I need a very fast answer...
    Currently I'm working on a Director project using a flash program which connects to Flash Media Server (I guess version 3, it's quite old). Unfortunately they forgot to make a flash method to send the actual userlist (or a notification when someone logged in or out) to Director. AND, unfortunately, they lost the source code of that flash programm, so I cannot look into it or alter it *sigh*.
    Now I want to do a new flash programm which covers the old one, letting all known methods "pass trough" and building an additional method to gain the user list (or login/out notification).
    How do I get the login information from Flash Media Server? (Would be good if you could provide an idea already for flash code... as I said I'm a tard at flash till now)
    Thank you so much. And I hope you understand my situation asking here...
    Jana

    hparmar : yes, that's what I feared... I hoped it would be possible to tell the server from which application I do need the login information. What a mess.
    Dimo Hristov: thanks for your offer! I already tried decompiling the flash program with the shareware version of Trillix Decompiler. It only decompiled the UI (in a terrible way) but no source code at all. It was the shareware version where I can decompile 2 or 3 programms to test the software. Are you sure the non-free version of Trilix Flash Decompiler will do..?

  • How to use iMac as remotely accessible home media server

    First time poster, and thanks in advance for any help that any of you might be able to provide. -- Josh
    I have a mid-2007 iMac, several AppleTVs and Apple mobile devices, and a 2014 Macbook Pro coming at the end of the week (more detailed info below).  I have a roughly 1 TB library of movies, which are currently housed in an external hard drive attached to the iMac.  When I'm on my home network, I'm able to stream all the movies to all of the AppleTVs, iPhones, and iPads, using iTunes and home sharing, with almost no problem.  But, my family would like to access our movie library remotely, when at the airport, visiting family, etc.
    I've researched various options, and am having a hard time parsing through some of the more technical information and figuring out what setup would work best.  It seems to me that although I can't use my iMac as a second display for the new MacbookPro because of technical limitations on the iMac, I might still be able to use the iMac as a remotely accessible home media server.  Running Plex on the iMac has been suggested, but I keep hearing conflicting information on whether the AppleTVs are compatible with Plex, and I've had trouble successfully forwarding ports several years ago when I played with Plex briefly.  iTunes/home sharing is just so easy in terms of setup and reliability between Apple devices, in my experience.  I looked into buying an AirPort Time Capsule, since I was looking into upgrading my router to support 802.11ac anyway (advice on that too?), but was told that neither the Time Capsule drive nor any drive attached to it would be remotely accessible.  Back to my Mac seems like it might work for me to access my library remotely when using the MacbookPro, but not any of the mobile devices (which are more important to the kids), and I'm not sure what advantage a NAS drive would have over using the iMac (although this is where it starts getting a bit technical for me).  Looked at OSX Server also, but not sure how that would interface with whatever additional components I need to get.
    Thank you in advance for any help.  I'm sure people have figured out a way to access their media libraries remotely, but for some reason I can't find a straight answer on how.  I've included additional technical details about my setup below.  Thanks again!!
    iMac, 20-in, Mid 2007, 2 GHz Intel Core 2 Duo, 4 GB 667 MHz DDR2 SDRAM, OS X 10.9.4, 250 GB storage
    Macbook Pro w. Retina, 13-in, 2014, 2.6 GHz Dual-core Intel Core i5, 16 GB 1600 MHz DDR3L SDRAM, 128 GB PCle-based Flash Storage
    Iomega HDD, 2 TB
    Netgear N600 Wireless Dual Band Router, Model No. WNDR3400v2
    AppleTV, 3rd generation (x3)
    iPhone 5, iPhone 4s, iPad (2nd gen), iPad mini w. Retina

    Not really recommended to do what you want as the perfomance will be undesirable and make the experience lousy at best. If you have content you want to watch remotely then simply copy it to a MacBook Air or MacBook Pro and then bring one of the AppleTV's with you. Then you can stream directly from the MBA or MBP to the AppleTV on a remote TV. We did this on our last vacation, loaded a bunch of movies on my MBA, threw one of the ATV's in the suitcase and when we got to our hotel simply connected it using the hotels Wi-Fi and connected the ATV via HDMI to the TV and we were in business.

  • How to use iMac as remotely accessible media server

    First time poster, and thanks in advance for any help that any of you might be able to provide. -- Josh
    I have a mid-2007 iMac, several AppleTVs and Apple mobile devices, and a 2014 Macbook Pro coming at the end of the week (more detailed info below).  I have a roughly 1 TB library of movies, which are currently housed in an external hard drive attached to the iMac.  When I'm on my home network, I'm able to stream all the movies to all of the AppleTVs, iPhones, and iPads, using iTunes and home sharing, with almost no problem.  But, my family would like to access our movie library remotely, when at the airport, visiting family, etc.
    I've researched various options, and am having a hard time parsing through some of the more technical information and figuring out what setup would work best.  It seems to me that although I can't use my iMac as a second display for the new MacbookPro because of technical limitations on the iMac, I might still be able to use the iMac as a remotely accessible home media server.  Running Plex on the iMac has been suggested, but I keep hearing conflicting information on whether the AppleTVs are compatible with Plex, and I've had trouble successfully forwarding ports several years ago when I played with Plex briefly.  iTunes/home sharing is just so easy in terms of setup and reliability between Apple devices, in my experience.  I looked into buying an AirPort Time Capsule, since I was looking into upgrading my router to support 802.11ac anyway (advice on that too?), but was told that neither the Time Capsule drive nor any drive attached to it would be remotely accessible.  Back to my Mac seems like it might work for me to access my library remotely when using the MacbookPro, but not any of the mobile devices (which are more important to the kids), and I'm not sure what advantage a NAS drive would have over using the iMac (although this is where it starts getting a bit technical for me).  Looked at OSX Server also, but not sure how that would interface with whatever additional components I need to get.
    Thank you in advance for any help.  I'm sure people have figured out a way to access their media libraries remotely, but for some reason I can't find a straight answer on how.  I've included additional technical details about my setup below.  Thanks again!!
    iMac, 20-in, Mid 2007, 2 GHz Intel Core 2 Duo, 4 GB 667 MHz DDR2 SDRAM, OS X 10.9.4, 250 GB storage
    Macbook Pro w. Retina, 13-in, 2014, 2.6 GHz Dual-core Intel Core i5, 16 GB 1600 MHz DDR3L SDRAM, 128 GB PCle-based Flash Storage
    Iomega HDD, 2 TB
    Netgear N600 Wireless Dual Band Router, Model No. WNDR3400v2
    AppleTV, 3rd generation (x3)
    iPhone 5, iPhone 4s, iPad (2nd gen), iPad mini w. Retina

    My apologies if this isn't quite on point. I hope it is of some use.
    One problem that may arise is that many home internet connections have much less outbound bandwidth available than inbound, at least in the US. That is, while your internet connection probably supports receiving a movie in real time, it may not support sending one in real time.
    Portable 1TB and 2TB disks are pretty affordable these days. A number even do wifi streaming to iPhones and iPads.

Maybe you are looking for

  • Time Capsule and iTunes - Can't Locate Files

    Ok, so I have a relatively new Macbook Pro 15" and an equally-new Time Capsule. I put all of my 4,500 songs onto the Time Capsule because I only listen to music and home and also because I wanted to save space on my hard drive. While this set up has

  • Workflow Portlet in other languages

    Has anyone managed to get the default Workflow Portlet working for languages such as Chinese. The current symptoms are: (1) When using default portlet and the Chinese character in the subject is unrecognizable. (2) When clicking the subject to show t

  • Bapi to read customer's partners

    Hi, I have to read a customer's ship-to partners with Bapis. Which Bapi should I use? Thanks Krisztian

  • PP-PI sheet through goods issue for Process order

    Hi, I want to know how to post goods issue without reference of reservation number against process order through PI sheet.   I defined one call function 'ENTER CONFIRMATION' through which I can enter into confirmation screen but after saving confirma

  • Convert non-asni sql to ansi sql?

    Hi, I tried converting this using Query Editor but it rejected it. select LDate, b.Book, a.Type, a.Cusip, Ticker, Description, a.BankCode                FROM    dbo.SL_LPositions a, dbo .SL_LBankDTC b, dbo .sl_Lfisemap c where a.BankCode *= b.Bankcod