Using http live streaming to stream data from a Webcam

JavaFX 2.2 includes support for http live streaming: http://en.wikipedia.org/wiki/HTTP_Live_Streaming
How could one create a http live stream from a Webcam and thereby enable a JavaFX application to view and hear the Webcam video in realtime?

Bom Dia Saille,
Eu acredito que o que você tenha hoje seja isso aqui (Desenho bem simplificado):
Hoje o que você tem é o Aplicativo do Medidor + USB Driver controlando o seu medidor. Basicamente, sua aplciação está dividida em três camadas:
Aplicação - Onde estão as funcionalidades principais do programa (interface com o usuário, apresentação de dados, geração de arquivos, etc.)
VISA - Uma arquitetura de Software para controle de instrumentos. Basicamente, ele se comunica com o Driver USB para poder enviar e receber pacotes de dados através do barramento USB.
Device Driver - Intruções de SW de baixo nível para controlar um periférico através de um barramento.
No desenho, eu aponto duas camadas onde você pode tentar atuar para automatizar suas medições:
Aplicação - Você pode usar o VI Server para controlar o Aplicativo do Medidor (Se este aplicativo tiver sido desenvolvido em LabVIEW, o que eu suponho ser verdade). No entanto é necessário saber se o desenvolvedor do produto permitiu isso (Veja Using VI Server to Pass Data Between a VI and a LabVIEW Executable). Outra alternativa é conversar com o fabricante para ver se ele desenvolveu alguma API (Application Programming Interface) para que você consiga controlar o instrumento diretamente.
VISA - O LabVIEW Fornece uma API chamada NI-VISA para poder enviar e receber informações através de diversos barramentos (Veja Serial Instrument Control Tutorial)
É possível acessar o Driver diretamente também, mas eu não recomendo. O resultado não compensa o esfroço!
Espero ter esclarecido suas dúvidas e espero que você tenha sucesso na sua aplicação!!
Atenciosamente.
Felipe Flores
Engenharia de Aplicações
National Instruments Brasil

Similar Messages

  • Using http live streaming

    Hello.  For a project I am working on, I need to design a secure streaming system for audio files such that they can be streamed but not downloaded (due to copy right issues).  I was looking into http live streaming as a possible solution.  However, I am new to developing web applications and the like and was hoping for some help, maybe links to sample code, how to use http live streaming for my server/in my code, etc.  In particular, I was hopping to make the streaming available to firefox, safari, and apple mobile devices.  I am hoping to develop this using html 5.
    Thanks.

    I have same issue with 64bit Safari 5.1 and 10.6.8.
    Video plays if not protected. If Protected says "Loading" and never plays.
    With 32bit Safari looks the same but...
    There is a login window behind the Safari window. If I find it and login, mp4 plays.
    Is quite annoying. Any fixes?

  • Http Live Streaming

    Hi *,
    i'm trying to accomplish in my local network a live streaming using HTTP LIVE STREAMING. I'm already able to do streaming video with a file stored on the disc, and now I want to capture the video stream from the webcam and send it. Can I use Quicktime Broadcaster ... and if so, which settings? My problem is that the mediastreamsegmenter accepts only a particular encoding....

    As this is an OS feature it is a question that only Microsoft can answer. All I know about the iPlayer is on your other post.
    Ask Microsoft here:
    http://answers.microsoft.com/en-us/winphone

  • Where are HTTP Live Streaming Tools

    I am trying to install mediastreamvalidator, mediastreamsegmenter, mediafilesegmenter tools for my mac machine version 10.6.8 
    As mentioned in this link about downloading required tools 
    http://developer.apple.com/library/mac/#documentation/NetworkingInternet/Concept ual/StreamingMediaGuide/UsingHTTPLiveStreaming/UsingHTTPLiveStreaming.html 
    As above artical says: 
    "The tools are frequently updated, so you should download the current version of the HTTP Live Streaming Tools from the Apple Developer website. You can access them if you are a member of the iPhone Developer Program. One way to navigate to the tools is to log onto connect.apple.com, then click iPhone under the Downloads heading."
    After logging in to site connect.apple.com under download heading there is no tab named iPhone, i am unable to find this link.
    If these tools are stored else where can some one please provide me the updated link? 
    I need these command lines for developing HLS serve.
    Thanks

    You need an iPhone Developer Account to download ... if you can't see the link then you don't have access or aren't logged in.

  • Use labview to collect AE streaming data from pacpci2

    Hello everyone,
    I'm using labview to collect AE streaming data from pacpci2.I have the dll from PAC,and I have  written some VIs for streaming data. Now I don't know how to read data to my program from the pci.Can the "getMessage" function do this?
    Hope somebody has this experience can help me.Thanks a lot.
    henry

    No idea because you are leaving all the details out of your message.
    What does "AE" mean in the way you use it?
    What is "pacpci2"?
    What PAC are you using?
    What "Get Message" function are you talking about?

  • Streaming data from disk to analog output (using the PCI-6713)

    I have a question about the PCI-6713. I want to stream data from the hard disk to all of the card's 8 outputs at its maximum update rate of 1 MS/s. Using single precision (32-bit) variables, this works out to a 32 MB/s transfer rate. That seems to be pushing the limits of most hard disks.
    However, the output card only has 12-bit resolution. Is there a way - using LabView or some other software - to store the data on the disk using only 12-bit numbers? This would drastically decrease the transfer rate required.
    Thanks for your help.

    You could use 8 or 16 bit integers in LabVIEW rather than using 32-bit single precision numbers. I'm sure integers don't have the precision you're wanting though. That is the only way to reduce the size of the numbers you are writing. I am fairly positive there is no way in LabVIEW to do what you are wanting.
    Regards,
    Todd D.

  • Use HTTP Dynamic Streaming (HDS) and HTTP Live Streaming (HLS) to serve live streams to clients over HTTP

    I have created a live stream of a video and it gets stored in live folder.
    Now i need to use HTTP Dynamic Streaming (HDS) and HTTP Live Streaming (HLS) to serve live streams to clients over HTTP, publish the streams to the HTTP Live Packager service on Flash Media Server.
    So what necessary steps do I  need to follow to do that ??

    You need to generate a manifest file using Configurator tool and placed it under the webroot directory.
    C:\Program Files\Adobe\Flash Media Server 4.5\tools\f4mconfig\configurator

  • How to play http live streaming with VLC using FMS 4.0

    Hello,
    i'm using FMS 4 and i need to play my http live streaming event with VLC
    I have had the following result with firefox using the url : http://myip:8134/live/events/livepkgr.old/events/_definst_/liveevent.f4m
    <manifest>
    <id>
                        livepkgr.old/events/_definst_/liveevent
              </id><mimeType>
              </mimeType><streamType>
                        live
              </streamType><duration>
                        0
              </duration><media streamId="livestream1" bitrate="100" url="../../../../streams/livepkgr.old/streams/_definst_/livestream1/livestream1" bootstrapInfoId="bootstrap7580"><metadata>
                                  AgAKb25NZXRhRGF0YQgAAAAAAAhkdXJhdGlvbgAAAAAAAAAAAAAFd2lkdGgAQHQAAAAAAAAABmhlaWdodABAbgAAA AAAAAAMdmlkZW9jb2RlY2lkAgAESDI2NAAKYXZjcHJvZmlsZQBAU0AAAAAAAAAIYXZjbGV2ZWwAQD8AAAAAAAAADnZ pZGVvZnJhbWVyYXRlAP/4AAAAAAAAAAl0cmFja2luZm8KAAAAAgMABmxlbmd0aAAAAAAAAAAAAAAJdGltZXNjYWxlA ECPQAAAAAAAAAhsYW5ndWFnZQIAA2VuZwAACQMABmxlbmd0aAAAAAAAAAAAAAAJdGltZXNjYWxlAECPQAAAAAAAAAh sYW5ndWFnZQIAA2VuZwAACQANc21wdGVUaW1lSW5mbwMAC3NtcHRlT2Zmc2V0AAAAAAAAAAAAAAAJAAdjdXN0ZGVmC gAAAAAAAAk=
                        </metadata></media><media streamId="livestream2" bitrate="200"><metadata>
                        </metadata></media><media streamId="livestream3" bitrate="350"><metadata>
                        </metadata></media><bootstrapInfo profile="named" url="../../../../streams/livepkgr.old/streams/_definst_/livestream/livestream.bootstrap" id="bootstrap3136">
              </bootstrapInfo><media streamId="livestream" url="../../../../streams/livepkgr.old/streams/_definst_/livestream/livestream" bootstrapInfoId="bootstrap3136"><metadata>
                                  AgAKb25NZXRhRGF0YQgAAAAAAAhkdXJhdGlvbgAAAAAAAAAAAAAFd2lkdGgAQHQAAAAAAAAABmhlaWdodABAbgAAA AAAAAAMdmlkZW9jb2RlY2lkAgAESDI2NAAKYXZjcHJvZmlsZQBAU0AAAAAAAAAIYXZjbGV2ZWwAQD8AAAAAAAAADnZ pZGVvZnJhbWVyYXRlAP/4AAAAAAAAAAl0cmFja2luZm8KAAAAAgMABmxlbmd0aAAAAAAAAAAAAAAJdGltZXNjYWxlA ECPQAAAAAAAAAhsYW5ndWFnZQIAA2VuZwAACQMABmxlbmd0aAAAAAAAAAAAAAAJdGltZXNjYWxlAECPQAAAAAAAAAh sYW5ndWFnZQIAA2VuZwAACQANc21wdGVUaW1lSW5mbwMAC3NtcHRlT2Zmc2V0AAAAAAAAAAAAAAAJAAdjdXN0ZGVmC gAAAAAAAAk=
                        </metadata></media><bootstrapInfo profile="named" url="../../../../streams/livepkgr.old/streams/_definst_/livestream1/livestream1.bootstrap " id="bootstrap7580">
              </bootstrapInfo>
    </manifest>
    How can i play that event with VLC?
    Regards,

    Problem solved  - thanks to JayCharles. I forgot to set the live attribute. Here's the working code:
    <?xml version="1.0"?>
    <!-- controls\videodisplay\VideoDisplayFMS.mxml -->
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
        <mx:HBox>
             <mx:VideoDisplay
                 live="true"
                 autoBandWidthDetection="false"
                 source="rtmp://localhost/live/livestream"/>
         </mx:HBox>
    </mx:Application>

  • Stream data from a subvi to the main vi

    Hi
    I’m wondering if someone can help me. I’m trying to stream data from a sub vi to the main vi without opening and closing the sub vi continuously. The data also needs to be extracted from a while loop within the sub vi.  background info: The sub vi controls a photomultipler tube, which once it is on it is best kept on. The PMT signal is generated in while loop of the sub vi. Attached are some basic vis showing what I’m trying to do.
    Thanks
    Attachments:
    Main page.vi ‏11 KB
    test2.vi ‏13 KB

    If you are streaming measurements continously I would consider using a circular buffer instead of the queued producer/consumer approach.
    Check out this implementataion of such a buffer, use only this if your DAQ device does not have an internal circular buffer.
    https://decibel.ni.com/content/docs/DOC-20403
    Alternatively if you are using a DAQmx device, consider using the device buffer for sharing DAQ data between loops.
    Br,
    /Roger

  • Stream data from a subvi to the main vi - path refnum

    hello everyone
    sorry my english
    http://forums.ni.com/t5/LabVIEW/stream-data-from-a-subvi-to-the-main-vi/m-p/2205150/highlight/true#M...
    - refnum boolean worked
    - refnum graph worked
    - refnum numeric worked
    how to create a  path refnum? stream data from a subvi to the main vi
    where do I start?
    thank
    Solved!
    Go to Solution.

    Bom Dia Saille,
    Eu acredito que o que você tenha hoje seja isso aqui (Desenho bem simplificado):
    Hoje o que você tem é o Aplicativo do Medidor + USB Driver controlando o seu medidor. Basicamente, sua aplciação está dividida em três camadas:
    Aplicação - Onde estão as funcionalidades principais do programa (interface com o usuário, apresentação de dados, geração de arquivos, etc.)
    VISA - Uma arquitetura de Software para controle de instrumentos. Basicamente, ele se comunica com o Driver USB para poder enviar e receber pacotes de dados através do barramento USB.
    Device Driver - Intruções de SW de baixo nível para controlar um periférico através de um barramento.
    No desenho, eu aponto duas camadas onde você pode tentar atuar para automatizar suas medições:
    Aplicação - Você pode usar o VI Server para controlar o Aplicativo do Medidor (Se este aplicativo tiver sido desenvolvido em LabVIEW, o que eu suponho ser verdade). No entanto é necessário saber se o desenvolvedor do produto permitiu isso (Veja Using VI Server to Pass Data Between a VI and a LabVIEW Executable). Outra alternativa é conversar com o fabricante para ver se ele desenvolveu alguma API (Application Programming Interface) para que você consiga controlar o instrumento diretamente.
    VISA - O LabVIEW Fornece uma API chamada NI-VISA para poder enviar e receber informações através de diversos barramentos (Veja Serial Instrument Control Tutorial)
    É possível acessar o Driver diretamente também, mas eu não recomendo. O resultado não compensa o esfroço!
    Espero ter esclarecido suas dúvidas e espero que você tenha sucesso na sua aplicação!!
    Atenciosamente.
    Felipe Flores
    Engenharia de Aplicações
    National Instruments Brasil

  • How to create encrypted HTTP Live Streaming Videos?

    Does Compressor4 have any features (or scripts that can be run post-compression) to create encrypted HTTP Live Streaming Videos?
    It works great for creating UNencrypted ones, but I need to make some encrypted ones also.

    I found it out: You have to use "New Batch From Template" and choose “HTTP Live Streaming". Then you have to create a new folder where the output goes to in the "Information" window. There is also a checkbox which instructs Compressor to create a "readme.html".
    Then a folder for every quality setting is created, where all the .ts files go to and the playlist files as well. Works like a charm, as soon as you found out how to do it.

  • How to publish http live stream

    When I use Adobe Flash Media Server 4.5  publish http live stream. I found a message from Server Log of Manage Servers of Adobe Flash Media Administrator Console. It says that "Failed to record live stream (disk quota exceeded)."  How can I do to solve the question?

    I didn't get your query. Are you looking for the restrictions/time limits on different versions ?
    http://www.adobe.com/products/flashmediaserver/compare/

  • How does HTTP live streaming support subtitles?

    Our app currently is on HTTP Live Streaming and everytime we scrub (fast forward or rewind) or if with low connection (buffering), the subtitle gets off-sync. Videos are segmented into 10 seconds so when you scrub, it jumps back to the nearest start of segment and when it does, it does not provide the exact and correct current playback time so we can't accurately compute for the offset, thus subtitle gets off synch.
    Our one solution is to use ID3 tagging when we encode our videos so we know exactly the time when segments starts. Unfortunately, there are not much encoding system that uses this yet.
    Any ideas on this?
    Thanks!

    Unfortunately, QTSS doesn't support HTTP Live Streaming. I wonder why Apple did not implement QTSS in Snow Leopard Server.
    However, Helix Universal Server from Real can do the trick.
    http://www.realnetworks.com/products-services/helix-server-proxy.aspx

  • HTTP Live Streaming Problem

    Dear iPhone Dev members.
    I'm streaming live media over HTTP to iPhone 3.0 from my web server.
    I read draft-pantos-http-live-streaming-01.txt and create test files.
    I succeeded in the video playback a normal playlist(i.m3u8 and i-1.ts) very well.
    But my iPhone could not play a encriptyed media file(j.m3u8 and j-1.ts).
    Though iPhone acquires data by HTTP requests, it returns to Safari's screen at once.
    How I can resolve this?
    Thank you.
    # I do not have a Segmenter beta.
    # 'https://connect.apple.com/cgi-bin/WebObjects/MemberSite.woa/wa/getSoftware?bun dleID=20333' is not available ;-<
    -----i.m3u8-----
    #EXTM3U
    #EXT-X-MEDIA-SEQUENCE:1
    #EXT-X-ALLOW-CACHE:NO
    #EXT-X-TARGETDURATION:30
    #EXTINF:30,
    /i-1.ts
    #EXT-X-ENDLIST
    i.m3u8 ... Playlist file.
    i-1.ts ... Media files.
    -----j.m3u8-----
    #EXTM3U
    #EXT-X-MEDIA-SEQUENCE:1
    #EXT-X-ALLOW-CACHE:NO
    #EXT-X-TARGETDURATION:30
    #EXT-X-KEY:METHOD=AES-128,URI="/key.dat"
    #EXTINF:30,
    /j-1.ts
    #EXT-X-ENDLIST
    i.m3u8 ... Playlist file with EXT-X-KEY.
    j-1.ts ... Encrypted media files.
    key.dat ... Key file.
    ### Dump my key file(NOTICE: od command's format is little endian)
    % od -xv key.dat
    0000000 0201 0403 0605 0807 0201 0403 0605 0807
    0000020
    ### Create encrypted media files.
    % openssl enc -aes-128-cbc -e -in i-1.ts -out j-1.ts \
    -p -nosalt \
    -iv 00000000000000000000000000000001 \
    -K 01020304050607080102030405060708 \
    -nopad

    sorry, you're in the wrong forum. i believe you need to go to developer.apple.com.

  • HTTP Live streaming test in Flash Player, HTML5 player, iphone, android and other smart phones.

    Hi,
    Can anyone please tell me how can I play http live streaming from FMLE 3.2 to Flash player, iphone, ipdad, HTML5 player, Android and other devices?
    I have tried my best to play live streaming usine FMLE 3.2 with help of "http://help.adobe.com/en_US/flashmediaserver/devguide/WSd391de4d9c7bd609-52e437a812a3725df a0-8000.html" but not able to play video using HTTP.
    When I tried to play url-  "http://localhost/hds-live/livepkgr/_definst_/liveevent/livestream.f4m" even in in Strobe Media Player it was showing "Buffering" that's it. But I can play same RTMP URL in Flash AS3 using the netstream very fine.
    Now I want to test the livepkgr content via HTTP to Flash Player, HTML5 Player (on Web browser and smartphones), iphone and other devices.
    Thanks
    Best regards,
    Sunil Kumar

    Hi Sunil,
    It's difficult to debug an issue when you don't have access to the machine and you can't see what's happening, so I request you to please have a little patience.
    For playback just check the following steps and make sure if you have followed them :
    1) Delete the streams folder and any .stream file in the livepkgr
    2) Restart FMS
    3) Make sure you have a crossdomain.xml under root_install/webroot
    4) Publish a stream from FMLE as 'livestream?adbe-live-event=liveevent'
    5) Use this player to playback the stream : http://osmf.org/dev/2.0gm/StrobeMediaPlayback.html?src=http://<your-ip>/hds-live/livepkgr/_definst_/liveevent/livestream.f4m
    If there is no playback, here are some checks you can do :
    1) Request for the http://<your-ip>/hds-live/livepkgr/_definst_/liveevent/livestream.f4m in your browser. You should receive an xml that looks something like this :
    <?xml version="1.0" encoding="UTF-8" ?>
         <manifest xmlns="http://ns.adobe.com/f4m/1.0">
              <id>livepkgr/events/_definst_/liveevent</id>
                      <mimeType />
              <streamType>live</streamType>
              <duration>0</duration>
              <bootstrapInfo profile="named" url="../../../streams/livepkgr/events/_definst_/liveevent/livestream.bootstrap" id="bootstrap7158" />
              <media streamId="livestream" url="../../../streams/livepkgr/events/_definst_/liveevent/livestream" bootstrapInfoId="bootstrap7158">  
                          <metadata>AgAKb25NZXRhRGF0YQgAAAAAAAhkdXJhdGlvbgBAJUUeuFHrhQAFd2lkdGgAQHQAAAAAAA=</m etadata>
                </media>
    </manifest>
    2) Check the access log under Apache to see if the .f4m, .bootstrap and Frag files have been requested and delivered. If a particular entry has a status code of 200 then the file has been served by FMS. You can confirm the same on the client side using a software like fiddler.
    Coming to the player issue, a playback of *f4v via the vod directive is a progressive download, whereas playback of an *f4m file via hds-vod is HTTP streaming. 
    I have personally used Spark VideoPlayer and hence suggested the same.
    You need to add a component like :
    <s:VideoPlayer width="100%" height="30%" chromeColor="#CCCCCC" color="#000000"
                     fontSize="12"
                     source="http://<your-ip>/hds-live/livepkgr/_definst_/liveevent/livestream.f4m"
                        symbolColor="#000000"/>
    Let me know if any of these suggestions help.
    Thanks,
    Apurva

Maybe you are looking for

  • How do I find the settings for gmail to change stars

    I want to change the stars for emails in gmail. How do I do this

  • Sharpening with Elements on a Nikon D70 (w/ kit lens)

    As much as I love this camera, I can't help but feel that I should be getting sharper images from it. I realize that much is left up to me as far as post-processing, and that's okay, that's why I bought Elements in the first place (I'm using version

  • I need To change the order status

    Hi Guru's, My application Version:11.5.9base My database Version:8.1.7.4 In Order Management Super User--->Order organiser one Of my order Line Item showing status fulfilled. But status Is already Closed. Can you tell how to change the Status to Clos

  • Firefox 5.0 says do-not-track header is moved, what does it mean, no option to enable do-not-track anymore?

    Whats new in Firefox 5.0 says that Do-Not-Track Header has been moved to increase the discoverability.. Does this mean that there would not be option to enable do-not-track anymore? Does this sacrifice privacy? or also it means that you will be alway

  • Regarding Best approach

    Hi , We have a fact table in which 34 merge where there with 34 different dimensional table to update the 34 different facts.So we are hitting the fact table 34 times with 34 different dimesional table.So What is the best approach to hit once and upd