Yohann Martineau <[EMAIL PROTECTED]> writes:

> > I am looking for a way to make ffmpeg simply drop packets belonging to that
> > encrypted programs (preferrably on the transport stream level) without
> > attempts
> > to process them. Or, at least indicate these packets.

> maybe you can look at the ts stream and look for emm messages (used for
> encryption) and if they are present you drop the corresponding pid. It's
> just an idea.

I cannot. FFmpeg provides mpegts and mpegtsraw demuxers. You can use only one 
of them. 
The first one seems to miss such capability (it only minimally parses packet 
headers).

And the second one gives you TS packets, allowing to parse them with your own 
means, but doesn't do anything else. You by yourself have to assemble PAT, PMT, 
etc from them and also fill other related ffmpeg structures in order to save 
frames. This is not easy, as ffmpeg's internal structure is rather complicated. 
I know, I tried. :)


_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to