[FFmpeg-user] Problem with ffmpeg-3.2.4

Pierre Delmas pierre.delmas at centrale-marseille.fr
Thu Apr 13 12:18:00 EEST 2017


Hello,

I need a little help.

Currently I'm doing a research project in which I use ffmpeg.

For that project I need to extract motion vectors so I looked on the web
for solution and found the use of AVMotionVector (like in file
frame.cpp) but with that method I get a segfault so I looked for the
reason and found that avcodec_decode_video2 is deprecated. I looked for
a replacement solution but I didn't find any, so here is my question :

How to replace avcodec_decode_video2 in the version ffmpeg-3.2.4 ?

Best regards,
DELMAS P.

P.S : You can find attached two c++ class which are one for frame and
another one for video


-------------- next part --------------
A non-text attachment was scrubbed...
Name: frame.cpp
Type: text/x-c++src
Size: 1248 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20170413/56d47352/attachment.cpp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: frame.hpp
Type: text/x-c++hdr
Size: 789 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20170413/56d47352/attachment.hpp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: video.cpp
Type: text/x-c++src
Size: 3290 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20170413/56d47352/attachment-0001.cpp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: video.hpp
Type: text/x-c++hdr
Size: 941 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20170413/56d47352/attachment-0001.hpp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20170413/56d47352/attachment.sig>


More information about the ffmpeg-user mailing list