Results 1 to 6 of 6

Thread: FLV in, FLV/H264 Out

  1. #1
    Join Date
    Jun 2011
    Posts
    4

    Question FLV in, FLV/H264 Out

    Hi, sold someone help, i have a flash that stream my webcam (FLV) to wowza, i want to know, how to play this stream both in iOS(H264) and Flash(FLV)?

  2. #2
    Join Date
    Dec 2007
    Posts
    25,682

    Default

    It won't work. Webcam published to Wowza using the encoder built-in to the Flash plugin can only be played back in Flash or other FLV player. The video is Sorenson Spark and the audio is Nelly Moser or Speex. iOS requires h.264 video and AAC or MP3 audio in a mp4 container.

    Richard

  3. #3
    Join Date
    Jun 2011
    Posts
    4

    Default

    Ok, thanks, any solution for this, because in livestream.com they stream to ipad and flash, using a flash publisher?

  4. #4
    Join Date
    Dec 2007
    Posts
    25,682

    Default

    You will have to transcode to h.264 baseline 3 and AAC.

    This works for me.
    Code:
    ffmpeg -i rtmp://localhost:1935/videochat/testing -re -strict experimental -acodec aac -ar 22050 -vcodec libx264 -vpre default  -vpre ipod320 -threads 64 -f flv rtmp://localhost/live/test
    Use the Wowza VideoChat example as the source.

    There are links to ffmpeg builds for Windows here:
    http://www.wowzamedia.com/forums/con...ideo-on-Demand

    The result on iPhone is a little pixelated, but could probably be improved with 320x240 frame size.

    Richard

  5. #5

    Default

    If you were to use a webcam and a self developed flash publisher then you should be able to use the h264 encoder in flash to get an h264 stream that would play on IOS. Is this not correct or would wowza still see it incorrectly? Will the wowza transcoder take an FLV and transcode to h264?

    Thanks

  6. #6
    Join Date
    Dec 2007
    Posts
    25,682

    Default

    H.264 published from a Flash application will playback in iOS (and other clients) if it is video only. If you want audio too you have to use Speex audio codec (instead of NellyMoser, the default audio codec) then use Wowza Transcoder. Take a look at this guide:

    http://www.wowza.com/forums/content....anscoder-AddOn

    Richard

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •