Menu

how to enable mpeg and multi-frame ?

Help
Valent
2006-12-04
2013-04-24
  • Valent

    Valent - 2006-12-04

    Hi,
    I installed x/gvidcap 1.1.4 and I can't get it to recort to mpeg file. Only option I get is single xwd files.

    # gvidcap --format-help
    gvidcap, ver 1.1.4p1, (c) rasca, berlin 1997,98,99, khb (c) 2003,04,05,06
    Available file formats: xwd
    Specify 'auto' to force file format auto-detection.

    and if i try "gvidcap --file test.mpeg" I get  window saying this:

    ERROR (16): Invalid file format
    Details: You selected unknown or invalid file format for single-frame capture. Check --format-help option.

    Action: Reset to defaults format for single-frame capture (XWD)

    I have Fedora Core 6 and ffmpeg installed, I installed xvidcap from atrpms fedora rpm repository. How can I record to mpeg file?
    How do I turn xwd files to video? Only tips I saw on your page are ones with examples for ppd files. How come you don't mention xwd files anywhere?

    I can't enable multi-frame capture in preferences menu, and can't grab to anything but xwd in single-frame capture.

    Thank you in advance, and keep up the great work! I see that gvidcap is a great tool but I only need a little help geting it running.

    Valent from Croatia.

     
    • Karl H. Beckers

      Karl H. Beckers - 2006-12-04

      Very probably the binary you have installed was not linked against libavcodec. Therefore I can only recommend to install from source.
      HTH,

      Karl.

       
    • Karl H. Beckers

      Karl H. Beckers - 2006-12-04

      One more thing you could try to make sure is:
      xvidcap --mf --file test.avi

      Karl.

       
    • Valent

      Valent - 2006-12-04

      Nope, it showed this output and exited:

      Supported output formats:
      X11 Window Dump                         (.xwd)

       
      • Nobody/Anonymous

        then my original assumption was correct and the package maintainer did not link against ffmpeg at all.
        Karl.

         
    • Valent

      Valent - 2006-12-05

      I contacted atrpms maintainer and he said that when he starts gvidcap he has all options! And he claims that the problems isn't in compileing. Do you have a fedora core 6 installed anywhere? Can you try it for your self?

      I don't know how be both have the same package installed and I don't see options that he sees.

      Do you have any other ideas? Can you give me some tips on how to troubleshoot this?

      Thank you in advance.

      Valent.

       
    • Karl H. Beckers

      Karl H. Beckers - 2006-12-05

      I'm afraid I can't get to a Fedora machine real quick. There is one in the SF compile farm, but I cannot get there from here.

      However, the following should prove to the package maintainer that there is nothing that can be done about this at runtime. It IS a compile time thing:

      the following prints out the message ...
      and here you're just looping through all registered output formats.

          printf(_("Supported output formats:\n"));
        135     for (n = CAP_NONE; n < NUMCAPS; n++) {
        136         if (tFFormats[n].extensions) {
        137             printf(" %s", _(tFFormats[n].longname));
        138             for (m = strlen(_(tFFormats[n].longname)); m < 40; m++)
        139                 printf(" ");
        140             printf("(");
        141             element = xvc_next_element(tFFormats[n].extensions);
        142             while (element != NULL) {
        143                 printf(".%s", element);
        144                 element = xvc_next_element(NULL);
        145                 if (element != NULL)
        146                     printf(", ");
        147             }
        148             printf(")\n");
        149         }
        150     }
        151     exit(1);
        152 }

      the definition of the formats is here:

      /*
         75  * capture output formats
         76  *
         77  */
         78 enum tcap_formats {
         79     CAP_NONE,
         80     CAP_XWD,
         81 #ifdef USE_FFMPEG
         82     CAP_PGM,
         83     CAP_PPM,
         84     CAP_PNG,
         85     CAP_JPG,
         86     CAP_AVI,
         87     CAP_DIVX,
         88     CAP_ASF,
         89     CAP_FLV,
         90     CAP_SWF,
         91     CAP_DV,
         92     CAP_MPG,
         93     CAP_SVCD,
         94     CAP_MOV,
         95 #endif                          // USE_FFMPEG
         96     NUMCAPS
         97 };

      the #ifdef USE_FFMPEG is a preprocessor directive which is ONLY evaluated during compile time.

      HTH,

      Karl.

       
      • Valent

        Valent - 2007-01-11

        Axel Thimm <Axel.Thimm@atrpms.net>          hide details     12/28/06
            to        Valent Turkovic <valent.turkovic@gmail.com>    
            date        Dec 28, 2006 6:32 PM    
            subject        Re: [xvidcap - Help] RE: how to enable mpeg and multi-frame ?    
        On Wed, Dec 06, 2006 at 12:52:38PM +0100, Valent Turkovic wrote:
        > Is it somehing that you can fix or the maintainer of the xvidcap
        > package? Or should this be posted as a fedora bug?

        I found the bug and fixed it, can you please test the latest packages?

        If you want to notify the maintainer, please let him know that the bug
        is in lame. It builds its libs in a way that break with ffmpeg (due to
        the as-needed linker flag). I fixed the lame package, and thus ffmpeg
        could properly build and activate all other codecs.

         
      • Valent

        Valent - 2007-01-11

        In my previous message I copy/pasted email from atrpms maintainer, and he says that he found the bug and it is in lame package.

         

Log in to post a comment.