Dynamic Streaming - problems with MP4 (h.264)

Hey Flash Guru's
Im wondering if anyone have had any similar problems with the MP4 (H.264) format when implementing Dynamic Streaming using a FMS server?
Basicly we developed a player that detects the users bandwidth and plays the appropiate VOD stream (500, 1000 or 1500 kb/sec). Its tested with NetLimiter and works perfectly switching bitrates/files during the movie with both MP4 (h.264) and FLV (On2Vp6).
The problem occurs when you seek (jumps in the progressbar). When playing the MP4 files the player often uses 2-10 seconds to start the stream again. But when using FLV files the seeking is seamless and starts the stream within 2 seconds everytime.
So my question is if the FMS servers, Flash or the Dynamic Streaming got an issue with MP4 files?
Any help would be appreciated.
Best regards
Bo
Denmark

H264 content does take quite a few images to get rolling before playback starts.  That's normal but it shouldn't take 10 seconds - it sounds like your buffer length might be overly long and it's taking a while to fill up after the seek.  Consider keeping a short buffer like as small as 0.1 seconds for playback starts.  Once you get your Play.Start or your Buffer.Full message then you can adjust the buffer length on the fly to something longer to handle the bumps.
It's also possible that you're getting the high bandwidth stream again when you seek by mistake.  Check your server logs to see that you're getting the play that you're expecting there.
Asa
FMS

