> That's not a good way to detect scene changes, think for example of a > stream with uncompressed video frames, also I-frames aren't > necessarily used in correspondence of a scene change.
Thanks for answering. Yes, I agree, is there a way to extract motion vectors or something else to analyze in order to detect abrupt changes and so a probable scene change? >Libavfilter is the framework meant to solve with elegance that kind of ... I couldn't find much documentation about that, what I would like to achieve is simple (I guess). I just want to detect when the audio fades out and then fades in, this could help me to find other scene changes. When using: avcodec_decode_audio2(audioCodec, (int16_t*)g_AudioBuffer, &data_size, pkt.data, pkt.size) I got a sample buffer and the data_size is 8192. Is there a way to understand the "strenght" of this audio buffer, I would say the amplitude of the signal. Thanks for any tips on that _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
