Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 24

Thread: Darwin Streaming Server on Ubuntu

  1. #11
    Join Date
    Sep 2007
    Beans
    4

    Question Re: Darwin Streaming Server on Ubuntu

    Quote Originally Posted by mastermindg View Post
    Start Server

    During power of the computer is not of the Darwin server automatically, but servers and web interface must either in a terminal on the following two lines of command

    sudo /usr/local/sbin/DarwinStreamingServer
    /usr/local/sbin/streamingadminserver.pl

    Or by corresponding entries in the Start menu manually invoked. As servers and web interface can also start automatically, is contributing startup. In addition, there are init scripts for the Darwin server and the admin interface.
    I downloaded and followed the instructions in the tutorial but I got stuck in the part where I can view the server on the ipaddress:1220 part. I'm using Ubuntu JeOS 8.04 and I think it has something to do with that... I'm not sure though... I've tried to use the above instructions in starting the server but there's no file there that says DarwinStreamingServer or the other one. All it says is:

    root@ubuntu-jeos:~# ls /usr/local/bin/
    createuserstreamingdir PlaylistBroadcaster StreamingLoadTool
    MP3Broadcaster qtpasswd

    Any ideas?

    Edit:

    I got it to work by using:

    useradd -g qtss qtss

    thanks anyways!
    Last edited by jaysazua; December 4th, 2008 at 03:33 PM. Reason: solved

  2. #12
    Join Date
    May 2006
    Beans
    180
    Distro
    Xubuntu 8.04 Hardy Heron

    Arrow Re: Darwin Streaming Server on Ubuntu

    # http://rzr.online.fr/q/apt # test my deb's please
    # http://rzr.online.fr/q/ubuntu # contribs docs etc
    # http://rzr.online.fr/q/unicorn # works for me
    # http://go.cur.lv/files# files to be shared or email me

  3. #13
    Join Date
    Jan 2008
    Beans
    13

    Re: Darwin Streaming Server on Ubuntu

    With the Darwin Server,
    can one insert dynamically created audio content and
    send it to the streamed mp3 file? This would be useful
    in broadcasting one's voice (from a mic) or even
    inserting output from a text-to-speech translator
    into the stream. Thanks!

  4. #14
    Join Date
    Jul 2008
    Beans
    22

    Re: Darwin Streaming Server on Ubuntu

    Yes, you can use the Darwin as a reflector, in which case it can accept broadcast of rtp stream (produced by vlc) and rebroadcast it as an rtsp stream. For that vlc can be run as follows (for broadcasting both video and audio):

    /usr/local/bin/vlc $VideoFile -Irc --sout '#transcode{vcodec="H263",width='$width',height='$ height',vb="'$vbitrate'",fps="'$fps'",acodec="samr ",ab="'$abitrate'",samplerate="8000",channels="1"} :rtp{dst="'$LocalIP'",port-audio="22002",port-video="22000",ttl="6",sdp="file:///usr/local/movies/vlc.sdp"}'

  5. #15
    Join Date
    Jul 2007
    Beans
    7

    Re: Darwin Streaming Server on Ubuntu

    Here's working tutorial getting Darwin Streaming Server up and running on hardy - http://www.jusupov.com/2009/06/13/ho...-ubuntu-hardy/

  6. #16
    Join Date
    Jun 2009
    Beans
    7

    Re: Darwin Streaming Server on Ubuntu

    I simplified the start/stop script to make it work for DSS 6.0.3 on Ubuntu 9.04 (no need to start DSS and admin separatly as pl script is doing it).

    Code:
    #!/bin/sh
    #
    # chkconfig: 35 92 12
    # description: Quicktime Streaming Media Server
    #
    # init script to start up the quicktime (Darwin) streaming server
    
    case "$1" in
            start)
            if test -r /var/lock/dssd
            then
                    echo "Lockfile /var/lock/dssd exists. Server not started."
                    failure
            else
                    echo "Starting Darwin Streaming Server: "
                    /usr/local/sbin/streamingadminserver.pl
                    touch /var/lock/dssd
                    echo "Darwin Streaming Server started..."
            fi
            ;;
    
            stop)
            echo "Stopping Darwin Streaming Server: "
            [ -f /var/lock/dssd ] || exit 0
            echo "stopping..."
            killall streamingadminserver.pl
            rm -f /var/lock/dssd
            echo
            ;;
    
            restart)
            $0 stop
            sleep 1
            $0 start
            ;;
    
            *)
            echo "Usage: $0 [start|stop|restart]"
            exit 1
    esac
    exit 0

  7. #17
    Join Date
    Aug 2009
    Beans
    1

    Re: Darwin Streaming Server on Ubuntu

    Hi,

    I have a problem with DSS, I'm unable to stream over internet but i have no problem to stream into a my local lan.

    I have installed DSS versions 5.5.5 and 6.0.3 on a Ubuntu 9.04 Server and
    Desktop editions. I try combinatiosn over 4 diferent servers.

    The streaming works's fine with this clients on a local lan:

    Quicktime ( Windows )
    Mplayer ( Linux 1.0rc2-4.3.3 )
    Vlc ( Linux 0.9.9a)
    MP4Player ( Linux 1.6 )

    But DSS only works fine with VLC client over internet ( with artifacts),
    all other clients fail.

    Is not a ports problem.


    == Mplayer log when fail. ==

    ---------------------

    mplayer rtsp://94.75.232.225/sample_h264_100kbit.mp4
    MPlayer 1.0rc2-4.3.3 (C) 2000-2007 MPlayer Team
    CPU: Intel(R) Core(TM)2 Duo CPU T9300 @ 2.50GHz (Family: 6, Model:
    23, Stepping: 6)
    CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
    Compiled with runtime CPU detection.
    mplayer: could not connect to socket
    mplayer: No such file or directory
    Failed to open LIRC support. You will not be able to use your remote
    control.

    Playing rtsp://94.75.232.225/sample_h264_100kbit.mp4.
    Resolving 94.75.232.225 for AF_INET6...
    Couldn't resolve name for AF_INET6: 94.75.232.225
    Connecting to server 94.75.232.225[94.75.232.225]: 554...
    A single media stream only is supported atm.
    rtsp_session: unsupported RTSP server. Server type is 'DSS/6.0.3
    (Build/526.3; Platform/Linux; Release/Darwin Streaming Server;
    State/Development; )'.
    STREAM_LIVE555, URL: rtsp://94.75.232.225/sample_h264_100kbit.mp4
    Stream not seekable!
    file format detected.
    Initiated "video/H264" RTP subsession on port 50260
    Initiated "audio/MPEG4-GENERIC" RTP subsession on port 34514
    demux_rtp: Failed to guess the video frame rate
    VIDEO: [H264] 0x0 0bpp 0.000 fps 0.0 kbps ( 0.0 kbyte/s)
    FPS not specified in the header or invalid, use the -fps option.
    ================================================== ========================
    Forced audio codec: mad
    Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
    FAAD: compressed input bitrate missing, assuming 128kbit/s!
    AUDIO: 16000 Hz, 2 ch, s16le, 128.0 kbit/25.00% (ratio: 16000->64000)
    Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio)
    decoder)
    ================================================== ========================
    AO: [pulse] 16000Hz 2ch s16le (2 bytes per sample)
    Video: no video
    Starting playback...
    A: 0.0 (unknown) of 70.0 (01:10.0) ??,?%

    Exiting... (End of file)

    ------------------------


    == Mp4player log when fail ==


    16:59:05.320-plugin-6: Adding video plugin rawv
    /usr/local/lib/mp4player_plugin/raw_video_plugin.so
    16:59:05.321-plugin-6: Adding RTP plugin enc-mpeg4-generic:audio
    /usr/local/lib/mp4player_plugin/isma_enc_rtp_plugin.so
    16:59:05.321-plugin-6: Adding video plugin xvid-10
    /usr/local/lib/mp4player_plugin/xvid10_plugin.so
    16:59:05.321-plugin-6: Adding audio plugin rawa
    /usr/local/lib/mp4player_plugin/raw_audio_plugin.so
    16:59:05.322-plugin-6: Adding RTP plugin mpeg4-generic
    /usr/local/lib/mp4player_plugin/isma_rtp_plugin.so
    16:59:05.322-plugin-6: Adding RTP plugin h264
    /usr/local/lib/mp4player_plugin/h264_rtp_plugin.so
    16:59:05.322-plugin-6: Adding audio plugin a52dec
    /usr/local/lib/mp4player_plugin/a52_audio_plugin.so
    16:59:05.323-plugin-6: Adding RTP plugin isma-href
    /usr/local/lib/mp4player_plugin/href_rtp_plugin.so
    16:59:05.323-plugin-6: Adding audio plugin g711
    /usr/local/lib/mp4player_plugin/g711_audio_plugin.so
    16:59:05.323-plugin-6: Adding RTP plugin rfc3267
    /usr/local/lib/mp4player_plugin/rfc3267_plugin.so
    16:59:05.324-plugin-6: Adding audio plugin celp
    /usr/local/lib/mp4player_plugin/celp_plugin.so
    16:59:05.326-plugin-6: Adding audio plugin mp3
    /usr/local/lib/mp4player_plugin/mp3_plugin.so
    16:59:05.331-plugin-6: Adding video plugin MPEG4 ISO
    /usr/local/lib/mp4player_plugin/mpeg4_iso_plugin.so
    16:59:05.335-plugin-6: Adding audio plugin ffmpeg audio
    /usr/local/lib/mp4player_plugin/ffmpeg_audio_plugin.so
    16:59:05.335-plugin-6: Adding audio plugin aac
    /usr/local/lib/mp4player_plugin/aac_plugin.so
    16:59:05.336-plugin-6: Adding video plugin ffmpeg
    /usr/local/lib/mp4player_plugin/ffmpeg_video_plugin.so
    16:59:05.336-plugin-6: Adding video plugin h261
    /usr/local/lib/mp4player_plugin/h261_plugin.so
    16:59:05.337-plugin-6: Adding RTP plugin enc-mpeg4-generic:video
    /usr/local/lib/mp4player_plugin/isma_enc_video_rtp_plugin.so
    16:59:05.337-plugin-6: Adding RTP plugin rfc-2429
    /usr/local/lib/mp4player_plugin/rfc2429_rtp_plugin.so
    16:59:05.337-plugin-6: Adding RTP plugin h261
    /usr/local/lib/mp4player_plugin/h261_rtp_plugin.so
    16:59:05.337-plugin-6: Adding text plugin plaintext
    /usr/local/lib/mp4player_plugin/plaintext_text_plugin.so
    16:59:05.338-plugin-6: Adding text plugin href
    /usr/local/lib/mp4player_plugin/href_text_plugin.so
    16:59:05.338-plugin-6: Adding audio plugin wav
    /usr/local/lib/mp4player_plugin/wav_plugin.so
    16:59:05.338-plugin-6: Adding RTP plugin mpeg4-latm
    /usr/local/lib/mp4player_plugin/latm_rtp_plugin.so
    16:59:05.459-videosync-6: Max Window resolution 1680x1050
    16:59:05.459-videosync-7: Setting video mode 176 144 1 1
    16:59:05.642-my_player-7: Creating streaming
    rtsp://94.75.232.225/sample_h264_100kbit.mp4
    16:59:05.814-my_player-7: setting control url to
    rtsp://94.75.232.225/sample_h264_100kbit.mp4/
    16:59:05.869-ffmpeg-7: codec value 0x7f42eb726420
    16:59:05.869-plugin-7: Found matching video plugin ffmpeg
    16:59:05.870-plugin-7: Found matching audio plugin aac
    16:59:05.870-videosync-7: persistence is 0x2373790
    16:59:05.870-my_player-7: First port is 1024
    16:59:05.870-my_player-7: Ip ports are 1024 1025
    16:59:05.957-media-6: Transport returned is
    RTP/AVP;unicast;source=94.75.232.225;client_port=1024-1025;server_port=6970-6971;ssrc=11C9A3CA
    16:59:05.957-media-6: setting default source address from rtsp
    94.75.232.225
    16:59:06.021-my_player-7: First port is 1026
    16:59:06.021-my_player-7: Ip ports are 1026 1027
    16:59:06.107-media-6: Transport returned is
    RTP/AVP;unicast;source=94.75.232.225;client_port=1026-1027;server_port=6970-6971;ssrc=4BA978DF
    16:59:06.107-media-6: setting default source address from rtsp
    94.75.232.225
    16:59:06.204-my_player-7: rtp info is
    'url=rtsp://94.75.232.225/sample_h264_100kbit.mp4/trackID=3;seq=53704;rtptime=739307306,url=rtsp://94.75.232.225/sample_h264_100kbit.mp4/trackID=4;seq=19711;rtptime=977869175'
    16:59:36.206-avsync-2: No media has been initialized or received
    16:59:36.207-avsync-2: Fatal error while initializing hardware
    16:59:36.207-avsync-6: sync changed state Init to Done
    16:59:36.208-avsync-6: sync changed state Done to Exit
    16:59:36.293-media-7: closing down media 0
    16:59:36.332-media-5: Video decoder skipped 0 frames
    16:59:36.332-media-7: closing down media 1
    16:59:36.829-video-5: video Sync Stats:
    16:59:36.829-video-5: Displayed-behind frames 0
    16:59:36.829-video-5: Total frames displayed 0
    16:59:36.829-video-5: Max behind time 0
    16:59:36.829-video-5: Skipped rendering 0
    16:59:36.829-video-5: Filled frames 0
    16:59:36.829-avsync-7: grabbed persist
    16:59:36.829-audiobuf-6: total samples played: 0
    16:59:36.829-audiobuf-6: sync samples added : 0
    16:59:36.829-audiobuf-6: sync samples removed: 0

  8. #18
    Join Date
    Sep 2009
    Beans
    3

    Re: Darwin Streaming Server on Ubuntu

    moved
    Last edited by slhawk98; September 20th, 2009 at 12:27 PM.

  9. #19
    Join Date
    Feb 2006
    Location
    Amsterdam
    Beans
    28
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: Darwin Streaming Server on Ubuntu

    I can't get this to work in ubuntu 9.10 server.
    At the end of the installation; after the administrator username and password is entered,
    I get the message:

    ./Install: line 408: /usr/local/bin/qtpasswd: No such file or directory
    ./Install: line 416: /usr/local/bin/qtpasswd: No such file or directory

    also my usr/local/sbin only contains a map called StreamingServerModules with nothing in it..

    The /etc/streaming/streamingserver.xml and the binarys to start the server are also nowhere to be found...:'(
    Last edited by DAFORZE; May 12th, 2010 at 03:31 PM.

  10. #20
    Join Date
    Feb 2006
    Location
    Amsterdam
    Beans
    28
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: Darwin Streaming Server on Ubuntu

    Okay so i tried it again, but this time on ubuntu desktop 9.10 and desktop 10.04.
    But i get the exact same errors as i mentioned above??
    I don't understand what am I doing wrong....? anyone?
    Last edited by DAFORZE; May 14th, 2010 at 01:28 PM.

Page 2 of 3 FirstFirst 123 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •