Quantcast

Problem with ffmpeg-3.2.4

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Problem with ffmpeg-3.2.4

Pierre Delmas
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



_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".

frame.cpp (1K) Download Attachment
frame.hpp (833 bytes) Download Attachment
video.cpp (3K) Download Attachment
video.hpp (996 bytes) Download Attachment
signature.asc (484 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Problem with ffmpeg-3.2.4

Cley Faye
2017-04-13 11:18 GMT+02:00 Pierre Delmas <
[hidden email]>:

>
> How to replace avcodec_decode_video2 in the version ffmpeg-3.2.4 ?


​Two things.

First, this is not the right list for this kind of questions;
https://lists.ffmpeg.org/mailman/listinfo/libav-user/ is probably a better
starting point.

Second, it might be a shot in the dark, but since the documentation (
https://www.ffmpeg.org/doxygen/3.2/group__lavc__decoding.html#ga3ac51525b7ad8bca4ced9f3446e96532)
is telling you to use avcodec_send_packet() and avcodec_receive_frame(),
maybe you could use avcodec_send_packet() and avcodec_receive_frame()? :)
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Problem with ffmpeg-3.2.4

Pierre Delmas
Thank you I didn't see the last line in documentation


Promise next time I will publish on the right list.


Thank you very much,

Best regards,

DELMAS P


Le 13/04/2017 à 12:23, Cley Faye a écrit :

> 2017-04-13 11:18 GMT+02:00 Pierre Delmas <
> [hidden email]>:
>
>> How to replace avcodec_decode_video2 in the version ffmpeg-3.2.4 ?
>
> ​Two things.
>
> First, this is not the right list for this kind of questions;
> https://lists.ffmpeg.org/mailman/listinfo/libav-user/ is probably a better
> starting point.
>
> Second, it might be a shot in the dark, but since the documentation (
> https://www.ffmpeg.org/doxygen/3.2/group__lavc__decoding.html#ga3ac51525b7ad8bca4ced9f3446e96532)
> is telling you to use avcodec_send_packet() and avcodec_receive_frame(),
> maybe you could use avcodec_send_packet() and avcodec_receive_frame()? :)
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [hidden email] with subject "unsubscribe".


_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".

signature.asc (484 bytes) Download Attachment
Loading...