Home > Suggestions > Receive raw MPEG2TS packets from the SDK

Receive raw MPEG2TS packets from the SDK

Avatar image
Aug 24, 2015
Archive Agent wrote
It would be great to be able to receive raw MPEG2TS packets output from the SDK to be able to implement missing functionality while using the rest of the wonderful features.

Ilya Jazz Melamed on May 25, 2014 11:39
Declined
1
Vote
Reply
7 Answers
Aug 24, 2015
Archive Agent agent wrote
Roman Minyaylov

Hi

Do you have FFMPEG experience? I think we can sell FFMPEG output filter source code to you to add what you need there.

on May 25, 2014 16:02
Aug 24, 2015
Archive Agent agent wrote
Ilya Jazz Melamed

We've got a lot of experience with the ffmpeg executable, but none with the library, nor we have budget to make ourselves acquainted with it...

on May 25, 2014 16:37
Aug 24, 2015
Archive Agent agent wrote
Roman Minyaylov

Sorry, too specific for us, we are not sure how to do that correctly, better to use any MPEG-2 encoder in DirectShow filter form that have MPEG2TS output.

For example we can use free MPEG-2 + MP3 encoders and TS muxer from Intel Media SDK. Muxer filter have pin that deliver data as a stream. We can catch this stream and add callback for this in SDK.

on May 25, 2014 18:23
Aug 24, 2015
Archive Agent agent wrote
Ilya Jazz Melamed

Based on my experience, ffmpeg handles TS just great. It's really a "nice to have" feature with niche usages, but for those it could prove to be quite potent.

on May 25, 2014 21:46
Aug 24, 2015
Archive Agent agent wrote
Roman Minyaylov

We have no ideas how to catch this frames after multiplexing instead file output using libs...

on May 25, 2014 22:37
Aug 24, 2015
Archive Agent agent wrote
Ilya Jazz Melamed

This actually should be relatively easy.

MPEG-TS packets are always 188 bytes long, so as long as you have means to capture ffmpeg output (named pipes come to mind if ffmpeg lib does not support this directly), it should just work.

But it really is a "nice to have" with relatively low priority.

on May 25, 2014 23:00
Aug 24, 2015
Archive Agent agent wrote