views:

27

answers:

2

flv is not directly supported by most mobile browsers,

so I want to convert to the mp4/ogg format.

Is there anyhow I can achieve it with FMS that generated the .flv file from live webcam stream?

UPDATE

I found a similar question here which partly does the job:

ffmpeg -i input.flv output.mp4

But I need streaming

A: 

Hi I would like to ask i have successfully make segments of .mp4 file using mediafilesegmenter by using command mediafilesegmenter -f Sites/stream Sites/song.mp4

But when i am giving another extension like Flv and Mp3, It wont allow me to do it. How can i do it? Can anyone help me in this regard...

Should i have to convert it to .mp4 through ffmpeg first. I am new to Iphone so please help me out of this issue...

Saibi Rocker
This really has nothing to do with the question, please don't hijack questions; it is simple enough to ask your own.
Mondain
A: 

I assume you mean Ogg Vorbis audio with AVC/h.264 video in an FLV container? If so, the only problem is that the Flash Player does not support vorbis playback nor is there a codec id for it in the FLV specification. There is however an Alchemy plugin which does decode Ogg but it is not for streaming from FMS and certainly not within FLV. Info on the Flash/Ogg decoder: http://www.hydrogenaudio.org/forums/lofiversion/index.php/t66269.html
Media types for FLV may be found here, as well as other useful information: http://en.wikipedia.org/wiki/Flash_Video
Summary:

Supported media types in FLV file format
Video: On2 VP6, Sorenson Spark (Sorenson H.263), Screen video, H.264
Audio: MP3, ADPCM, Linear PCM, Nellymoser, Speex, AAC, G.711 (reserved for internal use)

Supported media types in F4V file format
Video: H.264
Images (still frame of video data): GIF, PNG, JPEG
Audio: AAC, HE-AAC, MP3

By the way, I found your question because I am implementing Ogg/Ogv streaming in Red5 (http://code.google.com/p/red5) for HTML5 and Unity.

Mondain