I installed red5 server is used for playback video.
As oflademo page, I see each file .flv has a file .meta to playback video, i.e .meta file help pause, play, quick roll video to next step ... Now, I uploaded new file .flv to /usr/local/red5/webapps/oflaDemo/streams/ to playback. And I want to create a similar .meta file.
How do create .meta file from .flv file ?
Have you seen this tool in their wiki?
http://trac.red5.org/wiki/Tools/MetadataGenerator
Related
How can I download HLS video files and keep it in local in flutter? I have tried using dio package and flutter_downloader package but not able to download full HLS video files of Playlist.m3u8.
For example,
URL: https://s3.example/samplevideo/playlist.m3u8
This above is the HLS video file URL it contains .ts files so I need to download all the .ts files related to playlist.m3u8 and store it in local.
The .m3u file is a playlist that should contain links of playable media. To download those links, you can use m3u plugin to parse the playlist. From there, you should be able to fetch the list of links that you can use to download the files.
I have been trying to use a custom AVPlayerItem that lets me copy the currently playing media to file after it has been downloaded while it is streaming into the AVPlayer, essentially letting me cache the displayed video while showing the video as soon as possible.
Unfortunately, my application sometimes needs to download mp4 files from a server (that I don't control) that is giving the mime type as image/gif although the downloaded file IS an mp4 file. Because of this, my AVPlayer is not "streaming" in the video as it's downloaded, and only shows it once the file is completely downloaded and it realizes the file really is an MP4.
My thought is now to just download the file directly to a local file with a .mp4 extension that a standard AVPlayerItem can stream in, and write to this file while reading from it with the AVPlayerItem. Is this possible? Will the AVPlayerItem pause when it is still downloading/buffering the incomplete data or will it just produce an error without displaying anything? Is there a better way I can be doing this?
I want to merge two recorded audio files (.caf)in an iphone .is there any solution?for recording am using avaudioplayer.
answered By: MidHere
You can do it using ExtAudioFileService. In ios developer library they had provided two examples to convert one audio file to another format. In these they are opening one audio file for reading and another file for writing (converted audio). You can change or updated code to read from two files and write them to one out put file in same format(caf) or compressed format. First you have open first audio file and read every packets from it and write it to a new audio file. After finishing first audio file, close the file and open second audio file for reading. Now read every packets from second audio file and write to newly created audio file and close second audio file and new audio file.
Please find the links(1,2) for these sample codes .... Hope this helps you...and good luck. :)
How to save the file which is recorded in sound_record.js File from Appcellrator Titanium KitchenSick Demo.
file = recording.stop(); // file container TiFile Object
sound = Titanium.Media.createSound({sound:file}); // Sound Contains. TiMedia Object
I found these two lines which has the data, which is recorded, But i didnt get that, How to save these recorded data into iphone, so that they can have an access to these files which is recorded.
And also Uploading the Audio files to Web Server, Every where we have how to upload the Image which comes from Gallery, But there is no where its mentioned how we can upload the audio files such as .wav file which is recorded using sound_record.js.
I would checkout the KitchenSink, you'll find a lot of examples there. For saving I would checkout the filesystem.js and for upload the xhr_fileupload.js.
I have many videos in .flv and .mp4 formats. I store then in one Windows folder and re-name after downloading so that it becomes easy to find one that I want to play.
It would be best if I can create thumbnail from one of the frames of video file.
Is there a program/utility in which I can open the .flv or .mp4 file, play, pause and take the screen/frame and set it as thumbnail of that file?
I did my best to find it on internet but failed hence thought to reach out to Gurus.
Thanks in advance,
Jay
I think ffmpeg and mencoder can do this