flv

How can I achieve the best overall FLV quality with FFMPEG?

巧了我就是萌 提交于 2019-12-02 18:29:34
I'm looking to accomplish the best quality FLV with the lowest file size. After all, isn't that everyone's goal? These videos will be streamed if that makes any difference. For now, my video(s) are no wider than 320px, and some are widescreen, so their heights are a little smaller than 240px. As it stands, the quality of the converted FLVs is quite poor. Current command: > ffmpeg -i video.mov -ar 22050 -ab 32 -f flv -s 320x240 -aspect 4:3 video.flv By default flv defaults to 200Kb and with the qmax being as high as 30 (since you're not overriding it) it'll probably be producing output near

Encode video from any format to .flv format in AS3

别来无恙 提交于 2019-12-02 10:54:35
Is there any library in Action Script that be able to convert any video format to .FLV? I've been looking for it with no success. I thought that as3 had functions for that purposes but not found. I want to give the possibility that in my site, users can upload any video, so I need to convert it to a standard and compress it to a fixed resolution. Thanks in advance. There's a FLV encoder AS3 library . As far as I remember it requires image bytes and audio bytes for a frame. But you will have to get image data and sound data somewhere. You could either play the video in flash and grab

How play flv files using jPlayer?

一世执手 提交于 2019-12-02 10:45:39
I googled and I found jPlayer for playing video content over the net. But jPlayer does not play .flv (flash video) files. I mentioned path correctly for swf player. it is inside the js folder and js folder is at the same lever where my example.html code file is. my code is as below example.html $("#jquery_jplayer_1").jPlayer({ ready: function () { $(this).jPlayer("setMedia", { m4v: "media/royalrumble.mp4", flv: "media/royalrumble.flv", poster: "media/royalrumble.jpg" }); }, swfPath: "js", supplied: "m4v, flv" }); The code below worked for me $("#jquery_jplayer_1").jPlayer({ ready: function ()

How to split flv file by size using FFmpeg or mencoder or smth else?

瘦欲@ 提交于 2019-12-02 05:50:55
I need to split an flv file into chunks of the known size on linux server. For example my original file is 9Mb and the chunk size is 4Mb. So I should get 3 parts - 4Mb, 4Mb and 1 Mb. Seems that FFmpeg can split only by time. Mencoder can start by time (-ss TIME) and finish by size ( -endpos SIZE MB). But if start second of the first chunk is obviously 0, then how can I get start second for next chunks? Do you have any suggestions? Thanks in advance. calculate ~time (sec) of every block & use -ss X -t X+avg_block_time for split video There is a commandline utility which does just that: http:/

ffmpeg: convert audio-only flv to swf

不羁岁月 提交于 2019-12-01 16:53:28
My Flex application records audio-only FLV files using red5--I'd like to convert these to SWF files so I can embed them in other SWF files. (I could also convert to MP3 and then embed them into SWFs myself, but I'd prefer a one step solution.) Anyone have experience doing this? What I've tried: The following naive ffmpeg command fails: > ffmpeg -i 3139747641.flv -vn movie.swf FFmpeg version SVN-r21751-snapshot, Copyright (c) 2000-2010 Fabrice Bellard, et al. built on Feb 11 2010 09:15:42 with gcc 4.2.1 (SUSE Linux) configuration: --enable-gpl --enable-nonfree libavutil 50. 9. 0 / 50. 9. 0

ffmpeg: convert audio-only flv to swf

元气小坏坏 提交于 2019-12-01 15:48:35
问题 My Flex application records audio-only FLV files using red5--I'd like to convert these to SWF files so I can embed them in other SWF files. (I could also convert to MP3 and then embed them into SWFs myself, but I'd prefer a one step solution.) Anyone have experience doing this? What I've tried: The following naive ffmpeg command fails: > ffmpeg -i 3139747641.flv -vn movie.swf FFmpeg version SVN-r21751-snapshot, Copyright (c) 2000-2010 Fabrice Bellard, et al. built on Feb 11 2010 09:15:42 with

How to convert a FLV file recorded with Red5 / FMS to MP3?

僤鯓⒐⒋嵵緔 提交于 2019-12-01 01:41:35
I'm looking for a way to extract the audio part of a FLV file. I'm recording from the user's microphone and the audio is encoded using the Nellymoser Asao Codec . This is the default codec and there's no way to change this. Costo ffMpeg is the way to go ! It worked for me with SVN Rev 14277. The command I used is : ffmpeg -i source.flv -nv -f mp3 destination.mp3 GOTCHA : If you get this error message : Unsupported audio codec (n) , check the FLV Spec in the Audio Tags section. ffMpeg can decode n=6 (Nellymoser). But for n=4 (Nellymoser 8-kHz mono) and n=5 (Nellymoser 16-kHz mono) it doesn't

How can I convert an AVI file to FLV format with PHP?

杀马特。学长 韩版系。学妹 提交于 2019-12-01 01:14:35
Is it possible to convert an AVI file to FLV format with PHP? If so, how? I don't need a complete solution, just a hint on how to do it. ffmpeg is a great library for this sort of thing. Here's a walkthrough of the process: http://vexxhost.com/blog/2007/05/20/how-to-convertencode-files-to-flv-using-ffmpeg-php/ It would be simpler to convert the video into Flash video and just use one of the many Flash video players out there. There is also an ffmpeg api for PHP, this would be a good place to start. Assuming you have ffmpeg installed, you can do this: <?php define('FFMPEG_LIBRARY', '/usr/local

Is Flash Cross Domain useless?

情到浓时终转凉″ 提交于 2019-11-30 21:35:02
问题 I'm trying to play an FLV file located on a remote server ('crossdomain.xml' does not exists in the process) in 3 ways: From a browser using an SWF player located on some server From VLC, pointing to the remote file. Downloading the remote file and swf player - playing it locally Guess what? Didn't play the flv Played like a charm Played like a charm Conclusion: Flash's Cross Domain security is useless. Please tell me where I'm wrong or perhaps I'm just helping someone understand that this

How can I convert an AVI file to FLV format with PHP?

笑着哭i 提交于 2019-11-30 20:19:51
问题 Is it possible to convert an AVI file to FLV format with PHP? If so, how? I don't need a complete solution, just a hint on how to do it. 回答1: ffmpeg is a great library for this sort of thing. Here's a walkthrough of the process: http://vexxhost.com/blog/2007/05/20/how-to-convertencode-files-to-flv-using-ffmpeg-php/ 回答2: It would be simpler to convert the video into Flash video and just use one of the many Flash video players out there. There is also an ffmpeg api for PHP, this would be a good