Ticket #10020 (new Patch - Feature)
Opened 21 months ago
Last modified 19 months ago
UPnP audio transcoding support
|Reported by:||Joe Bryant <tenminjoe@…>||Owned by:||dblain|
|Component:||MythTV - UPnP||Version:||Unspecified|
This patch adds automatic audio transcoding to the UPnP server. This should allow UPnP clients which do not support OGG or FLAC to play these files.
An additional "res" element is added to each advertised audio file, adding a modified URL. When a file with one of these URLs is requested, Myth's http server converts the file on-the-fly to uncompressed audio ("audio/L16" format). The original "res" element (advertising the file as OGG or FLAC or whatever) remains, so clients that already have support for these files should be unaffected.
I have tested this using my Xbox 360 as the UPnP client. Because other issues stop MythTV's UPnP working with the Xbox 360, I have included changes from my Xbox 360 patch (at ticket #9632), so that I can be sure this is a working patch. If this is not acceptable, and someone lets me know, I can remove these changes and make a version of this patch which only contains the audio-transcoding changes (but I will not be able to test this patch myself).
comment:1 Changed 21 months ago by Joe Bryant <tenminjoe@…>
comment:2 Changed 19 months ago by beirdo
- Owner set to dblain
- Component changed from MythTV - General to MythTV - UPnP