Hi all,

Nvm..I was only calling avcodec_register_all() instead of both
av_register_all() and avcodec_register_all() (I will be using the
encode/decode as well).

Thanks,
Naveed

On Mon, Sep 27, 2010 at 6:05 PM, Naveed Gazi <[email protected]>wrote:

> Hi all,
>
> The subject line pretty much sums up the issue I am running into. I am new
> to using the ffmpeg libraries so please bear with me. I've tried the
> following as well:
>
> const char* fileName = "record.mp4"
> av_guess_format(NULL, fileName, NULL)
>
> av_guess_format("mp4", NULL, NULL)
>
> and got a NULL on return.
>
> I am following the example on:
>
> http://ffmpeg.org/doxygen/0.5/output__example_8c-source.html
>
> to try and record video from a webcam. I'm really surprised that
> av_guess_format is returning NULL with "mpeg" as short_name. It would be
> great if someone could point me in the right direction.
>
> Thanks,
> Naveed
>
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to