wang-bin / QtAV

A cross-platform multimedia framework based on Qt and FFmpeg. 基于Qt和FFmpeg的跨平台高性能音视频播放框架. Recommand to use new sdk https://github.com/wang-bin/mdk-sdk
http://qtav.org
3.94k stars 1.5k forks source link

libdash [enhancement] #324

Open Xuno opened 9 years ago

Xuno commented 9 years ago

libdash is included in VLC, can this library also be included in QtAV?

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/5901298-libdash-enhancement?utm_campaign=plugin&utm_content=tracker%2F307703&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F307703&utm_medium=issues&utm_source=github).
wang-bin commented 9 years ago

currently the only way to get data is libavformat. It's bad. But it will change. Then libdash is not a problem i think.

wang-bin commented 9 years ago

oh, i think it's not difficult. just like how QIODevice is supported. because libavformat can be easily extend with avio api

wang-bin commented 9 years ago

I added a new class AVInput. It should be easy to support dash now if there is a simple example

Xuno commented 9 years ago

you mean example from https://github.com/bitmovin/libdash/tree/master/libdash/qtsampleplayer ?

wang-bin commented 9 years ago

this example is difficult to understand. vlc's code is easier but the code is old and not use the code from https://github.com/bitmovin/libdash