I have a mpg file in my system and i want to publish it into the Red5 server so that i can broadcast it over my network.After some research work i was not able to find a solution for it ,did anyone of you guys have tried this .I mean publishing file from local system to red5 server.Can anyone guide me to a proper direction possible please.I am using Flash CS3 and AS3.
Publising a local mpg file to red5 server using as3
601 Views Asked by Vipin Nair At
2
There are 2 best solutions below
7
shaunhusain
On
You can use the FileReference.browse() to get a dialog/system pop-up to choose a file. You listen for the SELECT event on it (this means the user chose a file), then you can call upload on it. You'll need a server side script of some sort that accepts the file and saves it to a location the Red5 server is pointing to to serve it's files (PHP, Java, whatever should do).
Related Questions in ACTIONSCRIPT-3
- How to create an ActionScript 3.0 in Flash to display Current Date, Time and Day of Week
- textinput.needsSoftKeyboard does not work (air for android)
- AS3 Get currentFrame of current MovieClip
- call Win32 API in flex to set Window Display Affinity
- Air Native Extensions: Released Air App w/Windows Native Extension works fine on develpment PC but not on other computers
- TestFlight API and stats with as3
- Error while using removeChild() and accessing members of array
- Flash erase image with mask - gotoandplay next frame
- Adding a listener to a VerticalScrollBar in flex
- AS3 array to clean up long code?
- AS3 - How can objects that appear randomly never touch each other?
- import a sound externally or from the library? AS3
- Nesting Asynchronous Promises in ActionScript
- AS3 - How can multiple objects that appear randomly NEVER touch each other?
- ActionScript + Ruby
Related Questions in RED5
- How to use a custom codec for flash microphone strming over rtmp
- I can't get red5-hls-plugin to build
- Red5 (hosted on EC2), save data to file server (hosted on different EC2)
- Red5 Pro: Unexpected response code: 400 & WebSocketException - Handshake failed
- Red5 live streaming example using java
- Streaming microphone to RTMP (red5) and back on android
- Trying to find server ip address for red5 on wamp server
- Red5 server installation incomplete source code
- how to undeploy red5 RTMP application on linux?
- Red5 Maven build failure
- Red5 Websocket chat application support multiple chat rooms
- Red5 RTMPS failed connection with self signed certificate
- Red5 failed while installing Red5 application generation 1.0
- List streams available with Red5
- How to use remote SharedObject in AS3 and Red5 -- Second Attempt
Related Questions in PUBLISHING
- How to stop visual studio generate typescript js and js.map files while publishing
- Error while publishing Java EE application to WebSphere Server v8.5.5 in Eclipse. "The name parameter cannot be null"
- Visual Studio - How can I change the publisher name
- How to update database during publish using different connection string
- Google Play Timed Publishing
- Remote artifact repository vs local
- i cannot Upload my MVC Project via VS Publish Tools, it only accept FTP
- Is it possible to add an affiliation to the DESCRIPTION-file of an R-package?
- How to disable source code publishing in ASP.NET 5 apps?
- Can I republish my app under a different account?
- Sitecore Publishing
- Proguard Error Code 1: Proguard.ParseException
- Why Visual Studio 2013 publish website with source code?
- Error after publishing .net web project
- How to Deploy Click Once Application in different Domains
Related Questions in FLASH-CS3
- Why am I receiving a null error when I do a `hitTest` on a defined object?
- Does Flash CS3 export SVG's?
- Flash CS3 startDrag on object in movieclip inside main fla
- Flash CS3 Deleting objects on stage
- How can a make an animation like a moving arrow for an image
- Error 1084: Expecting righparen before release
- Flash: Align text verticaly
- MouseEvent.CLICK not responding on stage
- how to get X,Y coordinates of a movieclip (inside another movieclip) but relative to the _root?
- Flash CS3 - Can this be used to publish stand alone apps and desktop games
- Need to create a pause/resume toggle button in Flash CS3 AS3
- Flash CS3 null reference to button/mc after returning to Frame
- Unable to save video on Red 5 server using Flash cs3 and AS3
- Web cam showing low resolution video when using flash cs3
- Publising a local mpg file to red5 server using as3
Related Questions in MPEG
- Frame rate control of a ts file
- Change data in intra frame of MPEG file in matlab
- How to port mp3 code to a ARM board
- MPEG2TS container format
- Compiling Mpeg-7 XM Software on Windows
- Coding a certain MP4 GOP with FFMPEG
- Php output continuous stream
- What is a damaged MPEG stream?
- MPEG4 videos cannot be played on iOS14 (AVPlayer issue)
- How can I display a video of mpeg encoded data in WPF?
- Extracting I-Frames from MPEG 2
- Java: How do I create a movie from an array of images?
- MPEG1 motion estimation / compensation
- Implementation of the MPEG-4 standard Part 16 (Animation Framework Extension)
- How I can control speed of one song with libmpg123?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
@Vipin Your best bet is going to be using something like ffmpeg for ease of programming, quality, and transcoding speed, and if you want a nice API something like xuggler looks like a good approach, and though I've never used it, I've read lots of good things about it from people doing stuff exactly like what it sounds like you're trying to do. I have successfully used ffmpeg to do something similar to what you want from a Ruby backend recently, and have no reason to believe it'll be any less easy or usable for you to do this in Java. To use
runtime.exec()to execute ffmpeg, try this. If you do either of them, there shouldn't be any reason that FLV isn't an option, as I know for sure that ffmpeg does this. It's a little older post, but this post covers how to set up a command line exec call to ffmpeg for going mpg -> flv like you want, though I imagine if you use xuggler, this is built in to the API a little more. Another SO answer that covers both of these approaches is here.