Length (in seconds) of streaming flv file?

I'm new to streaming media with Flash, and can't seem to find
out whether the clip length (in seconds) is a readable variable. It
doesn't seem to be part of NetStream, but it looks like FLVPlayback
widget somehow finagles the information as totalTime out of the
file's metadata, though I may be misinterpreting that terribly. Is
there a way to pull this information out?

You do the same .. get it from the metadata in the FLV (if
the FLV has been
made with the appropriate information in it)
Jecykl

Similar Messages

  • Streaming .FLV files from Media Server 4.5 using PHDS

    I would like to stream .FLV files from adobe media server 4.5.
    Requirements state that the files should be considered secret, so I decided that PHDS sounds like the
    right thing.
    I was able to stream an .FLV by placing it in the webroot/vod folder using an url like http://myserver/vod/test.flv
    However the developer manual states that a way to enable PHDS at the server level is to uncomment the two lines like this.
    <IfModule jithttp_module>
    <Location /hds-vod>
        HttpStreamingJITPEnabled true
        HttpStreamingContentPath "../webroot/vod"
        JitFmsDirPath ".."
        Options -Indexes FollowSymLinks
    # Uncomment the following directives to enable encryption
    # for this location.
       EncryptionScope server
       ProtectionScheme phds
    </Location>
    </IfModule>
    However I am not able to stream my FLV using url like http://myserver/hds-vod/test.flv
    Question : Am I supposed to use the hds-vod in the URL or is /vod doing the same ?
                      Is the approach correct, or should the files go into an applications\myapplication\media folder ?
                      I will need some server side actionscript to validate access to the stream, is that possible without a dedicated application ?

    Hi,
    When you use the vod location directive you're basically using Progressive download so your URL is as : http://myserver/vod/test.flv
    However, when you use the location directive hds-vod, it is HTTP Streaming, where the fragments are created on the fly. For this your URL needs to be as : http://myserver/hds-vod/test.f4v.f4m
    Please note .flv files are not supported for HTTP streaming (via hds-vod location directive). You cannot use PHDS with .flv files.
    Thanks,
    Apurva

  • How to stream flv files from a diffferent directory outside the applications folder

    Hi everyone,
    I want to stream the flv files from a different location
    stored in the hard disk, which is outside the applications folder
    in the FMS installation root directory. Does anyone know how to do
    it?
    Regards,
    Diptanu

    VOD changes won't help him, he said outside the applications
    folder. According to adobe any new vod folders must be in the
    applications folder, hence virtually worthless for most purposes. A
    better question may be, how do you specify a folder on a different
    local hard drive. I wish adobe wouldn't make it so complicated, it
    should be a really simple matter.

  • Fading transition between multiple streaming flv files

    I am currently accomplishing this by switching between two NetStream, NetConnection, VideoPlayer combinations. The problem is that it is considerably cumbersome. Is there a better (easier) way of doing this? I looked into the play2() method, but it doesn't seem to have any way of overlapping the streams to create a seemless fade-in/fade-out.
    Thanks for any help.

    There is 1-to-1 relationship between NetStream and Video it is played in. So, seamlessness/smooth transitions (however you define it) cannot be achieved with the same NetStream.
    play2() is designed for dynamic streaming of the same asset encoded at different bit rates from FMS.

  • Flash streaming external flv files

    I have a web page which contains a flash object embeded in
    it, this flash is streaming external flv files. The flash was being
    displayed correctly when the website was hosted on a windows 2000
    server but when the site was moved to a windows 2003 server the
    flash is no longer displayed, instead of it a box with undefined
    text inside it. I searched the Adobe support center and found this
    Tech Note about adding the MIME Type through IIS since windows 2003
    doesn't stream flv files. I followed the steps mentioned but still
    am getting the undefined box
    http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_19439&sliceId=2
    Does anyone know how to solve this issue?
    Thanks in advance.

    This is the problem.
    When Flash Player movie files that stream external FLV files
    (Flash videos) are placed on a Microsoft Windows 2003 server and
    then viewed in a browser, the SWF file plays correctly, but the FLV
    video does not stream. These files work correctly if tested on
    other operating systems. The issue affects all FLV files played via
    Windows 2003 server
    And can be solved by....
    1. On the Windows 2003 server, open the Internet Information
    Services Manager.
    2. Expand the Local Computer Server.
    3. Right-click the local computer server and select
    Properties.
    4. Select the MIME Types tab.
    5. Click New and enter the following information:
    * Associated Extension box: .FLV
    * MIME Type box:flv-application/octet-stream
    6. Click OK.
    7. Restart the World Wide Web Publishing service.

  • Playing flv files in Adobe Reader 7

    I created some pdf documents using Acrobat 9 Pro into which I added links to streamed flv files. This worked fine with the video playing in the pop up box but when I put it on the web people opening it with Reader 7 could not play the flv and were prompted to upgrade to Reader 9.2 (which worked). Unfortunately I can't rely on people being able to upgrade and want to find a way fro flv files to be playable via Reader 7. I've tried creating them in Acrobat 7 Pro but couldn't get that to work.  Does anyone have any ideas about why this doesn't work and what to do? Thanks

    Your experience is better, than mine. I look after a website for a Electronics Servicing organization. I've created many PDF using Acrobat 3 - 7.0.7 (the older versions on OS9. I use OSX.3.9 on a G4-500 using 1.5 Gb of System RAM. And I uses OSX.4.5 on a PowerBook 17" using 2 GB of system RAM. Since switch to Acrobat 6 and then 7 I've never been able to have anyone view a PDF created in 6 or 7 Format. The File appears to be there and the file fize indicates it has content. Whether viewing on a PC or a Mac. If viewed on a PC all that is seen is a Blank page with no text, and if it had a graphic no graphic is shown. If however; the person on the other end happens to have Acrobat or Reader 6 they can view the Acrobat 6 Files. And If they have 7 they can see the 6 and 7 files as well as anything below. However; most of the PC viewers I deal with still use Acrobat or Reader 5. Its these viewers I find that can't view the files. I've noticed also that when you do getinfo on a Acro/Reader, or 7 File created on my computer that in the thumbnail preview, all you see is the Acrobat A symbol, or a Blank thumbnail. Opening in 7 they can be viewed. Opening in 5 (I still have a OS9 Drive and e.5.0.5 installed) all I get is a Blank page no text and no Graphics if any in the content. SO every since 6 and 7 have come out I've had to save, then optimize for Acrobat 5 in order for my readers to see the pdf's.

  • Adobe Media Encoder Quality Issues  for 4:3 FLV Files

    I am working in a 480x360 window for a FLV file. Whether I export a 60 minute presentation or a 10 second pre-roll FLV file, the rendered file quality is distorted and poor. I have done the same work in CS3, but as I changed computers, the CS4 was installed.
    With the video presentation, orginally capturing the video is set as .9 Pixel Aspect Ration, but interpreting the footage to 1.0 is also an issue.
    The quality of video that is being produced is much worse then CS3 and unuseable in most cases.
    Frame Dimensions: 480x360
    Frame Rate: Same as source. (29.97)
    Endoding: CBR
    Passes: 2
    Bitrate: 500
    Audio: Mono / 48

    A couple things:
    1) VP6 and H.264 are codecs that operate in "mod16". What that means is that they begin by dividing a video image into 16x16 blocks, followed by 8x8, 8x4, and 4x4 blocks. This makes for a more efficient encode. Your 240 dimension is fine (240 / 16 = 15), but the 515 dimension could be slightly problematic (515 / 16 = 32.1875). The codec will stretch or compress the image to fit into that dimension, and so can result in a lower quality encode. If you can, try encoding at 512x240, by cropping a couple pixels in the horizontal dimension. May not make a big difference, but it's good practice with these codecs.
    2) To me, your original encode looks like the product of Adobe's less-that-capable deinterlacing scheme. You're dealing with progressive assets and a progressive target. I'd submit that the reason your 1280x720 encode looks better is that you're using a progressive preset, with no deinterlacing necessary when exporting. One thing you could check is the field order of your original sequence setup--if it's interlaced, I'd say you have your answer. If it's progressive--well, then I'm wrong :) However, you didn't explicitly say this in your original post, but it's worth a look.
    If it is interlaced, I don't think you can change that after the sequence is started, so just create a new sequence with the proper progressive settings, and copy and paste the original sequence contents into that one. Now, when you export, there will be no need for deinterlacing.
    Anyway, that's my guess...

  • How do I protect my FLV files? or How to encrypt and decrypt FLV files using AIR?

    Hi,
         I am working on an AIR application, which is developed on eLearning concept. The application mainly deals with flv files. The application contains a video player component, which will stream flv files from an Apache Server and played in my application. Here my concern is I would like to protect my flv files some how against users who may stream them from Apache Server and use them without my application.
         I thought of with an idea to do it. But I don't know whether it will work or not. So I am requesting for your suggestions and better ways to do this with a sample.
    Here is my thought:
    I would like to place the encrypted FLV files at Apache Server side [ Need to know how to encrpt the FLV files using Flex]
    As my AIR application send a request for a FLV file, the Apache server should send the decryption key and a stream of FLV file.
    AIR application should take the decryption key, stream of flv file and it should capable enough to decrypt the FLV file and play it in my application. [ But I don't know how to encrypt/decrypt FLV files through flex]
    I can do encryption of FLV files using Mac Address of Apache Server system and using Java. But I don't know how can I decrypt the same FLV file ( Encrypted using Mac Address and java ) at AIR application side.
    So I would be greatfull If any body help me in encrypting and decrypting of FLV file with a sample using Flex 3.0.
    Thanks
    Sudheer Puppala

    russellfromblackburn south wrote:
    Is it because the portable drive is NTFS format and the Mac wont recognise this? If so what do I do?
    Yes, this is exactly what is causing the problem. Macs cannot write to NTFS formatted drives, only read. You must move the documents to the internal HDD/SSD of the Mac to be able to edit them.
    Or, since you say you don't want to move the documents to the internal storage, you'll need to format the external HDD as FAT32.

  • Problem playing streaming FLV

    Hi ppl,
    I'm trying to play streaming FLV files using FLVPlayback
    component.
    Some of those FLV files have different resolution. When the
    FLVPlayback property "maintainAspectRatio" is set to "true", it
    runs correctly, but, sometimes, with some black bars or spaces on
    the right because the component resized it and let the same aspect
    ratio.
    When I set that property to "false", the FLV video fits
    exactly the size of the component area, but when I click to change
    to next video, it fails, the component doesn't play the next video
    =\
    I searched and found that was a bug of the FLVplayback
    component, so I updated it and didn't resolve..
    Any suggestion?
    Thanks...

    I think you need to create a Video object, drag it to the
    stage, set its dimensions, give it a name (try "theVideo") and then
    in actionscript, prior to _ns.play(), run this:
    theVideo.attachVideo(_ns);
    Then call _ns.play(). See if that helps!

  • How to play a FLV file located in a second FMS?

    How to play a FLV file located in a second FMS not directly accessible by the flash client?
    - I am publishing an audio stream from the flash client to a FMS;
    - This FMS then publishes the stream to a second FMS, which records the stream to a FLV;
    How can I play in the client the FLV audio file that I recorded in the second FMS?
    - The first FMS is accessible by the flash client, but the second FMS is only accessible by the first FMS.
    thanks in advance
    fabio

    Answer in http://www.flashcomguru.com/forum/forum_posts.asp?TID=4276&PN=1&TPN=1

  • Can't seem to stream (RTMP) an FLV file in Flash Media Playback from the Amazon Cloud

    I seem to be having trouble streaming any FLV file using RTMP from the Amazon Cloud.  Other file formats (i.e., MP4, F4V) seem to work just fine.
    I tried using your Flash Media Playback demo page and still had the same problem:
    http://www.osmf.org/configurator/fmp/
    Without publicly displaying the actual connection path here, this is what I am using for the Video Source (URL):
    rtmp://xxxxxxxxxxxxxx.cloudfront.net/cfx/st/_definst_/MyVideo.flv
    If I change the "MyVideo.flv" to "mp4:MyVideo.f4v", for example, then it works.  But when I try to reference any FLV file that I have located on the Amazon Cloud then it just shows continuous buffering.
    The FLV files that I am trying to use with both the Strobe and Flash Media Playback(s) all stream just fine when I connect to them via other Flash based applications/players that I have.
    Do you have any suggestions?
    Thank you very much.

    Hello,
    The link to the previous post does not seem to apply or help in this case.  Please let me know if I am wrong.
    I am merely trying to stream any FLV file using your Flash Media Playback demo page.  What am I missing here?
    Thanks again.

  • Flv file not streaming on my website

    Here is my question:
    I have design my flash website (www.indypendencyfilms.com)
    with Flash and I want to add some videos to my portfolio section. I
    thought it would be pretty straight forward, but it isn't. That's
    what I've done so far (and it isn't working):
    1. Obviously encoded the video as a flv file (called
    Demo.flv).
    2. Uploaded it to my server (Hostmonster). It is in my
    public_html folder.
    3. Added to my flash file a FLVPlayback component (instance
    name: videoPlayer)
    4. Added the following actionscript:
    var nc:NetConnection = new NetConnection();
    nc.connect(null);
    var ns:NetStream = new NetStream(nc);
    videoPlayer.attachVideo(ns);
    ns.play("
    http://www.indypendencyfilms.com/Demo.flv");
    5. After trying to stream it and not get it to work, I added
    in the MIME settings of my CPanel the video/x-generic for the flv
    files.
    At this point I have no idea why it doesn't work and I'm
    conviced it's something really stupid that I'm overseeing. I would
    appreciate any input.
    Thanks
    Alberto Corredor

    Hi,
    In your code you have
    ns.play("
    http://www.indypendencyfilms.com/Demo.flv");
    should this not be....
    ns.play("http://www.indypendencyfilms.com/public_html/Demo.flv");
    As you said your video was held in the public_html folder.
    Thanks
    Alan

  • FLV files set for streaming video not working

    Hi,
    I have been using Captivate 4 for some time using imported FLV and progressive download options. Playback is too slow, so I am trying to use a streaming service (Limelight Networks Flash Video Streaming Service). I took an existing Captivate project, uploaded the FLV file to the streaming service and select the following in Captivate under the Flash Video tab:
    Video type: Streaming video
    Server URI:  points to server, app, instance from provider (eg: rtmp://xxx.net/yyy/zzz...)
    Stream name: filename.flv
    I publish (htm and swf files are local, flv is on the streaming provider's machine) and try to playback. Captivate loads and after a time I get an error saying that a script is causing the flashplayer to run slowly (version 10). It then locks up (tested in IE, Firefox and Chrome). I've changed options in Captivate such as Flashplayer version (from 8-10) and buffer delay, to no avail. No video played. Previously the video played in the project as a progressive download.
    Help appreciated!

    Hi Ashwin,
    This still hasn't worked for us. We have been given a server name in this format: rtmp://server.name.net/ and an application name in the format app/name, which together form a url:   rtmp://server.name.net/app/name
    Then I have the move file in a subdirectory (/test) from this base url and finally the filename: myvideo.flv
    So putting it together I have tried in Captivate:
    Streaming
    field 1: rtmp://server.name.net/app/name
    field 2: /test/myvideo.flv
    or
    rtmp://server.name.net/app/name/test
    myvideo.flv
    or
    rtmp://server.name.net/app/name
    /test/myvideo
    and other combations of these three. I've eliminated the flv extension, tried with and without preceding (/) and trailing (/)  (eg: /test/... vs test/... or).
    None of these seem to work. I can play the flv directly using a client called WIMPY so I know the streaming service works. With that client I enter a fully qualified path such as: rtmp:/server.name.net/app/name/test/myvideo.flv  and it works flawlessly.
    Thanks for your assistance.

  • I need to stop the sound in an .flv file I'm streaming

    Is there any param value... or anything else I can use to stop the sound in an .flv file I'm streaming from the server?
    I do not have the original video that the flv was created with... otherwise this would be a no brainer.
    I want to keep the video up but take away the sound.  Thanks much!

    AFAIK there's nothing in the server side API that would support that. You can, on the client side use NetStream.receiveAudio(false), but that won't prevent the server from serving audio... it just stops a particular client from subscribing to the audio
    Alternately, you can use FFMPEG to strip the audio channels out of the FLV.

  • How do I convert an flv file to still images?

    This may sound stupid, but I have a downloaded flv file, and I want to use about
    8 seconds  to make still images so I can trace into Illustrator and then export it into Flash. (both are older versions).
    Is this possible?
    It is for an animinated logo.
    Thanx.

    Andrew J wrote:
    Everybody's wrong wrong wrong. You don't need garageband. Select the song, go to info. You need to select a start and stop time for the song that can't be any longer than 40 seconds in length. Then in advanced mode you convert the song to acc. once done locate the file on the computer. it should end in .m4a . Change the a to an r so it reads .m4r Drag the file to the desktop, double click and it ends up in ringtones folder.
    That's it! Works every time. Or for those who want easier:
    http://www.ambrosiasw.com/utilities/iToner/
    My drug of choice.

Maybe you are looking for