[Libav-user] got_picture_ptr of avcodec_decode_video2 always returns 0 for a particular MTS file

Andrey Utkin andrey.krieger.utkin at gmail.com
Mon Feb 6 11:56:09 CET 2012

Please help us help you - provide
- version of libs you use
- compilable minimized source code of your app
- this sample file

BTW, did you try to transcode it with ffmpeg command-line utility? If
it also fails, please provide its full output with -loglevel debug
BTW2 try to av_log_set_level(AV_LOG_DEBUG); in your app - maybe you'll
see useful messages on stderr.

Andrey Utkin

More information about the Libav-user mailing list