bad video codec

Help
sxe
2007-04-05
2013-06-03
  • sxe
    sxe
    2007-04-05

    Hi,

    i tried to make a video with recordemydesktop. that works but i think the video file in the ogg container has a bad header.
    I have to convert the file to an avi but no tool is able to detect the codec right.

    Here are two example outputs from ogmtools and mencoder:

    mencoder:
    Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
    [theora @ 0x88f57f8]Missing extradata!
    Could not open codec.
    VDecoder init failed :(

    ogminfo:
    sxe@sxe:~$ ogminfo out.ogg
    (ogminfo.c) OGG stream 1 is of an unknown type (bad header?)
    (ogminfo.c) (a1/serial 1159424888) Vorbis audio (channels 1 rate 22050)

    Is it possible to convert the videos and keep the file size?

    thx for this great app.

    sxe

     
    • Can you provide a link to the file?

      Also, I don't think that ogmtools support theora.

      A quick look on the ogminfo source code doesn't show anything
      theora related and even a
      ~$ grep -r [Tt][Hh][Ee][Oo][Rr][Aa] ./
      on the ogmtools src directory(version 1.5) doesn't come up with any
      results.

      You can try validation with oggz-tools (oggz-validate).

      John.

       
    • hi John,

      i think it was my fault.. i don't know what gos wrong, maybe i tried the wrong codec. I'm now able to convert my videos. :)
      Are there any plans to support other formats than ogm? Or will it be possible, in future releases, to keep the temp files format? This could be advantageouse if someone like me have to convert the files.

      thx for answering

      bye

      Andy

       
      • recordMyDesktop's output is not ogm, but the ogg container
        with theora and vorbis formats.
        I think the ogm extension is commonly used for vorbis+divx.

        As for supporting other formats, I'm quoting myself from an older answer:

        "One of the reasons I've created this project is because I hope to see more ogg/theora
        content on the web, so offering support for restricted formats would beat the purpose."

          Also, the intermediate files are a form of cache and not a real file format.
        They lack a lot of vital information (resolution,fps,whether it's compressed or not,
        sound samplerate/channels/quality) to be usable, after recordMyDesktop exits.

          And I prefer it to remain this way, as I'm trying to optimize cache
        first for performance and second for hard disk space requirements.
        Stabilizing the format and adding extra information will impose
        constraints on development that I don't want right now.

          But I urge you to consider distributing your files in the ogg/theora-vorbis
        format instead of one of the patent-challenged formats.
         
          And if embedding in web pages is important to you, there is Fluendo's Cortado
        applet which is Free software and is written in the soon to be Free Java language.

        For more information look here:
        http://www.flumotion.net/cortado/

        John.-