Muilti-Streaming FLVs problem
im working on this template and have been fine so far untill
now when trying to add more than 1 streaming FLV in the WORKS
section, the first video works fine on the first viewing of that
page but if you click on the first thumbnail again the video just
gets stuck on the buffering loop, also if you try to click on
another thumbnail (the first 4 are video) they just dont seem to be
working just get stuck on the buffering stage again im sure there
somthing little or somthing in my face thats wrong but i just can
see it.
to view the site and see what i mean click on the link below
and goto the WORKS section
[url=http://www.nwmsltd.com/flash]http://www.nwmsltd.com/flash[/url]
this is the thumbnail button code
on (rollOver) {
gotoAndPlay("s1");
on (releaseOutside, rollOut) {
gotoAndPlay("s2");
on (release) {
if (_root.k<>1) {
_root.g1 = _root.g;
//this tell Flash which frame to goto in the gall movie clip
_root.g = 1;
_root.text="01";
_parent._parent._parent.gall.gotoAndPlay("s1");
this is my streaming video code which is in the gall movie
clip which is holding bid _p movie clip where all the code is on
the first 4 frames the following code is on each frame just the
video url is different
More or less a duplicate of http://forum.java.sun.com/thread.jspa?messageID=4053075
Similar Messages
-
When i stream .flv i have no image, only white background but
when i try in progressive work without problem!!
Anyone have a idea?
thxI think you need to create a Video object, drag it to the
stage, set its dimensions, give it a name (try "theVideo") and then
in actionscript, prior to _ns.play(), run this:
theVideo.attachVideo(_ns);
Then call _ns.play(). See if that helps! -
Streaming .flv cue point problem
I’ve been working with Flash video with synced slide
presentations since February, which have been exclusively download
streaming, all based on the presentation available at the adobe web
site:
http://www.adobe.com/devnet/flash/articles/vidtemplate_corppreso.html
My issue has come up when using this template with streaming
flv’s, the buttons that I use to reference the cue points in
the video and slides on the timeline do not work reliably;
sometimes they will shuttle the video and slides to the correct
point, usually they move the slides on timeline to the appropriate
spot and the video jumps back to the beginning. Besides this
sizable problem, the presentation plays the way it is supposed to.
Is there a setting in the component inspector that I’m
missing? Should I re-encode the video with Navigation cue points?
Any help would be appreciated.
LIf you look at the source code for the first link you'll find this at line 71:
<p id="player1" style="margin: 0px; padding: 0px; text-align:center;"><embed type="application/x-shockwave-flash" src="http://www.thebellyfatsolution.com/flvplayer.swf" style="" id="player1" name="player1" quality="high" wmode="transparent" allowscriptaccess="always" allowfullscreen="true" flashvars="height=390&width=504&file=http://www.thebellyfatsolution.com/beta/video/BellyFatFINAL_6_30_nL.flv&link=http://www.th ebellyfatsolution.com/beta/video/BellyFatFINAL_6_30_nL.flv" height="390" width="504"></p>
<p><noscript>
Apparently your video has been encapsulated in JWPlayer. You can find out more about JWPlayer here: http://www.longtailvideo.com/players
This seems to be yet another solution to a problem that doesn't exist, and whoever runs that website fell for the sales pitch. -
Hi ppl,
I'm trying to play streaming FLV files using FLVPlayback
component.
Some of those FLV files have different resolution. When the
FLVPlayback property "maintainAspectRatio" is set to "true", it
runs correctly, but, sometimes, with some black bars or spaces on
the right because the component resized it and let the same aspect
ratio.
When I set that property to "false", the FLV video fits
exactly the size of the component area, but when I click to change
to next video, it fails, the component doesn't play the next video
=\
I searched and found that was a bug of the FLVplayback
component, so I updated it and didn't resolve..
Any suggestion?
Thanks...I think you need to create a Video object, drag it to the
stage, set its dimensions, give it a name (try "theVideo") and then
in actionscript, prior to _ns.play(), run this:
theVideo.attachVideo(_ns);
Then call _ns.play(). See if that helps! -
Hello, I've got some strange problems with flash 8 and
importing video files. The problems started yesterday with me
creating a streaming flv using the flv playback wizard, the file
worked for me locally and online but was not viewable to anyone
else, I got a version working for everyone but now I can't import
any videos to convert and get an error message when ever I try. In
terms of how we're set up i'm working locally in that all the files
are on our development server and then uploaded via ftp to the host
server, i'm thinking it could be something to do with the local
files being on our development server rather than my pc but i'm not
sure, has anyone else had similar problems? We tried uninstalling
flash 8 yesterday and putting it back on, afterwards it kept trying
to run the contribute installer when ever I right clicked on .avi
files. We then let it run the contribute installer and it gave an
error message halfway through about some file in flash. Any ideas
would be appreciated.Oh boy. With Adobe Captivate at least, when you do an
uninstall and reinstall there are key folders that do not get
recreated and you manually have to move folders from the disk to
your HD. Hopefully this doesn't happen with Flash, but that may
take some investigating.
Some of the Adobe experts here have stated that going across
a server is a bad idea. Before you do any encoding move the file to
your local HD.
Lastly, post the exact error messages. -
Hi folks. Very new to the Flash Media Server. Have 2.0.3
installed on a W2k3 box. Pretty much spent all day looking for
documentation to help me stream .flvs. I though the docs for CF
were bad. :(
I have no problem with the concept of getting a action script
to call the server. However, everytime I try calling the server it
tells me that the application isn't setup. So I go searching
through the PDF that came with the install of the server, and it
doesn't really talk about creating applications other than to click
the button in the administrator to add a new instance. When I do
that, nothing happens.
Can anyone point me to the next step to do after the server
is installed and is up and running?
Also, I don't want this server to be an edge server. However,
it seems to think it is one (maybe this is normal?). All the
activity is going on in my edge.00.log files.
Some of this is vague, I know, but I'm at a loss as to where
to go next (short of calling support) to get this server up and
running.I am sorry to hear you don't like our documentation. I may be
a bit biased
but I actually think the documentation is pretty
good. Please do me a favor and give it a second chance.
I suggest to start with flashmediaserver_developing.pdf (in
your documentation subdirectory of the FMS root) - it gets
interesting on page 14 et sqq.
In short, this is what you have to do:
- create a subdirectory in [FMS_ROOT]\applications
the name of the directory is the name of your application.
Let's call it "foo":
[FMS_ROOT]\applications\foo
- this is where your server side scripts go to
- if you want to stream FLVs and MP3s, you need a directory
called "streams":
[FMS_ROOT]\applications\foo\streams
- Now the media content needs to sit in an application
instance. You may put this into the default instance:
[FMS_ROOT]\applications\foo\streams\_definst_ (please create
it - it won't be created automatically)
or create another instance:
[FMS_ROOT]\applications\foo\streams\bar
- When you code your client, you need to make a netconnection
to:
rtmp://yourfmshost/yourapplication/yourinstance
please note that the streams directory does not show up here
In our case it's:
rtmp://yourfmshost/foo/bar
or for the default instance
rtmp://yourfmshost/foo/_definst_
but because it's the default instance you may omit it as
well:
rtmp://yourfmshost/foo
- When the NetConnection is established you need to create a
stream on this connection and play your video.
Please also have a look at the Devcenter for FMS - there are
many samples and easy to use step-by-step tutorials there that will
be of help for you.
http://www.adobe.com/devnet/flashmediaserver
Regarding your concerns about the edge process:
Every FMS Server always runs 3 processes: master, core and
edge. In short, the edge is the process which talks to the client,
the core runs the actual application and the master looks after
them - more details are in the docs
so it's nothing to worry about.
The edge
server is something else, i.e. a FMS install that can act as
a proxy to an origin server. This is part of the enterprise version
of FMS (also referred to as "Origin / Edge").
Have fun using Flash Media Server! -
Player control for flash animation containing streamed FLVs
I need to learn how to build a player that will control my animation when it contains 3 or more streamed FLVs. I also need it to be functional during development of the animation so that I can provide partial animations to my sound guy to sync voices, music, and sfx. Are there any good tutorials out there? I can find FLV player controls, but I need to control a Flash movie that contains FLVs.
Thanks!
Jerry TannerHi Charlotte,
You don't say what your version of Windows you have. Assuming XP, go to Start | Run, type DXDIAG and click OK. Click the Sound tab and run the tests to eliminate a hardware problem first of all. If you don't hear anything, check your cables first of all. Also make sure "Mute" isn't checkmarked in your sound setup. You'll find that in Windows Control Panel.
Which browser do you use? If you have Firefox 4, sign up to the HTML5 trial @ http://www.youtube.com/html5
HTML5 is the latest video standard and doesn't require Flash player. Google is in the process of converting all its files to work with the new format. It may solve you problem. If you don't have Firefox 4, you can get it from here: http://www.mozilla.com/en-US/firefox/fx/
IE8 doesn't support HTML5.
To clean out your temp files, go to Start | Run, type: CLEANMGR and click OK. Click OK again to start the utility. Tick all the boxes except "Compress old files" because the latter takes too long, and then click OK. You can run this utility any time you wish by the way.
The above steps will hopefully fix your problem. If not, post here again please. -
Socket Stream Communication Problem
[My Server code]:
import java.io.*;
import java.net.*;
import java.util.*;
public class testserv {
public testserv() {
public static void main(String[] args) {
try {
ServerSocket ss = new ServerSocket(8999);
Socket so = ss.accept();
System.out.println("accept");
InputStream a = so.getInputStream();
BufferedReader br = new BufferedReader(new InputStreamReader(a));
System.out.println(br.readLine());
System.out.println(br.readLine());
ObjectInputStream ois = new ObjectInputStream(a);
String aa = (String)ois.readObject();
System.out.println(aa);
so.close();
} catch (Exception e) {e.printStackTrace();}
[My Client code]:
import java.io.*;
import java.net.*;
import java.util.*;
public class testcli {
public testcli() {
public static void main(String[] args) {
try {
Socket so = new Socket("140.114.79.236", 8999);
OutputStream out = so.getOutputStream();
PrintWriter pw = new PrintWriter(out, true);
pw.println("test");
pw.println("test2");
ObjectOutputStream oos = new ObjectOutputStream(out);
oos.writeObject(new String("test3"));
oos.flush();
so.close();
} catch (Exception e) {e.printStackTrace();}
When i use client connect to server, the output should be
accept
test
test2
test3
but the output is
accept
test
test2
java.io.EOFException
at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2165)
at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2634)
at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:734)
at java.io.ObjectInputStream.<init>(ObjectInputStream.java:253)
at core.test.testserv.main(testserv.java:20)
Is this stream's bug??
Or what mistake do i make??
Can somebody give me some advice??
Thank you in advance :)you should have made a new thread of this.
Hello All,
Can anyone help?
I'm implementing a chat program with swing, sockets
and threads. I have got a basic version working
perfectly. I decided to upgrade it to include a
configuration (which is loaded and saved to file one
way or another). This configuration makes a record of
the users' favourite font.
i assume this part works. :)
In version.1 fonts were not implemented, so I was just
reading and writing (printing) from and to the
socket's I/O streams - no problem there.
In version.2 I have implemented a Message class, which
when sent contains the name of the sender (ie. what
the sender signed in as) the actually message as a
String, and a Font which is the font the sender uses.
I have tried to use the socket I/O streams :
1). to create Object I/O streams;
2). to create Bean XMLEncoders and XMLDecoders.
Neither of these two methods work and they are the
only way I can think of achieving what I want to do.
To be honest I don't know what happens - the JVM
doesn't throw an exception, just the instance acting
as the client hangs, while the instance acting as the
server ticks over as per usual. If I end the client
process (through task manager) an exception is thrown
in the server.it sounds like:
1. your server isn't very robust. :) any server operating in the real world should expect and deal with broken messages.
2. you need to read up on ObjectInputStreams and ObjectOutputStreams. if you want to go that route, they're what you need to look at.
personally, i'd recommend that you provide methods in the Message class to convert to and from a String, and send the Strings through a Writer attached to the socket. it's easier to recover from errors that way: you could throw a MessageFormatException or other such error without trashing your input stream. plus, it'd be easier to write non-java clients, in case you ever decide to go that route. -
Assert failed in /modules/streams/flv/TCFLVData.cpp
Hi,
We're running FMS 3.5.2 r654 on RHEL 5.2 and we're getting tons of errors like this:
"2009-08-31 10:47:43 11394 (e)2581279 Assert failed in /modules/streams/flv/TCFLVData.cpp line 2033 -"
Always the same line number.
Can we safely ignore this error? What does it mean?
We're only getting this since 3.5.2. We were running FMS 3.5.1 before, and weren't getting this error, but upgraded to get rid of the occasional "core experienced [x] failures"-crashes.
Kind regards,
Pieter Barrezeelethanks patrick for your interest.
we're using the 2.0.3.
this error code was never traced in the log file of the 2.0.2 -
E)2581279 Assert failed in /modules/streams/flv/TCFLVData.cpp line 1202
In an application where I do a recording from webcam to fms,
sometimes I obtain this error in core.XX.log:
(e)2581279 Assert failed in
/modules/streams/flv/TCFLVData.cpp line 1202 -
when it happens the effect client side is that I try to play
a stream just recorded, and I see a stream of 0 seconds, with the
command: stream.play(nomefile, 0, -1, true);
often when I obtain this error the durantion of the stream
from the media server is very different form the real one recorded.
How could I resolve this situation or work around it?
thanks for your time and all of your suggestions and helps
filippothanks patrick for your interest.
we're using the 2.0.3.
this error code was never traced in the log file of the 2.0.2 -
Looping a streaming flv movie, but loop to halfway through flv
Hello,
I've managed to loop my progressively streaming flv with both the following approaches (both gained from these forums - so thank you very much!)
Giving my FLV an instance name of "vid" and then adding this to an Action layer:
var vidList : Object = new Object();
vidList.complete = function() {
vid.play();
vid.addEventListener ("complete",vidList);
stop();
Or simply attaching the following to the FLV itself:
on (complete){
this.autoRewind=true;
this.play();
However, what I really want to do is have it loop back to a point, say, 5 seconds into the flv. I've tried gotoAndPlay instead of just play, but of course the swf only has the one frame so I don't think frame numbers are the way forward? I've been seeing "cuepoints" and "NetStream" coming up in various searches I've done - is that the way forward? They both seem quite complicated for something that I've almost solved using either of the above.
Any ideas?
Thanks,
TimIf it's scripted to be initially paused, you can simply
position it in
the score to be off stage, insert a key frame at the frame
were position
moves to display location. -
Streaming .FLV files from Media Server 4.5 using PHDS
I would like to stream .FLV files from adobe media server 4.5.
Requirements state that the files should be considered secret, so I decided that PHDS sounds like the
right thing.
I was able to stream an .FLV by placing it in the webroot/vod folder using an url like http://myserver/vod/test.flv
However the developer manual states that a way to enable PHDS at the server level is to uncomment the two lines like this.
<IfModule jithttp_module>
<Location /hds-vod>
HttpStreamingJITPEnabled true
HttpStreamingContentPath "../webroot/vod"
JitFmsDirPath ".."
Options -Indexes FollowSymLinks
# Uncomment the following directives to enable encryption
# for this location.
EncryptionScope server
ProtectionScheme phds
</Location>
</IfModule>
However I am not able to stream my FLV using url like http://myserver/hds-vod/test.flv
Question : Am I supposed to use the hds-vod in the URL or is /vod doing the same ?
Is the approach correct, or should the files go into an applications\myapplication\media folder ?
I will need some server side actionscript to validate access to the stream, is that possible without a dedicated application ?Hi,
When you use the vod location directive you're basically using Progressive download so your URL is as : http://myserver/vod/test.flv
However, when you use the location directive hds-vod, it is HTTP Streaming, where the fragments are created on the fly. For this your URL needs to be as : http://myserver/hds-vod/test.f4v.f4m
Please note .flv files are not supported for HTTP streaming (via hds-vod location directive). You cannot use PHDS with .flv files.
Thanks,
Apurva -
I want to convert from DVD to Streaming FLV. Is Adobe Media Player useful for this task?
I look forward to hearing from you soon.
Yours sincerely,
David.I use cucusoft's DVD to FLV converter http://www.cucusoft.com/ but I'm not sure if it's the best on the market.
-
FLV live stream Quality Problem
hi,
can anyone tell me that how can i set the Quality of my live
flv movie. I am publishing a movie to media server in a local
network, So i have no limitations of bandwidth.
Live video can be seen easily, But when i increase the WIDTH
and HEIGHT of receiving video file (or publishing video file) then
Quality is decreased at both sides.
Please tell how can i set quality from for streaming video
BEFORE broadcasting or publishing it from Flash.
I am using Flash8(Action Script2)
best regards,
idealI hope the setBandwidth Component will help you
See the below link and download the components for more
details.
http://www.adobe.com/devnet/flashmediaserver/articles/components.html -
Problems with FMS2 streaming flv through xml playlist
I've been testing for the first time FMS2 and has been quite
a pain to make it work, I've been able to stream a single flv file
but now that I've tried to stream multiple flv using a xml playlist
(using the same example provided in
http://www.adobe.com/devnet/flash/articles/video_player.html)
and it wont work.
I have IIS and FMS2 in the same computer.
In the example provided by Adobe was an error in
VideoSource.as in line originally was:
my_FLVPlybk.contentPath = nav.attributes.url + "/_definst_/"
+ stream.attributes.name+".flv";
And had to change "/_definst_/" to "_definst_/" to make it
work, since path are:
rtmp://localhost/videsource/_definst_/fish.flv for example
and not:
rtmp://localhost/videsource//_definst_/fish.flv
Once that was solved and tested it works locally (in the same
machine where the server is installed) but when testing from
another computer it doesn't stream any videos.
All the files are place the way it supposed to be in:
\applications\videosource\streams\_definst_ (here are the
videos)
\applications\videosource (here is the main.asc)
Then in IIS:
\Inetpub\wwwroot\playlist (playlist-demo-1.xml,
VideoThumb.as, VideoSource.as, VideoSource2.html, VideoSource2.swf,
SteelExternalAll.swf).
When tested local with
http://localhost/playlist/VideoSource2.html
or
http://localhost/playlist/VideoSource2.swf
works, but
when trying from another computer in the same network or
outside with
http://my_server/playlist/VideoSource2.html
wont stream like I said before.
In the single flv stream (without xml playlist) I seem to be
able to stream, just made a .fla with a FLVPlayback component
pointing to: rtmp://localhost/test/_definst_/test.flv
And trying
http://my_server/test.html
works fine.
I've done the following:
1. Added a MIME type to IIS for .flv and .swf
2. Vhost.xml is open for all networks
(<Allow>All</Allow>)
3. Change the Global Security Settings for the Flash Player
to access the .flv on the IIS server.
4. No firewalls activated (for testing purposes).
And it works with the single .flv stream but not with the
xml playlist and I've run out of ideas or what to do, so I'm in
need of anyone who can help me out and give me some insight.
Thanks in advance.Sounds like a Flash Player security issue because you are
running from a desktop. One of the items that can be different
between Test Movie and a published test is security and any
internet protocol. Flash Security errors fail silently.
Look at
NetConnection.connect
method for the security warnings and references.
If you plan to deploy from a web server, test there and it
will likely work.
Maybe you are looking for
-
How to change the attribute name for a relation
When the Data Modeler engineers a logical model into a relational model it create table columns for the relations. The names of the generated columns are listed in the attributes list in the properties dialog of the relation. The actual name of the a
-
Does anybody know how to specify a filename and its path in MacOS X? I'm trying to read a dictionary file into a data structure, but can't get the IO to work properly. My CS professor says my code is good, but he doesn't know how to specify the path
-
Applescript "Finder" scripts in Mountain Lion?
So... back in the old days (Leopard, maybe?) there was a category of "Finder" scripts that included things like "Add to item name" and "Replace text in item name"... But those seem to be gone in Mountain Lion. I've seen a comment that suggested findi
-
Firefox and gecko media player crashing
Hi, first post in the forum, hoping someone might know what is happening here. Whenever I try to play a video in firefox using gecko media player, firefox crashes. The output in xterm is: $ NPP_New called process 2911: arguments to dbus_connection_ge
-
When im trying to buy an app it says "your purchase could not be completed" PLZ help
When im trying to buy an app it says "your purchase could not be completed"HELP HELP HELP