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
602 views Asked by Vipin Nair At
2
There are 2 answers
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
- [Actionscript]How to display the information inside an array of objects
- How to set a colour variable in JS
- When using INSERT OR REPLACE INTO in SQL is there any way to tell if a record was inserted as new or replaced in SQL for AS3?
- How to inject a bean in a view with Crux
- AS3 - Unable to resize Image width and height
- How do I move Pac-Man smoothly in AS3?
- Export Release Build is not working in Adobe Flash Builder, It does nothing on Finish button
- 1009 Error for a Character Skin Symbol in AS3
- Issue setting domain memory
- Implicit coercion of a value with static type Object to a possibly unrelated type Number
- Defer implementation of interface functions to child class
- Simple top 3 scores from an array to textfield
- Need ActionScript 3 coding for input boxes that will determine amount of color fill in a movieclip
- AS3 Caling MC on Parent Timeline from Child
- 2 error problems for simple music players
Related Questions in RED5
- Does method 'jwplayer(div).setup()' accept option 'streamer'?
- Red5 Application specify custom playback directory
- How to stream from Streamlabs mobile app to Red5 via RTMP
- WebSocket connection to 'ws://localhost:5080/live/?id=mystream' failed - red5pro
- red5 streaming server on GCP vm using red5pro-installer app not working with "sample" stream
- how to stream capture image frame to rtmp server using ffmpeg C#
- Development Cordova App with Red5pro live stream
- Ant media server: Exception in thread "main" java.lang.UnsupportedClassVersionError
- Red5Pro: Server keeps loading without response
- I can see live app on secured port 443 red5pro
- Live Streaming Using Red5 with H.265 Raw Imcoming Video
- How do I get Red5 /installer URL not to yield 404?
- Concatenating mp4 files on run time using red5.io
- How to view rtmps red5 playback video from Chrome?
- How to Play flash/swf type format videos in mobile browser?
Related Questions in PUBLISHING
- Why does visual studio not make an exe file when using the windows service template and publishing it?
- Can't publish my linux Flutter app on snapcraft
- Usage of .exe file in framework-dependent asp.net core publish
- Publishing in Visual Studio 2019 - Could not find part of path
- UnexpectedAppleResponse Error when trying to publish app to App Store
- gradle publishing not working - No such Algorithm
- How to publish free unity game to Google Play?
- How can I put publish files in the custom folder in asp.net core?
- Publish app Huawei Appgallery in the China
- How can I "publish" an editor add-on to be used by just me?
- C# application publishing error - references to development computer in cronjob errors on remote dev server
- My App is in review or pending publication in google play store
- Publish button missing in Visual Studio
- Flutter and Android Studio Publishing
- Safe distribution of Spring based application
Related Questions in FLASH-CS3
- How to hitTest same Objects in one Array?
- First question! NPC walk-cycle randomizer is working as intended (boundaries do need tweaking), but not playing the nested walking animations? (AS3)
- My for loop won't display my object, but no errors show up
- Flash AS3: Typewriter effect with copyPixels
- Why can't I remove this Movieclip?
- How to Adjust Volume in an Audio loop?
- How to reference a variable from a class to a scene in ActionScript 3.0
- Does Flash CS3 export SVG's?
- Why am I receiving a null error when I do a `hitTest` on a defined object?
- Need info on how to solve a function
- XMLSocket approach for a multiplayer card/pet game
- Camera Movement with Character - AS3
- Flash CS3 null reference to button/mc after returning to Frame
- Flash CS3 Deleting objects on stage
- Flash CS3 startDrag on object in movieclip inside main fla
Related Questions in MPEG
- Exoplayer does not play h264 mpeg-4 avc (part 10) codec in Android
- How to convert MPEG2-TTS to MPEG2-TS format to playback using ffplay
- Is there any way to parse .mpd file and download all the media from url generated?
- Unable to extract KLV data from .mpg file
- Gstreamer include SDT table
- Issue with @cycjimmy/jsmpeg-player in React 18, Cannot read properties of null on destroy()
- How can I play a transport stream file in Angular?
- How to correctly encrypt the I-frames in video files?
- How to play audio from a stream that contains a MPEG file?
- Convert 10 bit number to mantissa-exponent and vice-versa
- Does MPEG-Dash live have ?begin parameter in their URI to start playback from a particular position
- How do I convert raw audio/binary mpeg data into audio/x-mulaw with a sample rate of 8000 and base64 encoded in NodeJS?
- How to get better video quality using Accord.Video.FFMPEG.DLL
- How to turn binary from server back into audio file?
- Is it possible to stitch MP3 frames together?
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?
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)
@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.