av_open_input_file(&oc, FileName, 0, 0, NULL);  write your file name ....
it will find out the format for you...
if it return .... error you are wrong some where.....



 guess_format(NULL, m_asFileName, NULL);  can be used to find the format
context based on file name ...

MUkilan S


On 5/20/09, Mark Kenna <[email protected]> wrote:
>
> happilylazy wrote:
>
>> Already tried it and got Error in av_find_input_format, returns -1. That
>> is
>> why I asked in this forum.
>>
>>
> "mpeg4" is the codec name not the input format name. There is no input
> format name for "mpeg4". Check out "allformats.c" for a list of the input
> formats and their short names.
>
> _______________________________________________
> libav-user mailing list
> [email protected]
> https://lists.mplayerhq.hu/mailman/listinfo/libav-user
>
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to