VideoDisplay component to play the mp4/h.264 content

Hello
I want to build a simple video player that plays HD movie content.

The component VideoDisplay in flex builder 3 can you play used mp4/h.264 content?

If Yes, how is it done as I've tried to set VideoDisplay source to a local file MP4 and it will not play? I know for sure that the file is loaded and it is h.264.

Can someone help me please?

Concerning
Adam
Flexchief

Hey Chief,.
I think you will find that the answer to this question lies in your encoding, not in Flex.

The VideoDisplay component plays FLV and H.264 files. Your video file should meet the MPEG4 specifications. If you have created a MP4 file using an Adobe product, it should work if you don't wander too far from the Adobe Media Encoder parameters, as trying to squeeze the size of the file down, too far. Flash player 9.0.115.0 or later must be used to view the H.264 video.

When in doubt, use SOUL to create a short MP4 clip with the default settings (use something like '320 x 240 banner') and see if that plays out. If she plays, start going through all your encoding settings and see if put you something out-of-spec - like maybe the audio settings. Just use straight AAC for audio bitrate, 48 kHz, 192 Kbps. Video, use NTSC (fps shouldn't matter...) pixels progressive, square, 'main' profile, 'level' of 3. Change Bitrate CBR encoding (you're probably using high quality VBR, but just try).
One of these parameters may trigger Flex upward. Just to experiment. If this does not work, send me more information on how you created the video file.

Tags: Flex

