- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
Hi,
I'm porting a stream reading application to version 5.2 and it seems that there are some changes in the area of the DataReader requirements. Specifically, it looks like the MPEG2TSParser *requires* the DataReader to support the SetPosition/GetPosition interface and returning UMC_ERR_FAILED is not an option any more. Is that true and intentional?
What strategy should I employ to work with (live) streams that don't support the positioning interface?
Thank you very much for any help,
Tilman
I'm porting a stream reading application to version 5.2 and it seems that there are some changes in the area of the DataReader requirements. Specifically, it looks like the MPEG2TSParser *requires* the DataReader to support the SetPosition/GetPosition interface and returning UMC_ERR_FAILED is not an option any more. Is that true and intentional?
What strategy should I employ to work with (live) streams that don't support the positioning interface?
Thank you very much for any help,
Tilman
Link kopiert
3 Antworten
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
Hello,
please take a look on comments provided by our experts:
There is implicit requirement for DataReader when it operates with live streams: GetSize() should return 0. This prevents MPEG2TSParser from calling SetPostion.
GetPosition doesnt return UMC::Status, it returns Ipp64u-value that is current position in the stream. Correctness of this value isnt required for live streaming.
Regards,
Vladimir
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
We've implemented DataReader to read from a stream source ,and of course it doesn't support to get absolute position or size.Problem is we demux transmitted MPEG2TS data that includes video and private stream and we can get video data but no private stream.
When we used FileReader(and passing transmitted data file as parameter) instead of "StreamReader" we implemented, we can succesfully capture video and private stream data.
Is this an error related with GetSize() returning 0 or anything else?
When we used FileReader(and passing transmitted data file as parameter) instead of "StreamReader" we implemented, we can succesfully capture video and private stream data.
Is this an error related with GetSize() returning 0 or anything else?
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
there is recomendation from our expert to check implementation of MovePosition(Ipp64u) function in your StreamReader. It should have similar behaviour as in DataReader. This function is used by TS parser.
Regards,
Vladimir

Antworten
Themen-Optionen
- RSS-Feed abonnieren
- Thema als neu kennzeichnen
- Thema als gelesen kennzeichnen
- Diesen Thema für aktuellen Benutzer floaten
- Lesezeichen
- Abonnieren
- Drucker-Anzeigeseite