flv

Secure pseudo-streaming flv files

此生再无相见时 提交于 2019-12-18 12:44:53
问题 We use RTMP to secure stream media content through Wowza and it works like a charm. Wowza is really strong and robust media-server for a business purpose. But we met a problem, it's getting bigger every day for us. A lot of new customers can't use RTMP by their firewall rules, and it's a problem to deliver a business media content for them. But everybody has no problems with http pseudo-streaming or just progressive, like it does youtube or vimeo . So we should do the same, but provide secure

Extract Audio from FLV stream in C#

隐身守侯 提交于 2019-12-18 11:44:26
问题 I'd like to extract audio stream from a FLV stream in C#. I searched in Google and I found FLVExtract, but it supports only extracting from FLV files, and not from streams. How can I do this? 回答1: I didn't find anything, so I had to write it myself. It is very fast and it's working great. Here's the code: protected byte[] ExtractAudio(Stream stream) { var reader = new BinaryReader(stream); // Is stream a Flash Video stream if (reader.ReadChar() != 'F' || reader.ReadChar() != 'L' || reader

calculate flv video file length ? using pure php

心不动则不痛 提交于 2019-12-18 04:17:08
问题 What is the best way to calculate the length of flv file using php with out external dependencies like ffmpege because client site run on shared hosting, itry http://code.google.com/p/flv4php/, but it extract metadata and not all video contain meta data ? 回答1: There's a not too complicated way to do that. FLV files have a specific data structure which allow them to be parsed in reverse order, assuming the file is well-formed. Just fopen the file and seek 4 bytes before the end of the file.

Example of a FLV file with Speex-encoded audio?

霸气de小男生 提交于 2019-12-14 01:33:28
问题 Can anyone point me to an example of a Flash video file with a Speex-encoded soundtrack, freely downloadable from somewhere on the web? Video can be in any codec (ideally none.) I am trying to develop an application to generate such a file programmatically and would like a valid example to compare with my output for debugging purposes. This link claims to be Speex in FLV, but it doesn't work in any of the players I tried it in. This file is readable but allegedly contains a bug (but I don't

How to force the NetStream to create a keyframe?

本小妞迷上赌 提交于 2019-12-13 16:32:58
问题 I created a video stream recording application that works fine except the recorded FLVs are corrupt a little bit. :) If I open an FLV in VLC player everything is green but getting "clean" when changes occur. And especially at the beginning of the video is breaking up. (I use Red5 1.0) 回答1: For pre-recorded streams, the keyframes are already encoded into the file and they cannot be changed. If you're serving a live stream, the keyframes need to be set in the application that is encoding the

Converting Mpeg file to flv and simultaneously playing the converted file in flash cs3 using as3

坚强是说给别人听的谎言 提交于 2019-12-13 07:16:19
问题 I have an mpg file which I want to convert to flv format, but I have a requirement that while converting the mpg file, I also have to simultaneously play the converted flv file in the flash cs3. How to do it? I am using cs3 and as3. 回答1: If you want to convert your files programmaticly then use ffmpeg. This is a commandline tool which can convert video files to nearly everything. You have to execute ffmpeg with the correct params and wait until the video is ready. This works only on

flv stream decoding, 3gp encoding

南楼画角 提交于 2019-12-13 03:52:27
问题 Are there any open source projects in any language and other recourses that I need to look at in order to implement flv to 3gp conversion? It's better to be streaming, I mean return first portion of 3gp before last portion of flv is downloaded. Or are there any similar services already implemented - my goal is to have something like http://converter.org?source=sourceUrl.flv&targetFormat=3gp that I can feed to 3gp player, in my case - on iPhone, and not wait until server downloads entire flv.

Add SPEEX code support to FFMPEG

我是研究僧i 提交于 2019-12-13 03:34:53
问题 How can I add SPEEX support to my FFMPEG installation? I need to extract the audio from a FLV created by FMS. I just installed it using: app-get install ffmpeg. ffmpeg -version FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2007 Fabrice Bellard, et al. configuration: --enable-gpl --enable-pp --enable-swscaler --enable-pthreads --enable-libvorbis --enable-libtheora --enable-libogg --enable-libgsm --enable-dc1394 --disable-debug --enable-shared --prefix=/usr libavutil version: 1d.49.3.0

ASP.NET - FLV player

北战南征 提交于 2019-12-13 02:05:50
问题 For a company we are making 2 different sites, now one of those sites got an flv player in it and streams local flv files to the clients with the webpart from: http://www.aspnetflashvideo.com Now on the second site we also want an flv player but this one without local files, it should stream the flv file from the other website to the users of this second website. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> <%@ Register Assembly=

Google Chrome is not prompting the users to enable flash on my site

三世轮回 提交于 2019-12-12 22:35:57
问题 Google Chrome is no longer prompting users on my site to enable flash which is required to play the videos that the users upload. This is a recent change and I think it's due to Chrome slowly disabling flash over the year 2017 (I haven't changed anything). It works fine on Firefox. The best solution is to convert videos to mp4 rather than flv, but right now this second I need to fix the problem for those actively using the site. I need a way to force the browser to prompt the user to enable