[vlc-devel] Broken Amazon S3 Streaming

Francois Cartegnie fcvlcdev at free.fr
Mon Jun 18 21:18:37 CEST 2012

Le 18/06/2012 20:36, Laurent Aimar a écrit :
>> Annoying, as S3 is a major CDN.
>> Can't change things to flag the input as seekable when "Accept-Range" is
>> replied ?
>  The current http access shoud already do this (I have only check master).

Okay, you're right, there's already fix in http.c.

The problem comes from the mp4 demux which queries for FASTSEEK
    /* I need to seek */
    stream_Control( p_demux->s, STREAM_CAN_FASTSEEK, &b_seekable );
    if( !b_seekable )
        msg_Warn( p_demux, "MP4 plugin discarded (not fastseekable)" );
        return VLC_EGENERIC;

which is always false in http.

            pb_bool = (bool*)va_arg( args, bool* );
            *pb_bool = false;

Changed from SEEK to FASTSEEK in: 45f7ca3d6cff34b10f2cf314c15fca9066e8ccf8
Ilkka ?


More information about the vlc-devel mailing list