Page 1 of 3 123 LastLast
Results 1 to 10 of 21

Thread: GLC Will Not Encode

  1. #1
    Join Date
    Aug 2009
    Beans
    626

    GLC Will Not Encode

    Though I've already figured out the commands to use from my previous thread of the same name, I'm having a problem encoding videos with glc now. I have been able to encode previously on this installation, but for some reason, whenever I run the command
    Code:
    glc-play video -y 1 -o - | ffmpeg -i - -sameq test.avi
    to encode my videos, the encoder runs for a few seconds, then stops, outputting just a few seconds of the file. This is really frustrating as I just recorded for several hours, generating a large (~70GB) file that I'd like to compress, but am unable to. Here's the output.

    Code:
    joseph@joseph:~/Desktop$ glc-play video -y 1 -o - | ffmpeg -i - -sameq test.avi
    FFmpeg version 0.6.2-4:0.6.2-1ubuntu1, Copyright (c) 2000-2010 the Libav developers
      built on Mar 22 2011 15:35:22 with gcc 4.5.2
      configuration: --extra-version=4:0.6.2-1ubuntu1 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --enable-libvpx --disable-stripping --enable-runtime-cpudetect --enable-vaapi --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libdc1394 --enable-shared --disable-static
      WARNING: library configuration mismatch
      libavutil   configuration: --extra-version=4:0.6.2-1ubuntu2 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libdirac --enable-libgsm --enable-libopenjpeg --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --enable-libvpx --disable-stripping --enable-runtime-cpudetect --enable-vaapi --enable-libopenjpeg --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libfaad --enable-libdirac --enable-libfaad --enable-libmp3lame --enable-librtmp --enable-libx264 --enable-libxvid --enable-libdc1394 --shlibdir=/usr/lib/i686/cmov --cpu=i686 --enable-shared --disable-static --disable-ffmpeg --disable-ffplay
      libavcodec  configuration: --extra-version=4:0.6.2-1ubuntu2 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libdirac --enable-libgsm --enable-libopenjpeg --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --enable-libvpx --disable-stripping --enable-runtime-cpudetect --enable-vaapi --enable-libopenjpeg --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libfaad --enable-libdirac --enable-libfaad --enable-libmp3lame --enable-librtmp --enable-libx264 --enable-libxvid --enable-libdc1394 --shlibdir=/usr/lib/i686/cmov --cpu=i686 --enable-shared --disable-static --disable-ffmpeg --disable-ffplay
      libavformat configuration: --extra-version=4:0.6.2-1ubuntu1 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --enable-libvpx --disable-stripping --enable-runtime-cpudetect --enable-vaapi --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libdc1394 --shlibdir=/usr/lib/i686/cmov --cpu=i686 --enable-shared --disable-static --disable-ffmpeg --disable-ffplay
      libavdevice configuration: --extra-version=4:0.6.2-1ubuntu1 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --enable-libvpx --disable-stripping --enable-runtime-cpudetect --enable-vaapi --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libdc1394 --shlibdir=/usr/lib/i686/cmov --cpu=i686 --enable-shared --disable-static --disable-ffmpeg --disable-ffplay
      libavfilter configuration: --extra-version=4:0.6.2-1ubuntu1 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --enable-libvpx --disable-stripping --enable-runtime-cpudetect --enable-vaapi --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libdc1394 --shlibdir=/usr/lib/i686/cmov --cpu=i686 --enable-shared --disable-static --disable-ffmpeg --disable-ffplay
      libswscale  configuration: --extra-version=4:0.6.2-1ubuntu1 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --enable-libvpx --disable-stripping --enable-runtime-cpudetect --enable-vaapi --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libdc1394 --shlibdir=/usr/lib/i686/cmov --cpu=i686 --enable-shared --disable-static --disable-ffmpeg --disable-ffplay
      libpostproc configuration: --extra-version=4:0.6.2-1ubuntu1 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --enable-libvpx --disable-stripping --enable-runtime-cpudetect --enable-vaapi --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libdc1394 --shlibdir=/usr/lib/i686/cmov --cpu=i686 --enable-shared --disable-static --disable-ffmpeg --disable-ffplay
      libavutil     50.15. 1 / 50.15. 1
      libavcodec    52.72. 2 / 52.72. 2
      libavformat   52.64. 2 / 52.64. 2
      libavdevice   52. 2. 0 / 52. 2. 0
      libavfilter    1.19. 0 /  1.19. 0
      libswscale     0.11. 0 /  0.11. 0
      libpostproc   51. 2. 0 / 51. 2. 0
    [yuv4mpegpipe @ 0x88abbc0]Estimating duration from bitrate, this may be inaccurate
    Input #0, yuv4mpegpipe, from 'pipe:':
      Duration: N/A, bitrate: N/A
        Stream #0.0: Video: rawvideo, yuv420p, 426x240, 30 fps, 30 tbr, 30 tbn, 30 tbc
    Output #0, avi, to 'test.avi':
      Metadata:
        ISFT            : Lavf52.64.2
        Stream #0.0: Video: mpeg4, yuv420p, 426x240, q=2-31, 200 kb/s, 30 tbn, 30 tbc
    Stream mapping:
      Stream #0.0 -> #0.0
    frame=  545 fps=  0 q=0.0 Lsize=    1084kB time=18.17 bitrate= 488.7kbits/s    
    video:1065kB audio:0kB global headers:0kB muxing overhead 1.727547%
    joseph@joseph:~/Desktop$
    Perhaps the line "WARNING: library configuration mismatch" is why my problem is occurring. Unfortunately, not much information is provided in the output, so I can't really tell what libraries are misconfigured. Can anyone help? I'm using GLC on Ubuntu 11.04 32-bit.

  2. #2
    Join Date
    Aug 2009
    Beans
    626

    Re: GLC Will Not Encode

    The issue might be with ffmpeg, as several other people see the same error (WARNING: library configuration mismatch), so the problem might be with ffmpeg and not glc.

  3. #3

    Re: GLC Will Not Encode

    Does enconding a normal file work? I don't think this message is the reason, but you could compile ffmpeg from source and IIRC it goes away then.

  4. #4
    Join Date
    Aug 2009
    Beans
    626

    Re: GLC Will Not Encode

    I asked around on #ubuntu on freenode and people were confused that the command worked in the first place. One guy reasoned that the short videos was the result of ffmpeg encoding faster than glc. He suggested that I try running the command without the pipe. I did so, but the file generated is more than twice the size of the original, and I killed it before its filesize got too out of control.
    Also, how can I test encoding a "normal file"?

  5. #5

    Re: GLC Will Not Encode

    Quote Originally Posted by Joseph Schwenker View Post
    I asked around on #ubuntu on freenode and people were confused that the command worked in the first place. One guy reasoned that the short videos was the result of ffmpeg encoding faster than glc. He suggested that I try running the command without the pipe. I did so, but the file generated is more than twice the size of the original, and I killed it before its filesize got too out of control.
    Also, how can I test encoding a "normal file"?
    Just test if encoding a standard video file works. Also, sameq is broken by design, if you don't use a lossless codec.

  6. #6
    Join Date
    Aug 2009
    Beans
    626

    Re: GLC Will Not Encode

    Quote Originally Posted by Desti View Post
    Just test if encoding a standard video file works. Also, sameq is broken by design, if you don't use a lossless codec.
    Got a command I could use to encode a standard video file? I'm just using this command because it's worked well for me in the past. Is sameq broken if I'm going from a lossless, uncompressed codec, to a lossless, compressed one? It's worked before.

  7. #7

    Re: GLC Will Not Encode

    So does ffmpeg -i a_video_file -sameq -an test.avi work?

  8. #8
    Join Date
    Aug 2009
    Beans
    626

    Re: GLC Will Not Encode

    Quote Originally Posted by Desti View Post
    So does ffmpeg -i a_video_file -sameq -an test.avi work?
    Just tried that command on an mp4 file, and it seemed to successfully encode the entire video's length, though there was no audio.
    Since the glc file I'm trying to encode doesn't have audio, I'm going to manually sync audio with it from another source.

  9. #9

    Re: GLC Will Not Encode

    The option -an means audio_no, so your ffmpeg seems to work properly. I will test some things with glc in the next days and come back.

  10. #10
    Join Date
    Aug 2009
    Beans
    626

    Re: GLC Will Not Encode

    Have you finished testing things yet? I'd really like to free the whopping 30GB of disk space that my uncompressed video takes up.

Page 1 of 3 123 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •