I cant make the encoding facilities work. Actually, when trying to compile the src of fobs it says that first_avcoded is not resolved. Seems that this pointer is defined in ffmpeg (avcodec) but I cant understand how it works.
Thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
that's strange! I have no problem compilling and using Fobs for encoding (except av sync, of course). Anyway, please provide more info about your system (win, lin, mac) and software version (fobs, ffmpeg, etc). Maybe you're using a ffmpeg cvs snapshot that has changed names to some variables.
Cheers
Jose San Pedro Wandelmer
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am using Windows + Visual c++ 6.0. I tried to compile the fobs0.3pre1 sources with visual c++ and the following message appears:
'ffirst_avcodec' : undeclared identifier
which corresponds to:
ReturnCode Encoder::chooseVideoCodec(char *name)
{
ReturnCode error = CodecUnsupportedError;
vcodec = ffirst_avcodec;
...
}
I found another way to do it using
vcodec = avcodec_find_encoder_by_name(name);
Any suggestions?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm very interested in experiences with Visual C++ and Fobs. Please, report back all the difficulties you are coming across and if you finally get it to work.
About your issue, it seems pretty clear that ffmpeg's changed again. Are you using the provided ffmpeg distro (included in Fobs sources package) or the latest snapshot?? If you're using the latest snapshot maybe that is the problem. My suggestion: either use the ffmpeg package provided with fobs sources or use this method you have found 'avcodec_find_encoder_by_name' (if this is the only error you've found in the compilation).
Thanks for all the info you can provide. It can be really useful to other users!!!
Cheers.
Jose San Pedro
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I cant make the encoding facilities work. Actually, when trying to compile the src of fobs it says that first_avcoded is not resolved. Seems that this pointer is defined in ffmpeg (avcodec) but I cant understand how it works.
Thanks.
Hi,
that's strange! I have no problem compilling and using Fobs for encoding (except av sync, of course). Anyway, please provide more info about your system (win, lin, mac) and software version (fobs, ffmpeg, etc). Maybe you're using a ffmpeg cvs snapshot that has changed names to some variables.
Cheers
Jose San Pedro Wandelmer
Hi,
I am using Windows + Visual c++ 6.0. I tried to compile the fobs0.3pre1 sources with visual c++ and the following message appears:
'ffirst_avcodec' : undeclared identifier
which corresponds to:
ReturnCode Encoder::chooseVideoCodec(char *name)
{
ReturnCode error = CodecUnsupportedError;
vcodec = ffirst_avcodec;
...
}
I found another way to do it using
vcodec = avcodec_find_encoder_by_name(name);
Any suggestions?
Hi,
I'm very interested in experiences with Visual C++ and Fobs. Please, report back all the difficulties you are coming across and if you finally get it to work.
About your issue, it seems pretty clear that ffmpeg's changed again. Are you using the provided ffmpeg distro (included in Fobs sources package) or the latest snapshot?? If you're using the latest snapshot maybe that is the problem. My suggestion: either use the ffmpeg package provided with fobs sources or use this method you have found 'avcodec_find_encoder_by_name' (if this is the only error you've found in the compilation).
Thanks for all the info you can provide. It can be really useful to other users!!!
Cheers.
Jose San Pedro