Results 1 to 2 of 2

Thread: ffmpeg configuration for mp4 files

  1. #1
    Join Date
    Oct 2013

    Default ffmpeg configuration for mp4 files

    I have mp4 file from my windows phone.

    There is info:
    Format : MPEG-4
    Format profile : Base Media / Version 2
    Codec ID : mp42

    Format : AVC
    Codec ID : avc1
    Codec ID/Info : Advanced Video Coding

    Format : AAC
    Format profile : LC
    Codec ID : 40
    Bit rate : 96.0 Kbps
    Sampling rate : 44.1 KHz

    When I stream it to wowza with next ffmpeg command ( I got it from documentation)
    ffmpeg -re -i "C:\sample2.mp4" -vcodec libx264 -vb 150000 -g 60 -vprofile main -level 2.1 -acodec aac -ab 64000 -ar 48000 -ac 2 -vbsf h264_mp4toannexb -f mpegts udp://

    In client app I see corrupted video:

    With sample file provided by wowza all works fine.
    Can you help me with ffmpeg configuring?
    I read documentation, but understand nothing.

  2. #2


    This seems like an issue with your file as opposed to an ffmpeg issue.

    Did you test playback of the file as VOD with the sample player that ships with Wowza?

    Also you can test the file as progressive download and take Wowza and streaming out of the equation. Open the file in a web browser and see if the problem persists.

    If the file is misbehaving in these tests, you can look at this article:
    How to encode video on demand content


Similar Threads

  1. HTTP VOD streaming configuration for MP4 mimetype playback
    By archivus in forum On-Demand Streaming
    Replies: 8
    Last Post: 04-28-2014, 08:30 AM
  2. ffmpeg encoding to wowza with multiple files
    By dbm360 in forum Video On Demand Streaming Discussion
    Replies: 4
    Last Post: 11-26-2012, 08:44 AM
  3. how to play .flv files instead of .mp4 files in wowza from flash player
    By malarprathap in forum Video On Demand Streaming Discussion
    Replies: 1
    Last Post: 08-07-2012, 04:56 AM

Posting Permissions

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