How to write live video to .flv file

We have an application that sends a live stream to offices in
different locations. We'd like to capture that stream at the
receiving end and write it to an .flv file so those who couldn't
make the live broadcast can see the video on demand.
Can anyone point me to a link that describes how to capture a
live audio/video stream with AIR and write it to a local file store
on the receiving end? We want to store the files remotely rather
than using a central file store. I've seen how to write text files
but not .flv's.
Thanks for any direction you can provide.
Steve

There are two solutions here that I see, but one is probably more reasonable than the other.  Without the use of a streaming media server, you can't really record video/audio.  However, the FLV spec is open source and you can accomplish a "recording" by writing bitmap data bytes to a flv file (using the open source spec).  This won't capture the audio though, and you can't do that without a streaming server.  Also, if you're recording long videos, chances are the writing will either make your application unresponsive/crash it, or the saving time if you broke it down to manageble chuncks would take forever.
The second option, probably what you want, is a streaming server.  Whether it be Red5, Wowza, FMS, etc, you'll be able to accomplish what you want, and it should be fairly easy.  All be it much more expensive.  For what you're describing though, recording live streams, it is probably the most likely approach.

Similar Messages

  • How to write data to an XML file present under application server

    frnds: can ne one tell me, how to write data in to a file, which is present under a application server
    Ex: i want to write a string data in to a file test.txt which is present under "http://localhost:8080/<some_webapp>/test.txt"
    Note:i have deploted a service<some_webapp> under Tomcat/webapps dir

    Very simple. A servlet can writes to that file if it has the good rights.
    In the servlet get (or post) method, use a code like this:
    import java.io.*;
    protected void doGet(HttpServletRequest req, HttpServletResponse resp) {
    try {
    String filePath = this.getServletContext().getRealPath("/text.txt");//See http://java.sun.com/products/servlet/2.2/javadoc/javax/servlet/ServletContext.html#getRealPath(java.lang.String)
             PrintWriter writer = new PrintWriter (filePath);
            //or BufferedWriter out = new BufferedWriter(new FileWriter(filePath));
            writer .println("aString");
           writer.flush();
            writer .close();
        } catch (Exception e) {
           e.printStackTrace();
    }Hope That Helps

  • Can someone tell me how to stream live video?

    Can someone tell me how to stream live video to my ipad?

    Someone could give you better and more exact information but you didn't include the model number of your computer. But I can give you a pretty generic answer. At the top of this webpage you should see Product Support. Click on Laptops and then select which model of Toshiba computer you own, ie Satellite, Tecra, etc. Finally type in the model number of your computer. Select the exact model number and click the red Go button to the right. Click the Downloads tab and look thru the different drivers for this computer. Make sure that the new video driver is newer and has a higher version number than your current video driver. If it does, click the Download button, click the Run button and let it do the installation. Afterwards, reboot the computer so that the latest drivers are fully installed. Try again with that game.

  • How to write new line to a File?

    How to write new line to a file?
    I have a string to be written to a file. the string contains "\n" in it. But why it is not showing the new line in the file.
    I have tryed FileWriter class and FileOutputStream class, but none of them works?
    any suggestion please...

    Probably using PrintStream::println() is a portable way.
    import java.io.FileOutputStream;
    import java.io.PrintStream;
    public class NewLine {
        public static void main(String[] args) {
         try {
             PrintStream ps = new PrintStream(new FileOutputStream("foo.txt"));
             ps.write("string".getBytes());
             ps.println();
             ps.close();
         } catch (java.io.IOException e) {
             e.printStackTrace();
    }Regards,

  • How to display live video captured by a webcam on another computer?

    I am now writing a program to display live video captured by a webcam on another computer which is in the same network and I need to make it display on a applet page.
    I have already figured out how to capture live video on my own computer and display it on applet.(thank for people in Java forum). But for a webcam which located on another computer in the same network,what should I do? what technique do I need to achieve that?
    can anyone help me?
    Thank you very much

    Hi AbSoiLoki,
    Thank you for your reply. I have been able to locate a couple of different options here for you to try. There is a previous post for a different printer that is having the same issue with the printer mapping a Z:folder.
    The link here will direct you to a post on the HP Forums with some trouble shooting steps for you to try.  Click Here.
    I have also included another document on How to stop printers from grabbing drive letters, Click Here,
    Please let me know if this has been able to help you resolve the issue.
    I worked on behalf of HP

  • How to capture the video in a file using JMF-RTP?

    Please someone help in capturing the live streaming in a file using JMF......
    Thanks..

    Hi, I have a problem with RTPExport output video files. One side streams H263/RTP(AVTransmit2.java) and other write this steam to a file by RTPExport.java. When network conditions are ideal, output video file has same fps and same number of frames like original file. Problem occures, when theres packet lost in network, then output file has different fps,and also has less frames like original video(because it didnt write missing frames to file, and thats why it get shorter). Pls how can I achieve output file that will have the same fps like original one? How to write to file an identical copy of what I can see while receiveing video with AVReceive2.java? Its there a way to modifi rtpexport or avreceiver to do this? Thanks!

  • How can I import F4V or flv files

    I downloaded some videos from tudou.com ,I want to edit them ,but it seems that i can't import them to PR cs6 , They are f4v files ,and some flv files also can't be imported,    my win8 system had installed    win8 codecs  ,but no work ,i changed   win8 codecs   to  K-lite codecs   , still no  work
    so ,i wonder how can i import the f4v files~ 
    thanks!!!
    the video information is below
    General
    Complete name                  : D:\视频\秦时明月-万里长城\万里长城01.f4v
    Format                         : Flash Video
    File size                      : 489 MiB
    Duration                       : 22mn 0s
    Overall bit rate               : 3 105 Kbps
    Writing application            : m_0682044e1fb8335ad6dca1f39d84f022_md Tudou, Inc.
    Tagging application            : Tudou Metadata Injector for FLV - Version 1.0
    liveXML                        : <?xpacket begin="" id="W5M0MpCehiHzreSzNTczkc9d"?>
    Video
    Format                         : AVC
    Format/Info                    : Advanced Video Codec
    Format profile                 : [email protected]
    Format settings, CABAC         : Yes
    Format settings, ReFrames      : 4 frames
    Codec ID                       : 7
    Duration                       : 22mn 32s
    Bit rate                       : 2 965 Kbps
    Width                          : 1 280 pixels
    Height                         : 720 pixels
    Display aspect ratio           : 16:9
    Frame rate mode                : Constant
    Frame rate                     : 25.000 fps
    Color space                    : YUV
    Chroma subsampling             : 4:2:0
    Bit depth                      : 8 bits
    Scan type                      : Progressive
    Bits/(Pixel*Frame)             : 0.129
    Stream size                    : 478 MiB (98%)
    Audio
    Format                         : AAC
    Format/Info                    : Advanced Audio Codec
    Format profile                 : HE-AAC / LC
    Codec ID                       : 10
    Duration                       : 22mn 0s
    Bit rate                       : 61.7 Kbps
    Channel(s)                     : 2 channels
    Channel positions              : Front: L R
    Sampling rate                  : 48.0 KHz / 24.0 KHz
    Compression mode               : Lossy
    Stream size                    : 10.3 MiB (2%)

    Do you mean that my video files are encrypted?but i tried the old flv files ,i am sure the files 2 years ago were not encrypted,
    Thank you all the same!

  • How to control framerate in f4v/flv files in a Build / Flash process?

    I am quite new to Encore and would kindly ask for an advice.
    I am trying to build Flash material from projects, to be played from local PC, not necessary to be used as internet stream. In the final material I just run "index.html" and it plays in my local browser, say Google Chrome. I need that the generated f4v / flv video clips to be rendered in high quality (usually 1280x720 progressive) with framerates as high as 30 fps or 60 fps. Suppose I load  in Encore CS5 as asset an AVC mp4 clip rendered with 60fps. I select preset "1280x720 Widescreen High Quality". When executing "Build / Flash..." Encore produces a flv / f4v file with 25 fps. I cannot find where to control this aspect, I would like to endup with a f4v / flv clip with same framerate as the asset, in this case 60fps. Or at least 30fps. Any idea where to control this? I do not find any controls in Encore regarding this setting. Encore simply outputs 25fps flv clips, and sometime 15fps clips (I could not find out why 15fps...). Is there a way to force Encore to output flv clips with same framerate as the original asset?
    Thanks in advance!

    Thank you, Stan, for looking at this problem.
    Yes indeed, Flash output in Encore is limited in many ways. I have done some experimenting now. It seemes I have found a nice application for Flash, but this application was not forseen by the developers of Encore, thus it is only poorly implemented. Unfortunately. Let me explain.
    I produce multimedia material (video clips with film footage, still pictures & some effects) to be watched on PC with large screens or on PC & projector. Thus I need HD resolutions. At large resolution effects may sometimes not be perceived to run smoothly unless the video clips are rendered with high framerates. A trivial example would be rolling vertical credits at end of a video clip. When the clip is rendered with 25fps or lower you need to make the credits roll to run very slowly, otherwise the rolling down looks not smooth. Smoothiness gets better with material rendered at 29,97fps or 59,94 fps. I expected Encore would keep the framerate of the original asset when transcoding to Flash f4v / flv. This does not happen. I input assets (carefully observing the accepted input formats you mentioned) with high framerate, whereas Encore produced 25fps f4v files out of them. Unfortunately DVD formats have too low resolution for my intend and BR disks are not very popular where I live. I discovered that delivering material in Flash, to be played as an off-line website from local PC in the default browser - this would be a very nice solution. Unless Encore would perform better for this job. Probably it was simply not designed for this.
    My first surprise was that I ended with 25fps f4v material. Trying to change this in Project Settings was not possible. Project was started in PAL and this option was now greyed out. Ok, I started a new project from the scratch as NTSC material, now at least the generated f4v files feature 29,97 fps instead of 25 fps, which would be acceptable. Unless...
    The Flash transcoding machine of Encore drastically lowers bitrate for the generated f4v / flv files. I believe somewhere near 4Mbps (but may vary, I have not tested thoroughly). This can be ok for 360p material or lower resolution, or for watching video on youtube, but for HD resolution the effects look very bad and they do not run smooth at such low bitrate. I also noticed there is a problem with the Flash Player. The same generated (poor) f4v palyed in VLC or WMP looks much better than when played with Adobe Flash Player. Not to speak about difference between playing the original asset at 59,94fps with VLC versus playing the generated f4v (25fps) with Adobe Flash Player - here the difference is enormous!
    It seemes I had some unrealistic expectations from Encore. I realy like the menus one can design with it, I like the possibility to build the project as Flash, but the results are quite poor. I need to look for an alternative solution.
    When issuing the first post I just hoped I was doing something wrong...

  • Streaming 2 x H264 live videos using smil file?

    Hi,
    I want to be able to stream a live video using Flash Media Live Encoder 3 using two options of 300 kbps and 150 kbps.
    I want to give users a choice of stream quality depending on their available bandwidth to maintain the live feed.
    I have set it up so that the Bit Rates are 300 and 150 and tick marks on: 1 and 2
    my FMS URL is correct
    The stream names are test1 and test2
    in the Stream: box I have written: test1;test2
    Yet I have also tried : mp4:test1.f4v;mp4:test2.f4v and other combinations.....
    The SMIL file has the following:
    <smil>
        <head>
            <meta base="rtmp://live" />
        </head>
        <body>
        <switch>
              <video src="mp4:test1.f4v" system-bitrate="150000"/>
              <video src="mp4:test2.f4v" system-bitrate="300000"/>
        </switch>
        </body>
    </smil>
    The SMIL file is in the same root level as the web page.
    It does not work, I have tested this with prerecorded videos and it works fine, so I thought it should work with 2 live streams also.
    I believe one of the issues might be the Stream: test1;test2
    in Flash Media Live Encoder 3?
    Second related questions:
    Also using Dreamweaver CS5 what is the correct setting to stream an FLV with h264?
    I also tried mp4:test1.f4v in the stream name but it comes back with anerror that the name is wrong.
    any solutions to what I am doing wrong would be appreciated

    Thanks for the response.
    With respect to the second query I had, I do understand that FLV does not support H264, I just used the term FLV to mention it was a flash video I was refering to rather tahn the codec used.
    The first part, I did actually try that option previously, but it still returned an error of "Cannot Connect".
    I used the code generated by the FMS dynamic video page to create the video object.
    I simply changed it in Dreamweaver to: ( Bold text are my edits to the original. ) The original generated vod instead of live.
    <object width='640' height='377' id='videoPlayer' name='videoPlayer' type='application/x-shockwave-flash' classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' ><param name='movie' value='swfs/videoPlayer.swf' /> <param name='quality' value='high' /> <param name='bgcolor' value='#000000' /> <param name='allowfullscreen' value='true' /> <param name='flashvars' value= '&videoWidth=0&videoHeight=0&dsControl=manual&dsSensitivity=100&serverURL=dynamicStream.s mil&DS_Status=true&streamType=live&autoStart=true&videoWidth=0&videoHeight=0&dsControl=manual&dsSensitivity=100&rtmp://servername/live/test1.f4v&DS_Status=true&streamType=live&autoStart=true&videoWidth=0&videoHeight=0&dsControl=manual &dsSensitivity=100&serverURL=dynamicStream.smil&DS_Status=true&streamType=live&autoStart=true'/><embed src='swfs/videoPlayer.swf' width='640' height='377' id='videoPlayer' quality='high' bgcolor='#000000' name='videoPlayer' allowfullscreen='true' pluginspage='http://www.adobe.com/go/getflashplayer'   flashvars='&videoWidth=0&videoHeight=0&dsControl=manual&dsSensitivity=100&serverURL=dynam icStream.smil&DS_Status=true&streamType=live&autoStart=true&videoWidth=0&videoHeight=0&dsControl=manual&dsSensitivity=100&serverURL=rtmp://servername/live/test1.f4v&DS_Status=true&streamType=live&autoStart=true&videoWidth=0&videoHeight=0&dsControl=manual&dsSensitivity=100&serverURL=dy namicStream.smil&DS_Status=true&streamType=live&autoStart=true' type='application/x-shockwave-flash'> </embed></object>
    I think something in this code is causing the connection error.
    Regards

  • Where flash video stores flv file path

    Hi
    i select from menu insert->media->flash video and then
    select the flv file and click ok and i try to search for my file to
    change it to dynamic criteria like <?php echo
    $row_rsfnames['fname']; ?> to get flv files from a database
    How to do that?
    if this player doesn't support this feature i need DW
    extension that can do this to get flv files from a database.
    thanks in advance.

    any help

  • How do I import video and sound files from a hard drive into Final Cut Pro X?

    I just installed the lastest upgrade to Final Cut Pro X.  I have an external hard drive connected to my computer and I want to import video and sound files into Final Cut Pro X- how do I make the transfer? 

    File>Import Files (Shift-Cmd-I). Select the files, fill out the dialog box that appears as you need.

  • How to write multiple inputs into 1 file + how to use PWM

    hi,
    I wanna take analog inputs from 2 channels, then write them into a single file, have them the data plotted on 1 graph.  how can I do that?
    also, I wanna output 2 PWM signal lines after some calculations with the data of those 2 channels.  how can I do it?
    another thing:
    can I use Labview to make a state-obersver program?
    the board I am using has part number:  183554C-01.  it is a DAQ Signal Acessory.

    hope this helps:
    Harold Timmis
    [email protected]
    Orlando,Fl
    *Kudos always welcome
    Attachments:
    senddatatoonefile.vi ‏15 KB

  • How to write sql command in batch file

    hi,
    i m using oracle 9i on windows. i want to know how can i write sql command on batch file. i want to use a batch file to use sql command like shutdowm & startup command and any select command too.
    so plz tell how can i do it ?
    thxs

    superdba wrote:
    thxs u all , i got it at i wanted to do.
    thaks u all for yr precious time.
    thxsYou've 67 questions with 63 UNanswered. Please mark this question as "answered" and give points to the users whose answer you accept as "helpful" or "correct"
    Kamran Agayev A. (10g OCP)
    http://kamranagayev.wordpress.com
    [Step by Step install Oracle on Linux and Automate the installation using Shell Script |http://kamranagayev.wordpress.com/2009/05/01/step-by-step-installing-oracle-database-10g-release-2-on-linux-centos-and-automate-the-installation-using-linux-shell-script/]

  • How to write empty line in text file

    hey
    i want to insert one empty line in text file.
    how to write this.
    i declared
    data: emptyrec(240) type c value space,
    and used
    TRANSFER emptyrec to e_file.
    but its not inserting empty line in the record.
    is there any special way have to do.
    ambichan.

    hai anand,
    I am posting the code snippet.
    i have commented that transfer line in '----
    ' like this
    pls refer below.
    ambichan
    DATA: PAGENO(4) TYPE N VALUE 1,
          DATAKBN(2) TYPE N VALUE 1,
          SUBNO(3) TYPE N VALUE 1,
          VPAGENO(4) TYPE C,
          VDATAKBN(2) TYPE C,
          VSUBNO(3) TYPE C,
          VREC(255) TYPE C,
          VRECORD(255) TYPE C,
          EMPTYREC(255) TYPE C VALUE SPACE,
          VCODE(10) TYPE C,
          VNAME2(35) TYPE C,
          VPAYDAT(10) TYPE C,
          VSGTXT(60) TYPE C VALUE SPACE,
          VSGTXT1(10) TYPE C,
          VKINGAKU(15) TYPE C VALUE SPACE,
          VBIKKO(30) TYPE C VALUE SPACE,
          VBELNR(10) TYPE C VALUE SPACE,
          VDMBTR(15) TYPE C,
          VGLT0-KSLVT(15) TYPE C,
          VGLT0-TSL01(15) TYPE C,
          VGLT0-TSL02(15) TYPE C,
          VGLT0-TSL03(15) TYPE C,
          VGLT0-TSL04(15) TYPE C,
          VGLT0-TSL05(15) TYPE C,
          VKIN(15) TYPE C,
          VTEGA(15) TYPE C.
    FORM FRM_OUTPUT_DATA.
      SORT ITAB_OUTPUT_SUMMARY BY LIFNR DTYPE.
      SORT ITAB_OUTPUT_ITEMS   BY LIFNR DTYPE BELNR.
    IF P_DISP = 'X'."check&#12508;&#12463;&#12473;&#12434;&#36984;&#12406;&#22580;&#21512;&#12289;&#12501;&#12449;&#12452;&#12523;&#20316;&#25104;&#20966;&#29702;&#12408;&#34892;&#12367;
    OPEN DATASET E_FILE FOR OUTPUT IN TEXT MODE.
      IF SY-SUBRC <> 0.
      WRITE: 'error',SY-SUBRC.
      EXIT.
      ENDIF.
    LOOP AT ITAB_LIFNR.
      PERFORM LISTDATA.
      PAGENO = PAGENO + 1.
      SUBNO = 1.
    ENDLOOP.
    CLOSE DATASET E_FILE."&#12501;&#12449;&#12452;&#12523;&#12463;&#12525;&#12540;&#12474;
    ENDFORM.                               " End of frm_output_data
    FORM LISTDATA.
      DATA:
        WK_PAY_AMOUNT  LIKE  BSEG-DMBTR,   " &#32020;&#25903;&#25173;&#38989;&#31639;&#20986;&#29992;
        VWK_PAY_AMOUNT(15) TYPE C,
        GLT0-TSL05_VAL LIKE GLT0-TSL05.
      READ TABLE ITAB_OUTPUT_SUMMARY
             WITH KEY   LIFNR  =  ITAB_LIFNR-LIFNR  DTYPE = 1.
    BSIK-DMBTR  =  ITAB_OUTPUT_SUMMARY-DMBTR * WK_RATIO.
      GLT0-TSL01  =  ITAB_OUTPUT_SUMMARY-DMBTR * WK_RATIO.
      READ TABLE ITAB_OUTPUT_SUMMARY
             WITH KEY   LIFNR  =  ITAB_LIFNR-LIFNR  DTYPE = 2. " &#21306;&#20998;&#65306;2
      GLT0-TSL02  =  ITAB_OUTPUT_SUMMARY-DMBTR * WK_RATIO.
      READ TABLE ITAB_OUTPUT_SUMMARY
             WITH KEY   LIFNR  =  ITAB_LIFNR-LIFNR  DTYPE = 3. " &#21306;&#20998;&#65306;3
      GLT0-TSL03  =  ITAB_OUTPUT_SUMMARY-DMBTR * WK_RATIO.
      READ TABLE ITAB_OUTPUT_SUMMARY
             WITH KEY   LIFNR  =  ITAB_LIFNR-LIFNR  DTYPE = 4. " &#21306;&#20998;&#65306;4
      GLT0-TSL04  =  ITAB_OUTPUT_SUMMARY-DMBTR * WK_RATIO.
      READ TABLE ITAB_OUTPUT_SUMMARY
             WITH KEY   LIFNR  =  ITAB_LIFNR-LIFNR  DTYPE = 5. " &#21306;&#20998;&#65306;5
      GLT0-TSL05  =  ITAB_OUTPUT_SUMMARY-DMBTR * WK_RATIO.
    glt0-tsl05  =  glt0-tsl05  +  glt0-tsl04.
      WK_PAY_AMOUNT  =  GLT0-TSL05  +  GLT0-TSL04.
    CHECK WK_SUBRC = 0.                
      BSEG-KOART = ' '.                    &#24773;&#22577;&#19981;&#35201;
      CLEAR: BSEG-SGTXT, BSEG-DMBTR, TGSBT-GTEXT, BKPF-BELNR.
      BSEG-KOART = 'Y'.                    " &#12501;&#12521;&#12464;&#65306;&#12504;&#12483;&#12480;&#12395;&#30456;&#27578;&#38989;&#12434;&#20986;&#21147;
    CLEAR: BSAK-DMBTR.
      READ TABLE ITAB_OUTPUT_SUMMARY
           WITH KEY   LIFNR  =  ITAB_LIFNR-LIFNR  DTYPE = 6.  " &#21306;&#20998;&#65306;6
      BSAK-DMBTR  =  ITAB_OUTPUT_SUMMARY-DMBTR * WK_RATIO.
      WK_PAY_AMOUNT  =  WK_PAY_AMOUNT  -  BSAK-DMBTR.
      WRITE : / PAGENO,
               SUBNO,
               DATAKBN,
               ITAB_LIFNR-LIFNR,
               ITAB_LIFNR-NAME2(25),
               P_PAY_T,
               GLT0-TSL01,
               GLT0-TSL02,
               GLT0-TSL03,
               GLT0-TSL04,
               GLT0-TSL05.
    VPAGENO = PAGENO.
    VSUBNO = SUBNO.
    DATAKBN = 1.
    VDATAKBN = DATAKBN.
    VCODE = ITAB_LIFNR-LIFNR.
    VNAME2 = ITAB_LIFNR-NAME2.
    VPAYDAT = P_PAY_T.
    VGLT0-TSL01 = GLT0-TSL01.
    VGLT0-TSL02 = GLT0-TSL02.
    VGLT0-TSL03 = GLT0-TSL03.
    VGLT0-TSL04 = GLT0-TSL04.
    VGLT0-TSL05 = GLT0-TSL05.
    CONCATENATE VPAGENO VSUBNO VDATAKBN VCODE VNAME2 VPAYDAT VSGTXT VKINGAKU
    VBIKKO VBELNR VGLT0-TSL01 VGLT0-TSL02 VGLT0-TSL03
    VGLT0-TSL04 VGLT0-TSL05 INTO VREC SEPARATED BY ','.
    CLEAR: BSAK-DMBTR, BSID-DMBTR, BSAD-DMBTR, BSEG-DMBTR, BSIK-DMBTR,
             WK_10 , WK_11 , GLT0-TSL05.
      READ TABLE ITAB_OUTPUT_SUMMARY
           WITH KEY   LIFNR  =  ITAB_LIFNR-LIFNR  DTYPE = 7.  " &#21306;&#20998;&#65306;7
      BSID-DMBTR  =  ITAB_OUTPUT_SUMMARY-DMBTR * WK_RATIO.
      WK_PAY_AMOUNT  =  WK_PAY_AMOUNT  -  BSID-DMBTR.
    &#37109;&#36865;&#26009;&#12398;&#20986;&#21147;&#20966;&#29702;
      READ TABLE ITAB_OUTPUT_SUMMARY
           WITH KEY   LIFNR  =  ITAB_LIFNR-LIFNR  DTYPE = 8.  " &#21306;&#20998;&#65306;8
      BSAD-DMBTR  =  ITAB_OUTPUT_SUMMARY-DMBTR * WK_RATIO.
      WK_PAY_AMOUNT  =  WK_PAY_AMOUNT  -  BSAD-DMBTR.
      READ TABLE ITAB_OUTPUT_SUMMARY
           WITH KEY   LIFNR  =  ITAB_LIFNR-LIFNR  DTYPE = 9.  " &#21306;&#20998;&#65306;9
      BSEG-DMBTR  =  ITAB_OUTPUT_SUMMARY-DMBTR * WK_RATIO.
      WK_PAY_AMOUNT  =  WK_PAY_AMOUNT  -  BSEG-DMBTR.
      READ TABLE ITAB_OUTPUT_SUMMARY
             WITH KEY   LIFNR  =  ITAB_LIFNR-LIFNR  DTYPE = 10.
      WK_10 =     ITAB_OUTPUT_SUMMARY-DMBTR * WK_RATIO.
      READ TABLE ITAB_OUTPUT_SUMMARY
             WITH KEY   LIFNR  =  ITAB_LIFNR-LIFNR  DTYPE = 11.
      WK_11 =     ITAB_OUTPUT_SUMMARY-DMBTR * WK_RATIO.
      GLT0-TSL05  =   WK_PAY_AMOUNT - WK_10 - WK_11.
      WK_PAY_AMOUNT  =  WK_PAY_AMOUNT  -  GLT0-TSL05.
       VWK_PAY_AMOUNT = WK_PAY_AMOUNT.
       VKIN = WK_10.
       VTEGA = WK_11.
       CONCATENATE VREC VWK_PAY_AMOUNT VKIN VTEGA INTO
             VRECORD SEPARATED BY ','.
       TRANSFER VRECORD TO E_FILE.
        WRITE :
                VWK_PAY_AMOUNT,
                WK_10,
                WK_11.
       WRITE:/.
      BSEG-KOART  = 'X'.                   " &#12501;&#12521;&#12464;&#65306;&#35531;&#27714;&#37329;&#38989;&#12434;&#20986;&#21147;
      LOOP AT ITAB_OUTPUT_ITEMS WHERE LIFNR = ITAB_LIFNR-LIFNR
                                AND   DTYPE = 5.          " &#21306;&#20998;&#65306;5
        BSEG-SGTXT   =  ITAB_OUTPUT_ITEMS-SGTXT.          " &#26126;&#32048;&#12486;&#12461;&#12473;&#12488;
        GLT0-KSLVT   =  ITAB_OUTPUT_ITEMS-DMBTR * WK_RATIO.     " &#37329;&#38989;
        TGSBT-GTEXT  =  ITAB_OUTPUT_ITEMS-GTEXT.              BKPF-BELNR   =  ITAB_OUTPUT_ITEMS-BELNR.         
       SUBNO = SUBNO + 1.
       VSUBNO = SUBNO.
       DATAKBN = 2.
       VDATAKBN = DATAKBN.
       VGLT0-KSLVT = GLT0-KSLVT.
       VBIKKO = TGSBT-GTEXT.
       VBELNR = BKPF-BELNR.
       VSGTXT1 ='&#35531;&#27714;&#37329;&#38989;:'.
       CLEAR VRECORD.
      CONCATENATE  VSGTXT1 BSEG-SGTXT INTO VSGTXT.
      CONCATENATE VPAGENO VSUBNO VDATAKBN VCODE VNAME2 VPAYDAT VSGTXT
    VGLT0-KSLVT VBIKKO VBELNR INTO VRECORD SEPARATED BY ','.
      TRANSFER VRECORD TO E_FILE.
       WRITE :/ VPAGENO,VSUBNO,VDATAKBN,'&#35531;&#27714;&#37329;&#38989;:', VSGTXT, VGLT0-KSLVT,
                VBIKKO,VBELNR.
      ENDLOOP.
      CLEAR: BSEG-SGTXT,GLT0-KSLVT,BKPF-BELNR.
    LOOP AT ITAB_OUTPUT_ITEMS WHERE LIFNR = ITAB_LIFNR-LIFNR
                                AND   DTYPE = 6.          " &#21306;&#20998;&#65306;6
        BSEG-SGTXT   =  ITAB_OUTPUT_ITEMS-SGTXT.          " &#26126;&#32048;&#12486;&#12461;&#12473;&#12488;
        IF  ITAB_OUTPUT_ITEMS-SHKZG  =  CNS_CREDIT.       " &#37329;&#38989;
          GLT0-KSLVT  =  ITAB_OUTPUT_ITEMS-DMBTR * WK_RATIO.
        ELSEIF  ITAB_OUTPUT_ITEMS-SHKZG  =  CNS_DEBIT.
          GLT0-KSLVT  =  ITAB_OUTPUT_ITEMS-DMBTR * WK_RATIO * -1.
        ENDIF.
      TGSBT-GTEXT  =  ITAB_OUTPUT_ITEMS-GTEXT.          " &#20107;&#26989;&#38936;&#22495;&#12486;&#12461;&#12473;&#12488;
      BKPF-BELNR   =  ITAB_OUTPUT_ITEMS-BELNR.          " &#20253;&#31080;&#30058;&#21495;
      SUBNO = SUBNO + 1.
      VSUBNO = SUBNO.
      DATAKBN = 3.
      VDATAKBN = DATAKBN.
      VGLT0-KSLVT = GLT0-KSLVT.
      VBIKKO = TGSBT-GTEXT.
      VBELNR = BKPF-BELNR.
      VSGTXT1 ='&#30456;&#27578;&#37329;&#38989;:'.
      CLEAR VRECORD.
      CONCATENATE  VSGTXT1 BSEG-SGTXT INTO VSGTXT.
      CONCATENATE VPAGENO VSUBNO VDATAKBN VCODE VNAME2 VPAYDAT VSGTXT
      VGLT0-KSLVT VBIKKO VBELNR INTO VRECORD SEPARATED BY ','.
      TRANSFER VRECORD TO E_FILE.
    concatenate vpageno vsubno vdatakbn
      WRITE :/ PAGENO,SUBNO,DATAKBN,'&#30456;&#27578;&#37329;&#38989;',BSEG-SGTXT, GLT0-KSLVT,
             TGSBT-GTEXT, BKPF-BELNR.
      ENDLOOP.
       CLEAR VRECORD.
    *Insert empty line.
      TRANSFER EMPTYREC TO E_FILE.
      DATAKBN = 3.
      VDATAKBN = DATAKBN.
      SUBNO = SUBNO + 1.
      VSUBNO = SUBNO.
      VSGTXT ='&#28304;&#27849;&#37329;&#38989;'.
      VDMBTR = BSID-DMBTR.
      CONCATENATE VPAGENO VSUBNO VDATAKBN VCODE VNAME2 VPAYDAT VSGTXT
      VDMBTR INTO VRECORD SEPARATED BY ','.
      TRANSFER VRECORD TO E_FILE.
      WRITE :/ PAGENO, SUBNO,DATAKBN, ITAB_LIFNR-LIFNR,ITAB_LIFNR-NAME2,
             P_PAY_T,'&#28304;&#27849;&#37329;&#38989;', BSID-DMBTR.
      CLEAR: VDMBTR, VSGTXT, VRECORD.
      SUBNO = SUBNO + 1.
      VSUBNO = SUBNO.
      VSGTXT = '&#37109;&#36865;&#26009;'.
      VDMBTR = BSAD-DMBTR.
      CONCATENATE VPAGENO VSUBNO VDATAKBN VCODE VNAME2 VPAYDAT VSGTXT
      VDMBTR INTO VRECORD SEPARATED BY ','.
      TRANSFER VRECORD TO E_FILE.
      WRITE :/ PAGENO, SUBNO,DATAKBN,ITAB_LIFNR-LIFNR,ITAB_LIFNR-NAME2,
             P_PAY_T,'&#37109;&#36865;&#26009;', BSAD-DMBTR.
      CLEAR: VDMBTR, VSGTXT, VRECORD.
      SUBNO = SUBNO + 1.
      VSUBNO = SUBNO.
      VSGTXT = '&#25391;&#36796;&#12415;&#25163;&#25968;&#26009;'.
      VDMBTR = BSEG-DMBTR.
      CONCATENATE VPAGENO VSUBNO VDATAKBN VCODE VNAME2 VPAYDAT VSGTXT
      VDMBTR INTO VRECORD SEPARATED BY ','.
      TRANSFER VRECORD TO E_FILE.
      CLEAR: VDMBTR, VSGTXT, VRECORD.
      WRITE :/ PAGENO,SUBNO,DATAKBN,ITAB_LIFNR-LIFNR,ITAB_LIFNR-NAME2,
            P_PAY_T,'&#25391;&#36796;&#12415;&#25163;&#25968;&#26009;',BSEG-DMBTR.
    *&#12381;&#12398;&#20182;&#12398;&#25903;&#25173;&#12356;&#12398;&#20966;&#29702;
      SUBNO = SUBNO + 1.
      VSUBNO = SUBNO.
      VSGTXT = '&#12381;&#12398;&#20182;&#12398;&#25903;&#25173;&#12356;'.
      VDMBTR = GLT0-TSL05.
      CONCATENATE VPAGENO VSUBNO VDATAKBN VCODE VNAME2 VPAYDAT VSGTXT
      VDMBTR INTO VRECORD SEPARATED BY ','.
      TRANSFER VRECORD TO E_FILE.
      WRITE :/ PAGENO,SUBNO,DATAKBN,ITAB_LIFNR-LIFNR,ITAB_LIFNR-NAME2,
            P_PAY_T, '&#12381;&#12398;&#20182;&#12398;&#25903;&#25173;&#12356;',GLT0-TSL05.
                                     glt0-tsl05.
    ULINE.
    CLEAR: VREC, VRECORD,VCODE,VNAME2,VPAYDAT,VSGTXT,VSGTXT1,VKINGAKU.
    CLEAR: VBIKKO,VBELNR,VDMBTR,VGLT0-KSLVT,VGLT0-TSL01,VGLT0-TSL02.
    CLEAR: VGLT0-TSL03,VGLT0-TSL04,VGLT0-TSL05,VKIN,VTEGA,VWK_PAY_AMOUNT.
    ENDFORM.

  • Captivate 4 : How to stream a video with smil file ?

    I am trying to stream a video hosted on Highwinds CDN. Highwinds provides a web link for every uploaded flv file and does not accept calling the video directly with an rtmp link.
    I have tried to insert flash video using these settings :
    Video Type : Flash Video Streaming Service
    URL : http://hwcdn.net/xxxxx/fms/captivate-swf-to-flv-Cam4-5fps.smil
    When I press detect size, green circle keeps running and cannot get the dimensions.
    Also when I publish the project (AS3 or AS2), video player on the slide does not show up, no video play.
    I have been able to stream above file with smil web link using jw player, so there is no problem with the file and streaming service (highwinds).
    I guess I am doing something wrong with Captivate 4 or Captivate 4 does not handle smil files ?
    What may be a a solution to stream flv video using smil files ?
    Regards,
    Semih

    Hi there
    As you have seen, Captivate 4 introduces a total change in functionality with respect to the way the menu works. Now, all you may do is link to different slides. So this means you have to think a bit outside the box.
    One way to achieve what you are wanting is to create a slide that has as its only purpose, Opening a URL. You assign this action using a new field in the Slide properties. On Slide Enter. Then you point your TOC entry to this slide. Of course this also means you will need to consider what happens after the slide that opens the URL is visited. So you will need to exercise some creativity here.
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

Maybe you are looking for