I've just downloaded ffmpeg dev to support very basic functionnalities in an AVOD project.
Basically, I'd n'eed to gather a bunch of data and metadata giving a media files (mp4, mkv, ismv etc.) such as the audio and video tracks, encryption flags etc.
I've decided to use ffmpeg sdk instead of many different libraries.
I've some problem with encrypted files such as ISMV (ms smooth streaming).
Using the Bent4 library, i was able to detect encrypted tracks, the encryption scheme and keyid, and the underlying audio and video tracks features.
using ffmpeg and common functions:
Code: Select all
avformat_open_input(pFormatCtx, ...)
avformat_find_stream_info(pFormatCtx, NULL);
pCodecCtx=pFormatCtx->streams[videoStreamIdx]->codec;
Is there a specific function call that could help me to achieve it ?
Thanks.
Z.