Similar Messages

  • Problems with mp4 (h.264) files, colour desaturated.

    Hey guys. I've been having problems with mp4 h.264 files (not quicktime h.264). When playback on windows media player and windows classic media player it looks terrible. the saturation are weird (espesially on colours like yellow and red) and there seems to be this weird blur on the image. For so long I thought there was problem with the export from Premiere Pro, today however when playback on Quicktime player or VLC player it matches the orginal. I exported the file through premiere pro. I don't know what the problem is, maybe it's just the playback on windows media player and window classic media player.
    Playback on quicktime
    Playback on media player
    Can someone tell me what's going on?

    When playback on windows media player and windows classic media player it looks terrible. the saturation are weird (espesially on colours like yellow and red) and there seems to be this weird blur on the image... when playback on Quicktime player or VLC player it matches the orginal...
    On the contrary, with more than high probability playback in QuirkTime shows you wrong colours because of its crooked colour management.
    How do you judge on colour matching between your source file and what you see in media players?
    What is your spec and GPU in particular? Do you use any sort of colour management in its settings?

  • Importing problems with MP4 files.

    A friend of mine wanted me to make a DVD  with some media files that they sent me (all with .mp4 extentions). I've just purchased CS6 Premuin Pro so I thought I'd try ENCORE to do it with (previously I've been using DVDStyler). However I had problems with importing the mp4 files they sent. Some of the files import OK, but with others I get this error:
    Couldn't import file FILENAME, Quicktime and/or the appropriate codec do not appear to be installed.
    Now I did have Quicktime Alternative, along with the K-Lite Mega Codec Pack installed. Did a bit of searching and found advice to remove the K-Lite pack and Quicktime Alternative, and update with Quicktime and another set of Codecs (I've installed the Windows 7 codec pack v4.06, as I'm using Win7). However, I'm still getting the same error message when I try and import some of the files. I don't know their origin or what created them as such. However, I did download a copy of MediaInfo and got the following for each type of file.
    A file that imports OK:
    Format                              
    : MPEG-4
    Format profile                      
    : Base Media / Version 2
    Codec ID                            
    : mp42
    File size                           
    : 257 MiB
    Duration                            
    : 57mn 12s
    Overall bit rate mode               
    : Variable
    Overall bit rate                    
    : 629 Kbps
    Encoded date                        
    : UTC 2012-10-08 02:42:29
    Tagged date                         
    : UTC 2013-05-13 04:48:47
    gsst                                
    : 0
    gstd                                
    : 3432140
    gssd                                
    : BADC21C45HH1368304023137487
    gshh                                
    : r18---sn-ntq76n7s.c.youtube.com
    Video
    ID                                  
    : 1
    Format                              
    : AVC
    Format/Info                         
    : Advanced Video Codec
    Format profile                      
    : [email protected]
    Format settings, CABAC              
    : No
    Format settings, ReFrames           
    : 1 frame
    Codec ID                            
    : avc1
    Codec ID/Info                       
    : Advanced Video Coding
    Duration                            
    : 57mn 12s
    Bit rate                            
    : 530 Kbps
    Maximum bit rate                    
    : 2 652 Kbps
    Width                               
    : 640 pixels
    Height                              
    : 360 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.092
    Stream size                         
    : 217 MiB (84%)
    Tagged date                         
    : UTC 2012-10-08 02:42:31
    Audio
    ID                                  
    : 2
    Format                              
    : AAC
    Format/Info                         
    : Advanced Audio Codec
    Format profile                      
    : LC
    Codec ID                            
    : 40
    Duration                            
    : 57mn 12s
    Bit rate mode                       
    : Variable
    Bit rate                            
    : 96.0 Kbps
    Maximum bit rate                    
    : 104 Kbps
    Channel(s)                          
    : 2 channels
    Channel positions                   
    : Front: L R
    Sampling rate                       
    : 44.1 KHz
    Compression mode                    
    : Lossy
    Stream size                         
    : 39.3 MiB (15%)
    Title                               
    : IsoMedia File Produced by Google, 5-11-2011
    Encoded date                        
    : UTC 2012-10-08 02:42:30
    Tagged date                         
    : UTC 2012-10-08 02:42:31
    A file that doesn't import:
    Format                              
    : Flash Video
    File size                           
    : 269 MiB
    Duration                            
    : 56mn 55s
    Overall bit rate mode               
    : Variable
    Overall bit rate                    
    : 661 Kbps
    liveXML                             
    : <?xpacket begin="" id="W5M0MpCehiHzreSzNTczkc9d"?>
    Video
    Format                              
    : AVC
    Format/Info                         
    : Advanced Video Codec
    Format profile                      
    : [email protected]
    Format settings, CABAC              
    : Yes
    Format settings, ReFrames           
    : 6 frames
    Codec ID                            
    : 7
    Duration                            
    : 56mn 55s
    Bit rate mode                       
    : Variable
    Maximum bit rate                    
    : 555 Kbps
    Width                               
    : 640 pixels
    Height                              
    : 360 pixels
    Display aspect ratio                
    : 16:9
    Frame rate mode                     
    : Constant
    Frame rate                          
    : 25.000 fps
    Standard                            
    : Component
    Color space                         
    : YUV
    Chroma subsampling                  
    : 4:2:0
    Bit depth                           
    : 8 bits
    Scan type                           
    : Progressive
    Audio
    Format                              
    : AAC
    Format/Info                         
    : Advanced Audio Codec
    Format profile                      
    : LC
    Codec ID                            
    : 10
    Duration                            
    : 56mn 55s
    Channel(s)                          
    : 2 channels
    Channel positions                   
    : Front: L R
    Sampling rate                       
    : 44.1 KHz
    Compression mode                    
    : Lossy
    Just what is the problem here? Why will the first type of file import OK, but the second not, and what can be done about that (do I need to load an extra codec, and if so what)?  The odd thing is that using a program like DVDStyler, I can load those files and actually build a DVD. And yes, I know that's an entirely different program, but it just seems odd to me that an open-source program seems to do something Encore can't (and I'd much rather use Encore to build DVDs). No doubt this is something obvious but I'm a novice with Encore and Premiere, so I'm missing it anyway.

    Codec packs, even the "better" ones, do not typically provide codecs that Premiere and Encore can use.
    The "problem" file is a flash format (whether it is an mp4 container or not).
    "Consumer" type DVD authoring/burning applications, and even more so, all in one apps like windows movie maker etc, may be more "powerful" when you are trying to take a large range of formats and create a DVD with relatively few options. This is not Encore's strength.
    Encore will reject almost anything that has flaws it isn't able to handle, but more importantly (once you get to this step), it will treat as noncompliant (and  re-transcode) anything that is not DVD compliant.
    My guess is that you need to get  the flash into something that will work better for transcoding to DVD compliant.
    I would first try to bring one of the problem files into Adobe Media Encore, and see if you can export an MPEG2-DVD file.
    Not that, while there are some less known DVD resolutions, I assume you are going to end up with 720x576 PAL. I wonder what the quality will look like....
    If you are just looking to get the files onto a DVD to play on a DVD player, just stick with DVDStyler.

  • Problem with mp4 files

    hi
    i am having a problem with importing mp4 files in itunes library. i have saved music from my nokia phone to my laptop using zune and it has properly saved everything in mp4 format (little strange but true that it uses mp4 format for music). now when i want to import these files into itunes, it does nothing. i am able to play the songs using quick time. Can anyone help. thanks

    Kasa,
    Thank for the tip. I have been having the same issue lately and I couldn't find the answer anywhere until now. However, I am subscribed to a work podcast that outputs mp4 files created on a PC with AVid formated with the H.264 compression using Sorenson Squeeze 4.5 and iTunes will not download them. When I had an episode emailed to me the file extension name change worked. But still, subscribing to the feed is pointless if I can't even download it to change the extension.
    While this may sound like a minor thing it is important to me because it is work related and I want to be sure everyone, no matter what platform can consume them. I am using iTunes 7.4 too. Did I miss a critical Quicktime update along the way? I have Quicktime 7.2 - the latest version.
    Thanks.

  • Streaming problems with C7000 40 inches samsung led tv for netflix and utube

    hi
    i have led 40 inch c7000 samsung tv. first 3 days i dont have any issues for netflix and utube streaming.
    after three days problems started for streaming. intermittently disconnecting .
    i thought it is problem with wireless router and i bought linksys E3000 series  wireless router but still the problem exists.
    please let me know is there any problem with tv

    Is it disconnecting or buffering (where it has to wait for the stream to catch up)?  If it is buffereing it may have to do with time of day and what source you are using.  I was playing around with Amazon Video on Demand Saturday night and while trying to watch an HD preview there was a lot of buffereing going on, when we rented a movie today (Sunday early afternoon) the movie didn't buffer once.  In doing some research on various video on demand services it appears some of them have streaming issues based on time of day (Friday and Saturday nights).  There could also be an issue with your internet service provider.  Depending on what level of service you have your connect speed may not be fast enough so that at times it works, but when their network is busy they throttle your connection speed down and you get buffering.
    If you were watching over this past weekend, there were probably a lot of people firing up their new TV's/blu ray players and streaming video (Amazon and Vudu are both handing out credits for new subscribers) which could have slowed things down.
    Do you have a computer hooked up wirelessly to the router?  If you do Vudu has a speed test website (google "Vudu speed test") that does an extended download which will give you a good idea of your average download speed.  When I have tried it at different times of the day it has given different results.  Vudu also has info on what speeds you need for different qualities of video streaming.
    Henry

  • Static/Dynamic PDF problem with Forms 7.0

    Hi all
    I wonder if anyone has an answer to this?
    I'm having problems with getting the instance manager to work correct in a couple of forms. It works great if I preview in Designer (8.1) or render through ES 8.2, but since we haven't upgraded our production environments yet, I'm stuck with Forms 7.0 there. And when I try to render with that, the form is simply not working as it should...
    My guess is that Forms 7.0 chooses to make the form static instead of dynamic, but how to change this behaviour from the xdp? I've checked all the options of making it a dynamic xdp via Forms->Properties and checked just about everything I can come up with, but it's simply not working right now... anyone with ideas?
    What I'm trying to do is to hide subforms depending on what the user has chosen in a different form (html), so that the user won't see irrelevant data. It's been done before but now it seems like Forms 7.0 wants to run the forms static always.
    I've contacted Adobe support for a week ago but still haven't got anything from them leading me the right way. That's the reason I'm now asking here if anyone has any good idea...
    A bit more information about what I've tried:
    When I set min instances to 1, they are all visible but then they don't hide.
    If I don't set minimum instances to 1, they don't display at all in forms 7.0 when choice Repeat subform for each item is set.
    Using initialCount set to 1 do no good.
    Doesn't matter if I use setInstances, addInstance or removeInstance as far as I've been able to see. I have also tried using presence = "hidden"; but with no luck.
    If the prefill xml file is using appropriate xml syntax, it shows correct number of subforms but since I also wants to hide irrelevant subforms, it's not an acceptable solution.
    Thanks in advance for any tips.

    Yes. I could add an "Of course" but it has happened before that it's something that simple. Been scratching my head for at least 4 hours just today and at least the same amount of hours before so I think I've narrowed out all the simple stuff but I might have missed one..
    Any more tips? One strange issue is the fact that the form behaves different if the prefill xml file is structured in different ways. Nothing to do with prefilling, just how the PDF itself behaves.

  • Netflix Streaming Problem with new AppleTV 1080

    Hi there,
    I have had a AppleTV 2 720 for two years. It has been working perfectly with Netflix. I have a new AppleTV 1080 and the streaming from Netflix is awful. The picture drops definition and the audio goes out of sync and sometimes it just comes up with an error message. I have BT Infinity (30+mbps) and never have any issues streaming from Netflix via two or three devices at any one time. I have searched forums with no solution. I have tried lowering from 1080 to 720 on AppleTV, (kind of negates the purchase of a 1080 device though, eh), restarted and restored the AppleTV, logged out and into Netflix. The super HD picture when working is great but not sure if AppleTV 1080 is suited to Netflix. Surely I can't be the only sufferer here, please help! Thank you....

    I found this hidden away on the forum:
    This is what worked for me. It was posted by BenFinklea so he deserves the credit. Since I've done these steps I've had no streaming issues. I agree that it's an Apple issue and not a Netfix one. All my other devices on and off the same network stream just fine. To test this I even bought a Roku LT which I love, especially for the money and it streamed flawlessly. I perfer the format of my Apple TV so I was glad to have it operational again! Good luck.
    Use Google’s Public DNS Server To Fix Apple TV Streaming Problems
    1. Navigate to Settings >> General >> Network and select Configure TCP/IP.
    2. Select “Manually” next to Configure IP.
    3. Dont change the IP address or the Subnet Mask and Router Address. Just click "Done".
    4. Set the DNS Address screen with the following: 008.008.008.008 and click “Done.”
    You should now be able to stream Netflix on your Apple TV.
    I moved the Apple TV unit away from other electronics and rebooted the router/BT Hub and restarted Apple TV. I did the fix as above and it seems to be ok. Will update soon! Thanks Winston....

  • Apple TV streaming problems with itunes

    Apple TV streaming problems. Since recent last update to AppleTV when I try to streams movie or tv show from iTunes sometimes it is fine sometimes it takes hours (Hd or Sd). No problem with netflix. Wifi is not super strong in location but this was not a problem at all before update. Any suggestions?
    Paul

    ok.
    this is not a solution to your problem, but you didn't need to do that just to remove it from appletv. you could have simply unticked the item in your library and that would have made it not available to appletv. you could also have amended your sync options. you don't need to delete something from your library just to remove it from appletv.
    however back to your problem. it sounds like the appletv is not syncing the changes to your library. you should restart your appletv and see if that forces the change.

  • tv streaming problems with AirDisk

    Hi all.
    I have an AirPort Extreme g network running with my MacBook Core Duo and my tv. There is an extensive video library on two external AirDisks attached to the AirPort Extreme. Streaming works fine for all media and for used to work pretty well for most of the videos. Recently, however, is is more a rule than an exception that video streams stutter and have to rebuffer, and this is really unusable. I don't know what have changed, I have perused the forums for some concrete advice, but not found any that could help me. I have been toying with my ethernet cable to see if wiring the MacBook would help, but it didn't.
    Is there a problem with the network as such? Do I need to tweek the configurations in AirPort Utility, and if so, what should I tweek?
    Are there any tips out there that might help me?
    Thanks in advance,
    Rikard

    I don't have anything encouraging to add to the conversation, but I thought my experience trying to do what you are might be helpful.
    In short it never really worked. When I tried to use a setup almost exactly like you describe, I finally gave up because even with the video encoded at an average bit rate of 1800 Kbps (slightly higher than the iTunes Store sells) the video was never smooth, it constantly had to re-buffer every few seconds and iTunes locked up a lot. In my opinion, what you want to do simply isn't possible.
    I ended up settling for having the external HDD that contains my video directly connected to my MBP via FireWire. Now, it works perfectly. I can stream video from my MBP to my Apple TV with almost no stutters or buffering.

  • PP CS4 Problem with exported H.264 .mp4 video. Can't AME do proper encoding?

    Trying to export a Video of ~60mins using the H.264 Codec .mp4 which converts in AME successfully, allthough when playing back the f
    ile, it has problems after ~40mins. When i try to jump to a later point in the timeline to playback i.e. 48th minute or 50:10 or wha
    tever, the image freezes, audio continues and it takes 10-20 secs untill the video image continues.
    I tried different playback programms like VLC,Windows media etc. and different compressions 2-5Mbps as CBR and VBR1 / 2, nothing cha
    nged.
    Source is Sony DV and i have some still images as .png. Since the first 30mins work alright, i thought i try out if something with t
    he source material in the timeline is causing the problem , so i cut after the 30st minute and copied the first 30mins behind that
    to get a 60mins video, but exaclty the same playback issue after ~40th minute.
    Is this an most likely a problem caused by AME using H.264 .mp4 Codec?
    Other videos i did months before in the same way using the same source material worked fine. Adobe Premiere and AME is up to date!
    Thank you

    hmn sounds like it makes sense. I have seen that "i-Frame in GOP" somewhere in PP i think.
    Allthough i recall that i had videos i exported which played fine till the end with no delay at a later seek distance.
    I noticed that quicktime player has the same issue but is much quicker than VLC.
    Is there a work arround or alternative? Can it be improved?
    I need H.264 & .mp4 for webpodcast on vimeo.com
    The only thing which looks strange to me ist that the lenght of the delay showing the images (i guess finding it) takes almost the same time
    as on other later point like at the very end. Id assume that if its normal behavior the delay should become bigger and bigger with a later point in time ?
    Appreciate your time to answer jim,Thanks
    Markus

  • Live stream problem with FMS 4.5 + FMLE

    Hi,
    I've got a live stream (and DVR) setup using FMS 4.5 and FMLE.
    The hardware for the FMS server we use is 2x Xeon E5645 2.4GHz, 32GB RAM, OCZ RevoDrive R3 X2 PCI-e SSD. Installed OS is CentOS 5.8.
    We have 6 workstation PCs, each equiped with 4 BlackMagic Intensity PRO capture cards and FMLE 3.2. Using these PCs we stream Live video to FMS server.
    Video stream is grabbed from HDMI cable, to BlackMagic Cards, which are encoding by FMLE using H.264 format, 700kbps bitrate per stream.
    Video stream is published to server through RTMP stream, which is later saved for DVR in RAW format. We only keep 3 days of recording and delete the old ones.
    Server and Encoder PCs are in the same network, connected by gigabit managed switch.
    The problem I'm having is that after 10-15 hours FMLE starts to drop frames, because video buffer is increased. What I observed is that this happens immediately when Server CPU load increases above 60%.
    Based on the above observation I decreased the number of channels streamed by the server to 10, which reduced CPU load. But the problem still persists.
    Whenever I restart FMS and delete all DVR data, the CPU load (when streaming 10 live channels) is only 1%, but after 2 days CPU load increases to 50-60%.
    Whenever I restart FMS and don't delete DVR data, the CPU load is 5-10%, and after 2 days it still increases to 60-70%.
    Another thing I observed is that there is only single fmscore process running, but it has lots of threads which are switched on and off in split seconds. These threads are launched on different CPU cores, but at any given point in time the distribution of the load isn't equal among CPU cores. This leads certain CPU cores being loaded by more than 60% and frame drops start to occur.
    For the moment there are just 10 users watching this service, so I don't think this load accounts for the problem.
    Has anybody had similar problem, or know how can I optimize or finetune the system to run without problem? I would appreciate any suggestions.
    Another thing I noted through last couple of days:
    When I was restarting FMS the CPU load was reduced to 30%, but after 1 week past when I restart it CPU load only goes down to 75%. Everything is the same, nothing has been changed and there is no disk IO issues involved.
    P.S. I've modified application.xml using these values:
    <Scope>vhost</Scope>
    <Distribute numprocs="5">app</Distribute>
    <LifeTime>
    <RollOver></RollOver>
    <MaxCores></MaxCores>
    </LifeTime>

    Hi
    How many channels are you publishing?
    If there are too many channels, it is recommended to have one  FMSCore process start for each of them. To do so, you will have to change the scope to app.
    ---snippet---
    <Application>
    <Process>
        <Scope>app</Scope>
       <Distribute numprocs="3">inst</Distribute>
    </Process>
    </Application>
    Also, to delete older content, you will have to enable disk management. Refer http://help.adobe.com/en_US/flashmediaserver/devguide/WSeb6b7485f9649bf23d103e5512e08f3a33 8-8000.html#WSec225f632fa00875-23954b6f1300b641158-8000 for more info.

  • Streaming problem with iOS8.02

    After an update without problems to iOS 8.02 on my iPad Air i still have problems streaming videos (i.e. from amazon instant video). The video starts but after some minutes the WLAN-connection is lost and I have to re-connect to my WLAN and start the stream again. With iOS8.0 the streaming didn't work at all, but befor that update I hadn't any problems. Is there a known bug in 8.02? I want to mirror the screen from my iPad to AppleTV via airplay and after a broken streaming connection the mirroring still works.

    Contact Honda. Sometimes an IOS update breaks compatibility
    Also sometimes this helps:
    - Reset the iOS device. Nothing will be lost      
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Unsync/delete all music and resync
    To delete all music go to Settings>General>Usage>Storage>Music>Tap edit in upper right and then tap the minus sign by All Music
    - Reset all settings                            
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                               
    iOS: Back up and restore your iOS device with iCloud or iTunes
    - Restore to factory settings/new iOS device.                       

  • Streaming problem with Apple TVe

    i have an ATV which I have been using to stream the contents of my iTunes library from my Late 2009 iMac to my HD TV. Of late, I think since tthe last update to the ATV software, the waiting wheel just keeps spinning for a very long time when I am trying to watch a movie. The movie does start playing after a very long time but then stops, apparently when it has used up the data it has buffered. It starts playing again after it has stored up some more data but after a long time and stops again after a while.
    There seems to be no problem streaming music or displaying photos. It seems to be a slow wi-fi problem, but the network signal strength seems fine, four to five bars out of the maximum five.
    Would be grateful for some pointers to a solution.
    Thanks in advance

    Intermittent problems are often a result of interference. Interference can be caused by other networks in the neighbourhood or from household electrical items.
    You can download and install iStumbler (NetStumbler for windows users) to help you see which channels are used by neighbouring networks so that you can avoid them, but iStumbler will not see household items.
    Refer to your router manual for instructions on changing your wifi channel or adjusting your multicast rate.
    There are other types of problems that can affect networks, but this is by far the most common, hence worth mentioning first. Networks that have inherent issues can be seen to work differently with different versions of the same software. You might also try moving the Apple TV away from other electrical equipment.
    The following article(s) may help you.
    Troubleshooting Wi-Fi networks and connections
    Recommended Wi-Fi settings
    Sources of Interference
    Wifi Diagnostic Software (for Mac users)
    You may also find some help on this page, where I’ve collected some of the more unusual solutions to network issues.

  • V4.0 Dynamic Action - Problem with implementing disabling/enabling button

    I'm having trouble implementing the following APEX V4.0 dynamic action:
    The enabling/disabling of a button when a text field is not-null/null.
    I'm following the example in Oracle's Advanced APEX course notes Pgs 5-13 to 5-16. I can get it working with no problems using two text fields. The example states that the "Select Type" for the button is a DOM object and you then have to enter it's name in "DOM Object" attribute. The example uses a "CREATE" button in a region position. Is "CREATE" just the Name attribute of the object? Is that what we are suppose to enter here? Also my FIND button is a "button among the region items" and not a "button in a region position" as in the example. The name of the button is P1_PAT_TBRN_SEARCH but when I use it as the Dom Object, nothing happens. Also I am using the "Key release" event for the text field that must be not-null.
    I notice that Demitri Gielis on his blog couldn't get it working either (see last paragraph)
    http://dgielis.blogspot.com/2010/01/apex-40-dynamic-actions-part-1.html
    Any suggestions?
    thanks in advance
    Paul P
    Edited by: PaulP on Jun 2, 2011 12:01 PM

    Hi Paul
    Two separate situtations here:
    - html buttons
    - template based buttons, typically comprising multiple html elements
    HTML Buttons
    These should be easy to enable/disable using dynamic actions, specifying an appropriate DOM selector.
    Typically you would use the ID attribute of the button, so that's straight forward except for one catch..
    APEX supports a #BUTTON_ID# template substitution tag , but performs substitutions only for buttons in Region positions and not for button items.
    Use button attributes instead to assign a specific ID.
    Template Buttons
    Since these are made up of multiple elements, you need to treat them as a single object to be able to interact with them easily.
    APEX provides the apex.widget.initPageItem method to integrate plugins with the dynamic actions framework:
    apex.widget.initPageItem("P1_MY_ITEM", {
    enable: function(){},
    disable: function(){},
    getValue: function(){},
    setValue: function(){},
    nullValue: "%null%"
    });This provides you with a mechanism to over-ride one or all of these built-in methods with your own JS, to use custom code to enable/disable your template buttons.
    For an example on how this works, look in the uncompressed apex_widget_4_0.js file, search for the shuttle widget.
    You could just add code to initialize your template buttons manually, or better still create a plugin button to add the code automatically.
    This is reasonably advanced work to do, but you really have to take your hat of to the APEX team for providing the mechanism to do it.
    Regards
    Mark
    demo: http://apex.oracle.com/pls/otn/f?p=200801 |
    blog: http://oracleinsights.blogspot.com |
    book: Oracle Application Express 4.0 with Ext JS

  • Problems with MP4 files in PE8

    First I would like to thank all that helped with my previous questions, I have completed that simple project and started another. I have downloaded a MP4 file to hard drive and when I try to open it in Elements it locks up. Do I need to convert it to another format before loading into Elements? Thanks.

    With that odd Frame Size, I also worry that the camera mfgr. might have "tweaked" the H.264 CODEC. That is unfortunately too common. If they have, and are really caring, they will include their version, possibly on a utility CD/DVD, or installed with either the camera's driver, or maybe included editing software.
    As for the trial of PrE 9, you should have no issues having both it, and PrE 8 installed. Remember, some elements in PrE 9 trial will not activate, and there is also a watermark in the trial versions.
    Good luck,
    Hunt

Maybe you are looking for