[vlc-devel] What's the best framwork to implement the DASH module in VLC

Rémi Denis-Courmont remi at remlab.net
Thu Jan 9 19:31:58 CET 2014


Le mercredi 8 janvier 2014, 18:03:18 Yunhui Fu a écrit :
> 1. The original DASH and other similar modules, such as HTTP Live, smooth,
> were implemented as ''stream_filter'' in the directory
> modules/stream_filter, our updated module is also implemented as a
> 'stream_filter' module. we also noticed that the other protocols, such as
> asf, were implemented as a 'demux' module. What's the best implementation
> method? stream_filter or demux?

The stream_filter interface converts a byte stream into another byte stream. 
This particularly easy to implement for HLS as it naturally produces a MPEG-TS 
byte stream. I don't know DASH much.

However, stream_filter has no provision for time seeking (in case of VoD). So, 
demux is most recommended.

> 2. One of issues in our implementation, there's black screen at the
> switching of the video resolution from low res to high res, we don't know
> if it's the problem of the encoder. The content is encoded by Squeeze 9(
> http://www.sorensonmedia.com/video-encoding). If it is the problem of the
> encoder, how can we encode the media content and split it to multiple
> segments? for example, we use fmepg and MP4Box to encode the content (Big
> Buck Bunny www.bigbuckbunny.org/), what's the recommend arguments for the
> tools.

vlc-devel is probably not a very good place to find the answer.

> 3. The vlc refuse to work if we feed it with the audio and video segments
> alternatively. Can vlc work in such manner?

In the case of stream_filter, you need to produce a valid stream. This problem 
would not exist for demux.

> 4. Is it possible to merge all of the three modules, live/smooth/dash, into
> one single module? Since they use similar protocols.

I doubt that'd be good.

Rémi Denis-Courmont

More information about the vlc-devel mailing list