[erlang-questions] Reanimation of elryvideo

Rapsey rapsey@REDACTED
Sun Sep 6 22:34:07 CEST 2009


The problem with playing mp4 files is quite possibly a lack of AVC sequence
header (check the official flash file format spec). The AVC sequence header
needs to be sent to the client before any h264 video frame, otherwise flash
will not display the video.
This is something that needs to be generated from the encoded video frames,
because it is not present in the mp4 file format.
Look at the ffmpeg source code to see how to generate the avc sequence
header. It's in libavformat/flvenc.c a call to ff_isom_write_avcc(...) does
and it is defined in libavformat/avc.c


Sergej

On Sun, Sep 6, 2009 at 9:47 PM, Dmitrii Dimandt <dmitriid@REDACTED> wrote:

> A member of the Erlang Russian mailing list (
> erlang-russian@REDACTED) has decided to continue working on
> erlyvideo (http://code.google.com/p/erlyvideo/)
>
> The new repo is located here: http://github.com/maxlapshin/erlyvideo
>
> The new version can now send notifications to flash clients (something like
> a push channel) and can read (but not yet play, possibly due to a faulty
> handshake) mp4 files.
>
> Any help would be greatly appreciated


More information about the erlang-questions mailing list