Dynamic flv player with auto resize based on content
Hi,
I would like to build a .flv player which can accommodate 7
different video sizes.
This will probably be made using php and xml to dynamically
control content.
What I would like to know is if and how it is possible to
have a holder.swf (just looks for variables to display the flv)
that can automatically resize based on the flv dimensions. I dont
want any kind of browserscreen resolution resizing of content, just
an swf that will change its size from say 320x240 to 450x253
depending on the dynamically loaded flv.
The same thing has been reported for the T410. You can see how to fix it here:
http://forums.lenovo.com/t5/T400-T500-and-newer-T-series/T410-unstable-screen-brightness/m-p/212492#...
It appears to occur anytime you are on battery and the intel graphics power plan is set to anything other than 'maximum performance.' It's pretty subtle, but really annoying when it happens.
Similar Messages
-
I need music player with auto puss it can stop the music between songs ?
I need music player with auto puss it can stop the music between songs ?
Serial Number
http://support.apple.com/kb/HT4061
Sign in to My Support Profile
https://supportprofile.apple.com/ -
FLV Player with Dynamic Playlist
So this is the first time I've experimented with a Dynamic
Playlist in an FLV Player and I'm learning a lot. I found a
tutorial on the Adobe site similar to what I'm looking to create.
[URL="
http://www.adobe.com/devnet/flash/articles/prog_download.html"
one is for Progressive Download, which I want.[/URL]
The same person also wrote one for [URL="
http://www.adobe.com/devnet/flash/articles/video_player.html"
I only mention that, because in the Streaming version, the videos
have the standard Adobe video controls in them, and the Progressive
tutorial does not. Usually I just create my own controls and link
it to the video component that I'm using, but this tutorial is
different than I normally roll.
In the library there is an object type "Video", which I can't
recall ever seeing before. If I delete it from the stage my videos
won't play, so it's definitely important. It doesn't give
parameters like the FLVPlayback does so I can't choose controls on
it. I don't know if there is a way.
Or maybe I need to build my own controls and find a way to
tie them into what we have here, but that would be stretching the
bounds of my knowledge, and I was hoping to have this up soon to
send to a potential employer.
What I'm looking for is some help to get pointed in the right
direction to just add the controls to the player in that tutorial.
If there is an "easy button" somewhere that I can push that'd be
great. If I need to get dirty I'm willing to, but I'm a bit lost
right now.
Thanks in advance for any help!Search for JW player on Google and look at that.
Regards
FlashJester Support Team
e. - [email protected]
w. - www.flashjester.com
"This has been one of the most impressive and thoroughly
pleasant
experiences of customer support I have ever come across -
astounding!"
Director - hedgeapple -
Has anyone actually been able to build a FLV player with Flex 2?
I have been playing around with a FLV player in Flex 2, but I
keep on running into one big problem: I never get a picture. Sound
is not a problem, and all code seems to do exactly what it should.
Except for the video showing up... I have tried loads of examples,
read all of the docs I could get my hands on, but it all ends the
same: no picture.
The best solution (imho) I found is listed below, but still
it does not do what it is supposed to do. Still, I only get audio.
If there's anyone who's got a player working with the Video
object using Flex 2 (SDK), I would *love* to hear your solution.
Michiel.
The source:
package Assets {
import flash.display.Sprite;
import flash.net.NetConnection;
import flash.net.NetStream;
import flash.media.Video;
import flash.text.TextFieldAutoSize;
import flash.text.TextField;
import flash.events.Event;
import flash.events.TimerEvent;
import flash.events.NetStatusEvent;
import flash.utils.Timer;
public class simpleFlv extends Sprite{
private var _video:Video;
private var _stream:NetStream;
private var _playbackTime:TextField;
private var _duration:uint;
private var _timer:Timer;
public function simpleFlv(){
_duration = 0;
_playbackTime = new TextField();
_playbackTime.autoSize = TextFieldAutoSize.LEFT;
_playbackTime.y = 20;
_playbackTime.x = 20;
_playbackTime.text = "Buffering …";
_timer = new Timer(1000);
_timer.addEventListener(TimerEvent.TIMER, onTimer);
_timer.start();
public function playMyFlv(flvUrl:String): void {
_video = new Video();
var connection:NetConnection = new NetConnection();
connection.connect(null);
_stream = new NetStream(connection);
_stream.play(flvUrl);
var Client:Object = new Object();
Client.onMetaData = onMetaData;
_stream.client = Client;
_video.attachNetStream(_stream);
_stream.addEventListener(NetStatusEvent.NET_STATUS,
onNetStatus);
addChild(_video);
addChild(_playbackTime);
private function onMetaData(data:Object): void {
_duration = data.duration;
private function onNetStatus(e:NetStatusEvent): void {
_video.width = _video.videoWidth;
_video.height = _video.videoHeight;
private function onTimer(t:TimerEvent): void {
if( _duration > 0 && _stream.time > 0 ){
_playbackTime.text = Math.round(_stream.time) + " / " +
Math.round(_duration);
}Hi Chielosos,
In your code, after
import flash.utils.Timer;
You may need to add
NetConnection.defaultObjectEncoding =
flash.net.ObjectEncoding.AMF0;
SharedObject.defaultObjectEncoding =
flash.net.ObjectEncoding.AMF0;
Hope it works,
Jeffrey -
JButton with auto resizing icon
Hi,
I want to extend the JButon in order to make it auto resize the icon image to the button size itself.
I tried somethink like the following code and it work but there is some recursive side effect I cannot understand becouse I get a 100% CPU usage and from the print() I see the paint() method is called continuosly.
import java.awt.Graphics;
import java.awt.Image;
import javax.swing.Icon;
import javax.swing.ImageIcon;
import javax.swing.JButton;
public class IconButton extends JButton {
private static final long serialVersionUID = 4049919355141829686L;
int cntr;
public IconButton(ImageIcon icon) {
super(icon);
public void paintComponent(Graphics g) {
System.out.println(cntr++);
Icon icn = getIcon();
if (icn instanceof ImageIcon) {
ImageIcon ii = (ImageIcon)icn;
Image img = ii.getImage();
img = img.getScaledInstance(getWidth(), getHeight(), Image.SCALE_AREA_AVERAGING);
icn = new ImageIcon(img);
super.setIcon(icn);
super.paintComponent(g);
Maybe there's a better way... for example by changing the icon only when the button size change: but how?
Thank in advance,
Carlo.ok,
the question is:
how to have a Button with the icon automatically resized to the button size? Is it right to extends JButton or is better extends AbstractButton?
thanks. -
Looking for FLV player with playlist for my Flash site
I've been looking for an FLV player that I can embed "inside" my flash site--most likely loaded as an external swf via loadClip inside my main swf file. I also need it to be AS2 compatible for my current project. If anyone has some ideas please share, thanks.
-DavidI have a sample here http://www.smithmediafusion.com/blog/?p=337 that uses an rss feed as the playlist.
Regards,
Dan
http://www.dsmith.tv
http://www.smithmediafusion.com/blog -
XML driven FLV player with playlist, can someone please help me?
OK so ive been working for a client recently building him a new site for his racing team and he wants a video jukebox on the "videos section" of the site.
Now i am the one with the job of updating this jukebox with new videos which he makes (this happens often) so i want updating to be as easy as possible.
Im new to the use of XML with flash and followed a tutorial to create a dynamic Image Gallery which is really easy to update, all i have to do is drop the files into the right directories in my FTP client and edit the XML file, perfect.
I want the jukebox to do the same thing.
I want to have a jukebox with a "video screen" with basic controlls (play/pause, volume, rewind, seek) on the left and a small vertically scrolling menu on the right that contains thumbnails and descriptions of the videos that when clicked changes the content of the video component to play the chosen video.
I found a tutorial on the adobe site that shows how to achive this through the use of the "video component" and the "list component" in flash 8 HOWEVER, this isnt very pretty and almost impossible to customise due to the list component and i would like to be able to mimic the style of the image gallery i already produced to keep things all nice and uniform.
i want to use XML to point flash to the source of the FLV files, the source of the thumbnail jpgs and give the text for the description so that its easy to update and use flash's drawing interface to make it pretty.
Basically i want to reproduce something like this.
Ive been searching for weeks now and i cant find anything to help me with this, if anyone knows of any tutorials, books, videos or has any idea how to help me it would be MUCH appreciated.
Thankyou.Try this link:
http://www.taiwantrade.com.tw/MAIN/en_front/searchserv.do?method=listProductComp anyDetail&company_id=163054&locale=2
There is an email address and telephone numbers.
Also look on the box and instructions.
Ciao. -
Hi anyone & all,
Iam using this files for FMS testing.
Sample
file which iam using now
Everything is working fine, but i need some more features.
(i) when published i need to play the first flv in the list.
(ii) when i click next button it should skip to the next flv.
(iii) How can i change Flvplayback skin.
(iv) I need a fullscreen option button in the control tab.
Please any one help. Thanks in advance.
Jayaraj D
email : [email protected]:disgust;:smile;You will need some server side script to be the mediator
between your database and the SWF. Use the FLVPlayback components'
source method to play the FLV files you want. -
Auto Resize Header and Content Within?
I want a header that is always 20% the height of the webpage, so that when I resize, the porportions always stay this same. This isn't so hard to figure out. However, I also want the content within the header (buttons, etc.) to resize. Can anybody help? Here's my code.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Untitled Document</title>
<style type="text/css">
<!--
body {
margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
padding: 0;
text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
color: #000000;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 100%;
background-color: #191919;
background-image: url(../Images/repeat.jpg);
background-repeat: repeat;
/* Tips for Elastic layouts
1. Since the elastic layouts overall sizing is based on the user's default fonts size, they are more unpredictable. Used correctly, they are also more accessible for those that need larger fonts size since the line length remains proportionate.
2. Sizing of divs in this layout are based on the 100% font size in the body element. If you decrease the text size overall by using a font-size: 80% on the body element or the #container, remember that the entire layout will downsize proportionately. You may want to increase the widths of the various divs to compensate for this.
3. If font sizing is changed in differing amounts on each div instead of on the overall design (ie: #sidebar1 is given a 70% font size and #mainContent is given an 85% font size), this will proportionately change each of the divs overall size. You may want to adjust based on your final font sizing.
.oneColElsCtrHdr #container {
width: 100%; /* the auto margins (in conjunction with a width) center the page */
border: 0px none #000000;
text-align: center; /* this overrides the text-align: center on the body element. */
margin-top: 0;
margin-right: auto;
margin-bottom: 0;
margin-left: auto;
background-color: #FFFFFF;
background-image: url(../Images/repeat.jpg);
background-repeat: repeat;
color: #FFC;
.oneColElsCtrHdr #header {
width: 100%;
padding-top: 0;
padding-right: 0px;
padding-bottom: 0px;
padding-left: 0px;
background-color: #DDDDDD;
background-image: url(../Images/headerwlogo2.jpg);
.oneColElsCtrHdr #header h1 {
margin: 0; /* using padding instead of margin will allow you to keep the element away from the edges of the div */
background-attachment: scroll;
background-image: url(../Images/headerwlogo2.jpg);
background-repeat: no-repeat;
padding-top: 0px;
padding-right: 0;
padding-bottom: 0px;
padding-left: 0;
height: 140px;
width: 100%;
.oneColElsCtrHdr #mainimage {
background-color: #FFFFFF;
width: 100%;
margin: 0px;
padding: 0px;
.oneColElsCtrHdr #yellowbar {
background-color: #FFFFFF;
width: 100%;
background-image: url(../Images/seperatebar.jpg);
background-repeat: repeat-x;
height: 15px;
.oneColElsCtrHdr # {
background-color: #FFFFFF;
width: 100%;
.oneColElsCtrHdr #mainContent {
background-color: #FFFFFF;
background-image: url(../Images/repeat.jpg);
background-repeat: repeat;
padding-top: 0;
padding-right: 22px;
padding-bottom: 0;
padding-left: 22px;
.oneColElsCtrHdr #footer {
padding: 0 0px; /* this padding matches the left alignment of the elements in the divs that appear above it. */
background:#DDDDDD;
.oneColElsCtrHdr #footer p {
margin: 0; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
background-image: url(../Images/footer.jpg);
background-repeat: repeat-x;
height: 140px;
width: 100%;
padding-top: 0px;
padding-right: 0;
padding-bottom: 0px;
padding-left: 0;
-->
</style>
<script src="../SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
<link href="../SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
</head>
<body class="oneColElsCtrHdr">
<div id="container">
<div id="header">
<ul id="MenuBar1" class="MenuBarHorizontal">
<li><a class="MenuBarItemSubmenu" href="#">About the Project</a>
<ul>
<li><a href="#">Project Overview</a></li>
<li><a href="#">The Collaborators</a></li>
</ul>
</li>
<li><a href="#" class="MenuBarItemSubmenu">Earthwork Sites</a>
<ul>
<li><a href="#">About the Sites</a></li>
<li><a href="#">Media Gallery</a></li>
</ul>
</li>
<li><a class="MenuBarItemSubmenu" href="#">Interactive Badges</a>
<ul>
<li><a href="#">Badge Overview</a> </li>
<li><a href="#">Lifelong Learning</a></li>
</ul>
</li>
<li><a href="#" class="MenuBarItemSubmenu">Get Involved</a>
<ul>
<li><a href="#">Blog</a></li>
<li><a href="#">FAQ</a></li>
<li><a href="#">Contact</a></li>
</ul>
</li>
</ul>
</div>
<div id="mainimaget">
<img src="../Images/mainillustrationbig.jpg" width="100%" height="auto" />
<!-- end #mainContent --></div>
<div id="yellowbar">
</h1>
<!-- end #mainContent --></div>
<div id="mainContent">
<h1> WELCOME TO EARTHWORKS</h1>
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Praesent aliquam, justo convallis luctus rutrum, erat nulla fermentum diam, at nonummy quam ante ac quam. Maecenas urna purus, fermentum id, molestie in, commodo porttitor, felis. Nam blandit quam ut lacus. Quisque ornare risus quis ligula. Phasellus tristique purus a augue condimentum adipiscing. Aenean sagittis. Etiam leo pede, rhoncus venenatis, tristique in, vulputate at, odio. Donec et ipsum et sapien vehicula nonummy. Suspendisse potenti. Fusce varius urna id quam. Sed neque mi, varius eget, tincidunt nec, suscipit id, libero. In eget purus. Vestibulum ut nisl. Donec eu mi sed turpis feugiat feugiat. Integer turpis arcu, pellentesque eget, cursus et, fermentum ut, sapien. Fusce metus mi, eleifend sollicitudin, molestie id, varius et, nibh. Donec nec libero.</p>
<h2>H2 level heading </h2>
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Praesent aliquam, justo convallis luctus rutrum, erat nulla fermentum diam, at nonummy quam ante ac quam. Maecenas urna purus, fermentum id, molestie in, commodo porttitor, felis. Nam blandit quam ut lacus. Quisque ornare risus quis ligula. Phasellus tristique purus a augue condimentum adipiscing. Aenean sagittis. Etiam leo pede, rhoncus venenatis, tristique in, vulputate at, odio.</p>
<p> </p>
<!-- end #mainContent --></div>
<div id="footer">
<p> </p>
<!-- end #footer --></div>
<!-- end #container --></div>
<script type="text/javascript">
<!--
var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"../SpryAssets/SpryMenuBarDownHover.gif", imgRight:"../SpryAssets/SpryMenuBarRightHover.gif"});
//-->
</script>
</body>
</html>I want a header that is always 20% the height of the webpage,
Web Page height is ALWAYS determined by content; not explicit values. If I increase/decrease text size in my browser, it will change the height of your page. So page is height is an unknown variable.
I also want the content within the header (buttons, etc.) to resize.
Why do you think you need this? Your browser's Zoom feature is fully capable of re-scaling images and text on screen.
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
http://alt-web.com/
http://twitter.com/altweb
http://alt-web.blogspot.com/ -
Iframe auto height based on content in high trust apps on premise
Hi,
how to adjust the app part height based on the content, in high trust apps.
Thanks
RamHi Ram,
We can use JavaScript to adjust the iframe height, the following code for your reference:
<script type="text/javascript">
function iframeLoaded() {
var iFrameID = document.getElementById('idIframe');
if(iFrameID) {
// here you can make the height, I delete it first, then I make it again
iFrameID.height = "";
iFrameID.height = iFrameID.contentWindow.document.body.scrollHeight + "px";
</script>
More information:
How To Adjust IFrame Height on Its Content
http://www.codeproject.com/Articles/19499/How-To-Adjust-IFrame-Height-on-Its-Content
Best Regards
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
TableView auto resize columns based on header text width or cell content
Is there a method on the tableview or tablecolumn to automatically resize based on the content of the hearder or data?
If not what approach can used used with JavaFX to calculate the string width based on the current font?The table column size is inconsistent, I set the columns in the table view and the items in the initialize method. I execute a service and task from a button action that loads data into the list, if I don't reset the columns in the table view in the succeed method then each column is the same width regardless of the content in the cells. If I do reset the table columns in the succeed method then the columns are resized based on content.
I don't think it should be a requirement to reset the columns just to get the column widths to set based on the content in the cells. Is there a method on the table column or view that will resize the cells based on the cell content? I would prefer the largest value; column header content or the longest cell content for a column. -
Dynamic FLV Loading Entire Video
Using Flash 8 and the tutorial at
http://reallyshiny.com/tutorials/flash.php,
I created a dynamic FLV player. Everything works but the player
loads the entire FLV video when going to the URL. Is there an easy
way to prevent FLVPlayback component from loading the complete FLV
video until someone clicks play? If there were several videos on
the page or one video was very large it could take an unnecessary
about of bandwidth to display the page, especially if the end user
wasn't going to view that video.Sorry, my mistake.
Ok, I think that if you used a prebuilt component, the play
button i used only to start the clip. You have to create your own
Play button, that verify if the video exist or if it has to load
it. So the first time, the video does not exist, then when the used
will click on it, it will start the video load. Don't put the video
path on the component, just feed it with actionScript. After that
if the user stop the video or just pause it and press Play button
again your code will check, then the video already exist and it
will not start the load again, but just play it.
Has I said, this is the way I think it should be, you have to
Script your own play btn. May be there is other way, but I don't
know them.
Hope that can help you! -
Flv player works locally but not when uploaded
Another day, another issue...
I have a flash movie that includes an flv player with previews and buttons. It reads the content from an xml file.
It works without problem when I test it locally. Trouble is when I upload it, everything displays correctly but the flv movie file doesn't play. Here's the test link:
http://www.swsoftware.com/ncjhs/assets/video/flvplayer.html
XML file is http://www.swsoftware.com/NCJHS/Assets/Video/video.xml
Flash file is http://www.swsoftware.com/ncjhs/assets/video/flvplayer.fla
Anyone have any suggestions? I'm new to flash and this forum has been a tremendous help in resolving my (somewhat numerous) problems.
SamWhen I tried to view the posted url I got the following
errors in the order I have listed them.
CSInit is undefined Line 23
Line 75 Object Expected
Line 66 Object Expected
My Platform.
IE 7
Windows XP Pro -
Using FMS v4.5.5 with a browser-based audio player running on iPad/iPhone
Hello,
I’m seeking some clarity/guidance on using FMS v4.5.5 (Streaming Edition) with a browser-based audio player running on iPad/iPhone (i.e. under iOS).
Background
I have a Microsoft Windows 2008 R2 Web Server running IIS v7.5 and supporting a website built using ASP.NET and C#. Parts of the website allow a visitor to play a selection of audio clips from our bespoke MP3 library. Due to UK music licencing constraints, we must stream the clip to the client browser – we must not download either part or all of the source MP3 file(s). We therefore had a custom audio player built for us some time ago using Flash/AS3. This has and continues to work very well, and uses RTMP to stream the clips from FMS to the client browser.
As our site has become more established the number of visitors has steadily grown. In the early days the number of visitors from the iOS platform was relatively small but, last month, it had risen to 40%! As Flash is not supported on the iOS platform, this growing group of visitors are unable to fully maximise the benefits offered by the website, which I am now trying to address.
What I’m Trying To Do…
From what I’ve researched and read, I believe that FMS v4.5.5 supports HLS and I need to use this (instead of RTMP) over HTTP between FMS and the iOS Safari client. I have been experimenting with an Open Source player (JPlayer) and a commercial player (JWplayer) and appear to have these playing a MP3 file as a “progressive download” (I think that’s the right term) as all I’m doing is specifying the file path (no HTTP prefix etc.), i.e. the audio is not really being streamed as I require. Unfortunately, I’ve not found / worked out how to configure my FMS to respond to a path request along the lines of:
http://www.myserver.com/live/audio1.mp3
Hopefully someone reading this who is much more expert on FMS, HLS, HDS, HTML5, etc. than me can point me in the right direction!
What I’m confused about…
1) Can all my MP3 assets stay as is and still be streamed to the iOS Safari client? To the best of my knowledge, the key properties of my MP3 files are CBR, 44,100Hz, 320Kbps.
2) If not, can they be converted on-the-fly by FMS or do I need to create additional audio assets to support HLS etc.?
3) If I have to manually create additional audio assets, how do I do that (I’ve seen references to tools from both Adobe and Apple but not actually found the kits)?
4) Some of the Adobe documentation I’ve read implies that FMS support for HLS etc. is only available when FMS is used in conjunction with the bundled Apache web server. As stated earlier, my entire site runs on IIS so does that mean to achieve what I want I’ll have to run two web servers on my physical server – IIS for the website itself and Apache for RTMP/HLS/etc.?
5) What changes do I need to make to my current FMS configuration to get HLS to work? I’m sure someone has been here already and can enlighten me with their experience and hopefully point me to some straight forward documentation to follow!
6) Lastly, and really part of (5), once I’ve got FMS configured correctly, what would be the typical path to a given MP3 audio file that I would give the iOS Safari browser to make this all work.
I appreciate this is rather a lengthy first post but hopefully the background puts my questions (and confusion!) in context. Bottom line is… I simply want to be able to stream audio clips only (no video) to iOS Safari browsers from FMS v4.5.5 running on a Win2K8R2 platform with IIS v7.5, and with no audio content being stored (even temporarily) on the iOS platform.
My thanks and appreciation in advance to anyone who can help me achieve this.
Steve Barker
Business IT SolutionsHi Apurva,
Thank you for your reply. Unfortunately I am not much further forward, despite having read more Adobe documentation (FMS v4.5 Configuration and Administration Guide, FMS v4.5 Developer’s Guide) and trying different configuration options.
First to confirm a point you made when answering point 4 yesterday. Yes, in my current RTMP scenario I have several MP3 assets (let’s call them Audio1.mp3, Audio2.mp3, Audio3.mp3, etc.) that are made available to a bespoke Flash/AS3 player via the LIVE application. I understand that as I purchased the Streaming Edition of FMS v4.5, a Flash-based player is restricted to using the LIVE application. You go on to say that I “publish” these assets to the LIVE application. I set this up a while back but do not recall having to “publish” anything. All I recall doing was to ensure that all the assets (the .mp3 files) were in a single folder and that the folder was identified by the <Streams> tag in the following file (example shown):
Flash Media Server 4.5\applications\live\Application.xml
<StreamManager>
<VirtualDirectory>
<Streams>/;C:\MP3Library</Streams>
</VirtualDirectory>
</StreamManager>
To the best of my knowledge, I didn’t have to do anything else to make the current solution work. Having read more of the documentation I am still none the wiser as to what I need to do (step-by-step) to “publish” my converted MP3 assets (see next paragraph) to the LIVEPKGR application. Please could you explain these steps to me by way of an example.
WRT your answer to point 1 yesterday, I wish to clarify the exact output I need to create when converting my MP3 assets. Am I expected to produce a Audio1.aac file, or a Audio1.mp4, file, or a Audio1.m4a file, etc.? Or am I meant to be using ffmpeg (either directly or indirectly) with a much more sophisticated command line that somehow generates stream-rated info/files as well? An example of how you would use ffmpeg to convert one of my MP3 assets would be very much appreciated.
Lastly, the coexistence of IIS and Apache (ref your answer to point 2 yesterday). That all made sense but given all the testing/changes I’ve been making I thought it wise to start afresh! So I completely removed FMS from my dev server and re-installed Flash Media Streaming Server v4.5.5 with the bundled Apache v2.2 server. When presented with the dialogue “Would you like for Apache to listen on port 80. If not FMS will be using port 80 instead.” I answered NO. When presented with the dialogue regarding FMS server ports, I entered 1935 NOT 1935,80 (should I have done that as the preamble makes reference to HTTP webserver proxy and HTTP Dynamic Streaming origin services?). I then modified the Application.xml file as described above.
To test the new set-up, I did the following. First, the test environment…
DEV Server
Windows Web Server 2008 R2 SP1
IIS v7.5
ASP.NET v4.0
Flash Media Streaming Server v4.5.5
Apache v2.2
IE v9.0
Adobe Flash Player 11 ActiveX v11.5.502.146
TEST Client
Apple iMac (Intel)
Mac OS X v10.6.8
Safari v5.1.7
Adobe Flash Player 11 Plug-in v11.5.502.146
On DEV Server… launched IE and loaded the home page of my website, which has two elements on it – one to load/run our bespoke Flash player, the other to run JPlayer (configured to use HTTP). I selected our bespoke Flash player and it played a MP3 audio file. I verified this in real-time via the FMS Admin Console on the server.
On TEST Client… entered http://192.168.20.250:8134 into Safari – it comes up with the FMS install completed / test your server page. In the middle of the video display area a black box appears saying “10000 OK” – I clicked OK. I then clicked HDS Single Bitrate – the video plays (Not Using Hardware Acceleration is briefly displayed). There is NO activity logged in the FMS Admin Console back on the DEV server under “live”, “livepkgr” or “vod”. I assume this is because I’ve gone straight to the Apache Server via the port reference – is that correct? Next I tried the HLS Single Bitrate – same results.
The HDS Single Bitrate logs the following in the Apache access_log file:
"GET /hds-vod/sample1_1500kbps.f4v.f4m HTTP/1.1" 304 - "-" "Apple Mac OS X v10.6.8 CoreMedia v1.0.0.10K549"
The HLS Single Bitrate logs this:
"GET /hds-vod/sample1_1500kbps.f4v.f4m HTTP/1.1" 304 - "-" "Apple Mac OS X v10.6.8 CoreMedia v1.0.0.10K549"
"GET /hls-vod/sample1_1500kbps.f4v.m3u8 HTTP/1.1" 304 - "-" "Apple Mac OS X v10.6.8 CoreMedia v1.0.0.10K549"
"GET /hls-vod/sample1_1500kbps.f4v.m3u8 HTTP/1.1" 200 816 "-" "Apple Mac OS X v10.6.8 CoreMedia v1.0.0.10K549"
"GET /hls-vod/sample1_1500kbps.f4vFrag1Num0.ts HTTP/1.1" 200 1143416 "-" "Apple Mac OS X v10.6.8 CoreMedia v1.0.0.10K549"
"GET /hls-vod/sample1_1500kbps.f4vFrag1Num1.ts HTTP/1.1" 200 873072 "-" "Apple Mac OS X v10.6.8 CoreMedia v1.0.0.10K549"
"GET /hls-vod/sample1_1500kbps.f4vFrag2Num2.ts HTTP/1.1" 200 1591984 "-" "Apple Mac OS X v10.6.8 CoreMedia v1.0.0.10K549"
etc…
At this point I’m stuck once again since I’m not clear how to construct the JPlayer HTTP reference. You have suggested:
http://192.168.20.250:8134/hls-live/livepkgr/_definst_/livestream/livestream.m3u8
That produces the following in the Apache error_log file:
[error] [client 192.168.20.4] File does not exist: D:/Program Files/Adobe/Flash Media Server 4.5/webroot/hls-live
If I change the JPlayer HTTP reference to:
http://192.168.20.250:8134/hls-vod/sample1_1500kbps.f4v.m3u8
the audio from the video plays.
Also, if I look in the applications\livepkgr folder structure there is only \events (with sub-folder _definst_ and sub-sub-folder liveevent) – there are no _definst_ , livestream , streams folders etc. So besides me not quite understanding the logic/flow here, I seem to be missing a few folders/files too! I’d be very grateful for any light you can shed on all this. Plus an example of what my HTTP string should ultimately look like; for example:
http://192.168.20.250:8134/hls-live/livepkgr/_definst_/livestream/Audio1.m3u8
Apologies for such a long reply but I’ve been at this for over 10 hours today! I feel I’m getting closer but clearly there are still some gaps and configuration errors.
Thanks again for your time, support, patience and understanding.
Kind Regards, Steve -
Creating a FLV video player with full screen option
> This message is in MIME format. Since your mail reader
does not understand
this format, some or all of this message may not be legible.
--B_3258016930_5977304
Content-type: text/plain;
charset="ISO-8859-1"
Content-transfer-encoding: 8bit
Hi!
I am trying to create a video player that will allow full
screen functions
like what we can see on youtube. I know how to create the
window and the pop
up but the only problem I am having is having the original
video in the
small screen to pause or go silent when the full screen mode
is activated.
How can get it done?
Thank you.
°K.
--B_3258016930_5977304
Content-type: text/html;
charset="ISO-8859-1"
Content-transfer-encoding: quoted-printable
<HTML>
<HEAD>
<TITLE>Creating a FLV video player with full screen
option</TITLE>
</HEAD>
<BODY>
<FONT FACE=3D"Arial"><SPAN
STYLE=3D'font-size:12.0px'>Hi!<BR>
<BR>
<BR>
I am trying to create a video player that will allow full
screen functions =
like what we can see on youtube. I know how to create the
window and the pop=
up but the only problem I am having is having the original
video in the sma=
ll screen to pause or go silent when the full screen mode is
activated. How =
can get it done?<BR>
<BR>
Thank you.<BR>
<BR>
<BR>
<B>°K.<BR>
</B> </SPAN></FONT>
</BODY>
</HTML>
--B_3258016930_5977304--Hello,
You should ask in the
Windows Phone forums on the Microsoft Community forums.
Karl
When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
My Blog: Unlock PowerShell
My Book:
Windows PowerShell 2.0 Bible
My E-mail: -join ('6F6C646B61726C406F75746C6F6F6B2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})
Maybe you are looking for
-
Hi All, Can anyone plz tell me, In free goods exclusive option, i have configured the minimum quantity is 100 and for every 100 unit one unit is free. The calculation type is unit reference.If i enter 220 units in the sales document . it displays 22
-
SSRS Reports In IE 10.0.9200.17183
Hello, I have a SSRS report deployed. I'm unable to generate the SSRS report in IE 10. Is there any settings in SSRS Report or IE 10. Thanks in advance Regards, Shraddha Gore
-
Tecra A2 Limits for new hard drive
I have a Tecra A2.MS101E Is their a limit to the size of hard drive I can up grade to from the 40 GB that was in it. Iwas thinking of 160GB Thanks Jan
-
Hey, I am using a HDR-HC3 HDV 1080i video camera on imovie. Whenever I have the setting on my video camera (compressing it from HDV to DV) with the imovie format on PAL DV Widescreen I have no picture in imovie or it says the camera is not compatable
-
Is Increment and Decrement Operators Atomic?
Is there a need to synchronize increment and decrement operations, or they are atomic? If so, how about pre and post variations?