Захват DRM-потоков
От: SCS  
Дата: 24.05.02 05:23
Оценка:
Есть ли какие либо программы для записи потоков от WM сервера в файл (типа ASFRecorder, который может только download'ить ASF файлы)?
SCS
SCS
Re: Захват DRM-потоков
От: visitant Украина  
Дата: 24.05.02 09:00
Оценка:
Как насчёт Windows Media Services File Transfer Control из Windows Media Services SDK?

FtsStartFileTransferReceive Method
Starts a file transfer receive operation.
Re: Захват DRM-потоков
От: visitant Украина  
Дата: 24.05.02 09:07
Оценка:
И в догонку выдержка из Windows Media Format SDK

To Save Content
The ability to save a file depends on the circumstances. If the file being opened is from a Web server or a local network, and there is enough disk space, use SaveFileAs. If the content is from a server, encoder, or other Windows Media source that uses Windows Media protocols, use SaveFileAs only if the content is protected and has the appropriate rights setting. You cannot save any other content locally. For more information on content protection, see Digital Rights Management.

If a user opens a file and wants to save it without playing it, use the following procedure. 

The application calls IWMReader::Open with the appropriate URL. Open is an asynchronous call, and returns immediately. 
The WMT_OPENED status message is returned through the OnStatus callback function. 
The application can query what type of delivery mode is being used to receive content (a stream, downloaded file, or local file) through the method GetPlayMode. 
The following steps depend on what type of connection has been made.

To Connect to a Windows Media Stream
If the client is connected to an MMS or Windows Media server, the GetPlayMode method returns WMT_PLAY_MODE_STREAMING, and if the application calls SaveFileAs, it returns immediately with an error message. 
To Connect to a Web Server
If the client is connected to a Web server, the GetPlayMode method returns WMT_PLAY_MODE_DOWNLOAD. 
The application invokes SaveFileAs with a specified destination. SaveFileAs is an asynchronous call, and returns immediately. 
The application receives the WMT_SAVEAS_START message. 
If the application must provide progress information, it must call IWMReaderAdvanced2::GetSaveAsProgress. 
The client can repeat the previous step until the WMT_SAVEAS_END message is received. 
To Both Play and Save a File
To open a file, and both play and save it, use the following procedure. 

The application calls IWMReader::Open with the appropriate URL. Open is an asynchronous call, and returns immediately. 
The OnStatus callback function returns the WMT_OPENED message. 
The application can query what type of playback is being received (a stream, downloaded file, or local file) by using the method GetPlayMode. 
If the client is connected to a Web server, the GetPlayMode method returns WMT_PLAY_MODE_DOWNLOAD. 
The application invokes IWMReader::Start. A WMT_BUFFERING_START notification is then received. There is no notification that the download has started. It is assumed that this began when buffering began. 
An application that must provide buffering progress information calls IWMReaderAdvanced2::GetBufferingProgress. 
An application that must provide download progress information calls IWMReaderAdvanced2::GetDownloadProgress. 
The application can repeat the two previous steps until the application receives a WMT_BUFFERING_STOP message, indicating that playback can begin. 
The WMT_STARTED message indicates playback has begun. 
Call IWMReaderAdvanced2::SaveFileAs, which is an asynchronous call, so returns immediately. 
A WMT_SAVEAS_START message indicates saving has started. 
A WMT_SAVEAS_END message arrives quickly since the file has already been downloaded. 
See Also 

IWMReader 
IWMReaderAdvanced2 
Saving Content
Re[2]: Захват DRM-потоков
От: SCS  
Дата: 24.05.02 09:21
Оценка:
Здравствуйте visitant, Вы писали:

V>Как насчёт Windows Media Services File Transfer Control из Windows Media Services SDK?


V>
V>FtsStartFileTransferReceive Method
V>Starts a file transfer receive operation.
V>


К сожалению у этого ActiveX есть ограничения
— на длину файла
— на источник (должен быть Multiсast File Transfer)

asf поток вещается multicast station (из того же SDK), и в открытом виде я его ловлю через Format SDK 7.1.1. (c поддержкой DRM). Как только поток DRM-защищается, этот вариант не проходит (типа, по мнению MS, "авторские права и т.д.") и его могу ловить только в раскодированном и раскомпрессированном виде (готовом для DirectX). А нужно записать в файл именно и скомпрессированный и закодированный WMV (более 1 ГБайт). А дальше пусть WMPlayer сам разбирается с лицензиями.

SCS
SCS
Re[3]: Захват DRM-потоков
От: visitant Украина  
Дата: 24.05.02 09:30
Оценка:
А если потом сжать (или сразу же) с помощью VfW, DShow или WMEncoder SDK?
Re[2]: Захват DRM-потоков
От: SCS  
Дата: 24.05.02 09:40
Оценка:
Здравствуйте visitant, Вы писали:

V>И в догонку выдержка из Windows Media Format SDK

V>Saving Content

К сожалению это для потоков не работает (типа теже CopyRights). можно только в режиме DOWNLOAD.

SCS
SCS
Re[4]: Захват DRM-потоков
От: SCS  
Дата: 24.05.02 09:42
Оценка:
Здравствуйте visitant, Вы писали:

V>А если потом сжать (или сразу же) с помощью VfW, DShow или WMEncoder SDK?


Даже если не обращать внимания на потерю качества (поток ~ 2 Мбит/сек) то все равно потеря защиты (ключ + URL для запроса лицензии)

SCS
SCS
Re: Захват DRM-потоков
От: SCS  
Дата: 24.05.02 09:53
Оценка:
Здравствуйте SCS, Вы писали:

SCS>Есть ли какие либо программы для записи потоков от WM сервера в файл (типа ASFRecorder, который может только download'ить ASF файлы)?

SCS>SCS

Наверное необходимо уточнить:
нормальный DVD фильм кодирутся (1-2 Мбит/сек) и DRM защишается. Результирующий файл имеет объем ~ 0.8 — 2 ГБайт. Далее он вещается multicast station с сервера WM (Win2K) и IP поток через инкапсулятор подмешивается в DVB-S вещание. Клиенты ловят на спутниковую антенну и смотрят и/или записывают поток в файл. Используется только Transport-B (односторонний).

SCS
SCS
 
Подождите ...
Wait...
Пока на собственное сообщение не было ответов, его можно удалить.