Re: [FFmpeg-user] error avformat_open_input

2020-08-30 Thread Edward Park
Hi,

> and the video its in the same path that the project.
I don't think that's the issue, because the error description says:
> ... unresolved external symbol "int __cdecl avformat_open_input(struct 
> AVFormatContext * *,char const *,struct AVInputFormat *,struct AVDictionary * 
> *)" 
> (?avformat_open_input@@YAHPAPAUAVFormatContext@@PBDPAUAVInputFormat@@PAPAUAVDictionary@@@Z)
>  referenced in function "bool __cdecl load_video(char const *)" 
> (?load_video@@YA_NPBD@Z) 
Also, I think questions on using the libraries and troubleshooting your code 
are referred to the libav list and leaves this list for help on how to use the 
command line tools themselves, unless something changed recently.

Regards,
Ted Park

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-user] error avformat_open_input

2020-08-29 Thread geronimo eberle
hellow!
im a new user whit FFmpeg and im trying to do a video editor whit c++.
my error its:
Severity Code Description Project File Line Suppression State
Error LNK2019 unresolved external symbol "int __cdecl 
avformat_open_input(struct AVFormatContext * *,char const *,struct 
AVInputFormat *,struct AVDictionary * *)" 
(?avformat_open_input@@YAHPAPAUAVFormatContext@@PBDPAUAVInputFormat@@PAPAUAVDictionary@@@Z)
 referenced in function "bool __cdecl load_video(char const *)" 
(?load_video@@YA_NPBD@Z) Video C:\Users\gerit\source\repos\Video\Main.obj 1

the code its:

const char *filename = "prueba.mp4";
bool load_video(const char* filename)
{
AVFormatContext *av_format_context = NULL;
if (!av_format_context)
{
cout << "no se pudo cargar context";
return false;
}
if (avformat_open_input(_format_context, filename, NULL, NULL) != 0)
{
cout << "no se pudo cargar viedo";
return false;
}

return true;
};

and the video its in the same path that the project.
sorry for my english, its very bad, and ty for your help!
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".