Actionscript 3.0 :: Streaming The Flash H264?
Apr 14, 2010
I´m having problems with h.264 in Flash. streaming a h.264 video from Red5 to a Flash client with ActionScript 3 or 4. The original code supports streaming video in .flv format with Sorensen and I would like to support .flv format with h.264 encoding. Does someone know something about? This is my original code:
play_btn.play_symbol_txt.background = false;
stop();
isPaused = true;
var nc:NetConnection = new NetConnection();
[code]....
View 1 Replies
Similar Posts:
Nov 22, 2010
I just met a piece of error log when I was trying to resume the paused mp4 streaming. Here is the log from the server:
[INFO] [NioProcessor-1]
org.red5.io.mp4.impl.MP4Reader - Frame
position was not found for timestamp:
92000
I'm using Red5 newest 0.9.1 final for mac os x to stream the H.264/AAC encoded MP4 file to my flash app.
And there's no problem when I'm resuming the .flv file.
View 1 Replies
Jun 23, 2010
I need to get H.264 videos streaming. I've gotten the mp4 file playing and buffering, which is great, but when I try to seek ahead to a part that isnt buffered, the video stops, goes to the start of the video, and will no longer play. FLV files behave exactly as I would like them to, meaning they go to selection position and start buffering and playing from there. Here is my progressiveSeek function:[code]keyFramesSeconds and keyFrames Bytes are just arrays that hold the metadata for the seekpoints. This function, when called on the H264, goes to the beginning and stops the video, but when called on the FLV, does what I want. How can I do progressive seek for an H264?
View 7 Replies
Aug 6, 2010
I want to be able to stream a live video using Flash Media Live Encoder 3 using two options of 300 kbps and 150 kbps.I want to give users a choice of stream quality depending on their available bandwidth to maintain the live feed.I have set it up so that the Bit Rates are 300 and 150 and tick marks on: 1 and 2my FMS URL is correctin the Stream: box I have written: test1;test2The SMIL file has the following:
<smil> <head> <meta base="rtmp://live" /> <body> <switch>
<video src="mp4:test1.f4v" system-bitrate="150000"/>
[code].....
View 3 Replies
Apr 7, 2010
I read an Adobe article which demonstrated H.264 video playback support in Flash Player. Would video encoded in this format be more compressed than typical FLV videos? Should I be using this format for video I place on websites from now on?
View 3 Replies
Jul 16, 2010
I'm toying with an Adobe Air app that plays quite large movies. I want to run it on a 1920x1080 display connected to a Mac. Unfortunately, the movies tend to stutter and I'm betting that happens because I'm not using HW GPU acceleration for H264 playback.
Most of the player code is ported (aka copied) from a web player I built and which runs very smooth on the Flash Player from the browser. So the code shouldn't be the problem.
In the Flash Player, to use GPU acceleration in a fullscreen mode, you have to set the Stage.fullscreenSourceRect property. However, this doesn't seem to work in Adobe Air...
View 3 Replies
Mar 11, 2010
i stumbled accross the following website: URL...As you can see, the site is driven using a hd video. the user can interact with the site by performing little actions with the mouse. I guess this is simply accomplished by seeking through the video using the mousemovements as offset.What i would like to know is, how are videos like this encoded ? How big is the video behind a site like this ? Is the HD content streamed from the server ? What compression would you recommend for similar quality ? Do you guys know a tutorial/article that deals with constructing "video driven" websites like the one above ?
View 1 Replies
Sep 30, 2011
Is there any command line tools to move an h264/mp4 index to the beginning so that flash will start playing the file quicker over the net? I am aware of the tool QTIndexSwapper however it is not command line.
Alternatively is there an ffmpeg command to place the index at the front during an encoding?
View 2 Replies
Sep 12, 2011
use Flash's StageVideo object through the example ActionScript file in this page [URL] the problem is it's just showing up a black screen (no video) for live streams which are not using the H264 codec?and also it is not even throwing up a StageVideoEvent.RENDER_STATE event to say that it cannot play the stream. Actually it can seem to play the stream because I can hear audio but it is just unable to show up any video, anybody encountered this scenario before?Someone commented on some other sites to check if the "Enable Hardware Acceleration" in the Flash settings is checked, and I can confirm that it is checked, again this is only happening whenever I'm viewing a non-H264 stream
View 1 Replies
Jan 31, 2012
Right now I am working on an AIR 3.2 application which lets you stream a video to a Flash Media Server and saves it on a hard drive.This sequence works fine with the standard Sorenson codec but I want to use H.264 for my videos. I found lots example c ode and implemented it in my code, but when I record a video of myself I am unable to re-watch it afterwards.I found how to implement a H.264 encoding in a realeyes blog post here. My code is here.It saves the video as a .f4v file, but my browser (I've tried the latest versions of both Chrome and Firefox, with the latest Flash) and also VLC are unable to load the video. I also used a program called Movie Player which is able to open the file but can only show the first frame and the audio. Neither am I able to upload the video to YouTube because they do not support the file extension.Here is an example video file it saved: H264Test1.f4v.My question is: How do I stream and save the movie with a file extension that I am able to re-watch while using the H.264 codec?
View 1 Replies
Aug 16, 2011
Probably this feature is in the next generation of FMS 4.5 However, it is said this can be achieved with some manipulation of files with current FMS. Can we do a 2-way live video session.
UserA(in webpage flashplayerV11 beta: encode using H264) -> Flash Media Server -> UserB at iPhone(either HTML5 or others to play the live video in RTMP/RTMFP)
Next step will be the reverse:UserA(in webpage flashplayerV11 beta: decode using H264) <- Flash Media Server <- UserB at iPhone(either HTML5 or others to publish the live video in RTMP/ RTMFP)Better to use UDP based.Seems the HTTP live streaming incurs huge delay 4-8sec; not really working for live video chat sessions.. So how Skype handle this on iOS? with its own encoding/decoding?
View 2 Replies
Oct 21, 2011
I am using the new Flash Player 11 ability to encode H264 video within the Flash Player. I am streaming the webcam via RTMP to a FMS. I am using the following settings:H.264 BaselineLevel 5.1Keyframe freq. 5 seconds25 FPSInput size: 1280 x 720 (720p)Output size: 1280 x 720 (720p)Bit Rate: 1000KbpsWhen I am using these settings with FMLE 3.2, the final stream plays very fluent with a good amount of FPS. If I am using Flash Player 11 for the encoding job instead, the final video is not as fluent as before and achieves less FPS (maybe 5 FPS).So the question is: is Flash Player 11 not as good as FMLE 3.2 or am I missing some configuration?
View 2 Replies
May 22, 2011
I�m building an iPad 2 app with Flash with ActionScript 3 (Adobe CS5.5), what I want to do is to wrap my two sections of the video (h264) inside the final app? I do not want to stream the video or load it external, "I need it to be included in the app locally" (inside the final package)!I need it to be in one application, to upload to the iTunes Store/Google market�
PS like to do the same with Android, the package (apk) no stream video.
View 0 Replies
Jul 2, 2009
We are streaming a one hour F4V from streaming media server 3.5.2 and for some reason it is seeing our one hour video as being 10 hours long. We have tons of other videos and never ran into this problem in any of the other files. This is the only file that exceeds one hour. This occurs in the default player from the streaming server.
View 1 Replies
Feb 24, 2010
I have a virtual directory (Storage Area Network) in 'C' drive as well as in "webroot" folder in Flash Streaming Server. What do I need to do to make RTMP videos work from SAN directory on Flash Streaming Server. It works fine for http. RTMP from vod -> application folder works fine. I have done a lot of research and found out that we can use virtual directories for streaming videos. I am unable to find steps on how to use it..
View 4 Replies
Dec 16, 2009
I put the h264 packets into flv file with the flv file format in video_file_format_spec_v10.pdf. I used CodecID=7(AVC) and filled video data with h264 encoded packet. But it doesn't work. The codec lib is x264 with CABAC enctropy. The test.flv file in attachment is what I created using x264. Below is the media infomation about test.flv.
View 2 Replies
Nov 11, 2011
I use FMLE to publish h264 video to FMS , my server side code (main.asc)[code]...
View 10 Replies
Aug 18, 2010
I am trying to record a H264/AAC streamin FLV format on my FMS server and all I get in the recording is the metadata but no media content. Is H264 recording only supported in F4V?
View 1 Replies
Dec 16, 2011
I just tried to record a stream with the new H264 classes, PCMU as audio codec to FMS 4.5. with MetaData problem. I got only the half of MetData without any duration: neither any audio codec
[Code]...
View 3 Replies
Jan 4, 2012
We have 2 FMS 4.5 servers, one working as origin one as edge we are running our custom DVR application on Origin server, wich records streams. Clients are connecting to edge server and they can watch live or rewind back and watch recorded stream, the problem is after too many clients are connecting to edge server the rewind option becomes unstable, form our investigation we determined that rewind working bad only on that parts of file wich is not cached on edge server yet (caching is working fine when there are not too much clients).
We have currently upgraded from FLV Streams to H264, FLV was much stable and was able to handle much more connections.
View 3 Replies
Jul 28, 2010
I have used the following properties in the meta data handler for finding the keyframes, but returned nothing:
var kfPoints:Object;
for (var propName:String in metaInfoObj)
{
if (propName == "keyframes")
[Code].....
How can I find keyframes in an mp4 file transcoded with an H264 codec?
View 0 Replies
Dec 14, 2010
As of Flash 10.1, they have added the ability to add bytes into the NetStream object via the appendBytes method URL...The main reason for this addition is that Adobe is finally supporting HTTP streaming of video. This is great, but it seems that you need to use the Adobe Media Streaming Server (URL...) to create the correct video chunks from your existing video to allow for smooth streaming.I have tried to do a hacked version of HTTP streaming in the past where I swap out the NetStream objects (URL...), but there is always a momentary pause between the chunks. With the new appendBytes, I tried to do a quick mock up with the two sections of video from the preceding site, but even then, the skip still remains.Does anyone know how the two consecutive .FLV files needs to be formated in order for the appendBytes method on the NetStream object to create a nice smooth video without a noticeable skip between the segments?
View 6 Replies
Jul 7, 2010
I'm trying to publish video streaming over internet. I want to use the h264 codec in FMS for that. Is there any in built property or setting to use h264 or have to use library for that. And also want to know among VP6, sorenson and 264 which is better to use.
View 6 Replies
Oct 14, 2010
I stream some h264 videos to my application in FMS3.5, the videos can be played in FMS, but don't work in the local playback, <s:VideoPlayer source="test.f4v" x="31" y="18" width="402" height="206"/>. I get some h264 videos from FMS application "vod", they work well.
View 6 Replies
May 21, 2011
I'm building an iPad 2 app with Flash with ActionScript 3 (Adobe CS5.5), what I want to do is to wrap my two sections of the video (h264) inside the final app?To clarify, I do not want to stream the video or load it external, "I need it to be included in the app locally" (inside the final package)!I need it to be in one application, to upload to the iTunes Store/Google market...PS like to do the same with Android, the package (apk) no stream video.
View 2 Replies
Sep 12, 2011
I'm trying to use Flash's StageVideo object through the example ActionScript file in this page(http:url....), the problem is it's just showing up a black screen (no video) for live streams which are not using the H264 codec? and also it is not even throwing up a StageVideoEvent.RENDER_STATE event to say that it cannot play the stream. Actually it can seem to play the stream because I can hear audio but it is just unable to show up any video.
Someone commented on some other sites to check if the "Enable Hardware Acceleration" in the Flash settings is checked, and I can confirm that it is checked, again this is only happening whenever I'm viewing a non-H264 stream.Can the StageVideo be used to view live stream using screenshare codec (SVC2)? I have tried viewing H263 stream and it plays fine, only when viewing live stream using screenshare codec that I'm encountering this problem
View 14 Replies
Apr 24, 2009
The Signal is yuv or pcm stream , i use the fmle3.0 to encoding to the h.264 format.
Once started.the CPU utility rate is going up to the 100%. I want to konw,which kind of the CPU can support the live stream. In other words,My require is encoding the one live stream the cpu utility rate is below 30%.
View 2 Replies
Feb 3, 2012
I have created an swf where I can record the webcam picture as H264 video to a FMS 4.5 (I am using the developer version).My code is looking like this:
var h264Settings = new H264VideoStreamSettings();
h264Settings.setProfileLevel("baseline", "1.2");[code]....
I can then replay the video from FMS just fine, but if I try to copy the video from the FMS application directory into a local project and try to play the video with the FLVPlayback component, or with the Adobe Media Player, it is not playing at all.Is this to be expected? Can't I record a webcam video with FMS in H264 and use that video later without FMS?
View 1 Replies
Apr 8, 2011
Same file streamed from FMS4 (same on 3.5) with rtmp protocol has very poor quality compared to real file quality. Is there some low level configuration to do on Flash Server? Is the streaming server making some kind of transcoding before sending the stream? Or it can be Flash Player? Tried unchecking "hardware acceleration" but nothing changes. I am on a local gigabit network, so no network bottlenecks. Video seems very pixelated on the edges (not soft/antialiased). These are the file details:
[CODE]....
View 4 Replies
Jan 8, 2009
Is it possible to stream mp3 files from mms url's like this? [URL]
It throws an error when i try the way i use to load mp3 files (it works with other mp3s):
var sndObject:Sound= new Sound();
var reqObject:URLRequest=new URLRequest("mms://example.streamsvr.com/example.mp3");
sndObject.load(reqObject);
[Code]....
View 1 Replies