#22 Need mencoder version to handle files > 2GB

closed
MEncoder (9)
5
2008-12-27
2008-11-24
trlowe57
No

Apparently i need to use a version of mencoder compiled with --enable-largefiles to encode files > 2GB.

But i'm caught between a rock and hardplace.

i'd compile a version to handle > 2GB files myself but i'm currently using cygwin/gcc 3.x series but when i run my built mencoder.exe i get this message:

Compiler did not align stack variables. Libavcodec has been miscompiled
and may be very slow or crash. This is not a bug in libavcodec,
but in the compiler. You may try recompiling using gcc >= 4.2.
Do not report crashes to FFmpeg developers.

i don't want to install gcc 4.x yet because i'm using 3.x for many other projects and don't want to risk affecting them.

adding the --enable-largefiles option appears to only affect the demux portion (since it must handle 64 bit offsets), yes ?

Thanks!

Discussion

  • Gianluigi Tiesi

    Gianluigi Tiesi - 2008-12-11

    you need to apply this patch to mingw for large files:
    http://oss.netfarm.it/mplayer/misc/file64_mingw.diff

    also try using -fno-common as additional cmdline options (CC="gcc -fno-common")
    I had many troubles compiling with gcc3
    you can download my gcc 4 binaries and use them by calling gcc-4 instead of gcc (both can coesist)

     
  • Gianluigi Tiesi

    Gianluigi Tiesi - 2008-12-27
    • status: open --> closed
     

Log in to post a comment.