Video onStatus function not working
Hello,
I'm developing an app that's utilizing a lot of video.
Whenever I integrate a pause/play button the onStatus function
doesn't work. Therefore I can't make the app execute a command
whenever the video stops playing. If I let the video play through
without hitting pause/play, onStatus works. Has anyone encountered
a similar problem?
Any input would be greatly appreciated.
-d
hmmm, I just did a test and it worked for me. The I pasted
all the actionscript below. There is text field called status_txt
and a video object called vid_video. I am using softkeys to quit
and pause play. Hope this helps.
Nick
if (inited == null){
inited = true;
fscommand2("FullScreen", true);
fscommand2("SetSoftKeys", "Left", "Right");
var deviceSoftkeys:Boolean =
(System.capabilities.hasMappableSoftKeys);
if(deviceSoftkeys){
for(var thing:String in System.capabilities.videoMIMETypes
var searchString:String =
System.capabilities.videoMIMETypes[thing];
var index:Number;
index = searchString.lastIndexOf("3gpp");
if(index == -1){
status_txt.text = "Device not capable";
}else{
status_txt.text ="This Will Increase Your Bill?";
function playVid(){
vid_video.play("rtsp://yourserver/yourvideo.3gp");
function pauseVid(){
vid_video.pause();
function closeVid(){
vid_video.close();
function resumeVid(){
vid_video.resume();
vid_video.onStatus = function(info){
status_txt.text ="onstatus fired";
playVid();
var myListener:Object = new Object();
myListener.onKeyDown = function() {
if (Key.getCode() == ExtendedKey.SOFT1) {
// Handle left soft keypress event.
closeVid();
status = fscommand2("Quit");
} else if (Key.getCode() == ExtendedKey.SOFT2) {
trace("soft2 fired");
// Handle right soft keypress event.
if(playStop_txt.text == "Play"){
trace("if fired");
playStop_txt.text = "Pause";
status_txt.text = "streaming please wait..."
playVid();
}else if(playStop_txt.text == "Pause"){
trace("else if fired");
playStop_txt.text = "Resume";
status_txt.text = "Paused";
pauseVid();
}else if (playStop_txt.text == "Resume"){
playStop_txt.text = "Pause";
status_txt.text = "Playing";
resumeVid();
Key.addListener(myListener);
Similar Messages
-
Video Filter does not work.
Hello.
I have been using Final Cut Pro 4 for a while and it worked fine before. But recently, any function of Video Filter does not work. I apply them to the clip, but the image does not show any changes on Canvas.
Is the software's problem?
Thanks in advance.
YingFor a reason unknown to me, FCP's preference files (there's 3 of them) will sometimes become corrupted and need to be trashed. Usually the symptoms are things just not working as they did earlier, or weird issues like the 3 Way Color Corrector looks different than before ... stuff like that.
FCP Rescue is a freeware app (yes, you'll need to download it) that will create a backup set of preferences, thereby retaining all of your settings. Then when (not IF, but when) FCP's preferences become corrupted, you can run FCP Rescue to replace the bad set with a fresh new set.
Otherwise you can delete the files yourself (make sure FCP isn't open at the time) and the next time you launch FCP, it will revert back to the factory settings.
-DH -
Installed Premiere Pro CS4 but video display does not work?
I just got my copy of CS$. After installing Premiere I found two things that seem very wrong:
1) video display does not work, not even the little playback viewer next to improted film clips located on the project / sequence window. Audio works fine.
2) the UI is way too slow for my big beefy system.
My pc is a dual boot Vista-32 and XP system with 4GB of memory installed and nvidia geforce 280 graphics board with plenty of GPU power. The CS4 is installed on the Vista-32 partition. My windows XP partition on the same PC with Premiere CS2 works great and real fast.
Any ideas how to solve this CS4 install issue?
RonI would like to thank Dan, Hunt, and Haram:
The problem is now very clear to me. The problem only shows up with video footage imported into PP CS4 encoded with "MS Video 1" codec. So this seems to be a bug. The codec is very clearly called out and supported within various menues but video with this codec just will not play in any monitor or preview window. In addition the entire product looks horrible with respect to performance while PP CS4 trys its best to play the video. Audio will start playing after about 30 seconds. And once in awhile part of video shows up at the wrong magnification before blanking out again.
My suggestion to the Adobe team: fix the bug and add some sample footage to the next release so new installations can test their systems with known footage.
My PC is brand new with the following "beefy" components:
Motherboard
nForce 790i SLI FTW
Features:
3x PCI Express x16 graphics support
PCI Express 2.0
NVIDIA SLI-Ready (requires multiple NVIDIA GeForce GPUs)
DDR3-2000 SLI-Ready memory w/ ERP 2.0 (requires select third party system memory)
Overclocking tools
NVIDIA MediaSheild w/ 9 SATA 3 Gb/sec ports
ESA Certified
NVIDIA DualNet and FirstPacket Ethernet technology
Registered
CPU: Intel Core 2 Quad Q9550
S-Spec: SLAWQ
Ver: E36105-001
Product Code: BX80569Q9550
Made in Malaysia
Pack Date: 09/04/08
Features:
Freq.: 2.83 GHz
L2 Cache: 12 MHz Cache
FSB: 1333 MHz (MT/s)
Core: 45nm
Code named: Yorkfield
Power:95W
Socket: LGA775
Cooling: Liquid Cooled
NVIDIAGeForce GTX 280 SC graphics card
Features:
1 GB of onboard memory
Full Microsoft DirectX 10
NVIDIA 2-way and 3-way SLI Ready
NVIDIA PureVideo HD technology
NVIDIA PhysX Ready
NVIDI CUDA technology
PCI Express 2.0 support
Dual-link HDCP
OpenGL 2.1 Capaple
Output: DVI (2 dual-link), HDTV
Western Digital
2 WD VelociRaptor 300 GB SATA Hard Drives configured as Raid 0
Features:
10,000 RPM, 3 Gb/sec transfer rate
RAM Memory , Corsair 4 GB (2 x 2 GB) 1333 MHz DDR3
p/n: TW3X4G1333C9DHX G
product: CM3X2048-1333C9DHX
Features:
XMS3 DHX Dual-Path 'heat xchange'
2048 x 2 MB
1333 MHz
Latency 9-9-9-24-2T
1.6V ver3.2 -
Satellite 1800-100: video-out does not work
He,
I just installed windows XP on my old Satellite 1800-100, but now my video-out does not work anymore. So I just downloaded the latest driver, but there's no way I can get it installed. According to Windows the new driver isn't newer, so it won't let me update it. And when i try to unistall the display driver, I have to reboot before it takes effect, and wile rebooting it automaticly installs the standard driver again.
Can anybody help me?
Greets,
DaanHi
Do you mean TV- out port or monitor port? As far as I know this unit is preinstalled with WXP Home and all drivers can be also used for WXP Pro.
Did you preinstall your own OS (non recovery image)? -
I have a spare Mac Pro here so I decided to remove the video card and put it in the one I'm using. Both machines were purchased in '09 and use the same video card (ATI Radeon HD 2600). The two monitors I have hooked into the original video card work fine but the monitors I hooked into the newly placed video card are not working. Under the About This Mac specs >> PCI cards it shows up and says driver is installed. Is there anything special you need to do to get a second video card to work?
Thanks.I tried the SMC reset. I removed the card and reseated it. I'm seating it in slot 2 because that's the only other one that is x16. The other slots 3-4 are x4. Still nothing is showing up. When I go to System Preferences >> Displays >> Detect Dispalys nothing happens. The two displays plugged into the original video card work fine but the newly installed on does not show up. Here is what the Mac Info is detecting. Maybe this makes sense to someone. Not sure what MSI is referring to and the second video card is reading as "display" instead of "ATI Radeon HD 2600". Link speed on the second card is half that of the original.
About This Mac >> More Info >> PCI Cards >> Slot-1
ATI Radeon HD 2600:
Name: ATY,Lamna
Type: Display Controller
Driver Installed: Yes
MSI: Yes
Bus: PCI
Slot: Slot-1
Vendor ID: 0x1002
Device ID: 0x9588
Subsystem Vendor ID: 0x106b
Subsystem ID: 0x00a6
Revision ID: 0x0000
Link Width: x16
Link Speed: 5.0 GT/s
About This Mac >> More Info >> PCI Cards >> Slot-2
display:
Type: VGA-Compatible Controller
Driver Installed: Yes
MSI: No
Bus: PCI
Slot: Slot-2
Vendor ID: 0x10de
Device ID: 0x0393
Subsystem Vendor ID: 0x0000
Subsystem ID: 0x0400
Revision ID: 0x00a1
Link Width: x16
Link Speed: 2.5 GT/s -
Not able to sign into Blackberry Protect. Backup and Restore function not working. Message is: "Your device isn't associated with a Blackberry ID." My Blackberry Messenger and Blackberry World is working fine so I am sure its not an ID issue on the phone. I can sign into Link, Blackberry.com and Protect. I see my device in Protect but cannot send messages or view it on a map. Times out with cannot reach device message. BB Protect on Device has a swirling circle beside the on/of switch. Cannot turn off.
I have deleted Link and re-installed.
I have reset phone to default(factory) and signed in.
OS level is 10.2.1.3062
BB Link is 1.2.3.56
Solved!
Go to Solution.I managed to figure this out myself. I had to delete the device from the Blackberry Protect website. protect.blackberry.com. I wiped my device again and signed in with my Blackberry ID. I dont know if the step of wiping was necessary as I did not try my backup with the current configuration on the device following the delete. Restore is in progress for me!
-
Video tag is not working in firefox how can we remove this error
Video tag is not working in firefox. In this some kind of mmie type error Kindly remove this error .If you have any kind of solution,Please tell me how can it fix it?
Can you post a link to a publicly accessible page that doesn't require authentication (signing on) where you see such a not working video tag?
Do they work here?
*Firefox Videos: http://www.mozilla.com/firefox/video/
See also:
* https://developer.mozilla.org/en/Media_formats_supported_by_the_audio_and_video_elements -
DVI video out suddenly not working.
That's basically it. I have a 23-inch Cinema HD Display at home and at the the office. Suddenly the video out is not working with either of them. The displays control panel lists the external display, so the system is detecting the connected display.
There is nothing wrong with the displays. I connected an old PowerBook and they light up fine. With my MBP, the power light lights, but nothing is displayed on the Screen.there's a somewhat similar thread "external monitor stopped working" with no answers
my 17" Studio display works as 2nd mon on other computers
my dvi out does work with a vga monitor and adapter, of course :))
i'm using the dvi to adc adapter -- could this be involved somehow?
my laptop display goes blue when i plug in the external monitor as it should, but the 2nd monitor never wakes up, turns on, etc. -
Stereo video recording is not working after updating to ICS
hii am Dilu from India. I updated my xperia mini (ST15i) to ICS. After that stereo video recording is not working. Last week i found a new ICS update and i upadated to build .587 , now also the same problem exsists. Somebody please help
Solved!
Go to Solution.As I understand the the audio during video recording will be recorded in mono running on ICS.
- Community Manager Sony Xperia Support Forum
If you're new to our forums make sure that you have read our Discussion guidelines.
If you want to get in touch with the local support team for your country please visit our contact page. -
hhi guys
my video recording sounds not working at all but it's working for other things such as music. I've tried to clear my sound thing near the earphone hole but had no success can someone please help me out?Had an Iphone 4 for about 3 months now. This happened to the first one I had and they ended up having to replace it at the apple store just a couple weeks ago 6/2. It happened again last night to my new one. This time i was able to correct it by going to itunes, backing up the phone to icloud, and then restoring the software. Mine did not work with voice memo, but did work with headphones plugged in, and would also work on speaker. I could hear callers but they couldn't hear me. I had purchased a new case (lifeproof case at $79.99) because it comes with plugs that cover the headphone jack, and the charging port, and is also waterproof. I heard that the root cause is due to lint, dirt, etc getting inside the headphone jack. Well, must be something else. It's a 10 days old phone, and has been in this overpriced case the whole time, and I have not used the headphones. I hope this doesn't keep happening.
-
Copy/paste function not working in Firefox 22. Always good in previous versions
Copy/paste function not working in Firefox 22. Always good in previous versions editions
Well I've uninstalled FF22, thanks for the suggestion.
Chrome works perfectly with ZA and C&P. -
My Video chat is not working with messages.
When someone tries to send me an invite for a video chat the green light shows up but I do not receive and invitation window to accept it.
I am using an aim account on messages and my server settings are api.oscar.aol.com, port 443, and use SSL is checked.
In connection doctor is says my router type is port restricted and that "This computer's network setup includes one or more devices that are not fully compatible with audio and video chatting. I am not sure if this is the reason my video chat is not working.
If anyone can help me please let me know.Hi,
Most routers can be accessed via Web Browser.
The IP shown in System Preferences > Network > Advanced Button > TCP/IP tab in the "Router IP" box is generally the one to use.
You also tend to need a User ID and Password.
Apple Base Stations are different in that they have an App in the Utilities folder that accesses the set up screens.
Your router can have different methods of opening the ports.
Port Forwarding
This tends to be the oldest of the methods.
Essentially you point a port to an IP (computer) to allow it.
A collection of ports may need to be entered one by one.
Once set up, only that computer can use those ports.
Port Triggering
This cuts down the number of ports set to be Open as it involves "listening" ports that then open further ports
iChat/Messages needs some ports to be open all the time and you set these a bit like Port Forwarding but with listing the IP to send the data to.
The A/V side can have a listening port (port 5678 for the Visible part of the Invite)
The advantage is that multiple computers can use the same ports.
DMZ (Demilitarised Zone)
This is an ON or Off setting (Enable/Disable)
It opens all the port (65535 of them) to one IP (i.e only one computer can use this.)
It is sort of like Port Forwarding Extreme
UPnP (Universal Plug 'n' Play)
A setting that allows the App to tell the router which ports to open.
This means the router can carry on doing DHCP and multiple computer can use the ports involved.
Where these setting are varies at least as much as there are manufacturers.
This is Linksys Port Forwarding (the arrows above the pic show the Others (it does not show DMZ)
7:47 PM Thursday; September 27, 2012
Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
iMac 2.5Ghz 5i 2011 (Mountain Lion 10.8.2)
G4/1GhzDual MDD (Leopard 10.5.8)
MacBookPro 2Gb (Snow Leopard 10.6.8)
Mac OS X (10.6.8),
Couple of iPhones and and iPad
"Limit the Logs to the Bits above Binary Images." No, Seriously -
Why is the scroll function not working after accessing the voice feature in settings?
Why is the scroll function not working after accessing the voice feature in settings?
For some prerecorded audio files the Transpose slider will not work reliably. I found no clear pattern, when it does and when not.
If all fails, create a loop from the audio file. Select the region in the track and use the command "File: Add region to Loop library".
Set the current key and tempo, name the loop, and save the loop.
Now add it from the loop browser to a new track and delete your old track. The search field in the Loop browser will help you to find the loop quickly.
You will be able to transpose the sample as described above, like a regular loop.
For example - a audio file turned into a loop and transposed: -
MDX -Children count function Not working in Case statement
Hi,
I am trying to create set when you slice with the Hierarchy member is leaf level , I want a output only that Leaf level .
and When I slice with the parent level , it has to give all the members below that parent level.
But the problem here is when I select child member or leaf member , The first condition in the Case is not working
WITH SET
TESTSET AS
CASE
WHEN
[Dimension].[Hierarchy].currentmember.children.count<0
THEN
[Dimension].[Hierarchy].currentmember
ELSE
DESCENDANTS([Dimension].[Hierarchy].Currentmember,,AFTER)
END
SELECT
WBSSET ON 1,
{} on 0
FROM
(SELECT {[Dimension].[Hierarchy].&[10]} ON COLUMNS FROM [CubeName])
Thanks,
SantoshHi Santosh,
I don't think Children count function not working in case statement, I have tested it on my local environment, here s the sample query for you reference.
with member
testset as
case
when
[Geography].[Geography].currentmember.children.count<10
then "X"
else "OK"
end
select testset on 0,
{[Geography].[Geography].[Country].members} on 1
from
[Adventure Works]
In your scenario, the issue might be caused by the query isself, you can try to use IsLeaf Funcion to achieve your requirement. Please refer to the links below.
http://msdn.microsoft.com/en-us/library/ms144932.aspx
http://www.databasejournal.com/features/mssql/article.php/3633696/MDX-Operators-The-IsLeaf-Operator--Conditional-Logic-within--Calculations.htm
http://www.mdxpert.com/Functions/MDXFunction.aspx?f=22
Regards,
Charlie Liao
TechNet Community Support -
Palm Desktop 6.2.2. and Lookup function not working in Windows 7
Palm Desktop's lookup function not working in Windows 7 64bit. Please help.
Post relates to: Centro (Verizon)
This question was solved.
View Solution.I was able to solve this by unchecking compatibility mode and setting the application to run as administrative.
Maybe you are looking for
-
We're having a recurring issue where users start getting 'cannot access the file' error messages when trying to view documents in document libraries, it'll start with the larger files (over 10mb) and spread eventually to all documents in all librarie
-
Sharing software package with non-global zone
I've installed Solaris Studio 12.3 to a global zone on Solaris 11 following instructions from http://pkg-register.oracle.com which I want to make available to the non-global zones. Do I need to install it independently for all zones, or can I export
-
Spotlight serch not working properly
Dear all.. I do not exactly know when this problem start, cuold be a cost of a server or client update. But suddenly the search with Spotlight from a OSX 10.5.8 on a 10.5.7 OSX Server does not find the file I am shure are in the server, in folder abv
-
How can I use the roles in work flow
Hi Experts, I am having a requirement to send the mails to the particular roles, when the status of the document is changed. how can I accomplish my requirement?
-
So I used OnLocation to capture some live video, and it crashed during shot 5. Now when I go back to the project, I see in the shot list, shots 1, 2, 3, 4, and 5, but there seems to be no file associated with shot 5, just a circle arrow for the OnLoc