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.95k stars 1.5k forks source link

Playing audio CD #591

Open notoken opened 8 years ago

notoken commented 8 years ago

Hi,

Is it possible to play an audio cd / specific track on a cd?

Kind Regards

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/32023183-playing-audio-cd?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 8 years ago

I don't know. I have no sample to test

notoken commented 8 years ago

I tried to play cdda:///dev/sr0 to no avail:

Loading QVariant(QString, "cdda:///dev/sr0") ... "(repeat 1)Not playing~\nall closed and reseted" "avformat_open_input: d->format_ctx:'0x7fffbc0280e0', url:'cdda:///dev/sr0'..." "avformat_open_input: url:'cdda:///dev/sr0' ret:-1330794744" Can't open media: "failed to open media" "Load failed!"

Any tips on how to debug this?

wang-bin commented 8 years ago

Because QtAV does not support cdda