[Libav-user] When to call av_packet_unref

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

[Libav-user] When to call av_packet_unref

Philippe Gorley
Hi all,

Quick question: is a call to av_packet_unref necessary before returning
from my decoding function, on success as well as error? This function is
also the one that calls av_packet_init.

Thanks,

--
Philippe Gorley
Consultant en logiciel libre | Montréal, Qc
Savoir-faire Linux

Message de confidentialité : Ce courriel (de même que les
fichiers joints) est strictement réservé à l'usage de la personne
ou de l'entité à qui il est adressé et peut contenir de
l'information privilégiée et confidentielle. Toute divulgation,
distribution ou copie de ce courriel est strictement prohibée. Si
vous avez reçu ce courriel par erreur, veuillez nous en aviser
sur-le-champ, détruire toutes les copies et le supprimer de votre
système informatique.

_______________________________________________
Libav-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/libav-user
Reply | Threaded
Open this post in threaded view
|

[Libav-user] Live Video Source Example

MXWendler LibAV

Hi All,

can anyone point we to a working C/C++ example how to enumerate working
live video sources and then opening one of these (at best with some
settings set like size/fps and data format)?

Heiner
_______________________________________________
Libav-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/libav-user
Reply | Threaded
Open this post in threaded view
|

Re: Live Video Source Example

Marcelo Emmerich
Hi, this is not entirely doable with ffmpeg code only, as it is platform dependent. I can post some Windows/dshow code if that helps.

Cheers,
Marcelo

2017-04-16 17:44 GMT+02:00 Heiner Mueller <[hidden email]>:

Hi All,

can anyone point we to a working C/C++ example how to enumerate working
live video sources and then opening one of these (at best with some settings set like size/fps and data format)?

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


_______________________________________________
Libav-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/libav-user
Reply | Threaded
Open this post in threaded view
|

Re: Live Video Source Example

MXWendler LibAV


Am 18.04.2017 um 13:13 schrieb Marcelo Emmerich:
> Hi, this is not entirely doable with ffmpeg code only, as it is platform
> dependent. I can post some Windows/dshow code if that helps.
>

Ok, good to know - at least i could make portions of the code less
platform dependent. Yes, i would be very interested,

Best
Hendrik





> Cheers,
> Marcelo
>
> 2017-04-16 17:44 GMT+02:00 Heiner Mueller <[hidden email]
> <mailto:[hidden email]>>:
>
>
>     Hi All,
>
>     can anyone point we to a working C/C++ example how to enumerate working
>     live video sources and then opening one of these (at best with some
>     settings set like size/fps and data format)?
>
>     Heiner
>     _______________________________________________
>     Libav-user mailing list
>     [hidden email] <mailto:[hidden email]>
>     http://ffmpeg.org/mailman/listinfo/libav-user
>     <http://ffmpeg.org/mailman/listinfo/libav-user>
>
>
>
>
> _______________________________________________
> Libav-user mailing list
> [hidden email]
> http://ffmpeg.org/mailman/listinfo/libav-user
>
_______________________________________________
Libav-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/libav-user
Reply | Threaded
Open this post in threaded view
|

Re: Live Video Source Example

Roger Pack
https://trac.ffmpeg.org/wiki/DirectShow
"how to programmatically..."

unfortunately the built-in way isn't supported yet.

On 4/19/17, Heiner Mueller <[hidden email]> wrote:

>
>
> Am 18.04.2017 um 13:13 schrieb Marcelo Emmerich:
>> Hi, this is not entirely doable with ffmpeg code only, as it is platform
>> dependent. I can post some Windows/dshow code if that helps.
>>
>
> Ok, good to know - at least i could make portions of the code less
> platform dependent. Yes, i would be very interested,
>
> Best
> Hendrik
>
>
>
>
>
>> Cheers,
>> Marcelo
>>
>> 2017-04-16 17:44 GMT+02:00 Heiner Mueller <[hidden email]
>> <mailto:[hidden email]>>:
>>
>>
>>     Hi All,
>>
>>     can anyone point we to a working C/C++ example how to enumerate
>> working
>>     live video sources and then opening one of these (at best with some
>>     settings set like size/fps and data format)?
>>
>>     Heiner
>>     _______________________________________________
>>     Libav-user mailing list
>>     [hidden email] <mailto:[hidden email]>
>>     http://ffmpeg.org/mailman/listinfo/libav-user
>>     <http://ffmpeg.org/mailman/listinfo/libav-user>
>>
>>
>>
>>
>> _______________________________________________
>> Libav-user mailing list
>> [hidden email]
>> http://ffmpeg.org/mailman/listinfo/libav-user
>>
> _______________________________________________
> Libav-user mailing list
> [hidden email]
> http://ffmpeg.org/mailman/listinfo/libav-user
>
_______________________________________________
Libav-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/libav-user