Menu

Problems with Encoding

user
2004-12-16
2013-05-09
  • Nobody/Anonymous

    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.

     
    • José San Pedro

      José San Pedro - 2004-12-16

      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

       
    • Nobody/Anonymous

      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?

       
      • Jose San Pedro

        Jose San Pedro - 2005-02-02

        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

         

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.