Getting problems while playing video files in flex player

Hi friends,
                Here i can able to play all video file formats like .mp4,3gp,.flv,.swf.But the problem ,i can't able to play mobile recording video files in this player even if that files are mp4 or 3gp or flv.In this scenario,can't understand what should do and where is my problem.So it would be grateful if anybody suggests and share me some idea where i am wrong.
Regards,
abhishek

People use one-player-per-video because you can't reuse player objects. Player is a parent class to a whole bunch of subclasses, each subclass is capable of playing a specific kind of video. So when you create your Player object, you're actually creating some subclass type that's specific to that video type. So while it's technically possible to use a single Player subclass to play more than one video, unless all of your videos are of the same video encoding / audio encoding...you won't be able to reuse it.
What you need to do is dispose of the last player before you create a new player (player.close), and do that over and over again. That way, you're never using more than 1 player's worth of memory...

Similar Messages

  • Starz PLAY "Windows Media Player encountered a problem while playing this file" error!?!

    My laptop running Windows 7 is having the error, " Windows Media Player encountered a problem while playing the file." when trying to play downloaded movies whereas the "live Starz TV" works fine. My netbook is working properly though, anyone seen this before?

    -  if you're still having the issue, make sure you are running all the latest video/audio codec's for windows media player and win 7   and also take a moment to check this article from microsoft.
    http://www.microsoft.com/windows/windowsmedia/player/10/errors.aspx
     if you find an answer let us know what fixed it!
    buggin wrote:
    My laptop running Windows 7 is having the error, " Windows Media Player encountered a problem while playing the file." when trying to play downloaded movies whereas the "live Starz TV" works fine. My netbook is working properly though, anyone seen this before?

  • Windows Media Player encountered a problem while playing the file...

    I am running WMP 11.0.5721.5280. I am running XP SP3 with every update that has come out. I have 4 GB RAM and my processor is a Pentium 4, 2.6GHz.
    I have a large collection of music file ripped from my CD collection. Almost every time I want to plat a music file I get a message; Windows Media Player encountered a problem while playing the file, For additional assistance, click Web Help. When this
    error box is displayed, a red 'X' placed next to the file in WMP.
    When I click the "Web Help" button, I am taken to a MS website (http://windows.microsoft.com/en-us/windows7/c00d11b1) which tells me that I should go to the sound device website and make certain I have the latest driver. All of the advice which
    is given does not apply to me. My sound device works fine! I can play CD, DVD (movies), and MP3 files. Even when I use RealPlayer, the same thing happens, but not as frequently.
    Can anyone offer a solution to this problem?

    They'll help you over here.
    Windows
    XP forums on Microsoft Answers
    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows]
    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

  • My media player is not working, no sound. keeps saying encountered problem while playing the file.

    HP Pavilion g series (g6-1b50us Notebook PC), windows 7, 64-bit.
    My media player keeps saying  it encountered problems while playing a file. and little red x's appearing beside song titles. They did play before. Please help.

    Hi,
    This may happen if the files were moved to a different folder or a different location.
    Try this:
    http://answers.microsoft.com/en-us/windows/forum/windows_7-sound/red-x-symbol-next-to-each-song-whil...
    Note:
    If you have HP Support Assistant installed on the computer(The Blue Question Mark) then open it ==> Complete all pending Updates & Tuneups==> Restart and Check. It may solve your problem
    Although I am an HP employee, I am speaking for myself and not for HP.
    **Click on “Kudos” Star if you think this reply helped** Or Mark it as "Solved" if issue got fixed.

  • How to play video files in flex 3

    Hi,
    i want to play 3gp, wmv, avi or mpeg video files in flex 3. can any one help me in detail. please

    if it is only happening with server side videos it can be a cross-domain policy issue, you can take alook  here for more information;
    http://livedocs.adobe.com/flex/3/html/help.html?content=05B_Security_04.html

  • IPod Touch/iPhone 4s in a BMW - Screen size problems while playing videos since iOS5

    Hi,
    I have an iPod Touch 4th generation 64GB that i use connected to my 2011 BMW M5 purchased with all multimedia and iPod/iPhone options available from factory.
    The car lets me play music and video playlists from the iPod and the videos can be seen on the BMW iDrive screen, when i was in iOS4 everything worked perfectly, but then i updated to iOS5 and one problem arised and then updated to iOS6 and now to iOS6.1 but the problem still persists, basically the problem consists that sometimes video size and aspect ratio of videos displayed in the car display are wrong, and some times the same videos are displayed correctly. It is just random, sometimes is OK and sometimes it is wrong, but when it starts to display wrongly, all videos following are displayed wrongly.
    After trying everything i discovered that while a video is playing with wrong size and aspect ratio, i can correct this behavior, sometimes manually unlocking the iPod and entering the "Music" app and exiting, and sometimes entering the iPod configuration and exiting, just entering and exiting, and sometimes doing both of them one after another. This is a temporary sollution because it is really disturbing to do this process while driving with the iPod inside the cradle in the armrest. I wish i could downgrade to iOS4.1 where i was before and everything worked perfectly, as there are no new features i care in iOS5 or 6.
    I tried restoring the device in iTunes... 5-6 times in total since iOS5 release, tried using an iPhone 4s with iOS6 and the same problem happens, so obviously it is a bug present in latter iOS that it is not initializing correctly the screen when requested by external accessories.
    you can see in this BMW forum other people with the same isue: http://www.bimmerfest.com/forums/showthread.php?t=602131
    I can provide photos or testing if needed
    Thanks and excuse my english.

    You say your turning it off does that mean you are holding in the sleep button and sliding the unit off or does it mean you are just locking the unit with the screen off?
    If you have the Wifi enabled and only have the IPT in standby mode then this is why it's depleting the battery so quickly. Charge the unit till it's full with the little plug showing and then eject it and turn off wifi and leave the unit in standby overnight and see if the battery depletes at all.
    I've noticed that Wifi really ***** the life out of the battery very quickly so give it a try and report back to us.

  • White noice while playing video files

    I experience a white noice and the frame freezes up sometimes when I play converted video files. Often it happens when I have jumped in the file but it can also happen whilst playing the file normally. after some time it goes back to normal but it's still really annoying. Help please.

    i used the videora converter, created a new profile with settings given to me in an ipod forum and converted the video files to ipod format. could there have been a problem with the settings? if so, could you recommend or specify just what settings i should use? or is that depending on what type of file it is?

  • Audio problems while playing videos from superdrive

    Hi, i've got a macbook pro with leopard and a bootcamp partition with windows xp.
    When i play videos (divx or dvds) from my superdrive under windows, i have audio problems (like noise), but the same videos are fine in leopard or if i play them from another storage, for example from usb.
    Perhaps it's a problem with last bootcamp drivers..or maybe there is something wrong with my superdrive. i remember this wasnt an issue when i bought my mac (less then a year ago).
    Thanks in advance for the help.
    Mirko

    I'm having the same problem.
    I had a video file that I had to convert for my iPod & iPhone, after doing so, only a white video screen and just the audio.
    What the heck is going on? it seems like a few people are having this problem!

  • ITunes audio problem while playing video.

    I have purchased several TV episodes which play just fine in iTunes on my HP Windows 7 laptop. However, on my Dell Windows XP desktop, the same videos lose the audio after a few seconds in iTunes, but the same videos play just fine in Quicktime on the Dell.  Can anyone shed some light on this problem? Why would a video work in Quicktime but not iTunes using the same computer?

    Hello dogsters,
    The following article details a number of troubleshooting steps that should help stabilize playback.
    iTunes for Windows XP: Troubleshooting video playback
    http://support.apple.com/kb/TS1386
    Cheers,
    Allen

  • "Connection error" while playing video file ?

    Hello,
    I have created a project in Captivate 5.5, Integrated a Video in it, Its working fine when both are in same folder. Now I changed the video url to http://mysite.com?q=filename, I see player shows "Loading..." some time then shows "Connection error", I checked it with http sniffer, video downloaded successfully but can't play in it.
    So please let me know is it bug or any workarround to solve it.
    I think query paramaters are not working in Video URL.
    Thanks in advance,
    Laxmilal Menaria    

    OK.  What might be happening here is that Captivate expects the URL to be in a particular format and it could be that the way your URL is structured is not compatible with what Captivate expects.
    Take a look at this blog post from the Adobe blogs:http://blogs.adobe.com/captivate/2011/03/workaround-for-video-streaming-issues-in-captivat e.html
    It might give you some pointers about the way that the URL needs to be set up.

  • How to get full file path while uploading a file in flex Applications

    How to get full file path while uploading a file in flex applications.
    FileReference Object is giving file name and other details but not the actual path.
    Is there any workaround to to get the file path?.
    Thanks

    Why not ask in the Flex forum; it is more likely that someone over there knows.

  • Why do I only get the audio when I play video files?

    I only receive the audio portions when I play video files.  The video is blank/black.  This is happening with mpg., avchd and the videos posted to websites; YouTube, Facebook etc.  The only video files I can play are windows media files.  Windows media PLAYER won't play the other video files?  I have the latest updates for my video card and adobe flash player.  Thanks for any info!  Elwood  Windows 7 64 bit, i7 980x @333 6 core processor, 12 GB ram DDR 1600, Radeon 5850 GPU, OCZ Vertex 3 120GB SSD

    It is most likely that the various files contain CODEC's, that are either not installed on your computer, or PrE is not able to use them.
    You list several file types, and I would urge you to first see this FAQ Entry, then get one of the file info utilities, linked in it, G-Spot, MediaInfo, or MediaInspector, then post the details on the various CODEC's: http://forums.adobe.com/thread/440037?tstart=0
    Also, that WMP cannot play the video indicates the likelihood of a CODEC issue.
    Try either of the great, free media players, VLC Player, or MediaPlayer Classic HC. Both contain many useful CODEC's, but they do NOT install them into the OS.
    Good luck, and with the CODEC info, someone can give your recommendations.
    Hunt

  • Hi, I have downloaded some avi files and mov files. i am not getting audio while playing the movie. i tried to play with iTunes, QT, DivX player. but I am getting audio in mp4 files. can u help me to fix this

    Hi, I have downloaded some avi files and mov files. i am not getting audio while playing the movie. i tried to play with iTunes, QT, DivX player. but I am getting audio in mp4 files. can u help me to fix this

    First, back up all data and then uninstall "DivX" according to the developer's instructions.
    Then try this:
    VideoLAN - Download official VLC media player for Mac OS X

  • Problem in playing swf files in IE 6.0

    I am facing a big problem in playing swf files in IE 6.0 with
    the tags object and embed.
    In my current project their is option to upload the swf files
    to oracle db and when ever wants to view that swf file, reading
    that swf from db and displaying in browser, In win 2000 swf file is
    displaying very fine, but not in win 2003 and win xp. and that swf
    file, entire application is using asp.net, C#
    Can anyone tell the problem behind this situation.
    I feel great for any solution.
    Thanks in advance

    > Yes, I put it in the (2) posts above...
    No.. there is no URL in the two posts above .. if there was I
    would not have
    asked for it again
    But now you have, I can have a look (no promises though :))
    BTW: These are your posts in their entirety:
    >>
    Hi,
    I'm brand new to programing, so my knowledge is limited. But
    I'm having a
    similar problem where my swf appears but sits on frame 1. I
    have a
    preloader
    set up on fr2. But it just gets stuck there (fr1). I know the
    plugin is
    installed but not sure why it won't display my movie. I know
    it's
    happeneing
    only with IE and XP and XPpro. Any ideas?
    >>
    >>
    Sorry, I since realized that it's not getting stuck on fr1.
    It's just
    displaying the bg color in the html page while it's waiting
    for the swf to
    load. But the swf never loads. It just sits there. I've tried
    using
    different embed tags, etc. But no-go.
    Here's the first example-
    <body>
    <table width="100%" height="100%" border="0"
    cellpadding="0"
    cellspacing="0">
    <tr>
    <td><div align="center">
    <object
    classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
    codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ve
    rsion=6,0,29,0" width="800" height="600">
    <param name="movie" value="NINA.swf">
    <param name="quality" value="high">
    <embed src="NINA.swf" quality="high"
    pluginspage="
    http://www.macromedia.com/go/getflashplayer"
    type="application/x-shockwave-flash" width="800"
    height="600"></embed>
    </object>
    </div></td>
    </tr>
    </table>
    </body>
    >>
    >>
    Here's another example which is part of the most current
    detection scripts
    from
    Adobe....
    <script language="JavaScript" type="text/javascript">
    <!--
    var hasRightVersion = DetectFlashVer(requiredMajorVersion,
    requiredMinorVersion, requiredRevision);
    if(hasRightVersion) { // if we've detected an acceptable
    version
    var oeTags = '<object
    classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'
    + 'width="100%" height="100%"'
    +
    'codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab">
    + '<param name="movie" value="NINA.swf" /><param
    name="loop"
    value="false"
    /><param name="menu" value="false" /><param
    name="quality" value="high"
    /><param name="scale" value="noscale" /><param
    name="bgcolor"
    value="#46442c"
    />'
    + '<embed src="NINA.swf" loop="false" menu="false"
    quality="high"
    scale="noscale" bgcolor="#46442c" '
    + 'width="100%" height="100%" name="NINA" align="middle"'
    + 'play="true"'
    + 'loop="false"'
    + 'quality="high"'
    + 'allowScriptAccess="sameDomain"'
    + 'type="application/x-shockwave-flash"'
    + 'pluginspage="
    http://www.macromedia.com/go/getflashplayer">'
    + '<\/embed>'
    + '<\/object>';
    document.write(oeTags); // embed the flash movie
    } else { // flash is too old or we can't detect the plugin
    var alternateContent = 'Alternate HTML content should be
    placed here.'
    + 'This content requires the Macromedia Flash Player.'
    + '<a href=http://www.macromedia.com/go/getflash/>Get
    Flash</a>';
    document.write(alternateContent); // insert non-flash
    content
    // -->
    </script>
    >>
    > One is
    http://eliasencpa.com
    > The other is...
    http://www.eliasencpa.com/TEST_091606.html
    >
    > thanks a lot.

  • HT4072 can't play video files (mp4, avi, mkv) with 5.1 audio tracks

    I have two Macs, one with a mini-optical out and no audio through its mini-displayport, and the other that supports digital audio out through its mini-displayport. On either of my Macs, how can I play video files (mp4, avi, mkv) in 5.1 using Quicktime or iTunes or VLC? I've heard I need Perian. Is this true? If so, how do I configure it on either machine?
    Note that when I connect the computer that supports audio through the mini-displayport to my receiver, my home theater receiver detects a PCM audio connection, but the audio I get out of my speakers is still stereo.
    Both computers are running Snow Leopard. I haven't had the need to upgrade to Lion yet, but if the answer is that I need Lion do do this, I'd spend the $29.
    Thanks for the help!

    daedalusman wrote:
    This just happened for the first time with an .mkv file I was trying to play. It started fine but then after selecting a menu option in smplayer the video disappeared. It didn't go black, the player just stopped presenting the video. In other words the player switched to audio playback mode only, the window was unable to go into fullscreen or be resized. Smplayer still works with other HD files. Deleting the config directory fixes the problem until I select a menu option, such as, setting the audio to 5.1, then the video portion disappears again.
    Does anyone know what is going on here or have any ideas on how to fix this issue?
    Thanks for any help provided.
    that's because now mplayer they switch to libavformat demuxer for mkv and ogg and i think is a bug in smplayer because is making some configuration for files in file_settings in which is sets demuxer & co. this switch is confusing smplayer and it should be reported upstream
    p.s if you actually select demuxer from smplayer to mkv it would work perfectly

Maybe you are looking for

  • Finder won't let me view any of by burned photo cd's.

    I've backed up lots of photos to CD. Whenever I do this I check they have been burned properly before erasing them from my mac. Today decided to have a look at some previously burned CD's. At first the CD didn't appear on the desktop at all so I chan

  • Level Based Hierarchy in OBIEE 11g

    Hi, When i am creating a simple level based heirarchy, i am getting error. My Logical table is DIM_EMPMAST and it is having two logical table dim_empmast and dim_dept_mast I have created a logical heirarchy EMPLOYEES and dragged columns from DIM_EMPM

  • Blank opening workspace

    Anytime software I depend on exhibits a glitch on a regular basis, I get a little antsy that something may be wrong that'll develop into something worse. That's why I'm asking for help on this one. When Premiere Elements 10 now opens, the workspace i

  • Hdajackretask line out question

    Hi there! I want to remap (retask) headphones jack (3.5 mm) to act as line out. Trouble is in that I can choose only from "Line out front", "Line out back", "Line out center", "Line out side", but I want just one simple "Line out" to connect to 1 cha

  • Rmi problem

    Hello, I am working with melilta and amilcare both written in java. My problem is when I try to run the melitaserver it shows the error message: "Melita startup script Using AMILCARE_HOME: "." "D:\j2sdk\bin\java" -Xmx200M -Djava.library.path=./runtim