2013/6/5 Vahid Kowsari <[email protected]>: > Hi, > > I am developing a media monitoring solution and it would be really helpful > to know if we are receiving a good signal. > I am using ffmpeg APIs to decode udp mpegts streams. Are there any ffmpeg > APIs that I can call to get notified of errors in the decoding? Or just get > a current count of errors?
You can catch log messages, or create decoder with option err_detect=explode (or other value, consult with decoder source code), which will result in decoding failure instead of surviving the error. Of course you may proceed to decode after failure, you are not required to restart everything after that. -- Andrey Utkin _______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
