dynamic import of video files on execution

Hello world

I'm adjusting a lingocode to import video files instead of images in a cast. So that users can edit the video by playing one of their own videos and save the reference in a castlib.
But the scene shows a picture of windows media indicating that it is a member of the windows media distribution only but do not actually play a video as it does not contain the path to the video file

The new code;
On MouseDown
FIO = xtra("FileIO").new)
file = fio.displayOpen)
FIO = Sub
newMember = new (#windowsmedia)
newMember.fileName = file
Sprite (3) .member newMember =
newMember.duplicate (52, 'media')
end

I use the last line (newMember.duplicate (52, 'media') to copy the cast member newly created in external cast (media) and specific member number (52)) Such external distribution containing the imported media reference can be saved by a Save"" button. And be accesed by about 9 other movies.


What I'm missing here to run the dynamic import of video files? pointers?

> On MouseDown
> fio = xtra("FileIO").new)
> file = fio.displayOpen)
> fio = Sub
> newMember = new (#windowsmedia)
> newMember.fileName = file
> sprite (3) .member newMember =
> newMember.duplicate (52, 'media')
> end

Works for me - with the exception of the duplication of Member. As suggested in the
another forum you posted to, it would be better * not * use keywords like
names of variables (such as 'file' and "newMember").
It is unclear why you create a new Member in castLib (1) and link to
Sprite (3) to duplicate and then to a different castLib. Why not
you start with a member of the #windowsMedia location 52 of castLib ("media") and
simply change its name property to file?
--
on mouseDown me
tMember = member (52, 'media')
If tMember.type = #empty then
tMember = _movie.newMember (#windowsMedia, tMember)
-tMember.name = "WMV".
end if
FIO = xtra("FileIO").new)
tFile = fio.displayOpen)
FIO = EMPTY
tMember.fileName tFile =
Sprite (3) .member tMember =
end

Tags: Director