Similar Questions

  • I've updated the motherboard (Asus) and now Nvidia card beats nice work my PC do not play the .mp4 files

    I've updated the motherboard (Asus) and now Nvidia card beats nice work my PC do not play the .mp4 (with VLC, Quick time player ect..) files

    And what about the Windows Media Player12?

    You must uninstall and reinstall VLC Media Player, it seems codecs has been corrupted. You can also download and install ffdshow

  • Windows Media Player will not play the .mp4 files after installation IE10 - BEX error message

    Hello! Recently, when I tried to read a file .mp4 on Windows Media Player, the player would immediately stop working and tell me that he could not play this type of file, even if the day before he could do so without any problem. I had an option to close the program or click to more information, so when I clicked for more information, he gave me this:
    Signature of the problem:
    Problem event name: BEX
    Application name: wmplayer.exe
    Application version: 12.0.7601.17514
    Application timestamp: 4ce7a485
    Fault Module name: StackHash_0a9e
    Fault Module Version: 0.0.0.0
    Fault Module Timestamp: 00000000
    Exception offset: 00000000
    Exception code: c0000005
    Exception data: 00000008
    OS version: 6.1.7601.2.1.0.256.1
    Locale ID: 1033
    Additional information 1: 0a9e
    More information 2: 0a9e372d3b4ad19135b953a78882e789
    Additional information 3: 0a9e
    Additional information 4: 0a9e372d3b4ad19135b953a78882e789
    Back to a system restore point previous fixed the problem and I could again play the files in Media Player, but during the night that Windows updates installed and the morning I could not play these .mp4 files once more. So I restored to a point earlier, changed my updates so that they are is more automatic and by installing each day at a time, I finally isolated the problem in Internet Explorer 10. If I install that, just Windows Media Player will not play these files.
    I tried a manual update of Internet Explorer 10, turn off all the options of toolbars shit and everything, thinking that when it automatically installs those who may be included, but that has not helped. Had to go back to my previous IE10 restore point. So no matter what, Internet Explorer 10 kills my ability to play .mp4 on Windows Media Player files.
    I don't have toolbars running on IE9 at all.
    I know that's obvious answer is 'do not install Internet Explorer 10' or if I do, download another player for .mp4 files. But the fact is, it shouldn't happen, it is indicative of something being wrong, and I would like TO be able to install Internet Explorer 10 AND use Windows Media Player to play these files. If someone else has had this problem, or know a way to fix it?
    Here are my system specs:
    Windows 7 Ultimate 64 bit
    Intel Core i5 - 3350P @ 3.10 GHz CPU
    ASRock H77M LGA 1155 motherboard
    8 GB DDR3 240 - Pin SD RAM
    Diamond Radeon HD 7870PE52GV 7870 GHz video card
    And all my programs are installed on this:
    SAMSUNG series Pro 840 MZ-7PD256BW 2.5 "256GB SATA III MLC internal Solid State Drive
    I'd appreciate any help you can provide! Thank you!!
     
    It sounds like your question. I think you should uninstall this update and
    hide and see if that solves your problem. Please report.
     
     
    Barb
     
    MVP - Windows/entertainment and connected home
     
     
    Please mark as answer if that answers your question
     
     
     
     

    I tried myself after experiencing the same problem and error code. I uninstalled the KB2670838 update, and then my Windows Media Player finally worked again. I also found that IE 10 must be uninstalled as well. Installation of IE 10 also automatically installs the update of KB2670838 platform. After uninstalling KB2670838, IE 10 automatically uninstall with it, better you hide two updates so that they do not install again. From the link in the previous post, I learned that the platform update is having problems of conflict with the AMD drivers. Good luck to you and hope this helps.

  • Suddenly the Windows media player will not play the .mp4 files? all solutions?

    In the beginning, my windows media can play .mp4 files. But then he stopped play .mp4 files after windows media player crashed. All solutions? Urgent!

    In the beginning, my windows media can play .mp4 files. But then he stopped play .mp4 files after windows media player crashed. All solutions? Urgent!

    Open Control Panel > programs > Default Programs > set your default programs > select Windows Media Player from the list under programs > set this program as default > OK

    See also: -.
    Troubleshooting of Windows Media Player settings

  • What code is needed to play the mp4 video in IE9

    I've been everywhere looking for a solution to this. I only get the references that talk about what the problems, issues, and what needs to be done, but does not provide the html code real that must be inserted to DW that will actually work in IE9.

    I place .mp4, .ogv, .webm code that works in Chrome, Apple, Android, and Firefox browsers but NO IE9. Can anyone help with this? It has been a very frustrating experience.

    Thank you!

    Jan

    Hello Jan,

    Here's some code that I used to insert a video mp4, loading an image:

    YourShortDescription. Click Here!

    Width and height are your chhoice.

    Hans-Günter

  • Empty MC plays not mp4 no external

    Before playing the mp4 I set preloader in frame 1 place

    to preload the movie and play in frame 3.

    myLoaded = Math.round (getBytesLoaded ());
    myTotal = Math.round (getBytesTotal ());
    myLoaded/myTotal = myPercent;
    If (myLoaded == myTotal) {}
    gotoAndStop (3);
    } else {}
    gotoAndPlay (1);
    }

    I have an empty clip mc that uses this code to call in an external mp4 (image 3) HD video:

    var loader: MovieClipLoader = new MovieClipLoader();
    this.createEmptyMovieClip("emptyMC",1);
    loader.loadClip ("Yes we different.mp4", emptyMC);

    When tested with the mp4 or one of these work items.

    Can I use this method to play the mp4 video or I have to convert it to another format?

    If your mp4 is not displayed properly (or), you have a mp4 frame that is not correct.

    I'm not an expert in the video settings, but I would like to know the correct settings using google to search for: flash mp4 settings.

  • File error Windows Media Player mp4 "Windows Media Player cannot play the file. The player might not support the file type or does not support the codec used to compress the file"

    I got this error message when you try to play an MP4 video. Help please!

    Windows Media Player cannot play the file. The player might not support the file type or does not support the codec used to compress the file.

    You can try to download the http://www.microsoft.com/en-gb/download/details.aspx?id=507 Codec Installation Package

    If this does not work, you may need to get some third party software to convert MP4 video to the longer Windows Media Player video format supported like WMV, AVI in order to solve the problem

  • Export (in the format H.264 HD 720 p 23.976 preset) and audio out separate while the video file is a file instead of .mp4 .m4v

    With the help of the first Pro CC 2014.

    Export (in the format H.264 HD 720 p 23.976 preset) and audio out separate while the video file is a .m4v instead of .mp4 file.

    Anyone know why audio and video export separately? I can't understand why. Help is very appreciated.

    Are you sure that you choose a preset of Blu - ray? This will create separate assets. Thanks for posting a screenshot of your export settings if you can - which is usually much enough quickly

    Thank you

    Jeff Pulera

    Safe Harbor computers

  • AIR SDK 15 cannot play the video in h.264 with audio SPEEX

    AIR 15 for Android SDK

    RTMP h.264 video live of Bug, not not using StageVideo


    AIR app cannot play live video in the h.264 format with SDK 15, it just show a black in the video, container but fine SPEEX audio playback screen.


    If you send the first video stream with no audio, it will play very well on the client, but if you add audio during the stream, the video on the client flashes and turn black and will play the audio.


    Tested Soft edition with SDK 14 and it works perfectly.


    Sorenson on-line audio and video stream plays very well on SDK 15

    sdk_problem.jpg


    Hi Roshan,

    This problem was solved by AIR 18!  Awesome!  Thank you, Roshan and Adobe!

  • The FLVPlayback component to play MP3 without FMS?

    The FLVPlayback (version 2.5.0.15) component will play an MP3 file without having to be listened to by a Flash Media Server? All I want is to place a player in my Flash who plays an MP3 file that is located in the same directory as the SWF file.

    Here is my code... it's pretty simple:

    Import fl.video.FLVPlayback;


    var myMusic:FLVPlayback = new FLVPlayback();

    myMusic.source = "mySong.mp3";

    myMusic.skin = "SkinOverPlayMute.swf";

    myMusic.skinBackgroundColor = 0xCCCCCC;


    addChild (myMusic);


    you might be able to compel a flvplayback component to manage mp3 files, but there is no advantage and a lot of inconvenience.

  • Difficulty playing the video in the Desktop Application

    Hello

    I'm playing two H.264 encoded (.mov) videos in a desktop AS3 application. I tried publication Air and projector, but both have (different) problems with playback. When you test the SWF in Flash, both work very well.

    I use a simple NetStream function to play videos from a local directory. As I have said, that they both will work perfectly in Flash, so I feel like I'm missing something obvious, but have struggled to find documentation on the streaming locally.

    The application of Air works better, but can't seem to play the second video. (I have also had terrible evil to do around from safety of Air that I use LocalConnection in another part of the application, so prefer not to use it).

    The projector starts to play the two videos but soon began to stammer and choke and eventually freezes the entire application.

    The Adobe documentation states that it is possible to use NetStream locally, but maybe that's not the case?

    Anyone have any ideas?

    Thank you

    Maryann

    I think you started the right way - there is no reason to suspect that this problem would exist initially. I don't have a direct solution for you, but I find that it is useful for creating small samples of what is the problem and suggest trying the following...

    Create a simple SWF file that only charge & play video. Do nothing else in this file (in the unlikely event that something else is affected video playback) and then display them in the projector and the way air.

    Also, just try to use the video component included in another simple example and see projector/air, just to see if you encounter the same problems of reading. If you do, I had initially suspec something on your computer system compared to Flash.

    I have not ran across, or noted problems such as this, in which controlling loading/video using the NetConnection and Netsrream classes... I've done a few projects with H.264 videos, but they weren't in the format MP4, MOV (I guess that there should be no difference in reading, however).

    One last thought - what is the data rate you have compressed your videos? If it is really high (2 megabits per second), maybe it is too much tax on your system (and is too high for the general display broadband, anyway).

  • the .mp4 files are not read correctly on 40TL968

    Hello

    A couple of weeks, I bought this TV and I could play via USB or DLNA .mp4 files. But for these past few days, whenever I try to play .mp4 files, they do not play correctly. They get stuck between the two - I mean the video stops and plays automatically. This happens every time, no matter I'm playing with USB and DLNA.

    But if I play .avi, they play effortlessly and flawlessly.

    No idea why this problem with playback of the .mp4 files?

    Thank you
    D

    > I have reset the TV, but still it did not work. He has yet to play mp4 files

    Have you done this correctly?
    I mean that you need to rest at default settings. In this case all the options that have been changed, could be the default value.
    To do this, go to:
    Configuration of the system-> Reset TV
    When authorities set turn it back on, the Quick Setup is displayed. Press OK to move the Setup program and perform an auto tune.

    In addition the user guide provides a list of supported formats (page 93) Media Player
    There is a list of the formats supported for music and movie files:

    _Music_ mp4 files are supported.
    The extension of files should be .m4a
    Audio codec should be MPEG-2/4 LC - AAC
    The maximum number of files in the folder: 1000

    _Movie_ mp4 files:
    The file extension supported: .mp4 or .m4v
    Supported video codec: H.264 (MPEG-4 AVC), MPEG-4 part12, 14
    Taken audio codec supported: MPEG-1/2 Layer 3, MPEG-2/4 LC - AAC / MPEG-4 HE - AAC

  • I can't get the MP4 files to work in Windows Live Movie Maker

    I can get to move on him, even able to play but they look screwed up & don't right cheek & ne same export right.

    I believe that the files are in the H.264 format & are the MP4 file type, is it possible to get the video to play right?

    One of my mp4 to play fair but none of the others.  I've heard of some places, it supports, some that it is not, perhaps, there is something to download or install or an update that will work?

    I can get to move on him, even able to play but they look screwed up & don't right cheek & ne same export right.

    I believe that the files are in the H.264 format & are the MP4 file type, is it possible to get the video to play right?

    One of my mp4 to play fair but none of the others.  I've heard of some places, it supports, some that it is not, perhaps, there is something to download or install or an update that will work?

    =====================================
    No guarantee, but it might be interesting to try to download
    and install one of the following codec packs:

    (FWIW... it is always preferable, if you create a system restore
    point before installing any software or updates)

    * Proceed at your own risk *.

    (1) K-Lite Codec Pack (full)
    http://www.filehippo.com/download_klite_codec_pack/

    (2) CCCP (combined Community Codec Pack)
    http://CCCP-project.NET/

    Info about CCCP
    http://www.CCCP-project.NET/wiki/index.php?title=Main_Page

    If this does not work... it might be interesting to try to convert the
    files in format before importing in .wmv .mov
    Movie Maker.

    The following freeware can convert:

    (FWIW... it's always a good idea to create a system)
    Restore point before installing software or updates)

    Format Factory
    http://www.pcfreetime.com/
    (FWIW... installation..., you can uncheck
    ('all' boxes on the last screen)

    First... after the download and installation of Format
    Factory... you can open the program and
    left click on the toolbar, the "Option" button and
    "Select an output folder to" / apply / OK.
    (this is where you find your files after they)
    are converted)

    Drag and drop your video clips on the main screen...

    Select "all to WMV" / OK...

    Click on... Beginning... in the toolbar...

    That should do it...

    Good luck...

    Volunteer - MS - MVP - Digital Media Experience J - Notice_This is not tech support_I'm volunteer - Solutions that work for me may not work for you - * proceed at your own risk *.

  • How can I properly import the .mp4 videos? (LR4 will not import some of them)

    Here's the question:

    I have original .mp4s that have been made either with my GoPro (1st generation) or with a video camera (I forgot what kind) and the present seem to matter very much but the .mp4s I really want to import are revised versions that have been edited in Corel Photostudio in 1080 p or 720 p .mp4 windows also indicates that they are .mp4 his .mp4 also says file extensions, but when I go to properties the edited videos look as if they are audio files, but they play fine in windows media player (and I can see the video content) regarding unpublished originals; same thing I can see/play them very well.

    I don't understand why LR4 can't import it? I tried to do a conversion; but the conversion in the same resolution, keep there tend to want to high range to expand video and more grainy converted/upgraded versions ARE unwearable too.

    Y at - it that a .mp4 format specific/codec LR4 will no accept? If yes what is it?

    If the problem is that the mp4 out of Corel, is possible that you are using a flavor of MP4 which is not supported by Lightroom? Are there options for export in h.264 or something else?

  • Strange VideoDisplay component problem

    Hello

    I have an interesting question with the VideoDisplay component. I have a list of .flv files that appear in a List component. When the user clicks on one of the file names, click contains the path to the file and puts it into a bindable variable called "contentFile".

    I then use the source property of the VideoDisplay to define what video to begin playing.

    My code is simple and it works. Here it is:

    < mx:VideoDisplay x = "0" y = "239" width = "320" height = "240"

    ID = "vidDisplay".

    source = "{contentFile}" / >

    Here's the strange thing. When to use the following code:

    "source ="{contentFile}"

    my video takes several seconds to set buffer in advance before it starts to play (depending on the size of the source .flv file). Then when it starts to play, half the time that the video is very choppy, half the time it plays OK.

    However, when I set the source using an exact path for a video such as:

    source="/myVideos/myCoolVideo.flv".

    the video immediately loads almost instantly and play always super smooth. I tested this out on Mac OS x, FireFox, Safari, and WinXP in FireFox and IE. The same answer is repeatable. The same exact video chosen via the variable method bindable takes a while to load and playback can be summary.

    What can possibly be the difference between these two methods?

    Let me know if you need more information.

    Thank you

    Dan

    Although you will find your solution, don't forget to close the thread.

Maybe you are looking for