Creating a Dynamic Playlist for Streaming Flash Video
Hello,
I have been trying the tutorial given by Lisa Larson in order
to create a dynamic playlist for streaming Flash video files. I
have realized some of the FLV files that I have downloaded from
internet don’t show in the thumbPlayList and cannot be
played. But once I convert them back to WMV and the use the Flash 8
Video Decoder to convert them to FLV file everything works fine.
Any idea or suggestion why there is such a problem?
Thank you for your advice.
Babak
ps.
This
is the link to the tutorial I mentioned ...
Hello,
I have been trying the tutorial given by Lisa Larson in order
to create a dynamic playlist for streaming Flash video files. I
have realized some of the FLV files that I have downloaded from
internet don’t show in the thumbPlayList and cannot be
played. But once I convert them back to WMV and the use the Flash 8
Video Decoder to convert them to FLV file everything works fine.
Any idea or suggestion why there is such a problem?
Thank you for your advice.
Babak
ps.
This
is the link to the tutorial I mentioned ...
Similar Messages
-
Problem with tutorial:Creating a dynamic playlist for streaming flash video
hi, anyone tried the tutorial: creating a dynamic playlist
for streaming flash video?
i follow the instruction exactly as stated in the tutorial
and test the fla file, it worked perfectly well when i open the swf
using the macromedia flash 8. Everything look fine. Nothing is
changed except the url is changed to "rtmp://localhost/videosource"
in the xml file.
after i publish the file using the setting: access network
only, i try to open the swf and html file from the folder, the
thumbnail did not appear and there is no way i can click on any
videos. What i see is only the list, and there is no response from
the flash media server 2. All the files is in the same folder.
Anyone please help with this problem???? thanks....i debug the movie step by step
and realised that the xml file is being read by the code...
Your original problem stated it worked but not when playing
outside the
Flash authoring environment by simply loading the swf from
the hard drive.
The Flash authoring environment is a trusted environment and
so you really
need to test in the actual deployment mode which loading an
swf from the
hard drive is not a valid deployment unless an installed
Flash player is
available outside the web browser which you would have as you
have the
authoring tool and your users will not.
Use a browser with
http://yourdomain.com/yourmovie.html
to do final
debugging.
In this regard you may need to debug the movie while running
in real time
mode in a web browser with
http:// A technique to trace I suggested is to
create a temporary TextField perhaps named out_txt and send
trace message to
it such as out_txt.text += "My Trace Expression".
Lon Hosford
www.lonhosford.com
May many happy bits flow your way!
"free23" <[email protected]> wrote in
message
news:[email protected]...
sorry but i don't understand what you mean....i debug the
movie step by step
and realised that the xml file is being read by the code...
this is a sample of my log files:
#Fields: date time x-pid x-status x-ctx x-comment
2006-05-15 20:08:58 3072 (i)2651170 Unloaded application
instance
videosource/_definst_ -
2006-05-15 20:48:19 3848 (s)2641173 FCApplication loaded
successfully.
2006-05-15 20:48:19 3848 (s)2641173 Communication Framework
loaded
successfully.
2006-05-15 20:48:19 3848 (s)2641173 SimpleConnect loaded
successfully. -
2006-05-15 20:48:19 3848 (s)2641173 VideoConference loaded
successfully. -
2006-05-15 20:48:19 3848 (s)2641173 Video Playback loaded
successfully. -
2006-05-15 20:48:19 3848 (s)2641173 Communication Components
loaded
successfully.
2006-05-15 20:48:19 3848 (s)2641173 Sending this message:
Hello! You are
connected as: undefined -
2006-05-15 20:48:19 3848 (e)2641190 Error : command msg sent
before client
connection has been accepted. -
2006-05-15 20:48:20 3848 (s)2641173 Sending this message:
Hello! You are
connected as: undefined -
2006-05-15 20:48:20 3848 (e)2641190 Error : command msg sent
before client
connection has been accepted. -
2006-05-15 20:48:20 3848 (s)2641173 Sending this message:
Hello! You are
connected as: undefined -
2006-05-15 20:48:20 3848 (e)2641190 Error : command msg sent
before client
connection has been accepted. -
2006-05-15 20:48:20 3848 (s)2641173 Sending this message:
Hello! You are
connected as: undefined -
2006-05-15 20:48:20 3848 (e)2641190 Error : command msg sent
before client
connection has been accepted. -
2006-05-15 20:48:20 3848 (s)2641173 Sending this message:
Hello! You are
connected as: undefined -
2006-05-15 20:48:20 3848 (e)2641190 Error : command msg sent
before client
connection has been accepted. -
2006-05-15 20:49:42 3848 (s)2641173 Sending this message:
Hello! You are
connected as: false -
hope this help... -
Creating a Dynamic Playlist for Progressive Flash Video
Hi
I just finished reading the Creating a Dynamic Playlist for
Progressive Flash Video (
http://www.adobe.com/devnet/flash/articles/prog_download.html)
tutorial, and it gives a pretty good overview, however I would like
to be able to add the ability to stop and start the video as well,
and the tutorial doesn't really explain how the embedded video
works. Does anyone know how this can be accomplished, or at least
know where I can find information on how to do this.
ThanksI worked on the same project and it is working alright and
still interested in adding more features like play pause etc ....
but for now I'm more interested in adding the buffering bar and
progress bar.
Any help is welcome. -
Trouble with Creating a Dynamic Playlist for Progressive Flash Video
Hey There,
I have been working on building a flash video player and are
trying to incorporate the Dynamic Playlist for Progressive Flash
Video. Everyting is working expect the thumbs are not appearing.
Instead, on each row of the list it says " type function". The list
is populated with data b/c i can navigate it and select a video to
watch, just the thumbs are missin.
Any ideas how I can get my jpg thumbs to appear?
thanksI worked on the same project and it is working alright and
still interested in adding more features like play pause etc ....
but for now I'm more interested in adding the buffering bar and
progress bar.
Any help is welcome. -
Dynamic Playlist for streaming video
This is my first attempt at building a dynamic playlist for
streaming flash video and I'm following the tutorial at
"macromedia.com/devnet/flash/articles/video_player.html". I've
changed the paths to my FMS and loaded the video files to the
applications directory of the FMS (flash_applications/videosource).
The thumbnails load and the player skin loads but the videos do not
load when I click on the thumbnails.
I've read the earlier post about this same issue. I followed
the advice from that post and reloaded the 'main.asc' file from my
Flash 8 program files but the video still does not play.
Here is a link to the site so you can see the problem:
http://media.us.elsevierhealth.com/videosource/VideoSource1.swf
My FMS is 'media.us.elsevierhealth.com'
I believe my code is correct and I believe the paths I've
created are correct. If someone could review my code and check the
path info I would appreciate it. Here is the code from
'VideoSource1.as'
import mx.video.*;
//Set up the list box, call function VideoThumb to create the
actual thumbnails
list.rowHeight = 70;
list.cellRenderer = "VideoThumb";
list.selectable = true;
//create new empty listener object
listListener = {};
nc = new NetConnection(); //create a connection
nc.connect("rtmp://media.us.elsevierhealth.com/videosource");
//connect to FCS (nav.attributes.url)
ns = new NetStream(nc); //create a stream
ns.connect(); //connect the stream
nc.connect("rtmp://media.us.elsevierhealth.com/videosource");
var stream_ns:NetStream = new NetStream(nc);
stream_ns.play("video2.flv");
// Create function to trace all the status info.
function traceStatus(info) {
Message.text+="Level: " + info.level + " Code: " +
info.code+"\n";
} // Assign this function to onStatus handlers when you
create objects.
//Function to handle what happens when an item in the list is
selected
listListener.change = function( evtobj ) {
var nav = list.dataProvider[list.selectedIndex];
var reset = true;
for ( var i = 0; i < nav.childNodes.length; i++ ) {
var stream = nav.childNodes
if ( stream.nodeName == "stream" ) {
attachMovie("FLVPlayback", "my_FLVPlybk", 10, {width:320,
height:240, x:90, y:100});
//center the FLVPlayback component when FLV is ready to play
var listenerObject
bject = new Object();
listenerObject.resize = function(eventObject
bject):Void {
//center video in playback area
newx = (460 - my_FLVPlybk.preferredWidth)/2;
newy = (470 - my_FLVPlybk.preferredHeight)/2;
my_FLVPlybk._x = newx;
my_FLVPlybk._y = newy;
my_FLVPlybk.addEventListener("resize", listenerObject);
listenerObject.ready = function(eventObject
bject):Void {
my_FLVPlybk.setSize(250, 350);
my_FLVPlybk.skin = "ClearExternalAll.swf";
my_FLVPlybk.clear();
my_FLVPlybk.contentPath =
"rtmp://media.us.elsevierhealth.com/videosource/stream/_definst_/"
+ stream.attributes.name+".flv";
my_FLVPlybk.autoSize = true;
trace(my_FLVPlybk.contentPath);
reset = false;
//Add an event listener on the list, when it triggers, run
the listListener function to repopulate the list
list.addEventListener("change", listListener);
//Function that loads the XML file, parses it, and builds the
list of available video clips
var xmllist = new XML(); //setup a variable to hold the XML
xmllist.ignoreWhite = true;
xmllist.load( "playlist-demo-1.xml" ); //load the XML file
//The following gets called when the XML has been loaded
xmllist.onLoad = function( status ) {
if ( !status )
trace( status );
var entries = this.childNodes[0];
var playlists = {};
var nav = [];
for ( var i = 0; i < entries.childNodes.length; i++ ) {
var entry = entries.childNodes;
if ( entry.nodeName == "listitem" )
//builds array of video clip names
playlists[entry.attributes.name] = entry;
else if ( entry.nodeName == "menu" ) {
//builds array of available videos
for ( var j = 0; j < entry.childNodes.length; j++ )
nav[j] = playlists[entry.childNodes[j].attributes.name];
} //end else if
} //end if
//sends the array of videos to the listbox UI
list.dataProvider = nav;
} //end xmllist.onload
Any advice or troubleshooting will be appreciated. Thanks in
advance.I just used the server on Windows (as opposed to linux) and
it worked great. So the issue, at least for me and my issue (could
see the thumbnails, couldn't play the video) was windows vs. Linux.
I guess the linux version doesn't work with this exact script. Now
to put together something of my own to test to see if the linux
version works right. -
Dynamic Playlist for Streaming Video Errors
I'm using Lisa Larson's tutorial on the adobe website to
create a dynamic playlist from an XML file to work with out FMS
server. After playing around with it for an hour I finally got it
to connect to the FMS and generate the thumbs but it won't stream
any of the videos. When I click on the list item the video player
comes up but doesn't load a video. Any ideas? The live log in the
FMS console is giving me this error: "
Error:
command msg sent before client connection has been
accepted."
This is the link for the tutorial
http://www.adobe.com/devnet/flash/articles/video_player.htmli don't even get to see the thumbnails! i've left one of the
original addresses in the xml, and that one always loads, both
thumbnails and stream. however, every other one i've changed a
number of ways, i never get any thumbnails nor streams. while
testing the movie with flash 8, i get the output that the first
connection (the original one) is a success, but all others are
failed. in the xml, do you have to put the port in too? cause i've
tried that, but it makes no difference whatsoever... -
Creating a Dynamic Playlist for use with Amazon Cloudfront
I am working on a soultion for my website to deploy Falsh encoded videos from the Amazon Cloudfront using Flash Streaming Video Server 3.5 and the JW Falsh Player (www.longtailvideo.com).
I am NOT a code person but here is what I am trying to accomplish. I hope I am in the correct forum! If not, I apologize.
I have several videos a week that I edit and can save in different kbps versions for Dynamic Bitrate streaming through the JW Player. My problem is creating the XML or SMIL playlist to initiate the bitrate switching. I would like to find an authoring tool or someway to generate the required file in a fairly easy manner as I am more videographer/editor that code warrior.
I would also like to have a playlist of other available videos associated with any given video that could be delivered with the Dynamic Bitrate Switching feature. Example: a lawyer that specializes in several different fields of law and would like to have 5 videos, one for each area of specialization, delivered to clients with high bandwidth and clients on mobile devices and everyone in between!
Thanks in advance for your time and consideration.
LindseyI'm looking for the answer to this question too. If you don't have the answer, or if you don't care to link to the answer, or to recommend a knowledgable expert, please remain silent.
-
Creating a Replay Button for a Flash Video
I want to replay a flash video by clicking on a "replay" button. I know how to creat the buttons. I can't figure out how to create the action script. Thanks in advance for any help.
I know how to create the Action Script to replay flash, but when I have a flash video that I want to replay that's when I run into trouble.Hi,
This snippet should hint a solution to you (NetStream class):
netStream.seek = 0;
netStream.resume();
Anyway, you would need to know when the movie has finished playing.
On a Flash Media server, there should be an event just for that.
If you are not running on such a kind of server, make yourself a cuepoint to listen to, at the very last frame of the movie, so your app knows when its time to offer the replay functionality. You can insert cuepoints in a movie when you are in the Flash Video Encoder options.
Design Cyboïde
Création de sites web Montréal -
Watching streamed Flash video (like say Hulu) causes iMac to go to sleep
Lately, my iMac goes to sleep (after some time) when watching streamed Flash videos. Is anyone else experiencing this? Oh, and before you say that it is my sleep mode, this issue happens WAY before sleep mode would initialize; usually a few minutes after starting a video.
Message was edited by: Dennis CattThe symptoms you speak of are the exact same ones happening to me. This use to never happen, it has only been happening recently and I have had this computer over 4 years now. I have also been streaming Flash video on this computer for just as long without much issue. It seems like an issue with Flash Player 10.1, but the problem is, sites like Hulu don't support older versions of Flash anymore.
-
What controls width in streaming flash video?
I need to access and stream flash video stored on a US server. I do so from one of three PCs - all running Windows 7, all with same updates and same version of Flash. Two of them show a given video fine. The third runs the same video but it is clearly truncated on the right and bottom - that is, only part (top left two thirds?) of the video is visible. And two show timecode and the third...doesn't (or its hidden by the truncation). But how can this be??? And more importantly, what can I do to make the third PC play streaming video correctly?
If this isn't posted in the best place please say so.
Bemused and baffled.Check if the same issue is repeating with new flash player version 10.1.82.76.
Thanks,
Sudheendra -
I need a software to download stream flash video
I want to download stream flash video from the NBA page,and I need some software to recommend me.
I just want to keep it to myself to replay it as much as I needed...
thats the excuse shoplifters use
I guess you didn't see the copyright warning on the NBA site?
Copyright © 2012 NBA Media Ventures, LLC. All rights reserved. No portion of NBA.com may be duplicated, redistributed or manipulated in any form. By accessing any information beyond this page, you agree to abide by the Privacy Policy / Your California Privacy Rights and Terms of Use
anyway the website flash settings prevent you from downloading. -
Can one create a smart playlist for multiple podcasts and to...
Can one create a smart playlist for multiple podcasts and to play one after the other on your iPod? I want to combine podcasts of the same topic in a smart playlist. When I tried to do this I chose smart playlist, album starts with, and then did it again for each podcast I wanted. That didn't work. If it can be done how do you do it?
I have a fifth generation iPod which is always updated to the latest as well as the itunes.Say for example I want to put different car related podcasts in one smart playlist. Car related podcasts such as Wall Street Journal Car Cast and NPR Car Talk. Can it be done and if so how?
-
Creating an offline playlist for flash videos
Hi
I have several flash videos that I want to create a play list for, can I do this? The videos are located on a PC HD. I have 3 files, Player.exe, video.flv and text.txt
Cheers
EugeneIf the text file is something that should be read in programmatically, you'll need actionscript to do this. This is typically contained in a swf file that would be loaded into the player. The swf would then read the text file and load the flv's appropriately.
The player by itself is not a media player like vlc, wmp, etc. -
How do you create a dynamic playlist?
I want a playlist for my videos, preferably with thumbnails like the flash player Adobe offered with Popeye sample/test videos. How do you configure the player for that? I believe it's by Kaltura, and their website shows that feature but I can't find it mentioned in the documentation. Thanks!
Hi mfuller52654,
Currently in Strobe MediaPlayback we have support for:
- simple playlists (m3u format): no thumbnails or title, example in http://osmf.org/dev/1.5gm/StrobeMediaPlayback.html?src=playlists/playlist.m3u
- JS playlists, without autoadvance - a sample can be found at http://osmf.org/dev/1.5gm/jsdemo.html
I think the second option can help you create your thunbnailed playlists.
Tell me if this helped,
S. -
Newb - adjusting quality bitrate for my flash video ...?
I just converted a WMV to flash video .flv through the wizard in Flash CS3 Pro.
It converted it OK, but made quite a large file.
Is it possible to produce a file of lower size and quality. Is there a bit-rate setting somewhere?
(We have some people outside the US in developing countries who don't have such a good connection. Whats about the lowest you would go in terms of quality / bitrate?)If you have Adobe Media Encoder that may have come with Flash Professional CS3, you can use that to create multiple bitrate versions of your videos. But, generally, there can be lots of possible solutions here. Your best bet, hoesntly, is to search for "encoding flash flv video" or something like that in google, and reading various pages that way. You're certain to find much more qualified hits & results versus posting in a forum.
You want to also be aware of if you can only support 1 single bitrate version of your video...or if you will have a way to provide multiple versions of your video, as in:
~200-400 kbps bitrate for slow connections
700 kbps for medium connections
~1,000 kbps - 1,5000 for faster connections
But providing this capability requires that - in a simple way - you provide your users with multiple buttons to load the video (which is not ideal). Beyond this, you can have somebody program in some bandwidth detection to determine which quality to load...or in the most sophistacted way, you need to use streaming video with a streaming media server.
Maybe you are looking for
-
Using external display with laptop
I've got an older 15" studio display that I'd like to use as a monitor for my powerbook G4. The display seems to have 35 pins on it's cord? Will this work? What adapter do I need?
-
Cannot import swf files of flash player 8 into director
Since I upgraded to Flash 8 the swf files generated canot be seen in Macromedia Director unless I am saving them as Flash 7. I have updated both Flash and Director and the problem is persistent, please help.
-
Hi, I am trying to lock a single layer so it cannot be changed - is Ps CS4 unable to do this? I highlight the layer in Layers Pallet. Then the Lock icon is grayed out:
-
Toshiba BluRay Disc Player and SDStereoI.dll - ATTENTION INFECTION
I originally started this post in the wrong forum and will move it to here with the new information I gleaned. My Toshiba BluRay Play when started would give me the message that "SDStereoI.dll was missing but then would run fine. SDStereoI.dll has be
-
I am trying to get my "Find my Iphone" app to work and after I sign in with my apple id and password, it keeps telling me Im not connected to the internet. I click "try again" and it does nothing. I double checked that I am connected to my local w