Similar Questions

  • When I import a video file into Windows Movie Maker it plays Audio and video

    When I import a video file into Windows Movie Maker, it plays the video and no Audio how to import the video file so that it contains the audio when the time to line up? Help?

    Original title: when I import a video file into Windows Movie Maker, it plays the video and no Audio how to import the video file so that it contains the audio when the time to line up? Help?

    When I import a video file into Windows Movie Maker, it plays the video and no Audio how to import the video file so that it contains the audio when the time to line up? Help?

    Watch the video file. The last 3 letters represent the file format.

    Windows Movie maker only supports the following video file formats:

    Video files: .asf, .avi, .dvr-ms, .m1v, .mp2, .mp2v, .mpe, .mpeg, .mpg, .mpv2, .wm, and .wmv

    If yours is not on the above list, Movie Maker will have probel play.

    In this case, you will have to google for a free video converter and change the format of your video file to WMV. WMV format is the most reliable format for Windows. For the benefits of others looking for answers, please mark as answer suggestion if it solves your problem.

  • Animate the import of video files CC?

    When you try to import a mp4 video file to animate CC, the 'Import of video files' Option is gray / not active. What can I do?

    Hello

    Importing video files H264 is supported only in the AS3 document. You may have created a document HTML5 Canvas in which the option is grayed out. Please try this out in the document of AS3. Please see https://helpx.adobe.com/flash/using/whats-new.html#ImportH264videoswithaudio for more details.

    Thank you!

    Mohan

  • Premiere Pro 2014 and 2015 CC hangs on import of video files. How can I solve this problem?

    Premiere Pro 2014 and 2015 CC hangs on import of video files. How can I solve this problem?

    It didn't happen until what I updated from 2014 and 2015, and none of them work now.

    I looked in these forums, tried a number of solutions that worked for others, and nothing has worked for me so far. I have the value "read-only software engine Mercury" rendering engine I tried to change the name of the folders pro Prime Minister ' 8.0' and ' 9.0 ' to ' old 8.0' and ' old 9.0 "and a few other things that I do not completely at present.»»»"

    My computer:

    computer_specs.png

    My OS: Windows 7 Enterprise Edition (service pack 1)

    The error messages:

    First pro CC 2014 (8.0)

    Signature of the problem:

    Problem event name: APPCRASH

    Name of the application: Adobe first Pro.exe

    Application version: 8.0.0.169

    Application timestamp: 536f4f89

    Fault Module name: ig75icd64.dll

    Fault Module Version: 10.18.10.3412

    Timestamp of Module error: 52e04b53

    Exception code: c0000005

    Exception offset: 0000000000158c2a

    OS version: 6.1.7601.2.1.0.256.4

    Locale ID: 1033

    Information additional 1: 88 a 4

    More information 2: 88a4aeff69948e549c460e98e3cbf27e

    3 more information: db98

    Additional information 4: db98ef4dec181ad1906ff666818d9ae2

    ====================================================

    First pro CC 2015 (9.1)

    Signature of the problem:

    Problem event name: APPCRASH

    Name of the application: Adobe first Pro.exe

    Application version: 9.1.0.174

    Application timestamp: 564dce25

    Fault Module name: ig75icd64.dll

    Fault Module Version: 10.18.10.3412

    Timestamp of Module error: 52e04b53

    Exception code: c0000005

    Exception offset: 0000000000158c2a

    OS version: 6.1.7601.2.1.0.256.4

    Locale ID: 1033

    Additional information 1: cd2f

    More information 2: cd2f7e1225ab1bc0dd4f89ec90542e56

    Information additional 3:0129

    Additional information 4: 01292334f4d6d650a5ceb0029f7e7224

    Thanks in advance for any help.

    Just a hunch.  "ig75icd64.dll" is the driver intel HD graphics.  That should narrow down your search.  You may need to reinstall/day (or if it has just updated - then push) that this driver.

  • I want to make a plugin that can import a video file.

    I want to make a plugin that can import a video file.

    but the guide and example files offer only importer SDK.

    is it possible to import a video file to another program to the Prime Minister?

    I don't think that what you're trying to do is possible with any of the importing C++ API; those who allow developers to write support for file formats that body can't stand already...

    If you try to import files that can already understand, a HTML5 (JavaScript) - Basic Panel is the right approach.

    Here is the project Panel:

    https://github.com/Adobe-CEP/samples/tree/master/PProPanel

    Here's how to set up a panel development environment:

    https://github.com/Adobe-CEP/samples/BLOB/master/PProPanel/payloads/PPro_Panel_QuickStart _ Guide.pdf

  • Import of video files in Adobe Premiere Pro CS3

    I have a Sony Handycam DCR-SX63.  When I import movies on my PC (Vista), I took, they are. MPG files.  When I import these files in first Pro CS3 the video portion is important but the audio of this file does not work.  I read everything I can find and nothing seems to answer my question directly.  I tried an encoder to see if perhaps first does not accept. MPG files.  I converted to AVI file and tried to import and it gave me audio with no video.  I tried to open the new project with a dozen different settings offered by the first, but everyone I tried gave me the same result, when I tried to import my video file.

    Please, I beg you. Please, I beg you. Help, please.  I'm pulling my hair out.

    I appreciate any assistance.

    Thank you

    First... To work with audio files AC3 into Premiere CS3, copy the file ad2ac3dec.dll of the Encore CS3 directory creation directory

    Second... Read Bill Hunt on a file type as WRAPPER http://forums.adobe.com/thread/440037?tstart=0

    What is a CODEC... a primer http://forums.adobe.com/thread/546811?tstart=0

    What CODEC is inside of this file? http://forums.Adobe.com/thread/440037?TSTART=0

    .

    A report with the codec of your file details, use the programs below

    .

    For PC http://www.headbands.com/gspot/ or http://mediainfo.sourceforge.net/en

    .

    IF your files are MJPEG...

    MJPEG edit with Morgan or MainConcept http://www.morgan-multimedia.com/

    http://www.MainConcept.com/site/prosumer-products-4/Motion-JPEG-codec-785/information-797. HTML

  • Why does itunes import my video files?

    Older versions of iTunes seen and synchronized them very well, so I upgraded to version 12 and now I can not re-import them. They were all formatted in mp4 format. I'm on a MacBook Pro. They will not work in iTunes on my Mac or Windows 10 PC.

    Try to open the video using QuickTime Player (video file do a right click and Open with-> QuickTime Player).  If it works, in the QuickTime Player menu, bar, file-> export-> iTunes, then select the video resolution.  This converts the video to a format iTunes can play.

  • Could not import a video file that works when you export my project as a .air file

    I am trying to create a project to be exported to a .air file which will include videos.  This file will be required to work offline so add a streaming video it with Adobe Media Server is not for me.  Video files in Animate must be linked and play (with no internet access) of the file.

    I tried to import files video .mp4 to the project but they do not seem to be visible when I export.

    I did some research and it seems to work only with the help of .flv / .f4v files (which I cannot make out Adobe as they removed this option now).  I tested this theory with a .flv file and it seems to work correctly (with the exception of my massive chronology!)

    Anyone know a way around this or could suggest that I could hurt?

    It seems strange that Adobe would rename Flash to animate and then do not working not not with all other files outside of la.flv/.f4v which they now won't let go.

    Hello

    Import of video H.264 in Animate is a design-time only feature that allows you to use videos as a guide to sync your animation on the stage. However if you want to embed the video in the output, please convert your videos to flv or f4v using Adobe Media Encoder CC (7.2).

    You can still install Adobe Media Encoder CC (7.2) by installing Flash CC option PREVIOUS VERSION creative cloud - download and install Adobe Creative Cloud applications

    Thank you!

    Mohan

  • I get "generic error" when I try to import a video file to begin editing, I know Codex, but always impossible to import any help?

    We get an error generic, very frustrating because I can't import any media to change.  Ideas to help with that?

    Yes, I am a beginner by heart.

    judithj

    Thanks for the follow-up.

    You have the latest version of QuickTime installed on your computer? If this isn't the case, please install it. It is a requirement. And, don't forget to run programs as an administrator.

    Apple - QuickTime - Download

    We will be watching the results with QuickTime, which is the first line of troubleshooting for your video files H.264.mov import source.

    RTA

  • Could not import the video file in Photoshop 12, import and export are grayed out

    Try to import the video into the newly installed executives Photoshop 12 on Macbook and import/export options are grayed out. How can I change this?

    Photoshop elements has never had to file > import > video frames to layers.

    At the same time, until the versions a little backward, there is file > import > frame of video, but it was only able to make a frame at a time and the service has since been removed from photoshop elements.

    Photoshop and photoshop elements are two different applications, photoshop elements is an application based on photoshop, but with less advanced features.

  • crash of first cc 2014 after I import any video file...

    When I import a video and then try to move it to the crash work area-first immediatey.
    Help, please

    Hello

    I suggest using the first with the Quadro card. You can change this under Program Files > Adobe > Premiere Pro > right-click on the exe and select run with GPU > NVIDIA processor high performance.

    You can change all the time in the NVIDIA Control Panel. Add first and GPUSniffer in the list and choose High Performance of the NVIDIA processor. Report if it helps you.

    Note: Do not forget to add GPUSniffer.exe

    Thank you

    Regalo

  • Help to import Flash video files

    I was hoping to get help with something that frustrates me.

    I have a file with two senior .fla. In the first image, I need a movie (.flv). When the film ends, I need to move to the next section on the time line.

    I have converted the original .mov to a .flv and imported into my file as an external w/reading viseo component and not the skin. It is now in my library as FLVPlayback and I gave it an instance name of "goFrame". Its contentPath is the name of my file (P1010472.flv) .flv

    So I put the FLVPlayback on my first image and I put a stop() in frame actions; and I have the text on the second image, also with a stop to see when the framework suggested.

    I found this code:

    var listenerObject:Object = new Object ();
    listenerObject. full = function (eventObject:object): Void
    {
    _root. gotoAndPlay (2
    );
    }
    myMedia. addEventListener ()"full" listenerObject
    ); 

    I was under the impression that I put this code in the actions for the framework that presents the video component (the first image)

    I replaced "myMedia" with "goFrame", which is the name of the instance that I gave my FLVPlayback, but what is the listener object? This is the code I have now on the first frame actions:

    Stop();

    var FLVPlayback:Object = new Object();
    FLVPlayback.complete = {function(eventObject:Object):Void}
    gotoAndPlay (2);
    }
    goFrame.addEventListener ("complete", listenerObject);

    but it does not advance at the end of the video, it stop frame 1 after playing the video.

    I know I have to name the "listenerObject" and the "myMedia" event listener, but I must say that I'm simply confused what goes where. I may be a bit dense, I have read the forums which are discussion this kind of thing, but can't understand what name goes where in this code or if I'm there enter correctly. It is simply not to advance.

    can anyone give me a tip?

    Chris

    use:

    var listenerObject:Object = new Object();
    listenerObject.complete = {function(eventObject:Object):Void}
    _root.gotoAndPlay (2);
    }
    goFrame.addEventListener ("complete", listenerObject);

  • Import of video files in CS3 DVD problems

    Hello!

    We have a copy of a video of service of comments I'm editing down to a condensed version used in our in-house training.

    I use PP CS3 and you have saved video files off on my hard drive, but they do not matter in PP.   I have a format not supported error message.

    The files are similar to those I have saved and imported with success of our business orientation DVD, with the exception of the file extensions that make their appearance on these service comments files;  where they do not have on my first project.

    These new file names are: VIDEO_TS. IFO, VIDEO_TS. VOB and VIDEO_TS. BUP.

    All wisdom would be appreciated!    I wonder if they are encrypted or secured, but the DVD is from 2001 and it seems unlikely.

    Thank you!

    M

    Mary,

    Good luck and sorry that I was not quite clear, I should be, in which case file extensions. Thanks to your thread and the comments from Ann, I modified my article to explain file extensions 'trick' a little better.

    Moreover, in accordance with this article, don't forget not that a VOB can contain more than just the MPEG-2 AV, especially the first VOB files. According to what is in this VOB 'container', and how it was written, there are still questions.

    If you experience problems, please see the link to the FAQ Neil Wilkes again, the ripping. There are several other links in this article, which can be useful.

    If your DVD has been created by Adobe yet, it will be 100% compatible DVD and has to import just without any problem. If made by Roxio, Nero, some other creation apps., or written from a digital video recorder, or Platinum VHS-DVD, then all bets are, as they do not write 100% compatible DVD disks, in most cases.

    Once again, good luck and let us know how it goes.

    Hunt

  • The blackBerry Smartphones file invalid Media - you can not synchronize with the folder to import from video files

    I use Desktop Software 6.0.0.43 and get the above message when I try to add a folder to synchronize the video. The same process has worked well for music and photos, but not for video.

    Any suggestion would be appreciated. I have to admit I'm lost on this one.

    Thank you

    This means that you cannot synchronize a folder that youv'e ' e defined as import for the videos location.

    So, if you put videos to import in c:\videos

    You cannot synchronize this folder.

    (Since then, you would just be sync through the stuff on the phone that you have imported the phone).

    Change your import file should solve the problem.

  • Import of video files in first Pro CC

    Hello

    I had this problem since I started using first Pro CC to edit movies ("literal as film ' The Social Network ') and the problem is the following:

    Every time I have import (converted from the mkv to mp4 format) movie file and read it in the power, audio, and video desync gradually. The first good minutes work, but then the sound starts playing before the coresponding video.

    I would really appreciate it if anyone has a solution to automatically synchronize the A / V in the whole movie.

    Thank you!

    Be sure to use a constant pace during the conversion. MP4.

Maybe you are looking for

  • hp photosmart 5510 series: photosmart hp 5510 series files are not found

    Hello I use the Hp Photosmart 5510 series printer and is faced with a problem where I can not scan from the printer to the laptop. Before having this problem, I used to scan from the printer wireless without any problems, but after I changed my Inter

  • Connect hot and cold sealing

    I just wanted to check the terms. A USB keyboard with a wire tangled at the back of the computer can be disconnected, sort out and reconnected without shutting down the computer first. USB devices are hot pluggable However, in the case of a PS2 Mouse

  • problems with people app

    I have problems with the application of people, I imported my contacts, but I don't see any of them if I want to send an e-mail, but if I open the app from people that it self I can see them, anybody have an idea?

  • Backward compatibility of HP Pavilion a6551.nl Desktop PC with windows XP?

    Hello Depending on the subject, I am unable to intall windows XP on my HP Pavilion a6551.nl Desktop PC and there no info on the Hp Web site as not good (its only States on Vista 32 and 64 bit) So I was wondring if I install win Xp at all? If I can ho

  • Slower than other computers on the wireless network

    HelloI get a download speed that is slower than the other two laptops using my wireless network. I have 20 MB broadband and get ~ 3Mbps when I test the speed. Usual maximum download speed is 12-15 Mbps for other laptops. Download speed (~ 1 MB/s) and