Scheduled flv playback in fms
Hello,
Is there any way to stream videos based on a time schedule?
For example, I'm looking to play one video at 8 am, another video
at 10 am, etc. and everyone who views the stream will be at the
same point in the video, regardless of when they loaded it.
Create a stream on the server side based on the time of day
(use the date object on the server side) and play the file you
want. Then when a client connects up, have them play the stream
that the server is playing.
This seems to be a common request on this forum.... here's a
link to an article I wrote that does that for MP3 files on FMS.
Same idea, just use FLV files:
http://www.adobe.com/devnet/flashmediaserver/articles/live_dj_app.html
Similar Messages
-
FLV Playback Component - specifying an image before it plays
I am using the FLV Playback Component to play a video.
Instead of playing automatically, I want to be able to set an image
(or a frame of the movie) to display and only play the movie after
the user clicks the play button. I can't find anything anywhere to
explain how to do this or a workaround for it. Can anyone point me
in the right direction? thanks.Actually, I'm just trying to access the movie controls in the
FLV Playback component, so I can adjust how the work.
This does not work:
this.movie.forward_mc.addEventListener(MouseEvent.MOUSE_DOWN,someFunction)
Neither does this:
MovieClip(this.movie).forward_mc.addEventListener(MouseEvent.MOUSE_DOWN,someFunction) -
Stuttering flv playback issue- need help asap
We need help asap. Have a project is due to deliver today (5/14).
We have a video to go on a dvd-rom, live action with Motion Graphics behind.
When output is done thru Projector the Motion Graphics stutter as they scroll.
Here is more technical info:
Stuttering flv playback issue:
Prores 422 timeline 29.97fps 1280x720 output from fcp using current settings.
Mov file is approx 7gb, plays relatively smooth on a mac pro with no raid.
Frame by frame analysis shows all frames are present with no jumps tears or skips.
Tried several output paths, programs and settings to create a smooth flv file to no avail.
We adjusted data rates from 2k, 3.5k, 4k and 8k, no luck
We adjusted keyframe rates from low to all frames, no luck.
We tried cs3 flash encoder, cs5 media encoder, squeeze ect, same results.
Playback in the flash projector seems to choke slightly no matter what we do.
Have also posted in the Director Forum.
Any help much appreciated!Here are a few ideas off the top of my head:
Try playing the file using a different xtra, sometimes different ones will work better. If you have Director 11.5, there is a native flv playback xtra.
You can build a player easily in Flash using the flvPlayback component, then bring that into Director as a swf.
Once you have the video in Director, try making the member Direct To Stage (DTS). If it is already DTS, try making it not DTS.
Make sure the video is not transparent, and nothing in Director overlaps the video... in fact, when the video is playing, nothing should be moving at all, and try to keep the amount of code that is running to a minimum.
Try lowering your video's data rate further or try using a different codec.
Using VBR (Variable Bit Rate) compression often makes the video appear to play smoother.
Try compressing the flv with different software. FFMpeg, for example, is free and does a very good job, often better than the Flash Video Encoder that comes with Flash/Creative Suite. -
How do you make the black area in an FLV playback white or transparent
Trying to make the FLV playback black area white or
transparent, because there is a black flash that shows up when play
the movie. I am trying to alleviate this by changing the black area
to another color or alpha.In your publish settings, click on the HTML tab and look for
a field entitled 'Window Mode'. One of the choices is 'Transparent
Windowless'. This should work if you have objects that don't have
backgrounds. If you are looking to make video transparent, so far
in my experience, the only video I have been able to make this work
with is a Quicktime Animation with the RGB + Alpha. Also, when you
import your video to the stage, make sure to click on the 'Encode
Alpha Channel' box. That will give you the transparency you're
looking for. -
AS 2.0 FLV playback multi videos
I've set up FLV playback for one video, but need to allow
users to choose the next movie they want to view (non linear), as
well as allow them to click through each movie in a linear fashion.
Not sure what code to attach to buttons to:
1. Allow non-linear video playback
2. Allow the if/then/else option of going through each video
in a linear manner--thinking should attach code to fwd button
Code below, any help would be much appreciated! thx
//------NETCONNECTION SETUP--------------------
var nc:NetConnection = new NetConnection();
nc.connect(null);
//------NETSTREAM SETUP--------------------
var ns:NetStream = new NetStream(nc);
ns.onStatus = function(info) {
if(info.code == "NetStream.Play.Start") {
progressBar.onEnterFrame = videoUpdate;
ns.onMetaData = function(info) {
ns.duration = info.duration;
//------ATTACHING NETSTREAM--------------------
video.attachVideo(ns);
//------PLAYING EXTERNAL FLV--------
ns.play("sample pics.flv");The person above is correct but assure you enter into component inspector, and change the the parameters of the component.
-
Auto/Hide with Flv playback doesn't work with javascript lightbox, need help?
Hi everyone,
i created some swf loading a flv file in a flv playback and
check on the auto/hide parameter. When i test the movie it works
very well. BUT, in my website, i put those swf files in Lightbox
(javascript computed) and when the mouse goes Over the flash video,
it shows the Skin player and when the mouse goes Out, the Skin
player stays over the video!? Why? Does someone has an idea on how
to force the auto/hide paramater in this case?
Thanks for your help
OrlenkaFound this post when searching for an answer, but didn't find much elsewhere so I'll post my quick and ugly solution here. I'm sure it can be vastly improved, but I didn't have much more than 5 minutes. Note - setting .visible to false just ended up causing the autohide transition to occur over and over, so instead I'm just temporarily moving the whole sprite offscreen.
(AS3, using CS5 component... note that 'player' is the FLVPlayback instance):
//### force 'autohide' when mouse inactive
var timer:Timer = new Timer(1500, 0);
timer.addEventListener(TimerEvent.TIMER, onTimer);
timer.start();
var skinSprite:DisplayObject;
var prevMouseX:Number;
var prevMouseY:Number;
function onTimer(e:TimerEvent):void {
//get skinSprite if we haven't already
if(!skinSprite) {
var child:DisplayObject;
for(var i:Number = 0; i < player.numChildren; i++) {
child = player.getChildAt(i);
if(i == 2) { //this is the skinSprite
skinSprite = child;
//check to see if mouse hasn't moved since last timer event
if(skinSprite && mouseX == prevMouseX && mouseY == prevMouseY) {
skinSprite.y = -1000;
prevMouseX = mouseX;
prevMouseY = mouseY;
stage.addEventListener(MouseEvent.MOUSE_MOVE, stage_onMouseMove);
function stage_onMouseMove(e:MouseEvent):void {
if(skinSprite) {
skinSprite.y = 0; -
Flash 8 pro flv playback behaviors
Could someone show me where I can get the FLV playback
component behaviors
for flash 8 pro? I couldn't find them on the Adobe exchange.
Thanks
-markI got them, thanks.
> That came from here
>
http://www.adobe.com/devnet/flash/articles/flvplayback_behaviors.html -
Best method for flv playback in flash 8
group,
i am currently trying to get to grips with flv playback with
flash 8. i have come across a number of methods for flv playback
within flash 8 and am curious to know the difference between
methods and ultimately if there is such a difference discover which
is best. I have had a few issues with some methods and was
wondering if it was because that method sucks.
In particular i am looking for the best method for allowing
custom skinning of the player with the ability to have a player
somewhere on stage without it being stapled to the darn flv file.
METHOD1:
var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);
theVideo.attachVideo(ns);
ns.play("testmovie.flv");
METHOD2:
import mx.video.*;
this.attachMovie("FLVPlayback", "my_FLVPlybk", 10,
{_width:360,_height:240,x:0, y:0});
my_FLVPlybk.skin = "SteelExternalAll.swf"
my_FLVPlybk.contentPath = "testmovie.flv";
my_FLVPlybk.autoSize=true;
my_FLVPlybk.autoPlay=false;
what are the differences??
any help would be much appreciated. Thanks for your time and
expertises,
Flash fan.Adobe has announced that it has ceased development of Flash for mobile phones (in favour of HTML5, and due to the opposition of both Apple and Microsoft to allow support of Flash for their mobile operating systems), so from that direction neither Microsoft nor Nokia is going to get any help.
If the Adobe Flash Video format specification is publicly available to use or to license (I don't know if it is), then at least Microsoft could implement support for it, if they wanted to (Nokia might not have sufficient rights from Microsoft to add new codecs to Windows Phone).
So, you might direct your question primarily to Microsoft, rather than Nokia (of course, a Microsoft representative will probably read this, too, but whether they'll response or not is another matter). -
AJAX and Actionscript to Control FLV Playback Skin
I have AJAX running on an application that opens up a new panel displaying a flash video. The flash video uses one of the FLV Playback skins. When I play the video on the panel, everything is fine. But, when I close the panel with the javascript-enabled button, the video would still play even though the panel and video are "gone" from the html page.
I was looking into using javascript to talk to actionscript to control the FLV Playback skin's stop function so that when the close panel function is activated, the video play's stop function would be called. How do I find out the path to and the name of the stop function inside the playback skin? Is it possible to call the stop function inside the FLV Playback skin? Or, would it be easier to create my own video controller?
I hope this is clear. Any help is appreciated. Thanks.I don't clear your questions
Regards,
nha khoa
nhua
gia cong
nhua
gia cong chi
tiet
khuon mau
thiet ke web
do dung cho be -
H.264 end loaded MOOV ATOM in f4v or flv playback
I'd like to know that if I wrap H.264 video that has the MOOV ATOM located at the end inside an F4V or FLV file, can playback start before the MOOV ATOM is loaded (ie. before the file is completely read)?
I've been trying for several months to get someone to MOOV the ATOM to the front so playback of our videos will start playing sooner. I'd like to confirm/unconfirm this question.
Also, the videos are continually generated by our embedded system, so running an after-the-fact app. is not under consideration.
Thanks in advance!
GWell, unfortunately Flash was the universal format, and then Steve Jobs decided that he did not like Adobe. As most browsers on Earth were FLV playback enabled and if not, were only a quick, free download away. Now, it seems that Apple's devices will only work with flavors of MOV. One can still download and install Apple's QT Player (though several recent versions did not work well with Adobe programs - Steve Jobs sabotage?).
Instead of coming together on universal formats/CODEC's, it seems that many wish to fragment the market to support just their products. One is at the mercy of these hardware and software companies. Producers probably should now do several versions of everything, if they wish to cover all bases. Someone will have to download and install something.
Good luck,
Hunt -
Make flv playback exact fit to window project not desktop
hi , first i want to say i use Flash Cs5 - flash player 10 - As3
i want when i click on full screen button on flv playback component my flv player window goes to exact fit my flash window not my desktop or even better if i can set resolution for full screen mode ....
i have strange problem the full screen function not work in any third party flash protection and projector tools ...
finally i found some component that use some As2 script to make full screen button function to exact fit window and it`s interensting cause this flv player works well in test movie mode !!!
as the full screen function in default Flash Cs5 not work in test mode and you must run swf directly from local or run projector ...
i realize that when the full screen function works in flash test movie ( ctrl + enter ) mode it work in another third party tools too ...
i don`t now why but maybe some security reason in As3 dont let it run from test movie and another third party tools ...
what can i do about it ??
how can i write script for my flv playback component to read new function for full screen mode and set it to exact fit window ( project ) not my desktop ( the size of project not chang at all and only flv player resize to my window )
is this possible to set resolution for Resize mode ?!?
is this possible to create a button for this ??!?
i know i ask many Questions and maybe u confued as i am now , but i have spend a week to solve this problem , checking all third party tools and no success , even i post my problem to many forums ...
pleaseeeeeeee help meuse:
fs_btn.addEventListener(MouseEvent.CLICK,f);
var flv_pb_x:Number=flv_pb.x;
var flv_pb_y:Number=flv_pb.y;
var flv_pb_h:Number=flv_pb.height;
var flv_pb_w:Number=flv_pb.width;
var fs_btn_offsetX:Number=flv_pb.width+flv_pb.x-fs_btn.x;
var fs_btn_offsetY:Number=flv_pb.height+flv_pb.y-fs.btn.y;
function f(e:MouseEvent):void{
if(flv_pb.width<stage.stageWidth){
flv_pb.width=stage.stageWidth;
flv_pb.height=stage.stageHeight;
flv_pb.x=0;
flv_pb.y=0
fs_btn.on_mc.visible=false;
fs_btn.off_mc.visible=true;
} else {
flv_pb.width=flv_pb_w;
flv_pb.height=flv_pb_h;
flv_pb.x=flv_pb_x;
flv_pb.y=flv_pb_y;
fs_btn.on_mc.visible=true;
fs_btn.off_mc.visible=false;
fs_btn.x=flv_pb.width+flv_pb.x-fs_btn_offsetX;
fs_btn.y=flv_pb.height+flv_pb.y-fs_btn_offsetY; -
FLV Playback repeats first second of video
I'm having trouble fixing a problem with an flv playback issue. A main swf loads a child swf which preloads a movie. If the movie is preloading and you close the child swf with
_global.lightBox = false;
_global.nc.close();
unloadMovieNum(2);
The global variable lightBox is set to false so when the video is fully loaded it sees that lightBox is false and does not try to play. The global variable nc is the movie's netConnection. The problem occurs when you click to close the movie and then try to load the movie again. What happens is it stays on the preloader going from 1 to 99 over and over again while playing the first small bit of the movie's sound.
I can give more information if needed, thank you for any help.
EdHave you tried using the MovieClipLoader class instead of unloadMovieNum?
-
Video Freezes when overriding flv files on FMS server
I have an flash application that captures a web cam video stream and stores it on the FMS server.
I notice when I create a brand new video, and store it on my FMS server, it works fine.
When I make another video and my application overrides the file with the new video, this is where I get problems.
When I download the flv file from the FMS server, and I play it locally it plays fine, but the timeline is weird.
The web player freezes the video during that first 15 seconds.
A 30 second video, will have a time line of like 45 seconds, the local flv player is smart enough to skip over the paused part of the video.
You will see it skip over the timeline to the good video (from 0sec to 15 secs). The web player freezes the video during that first 15 seconds.
Any clues that I described that makes you know what is going on?Great that gives me a big clue, which asc file do you think I need to look in?
/mnt/applications/livepkgr/main.asc
/mnt/applications/multicast/main.asc
/mnt/applications/live/MemberClips/MemberClips.asc
/opt/adobe/fms/samples/applications/vod/main.asc
/opt/adobe/fms/samples/applications/livepkgr/main.asc
/opt/adobe/fms/samples/applications/multicast/main.asc
/opt/adobe/fms/samples/applications/live/main.asc
/opt/adobe/fms/scriptlib/framework.asc
/opt/adobe/fms/scriptlib/webservices/XMLSchema.asc
/opt/adobe/fms/scriptlib/webservices/SOAP.asc
/opt/adobe/fms/scriptlib/webservices/Namespace.asc
/opt/adobe/fms/scriptlib/webservices/ServiceManager.asc
/opt/adobe/fms/scriptlib/webservices/XMLSchemaDataTypes.asc
/opt/adobe/fms/scriptlib/webservices/Log.asc
/opt/adobe/fms/scriptlib/webservices/XMLUtil.asc
/opt/adobe/fms/scriptlib/webservices/SOAPConstants.asc
/opt/adobe/fms/scriptlib/webservices/WSDL.asc
/opt/adobe/fms/scriptlib/webservices/WebServicesClass.asc
/opt/adobe/fms/scriptlib/webservices/WSDLConstants.asc
/opt/adobe/fms/scriptlib/webservices/WebServices.asc
/opt/adobe/fms/scriptlib/webservices/XMLSchemaConstants.asc
/opt/adobe/fms/scriptlib/netservices.asc
/opt/adobe/fms/scriptlib/application.asc
/opt/adobe/fms/scriptlib/facade.asc
/opt/adobe/fms/applications/MemberClips/MemberClips.asc
/opt/adobe/fms/documentation/samples/livestreams/main.asc
/opt/adobe/fms/documentation/samples/StreamLength/main.asc
/opt/adobe/fms/documentation/samples/HelloWorld/HelloWorld.asc -
Flash player version 11.7 doesn't breaks FLV playback
Hello,
Since the last 11.7 update, with chrome and ff on win 7, the FLV vidéo in a AS2 player don't work. I tested on many computers.
http://asp-gb.secure-zone.net/v2/index.jsp?id=1879/2428/6978&lng=en&startPage=7
Click on the picture with the play button. Video will show up playing but with no sound, and after 7.2 sec it stops alone, play pause won't make it start, only the seek can un-break it.
So 2 PB :
-no sound
-stop after few seconds
I'm a flash dev. I looked for error, nothing in the flashlog.txt. When i trace the time property on an enterframe, it shows the progress until the time freezes.
When installing flash player 11.6 or an older version, everything works so it's definitly this version's fault.
We have tons of hosted videos online and our customers begin harrasing us with this problem, please provide a solution (new release maybe I can dream)
Please at least run some test and acknoledge the problem so we can communicate to our client.
best regardsHi,
No news since I created the bug, it is still unverified. I worked all monday to try some workaround without success.
We decided that we can't do anything for the moment so we completely rely on Adobe for the continuity of our service.
The worse is that the same video player class, executed in another context in the same webapp manage to keep the netstream going. It seems that some conditions trigger the playback problems. -
Hi there.
I use the NetStream class to play FLV's and on some computers
the playback is from slow to crawling speed. I even buffer the
whole movie before playing it and still are problems on those
computers. This problem is particulary met when playing large files
with alpha channel ranging from 2- 15 MB file size.
On my computer they work well on other computers and laptops
the playback lousy.
Is there anyway better to play videos and alpha channel
videos?
Any suggestions for the best practice to improve performance?
Thanks a lot.Hi there.
I use the NetStream class to play FLV's and on some computers
the playback is from slow to crawling speed. I even buffer the
whole movie before playing it and still are problems on those
computers. This problem is particulary met when playing large files
with alpha channel ranging from 2- 15 MB file size.
On my computer they work well on other computers and laptops
the playback lousy.
Is there anyway better to play videos and alpha channel
videos?
Any suggestions for the best practice to improve performance?
Thanks a lot.
Maybe you are looking for
-
I am trying to raise a event in one of classes of userControl, and Fire it in the Main class. I tried two different ways to fire this event, one of them works, But I still want to know why other way cannot work, and how to fix it. My userContol class
-
Hi all , I have an exchange 2010 SP 2 environment with 2 sites , the remote site FL free busy has NEVER worked and I get this error on the remote site , is this related ? thanks Log Name: Application Source: System.ServiceModel 3.0.0.0 D
-
Quarter to months drilldown problem
Hi, I need to create a repprt in which i need to calculate net sales for a quarter. and then when i drilldown on the quarter i should get monthly figures. Can someone please tell me how to implement this. Thanks
-
My husband downloadeda ringtone he would like to use but we do not know how to apply it. He gota samsung galaxy nexus
-
Attempt to create & implement a domain which may hold ArrayList SelectItem
IDE used - JDeveloper 11.1.1.3 Hi, I tried to create a new domoan with the following class *public class SelectItemList implements DomainInterface, Serializable {* private ArrayList<SelectItem> array; private ArrayList<SelectItem> lst; *public Select