RayeR 
        
  
  CZ,  12.07.2013, 12:44   | 
     FFMPEG 0.10.7 and x264 0.135 DOS port (Announce) | 
    
    
     Hi, 
I recompiled recent FFMPEG and X264 A-V encoders for DOS. 
http://sourceforge.net/projects/ffmpeg-x264-dos/files/ 
 
I know there's new FFMPEG 2.0 but it would require messing with all the configure and patching process again. So this is just minor update, probably the last one from 0.10.x branch. --- DOS gives me freedom to unlimited HW access.  | 
    
               
             ron 
        
    
  Australia,  13.07.2013, 02:10                        
  @ RayeR
         | 
     FFMPEG 0.10.7 and x264 0.135 DOS port | 
    
    
     > I recompiled recent FFMPEG and X264 A-V encoders for DOS. 
> http://sourceforge.net/projects/ffmpeg-x264-dos/files/ 
 
  I got it. Thank you.  :) 
 
  I use FFMPEG quite a lot in DOS.  | 
     
                
             Zyzzle 
         13.07.2013, 14:47                        
  @ RayeR
         | 
     FFMPEG 0.10.7 and x264 0.135 DOS port | 
    
    
     I also use FFMPEG often, and really appreciate the DOS binaries you have provided. Is ver 2.0 impossible to compile for DOS platform?  | 
     
                
             RayeR 
        
  
  CZ,  16.07.2013, 12:50                        
  @ Zyzzle
         | 
     FFMPEG 0.10.7 and x264 0.135 DOS port | 
    
    
     > Is ver 2.0 impossible to compile for DOS platform? 
 
I didn't tried yet. I think it would be possible after some manual configuration work. As configure script doesn't work for me under DJGPP I use configure from MINGW under windows and then manually modified configuration files and makefiles to work with DJGPP. It's a lot time consuming, many compile tries and frustrating... It would be better if someone experienced with configure could fix/extend DJGPP to configure it under DJGPP directly. It depends on maly unix tools maybe using a DJGPP crosscompiler under Linux would be better way... --- DOS gives me freedom to unlimited HW access.  | 
     
                
             RayeR 
        
  
  CZ,  17.07.2013, 00:44         (edited by RayeR, 17.07.2013, 01:03)                
  @ RayeR
         | 
     FFMPEG 0.10.7 and x264 0.135 DOS port | 
    
    
     I tried to configure and compile v2.0 (without ext. libs) and ended with strange error 
 
CC      libavformat/xwma.o 
CC      libavformat/yop.o 
CC      libavformat/yuv4mpeg.o 
AR      libavformat/libavformat.a 
Chybný příkaz nebo název souboru 
AR      libavcodec/libavcodec.a 
make.exe: *** [libavcodec/libavcodec.a] Error -1 
 
and libavcodec.a was not created. There was only warnings before. 
 
Do you know about some utility that can trace commands passed to shell? 
I need to see what program is missing instead of useless "bad command or file name" 
 
update: make -d says: 
 
       Prerequisite `libavutil/rational.h' is older than target `libavcodec/zmbv 
enc.o'. 
       Prerequisite `libavcodec/old_codec_ids.h' is older than target `libavcode 
c/zmbvenc.o'. 
       Prerequisite `libavcodec/internal.h' is older than target `libavcodec/zmb 
venc.o'. 
       Prerequisite `libavutil/mathematics.h' is older than target `libavcodec/z 
mbvenc.o'. 
      No need to remake target `libavcodec/zmbvenc.o'. 
     Finished prerequisites of target file `libavcodec/libavcodec.a'. 
    Must remake target `libavcodec/libavcodec.a'. 
Putting child 0x009d1410 (libavcodec/libavcodec.a) PID 125 on the chain. 
Live child 0x009d1410 (libavcodec/libavcodec.a) PID 125 
Reaping winning child 0x009d1410 PID 125 
AR      libavcodec/libavcodec.a 
Live child 0x009d1410 (libavcodec/libavcodec.a) PID 126 
Reaping losing child 0x009d1410 PID 126 
make.exe: *** [libavcodec/libavcodec.a] Error -1 
Removing child 0x009d1410 PID 126 from chain. 
 --- DOS gives me freedom to unlimited HW access.  | 
     
                
             RayeR 
        
  
  CZ,  18.07.2013, 03:40                        
  @ RayeR
         | 
     How to overcome 8191 char cmd.exe line limit? | 
    
    
     I found the problem is caused by make passing too long (>14000 chars) ar command (lot of .o files) to cmd.exe that cannot handle it and truncate it to 8191 (limit for WinXP). I tried to run bash first and then make but didn't help - why? when I run bash and paste long ar line it will pass and make .a library successfully. --- DOS gives me freedom to unlimited HW access.  | 
     
                
             RayeR 
        
  
  CZ,  18.07.2013, 16:32                        
  @ RayeR
         | 
     How to overcome 8191 char cmd.exe line limit? | 
    
    
     Well, with kind help of Eli @ DJGPP google group I was able to overcome cmdlide length limit by increasing make, ar, rm executables stub transfer buffer to 32kB using stubedit. Good, I learnt something new... 
Now here's the first working build of FFMEPG 2.0 currently without any ext. codecs (no x264, etc) but can be tested for mpeg, mjpeg, etc... 
 
http://sourceforge.net/projects/ffmpeg-x264-dos/files/ --- DOS gives me freedom to unlimited HW access.  | 
     
                
             Zyzzle 
         19.07.2013, 07:16                        
  @ RayeR
         | 
     How to overcome 8191 char cmd.exe line limit? | 
    
    
     > Well, with kind help of Eli @ DJGPP google group I was able to overcome 
> cmdlide length limit by increasing make, ar, rm executables stub transfer 
> buffer to 32kB using stubedit. Good, I learnt something new... 
> Now here's the first working build of FFMEPG 2.0 currently without any ext. 
> codecs (no x264, etc) but can be tested for mpeg, mjpeg, etc... 
>  
> http://sourceforge.net/projects/ffmpeg-x264-dos/files/ 
 
Wow, RayeR you are a dedicated and talented man! I knew about the 8192 byte limit but not how to overcome it for very large make files > 8 kb. 
 
I'm very thankful for the 2.0 build and I'll be glad and happy to test it!  | 
     
                
             RayeR 
        
  
  CZ,  20.07.2013, 19:37                        
  @ Zyzzle
         | 
     FFMPEG 2.0 and x264 0.135 DOS port | 
    
    
     Hi, 
I just uploaded FFMPEG 2.0 + X264 0.135 final version. It includes the same external codecs like older 0.10.x version. Speed of h264 compression is same because of used same libx264. I also upgraded to DJDEV 2.04 CVS 20.7.2013 kindly compiled for me by Juan Manuel Guerrero, also uploaded at SourceForge. Enjoy the testing :) 
 
http://sourceforge.net/projects/ffmpeg-x264-dos/files/ --- DOS gives me freedom to unlimited HW access.  | 
     
                
             DOS386 
         10.08.2013, 02:22                        
  @ RayeR
         | 
     FFMPEG 2.0 and x264 0.135 DOS port | 
    
    
     > I just uploaded FFMPEG 2.0 + X264 0.135 final version. It includes the same 
> external codecs like older 0.10.x 
 
COOOOOOOOOOOOOOOOOL ... I'll test   --- This is a LOGITECH mouse driver, but some software expect here 
the following string:*** This is Copyright 1983 Microsoft ***  | 
     
                
             DOS386 
         11.08.2013, 13:42                        
  @ RayeR
         | 
     FFMPEG 2.0 and x264 0.135 DOS port | 
    
    
     > I just uploaded FFMPEG 2.0 + X264 0.135 final version. It includes the same 
> external codecs like older 0.10.x version 
 
 
ffmpeg version 2.0 Copyright (c) 2000-2013 the FFmpeg developers 
  built on Jul 20 2013 18:57:55 with GCC 4.8.1 (GCC), DOS/DJGPP port by RayeR 
  configuration: --enable-nonfree --disable-pthreads --disable-w32threads --disa 
ble-os2threads --disable-network --disable-vda --disable-dxva2 --disable-avx --d 
isable-ffserver --enable-libmp3lame --enable-libfaac --enable-libvpx --enable-li 
bvorbis --enable-libtheora --enable-libx264 
  libavutil      52. 38.100 / 52. 38.100 
  libavcodec     55. 18.102 / 55. 18.102 
  libavformat    55. 12.100 / 55. 12.100 
  libavdevice    55.  3.100 / 55.  3.100 
  libavfilter     3. 79.101 /  3. 79.101 
  libswscale      2.  3.100 /  2.  3.100 
  libswresample   0. 17.102 /  0. 17.102 
Hyper fast Audio and Video encoder 
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfi 
le}... 
 
Use -h to get full help or, even better, run 'man ffmpeg' 
 
 
Does it work for anyone? I can't encode anything, all that works is decoding FLAC into WAV   --- This is a LOGITECH mouse driver, but some software expect here 
the following string:*** This is Copyright 1983 Microsoft ***  | 
     
                
             glennmcc 
        
    
  North Jackson, Ohio (USA),  11.08.2013, 21:10                        
  @ DOS386
         | 
     FFMPEG 2.0 and x264 0.135 DOS port | 
    
    
     >  
> Does it work for anyone? I can't encode anything, all that works is 
> decoding FLAC into WAV   
 
Works fine here. 
 
GAMERS.MPG 894980 11-06-04 10:35a 
 
ffprobe version 0.10.7 Copyright (c) 2007-2013 the FFmpeg developers 
  built on Jul 12 2013 06:21:28 with gcc 4.8.1 DOS/DJGPP port by RayeR 
  configuration: --enable-nonfree --disable-pthreads --disable-w32threads --disable-os2threads --disable-network --disable-vda --disable-dxva2 --disable-avx --disable-ffserver --enable-libmp3lame --enable-libfaac --enable-libvpx --enable-libvorbis --enable-libtheora --enable-libx264 
  libavutil      51. 35.100 / 51. 35.100 
  libavcodec     53. 61.100 / 53. 61.100 
  libavformat    53. 32.100 / 53. 32.100 
  libavdevice    53.  4.100 / 53.  4.100 
  libavfilter     2. 61.100 /  2. 61.100 
  libswscale      2.  1.100 /  2.  1.100 
  libswresample   0.  6.100 /  0.  6.100 
  libpostproc    52.  0.100 / 52.  0.100 
[mpeg1video @ 1265410] Warning: not compiled with thread support, using thread emulation 
[mp2 @ 1267cf0] Warning: not compiled with thread support, using thread emulation 
[mpeg @ 125ef80] max_analyze_duration 5000000 reached at 5000000 
Input #0, mpeg, from 'gamers.mpg': 
  Duration: 00:00:24.63, start: 0.487000, bitrate: 290 kb/s 
    Stream #0:0[0x1e0]: Video: mpeg1video, yuv420p, 256x192 [SAR 1:1 DAR 4:3], 104857 kb/s, 25 fps, 25 tbr, 90k tbn, 25 tbc 
    Stream #0:1[0x1c0]: Audio: mp2, 44100 Hz, mono, s16, 96 kb/s 
[mpeg1video @ 1265410] Warning: not compiled with thread support, using thread emulation 
[mp2 @ 1267cf0] Warning: not compiled with thread support, using thread emulation 
 
____________________________________ 
 
ffmpeg.exe -i gamers.mpg gamers.avi 
 
ffmpeg version 0.10.7 Copyright (c) 2000-2013 the FFmpeg developers 
  built on Jul 12 2013 06:21:28 with gcc 4.8.1 DOS/DJGPP port by RayeR 
  configuration: --enable-nonfree --disable-pthreads --disable-w32threads --disable-os2threads --disable-network --disable-vda --disable-dxva2 --disable-avx --disable-ffserver --enable-libmp3lame --enable-libfaac --enable-libvpx --enable-libvorbis --enable-libtheora --enable-libx264 
  libavutil      51. 35.100 / 51. 35.100 
  libavcodec     53. 61.100 / 53. 61.100 
  libavformat    53. 32.100 / 53. 32.100 
  libavdevice    53.  4.100 / 53.  4.100 
  libavfilter     2. 61.100 /  2. 61.100 
  libswscale      2.  1.100 /  2.  1.100 
  libswresample   0.  6.100 /  0.  6.100 
  libpostproc    52.  0.100 / 52.  0.100 
[mpeg1video @ 1271520] Warning: not compiled with thread support, using thread emulation 
[mp2 @ 1273e00] Warning: not compiled with thread support, using thread emulation 
[mpeg @ 126b0b0] max_analyze_duration 5000000 reached at 5000000 
Input #0, mpeg, from 'gamers.mpg': 
  Duration: 00:00:24.63, start: 0.487000, bitrate: 290 kb/s 
    Stream #0:0[0x1e0]: Video: mpeg1video, yuv420p, 256x192 [SAR 1:1 DAR 4:3], 104857 kb/s, 25 fps, 25 tbr, 90k tbn, 25 tbc 
    Stream #0:1[0x1c0]: Audio: mp2, 44100 Hz, mono, s16, 96 kb/s 
File 'gamers.avi' already exists. Overwrite ? [y/N] w:256 h:192 pixfmt:yuv420p tb:1/1000000 sar:1/1 sws_param: 
[mpeg4 @ 12f1fc0] Warning: not compiled with thread support, using thread emulation 
[libmp3lame @ 1284ea0] Warning: not compiled with thread support, using thread emulation 
[mpeg1video @ 1271520] Warning: not compiled with thread support, using thread emulation 
[mp2 @ 1273e00] Warning: not compiled with thread support, using thread emulation 
Output #0, avi, to 'gamers.avi': 
  Metadata: 
    ISFT            : Lavf53.32.100 
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 256x192 [SAR 1:1 DAR 4:3], q=2-31, 200 kb/s, 25 tbn, 25 tbc 
    Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 44100 Hz, mono, s16, 128 kb/s 
Stream mapping: 
  Stream #0:0 -> #0:0 (mpeg1video -> mpeg4) 
  Stream #0:1 -> #0:1 (mp2 -> libmp3lame) 
Press [q] to stop, [?] for help 
frame=   78 fps=  0 q=2.5 size=      57kB time=00:00:00.75 bitrate= 611.7kbits/s    frame=  105 fps=100 q=3.0 size=     135kB time=00:00:02.01 bitrate= 548.8kbits/s    frame=  137 fps= 86 q=4.5 size=     201kB time=00:00:03.05 bitrate= 537.9kbits/s    frame=  155 fps= 72 q=4.5 size=     240kB time=00:00:03.78 bitrate= 520.0kbits/s    frame=  177 fps= 63 q=4.4 size=     308kB time=00:00:04.85 bitrate= 519.3kbits/s    frame=  213 fps= 62 q=4.8 size=     387kB time=00:00:06.29 bitrate= 503.2kbits/s    frame=  249 fps= 62 q=5.0 size=     447kB time=00:00:07.52 bitrate= 486.8kbits/s    frame=  285 fps= 63 q=4.3 size=     535kB time=00:00:09.22 bitrate= 475.3kbits/s 
   frame=  303 fps= 60 q=4.2 size=     581kB time=00:00:10.16 bitrate= 468.3kbits/s    frame=  357 fps= 64 q=4.2 size=     679kB time=00:00:12.27 bitrate= 453.2kbits/s    frame=  411 fps= 67 q=3.9 size=     765kB time=00:00:13.94 bitrate= 449.3kbits/s    frame=  452 fps= 67 q=6.2 size=     855kB time=00:00:15.93 bitrate= 439.5kbits/s    frame=  480 fps= 67 q=8.7 size=     909kB time=00:00:17.16 bitrate= 433.9kbits/s    frame=  516 fps= 67 q=8.0 size=     975kB time=00:00:18.70 bitrate= 427.0kbits/s    frame=  564 fps= 68 q=7.2 size=    1049kB time=00:00:20.32 bitrate= 422.7kbits/s    frame=  609 fps= 69 q=5.9 size=    1128kB time=00:00:22.20 bitrate= 416.2kbits/s 
   frame=  617 fps= 66 q=8.2 Lsize=    1261kB time=00:00:24.68 bitrate= 418.7kbits/s     
video:828kB audio:386kB global headers:0kB muxing overhead 3.849568% 
 
____________________________________ 
 
GAMERS.AVI 1291602 8-11-13 3:01p 
 
ffprobe.exe gamers.avi 
 
ffprobe version 0.10.7 Copyright (c) 2007-2013 the FFmpeg developers 
  built on Jul 12 2013 06:21:28 with gcc 4.8.1 DOS/DJGPP port by RayeR 
  configuration: --enable-nonfree --disable-pthreads --disable-w32threads --disable-os2threads --disable-network --disable-vda --disable-dxva2 --disable-avx --disable-ffserver --enable-libmp3lame --enable-libfaac --enable-libvpx --enable-libvorbis --enable-libtheora --enable-libx264 
  libavutil      51. 35.100 / 51. 35.100 
  libavcodec     53. 61.100 / 53. 61.100 
  libavformat    53. 32.100 / 53. 32.100 
  libavdevice    53.  4.100 / 53.  4.100 
  libavfilter     2. 61.100 /  2. 61.100 
  libswscale      2.  1.100 /  2.  1.100 
  libswresample   0.  6.100 /  0.  6.100 
  libpostproc    52.  0.100 / 52.  0.100 
[mpeg4 @ 1265410] Warning: not compiled with thread support, using thread emulation 
[mp3 @ 1265e90] Warning: not compiled with thread support, using thread emulation 
Input #0, avi, from 'gamers.avi': 
  Metadata: 
    encoder         : Lavf53.32.100 
  Duration: 00:00:24.71, start: 0.000000, bitrate: 418 kb/s 
    Stream #0:0: Video: mpeg4 (Simple Profile) (FMP4 / 0x34504D46), yuv420p, 256x192 [SAR 1:1 DAR 4:3], 25 tbr, 25 tbn, 25 tbc 
    Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 44100 Hz, mono, s16, 128 kb/s 
[mpeg4 @ 1265410] Warning: not compiled with thread support, using thread emulation 
[mp3 @ 1265e90] Warning: not compiled with thread support, using thread emulation 
 
____________________________________ --- --  
 http://glennmcc.org/  | 
     
                
             RayeR 
        
  
  CZ,  12.08.2013, 17:19                        
  @ DOS386
         | 
     FFMPEG 2.0 and x264 0.135 DOS port | 
    
    
     > Does it work for anyone? I can't encode anything, all that works is 
> decoding FLAC into WAV   
 
More verbose debug output? 
I tested it only on C2D machine to encode mpeg1 to h264 and it works, I didn't on any ancient machine. --- DOS gives me freedom to unlimited HW access.  | 
     
                
             ron 
        
    
  Australia,  13.08.2013, 00:27                        
  @ glennmcc
         | 
     FFMPEG 2.0 and x264 0.135 DOS port | 
    
    
     > >  
> > Does it work for anyone? I can't encode anything, all that works is 
> > decoding FLAC into WAV   
>  
> Works fine here. 
 
  Wish I could test it here. 
 
  Is there a bundle of just the binaries available ? 
 
  All I have been able to extract, from any of the posted archives, is sources. 
And from the .rar, all I got was a bunch of empty directories - no actual files at all. --- AUSREG Consultancy http://www.ausreg.com 
Tadpole Tunes http://www.tadpoletunes.com 
Sna Keo Il http://www.tadpoletunes.com/sna_keo_il/  | 
     
                
             glennmcc 
        
    
  North Jackson, Ohio (USA),  13.08.2013, 01:10                        
  @ glennmcc
         | 
     FFMPEG 2.0 and x264 0.135 DOS port | 
    
    
     > >  
> > Does it work for anyone? I can't encode anything, all that works is 
> > decoding FLAC into WAV   
>  
> Works fine here. 
>  
> GAMERS.MPG 894980 11-06-04 10:35a 
>  
> ffmpeg.exe -i gamers.mpg gamers.avi 
>  
> ffmpeg version 0.10.7 Copyright (c) 2000-2013 the FFmpeg developers 
> built on Jul 12 2013 06:21:28 with gcc 4.8.1 DOS/DJGPP port by RayeR 
 
Scratch all of that. 
 
That's not the version you were speaking of. 
 
Got v2.0 and it does not encode. 
 
Same command line as with v0.10.7 
 
ffmpeg.exe -i gamers.mpg gamers.avi 
 
ffmpeg version 2.0 Copyright (c) 2000-2013 the FFmpeg developers 
  built on Jul 20 2013 18:57:55 with GCC 4.8.1 (GCC), DOS/DJGPP port by RayeR 
  configuration: --enable-nonfree --disable-pthreads --disable-w32threads --disable-os2threads --disable-network --disable-vda --disable-dxva2 --disable-avx --disable-ffserver --enable-libmp3lame --enable-libfaac --enable-libvpx --enable-libvorbis --enable-libtheora --enable-libx264 
  libavutil      52. 38.100 / 52. 38.100 
  libavcodec     55. 18.102 / 55. 18.102 
  libavformat    55. 12.100 / 55. 12.100 
  libavdevice    55.  3.100 / 55.  3.100 
  libavfilter     3. 79.101 /  3. 79.101 
  libswscale      2.  3.100 /  2.  3.100 
  libswresample   0. 17.102 /  0. 17.102 
[mpeg1video @ 14c4f60] Warning: not compiled with thread support, using thread emulation 
[mp2 @ 14cc8a0] Warning: not compiled with thread support, using thread emulation 
Input #0, mpeg, from 'gamers.mpg': 
  Duration: 00:00:24.63, start: 0.487000, bitrate: 290 kb/s 
    Stream #0:0[0x1e0]: Video: mpeg1video, yuv420p, 256x192 [SAR 1:1 DAR 4:3], 104857 kb/s, 25 fps, 25 tbr, 90k tbn, 25 tbc 
    Stream #0:1[0x1c0]: Audio: mp2, 44100 Hz, mono, s16p, 96 kb/s 
[mpeg4 @ 154d3d0] Warning: not compiled with thread support, using thread emulation 
[mpeg4 @ 154d3d0] [Eval @ 14ad43c] Invalid chars 'tex^qComp' at the end of expression 'tex^qComp' 
[mpeg4 @ 154d3d0] Error parsing rc_eq "(null)" 
Output #0, avi, to 'gamers.avi': 
    Stream #0:0: Video: mpeg4, yuv420p, 256x192 [SAR 1:1 DAR 4:3], q=2-31, 200 kb/s, 90k tbn, 25 tbc 
    Stream #0:1: Audio: mp3, 44100 Hz, mono, s16p 
Stream mapping: 
  Stream #0:0 -> #0:0 (mpeg1video -> mpeg4) 
  Stream #0:1 -> #0:1 (mp2 -> libmp3lame) 
Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height 
_____________ --- --  
 http://glennmcc.org/  | 
     
                
             RayeR 
        
  
  CZ,  13.08.2013, 10:38                        
  @ glennmcc
         | 
     FFMPEG 2.0 and x264 0.135 DOS port | 
    
    
     > Scratch all of that. 
> That's not the version you were speaking of. 
> Got v2.0 and it does not encode. 
> Same command line as with v0.10.7 
>  
> ffmpeg.exe -i gamers.mpg gamers.avi 
 
You didn't specify the output codec, maybe this is now illegal. 
What if you enter 
ffmpeg.exe -i example.mpg -vcodec libx264 example.avi 
I used this in my TEST.BAT as you can see... --- DOS gives me freedom to unlimited HW access.  | 
     
                
             RayeR 
        
  
  CZ,  13.08.2013, 10:41                        
  @ ron
         | 
     FFMPEG 2.0 and x264 0.135 DOS port | 
    
    
     > And from the .rar, all I got was a bunch of empty directories - no actual 
> files at all. 
 
It's packed by winrar 3.80 you probably need to update your (un)rar. I guess that commandline winrar should run under HX. --- DOS gives me freedom to unlimited HW access.  | 
     
                
             RayeR 
        
  
  CZ,  13.08.2013, 11:08                        
  @ RayeR
         | 
     FFMPEG 2.0 and x264 0.135 DOS port | 
    
    
     > You didn't specify the output codec, maybe this is now illegal. 
> What if you enter 
> ffmpeg.exe -i example.mpg -vcodec libx264 example.avi 
> I used this in my TEST.BAT as you can see... 
 
Hm, from what I tried it seems that most of internal encoders doesn't work except e.g. yuv4. Those in external libs like h264, theora or vp8 works fine. I have no idea what was messed during my modifications, I didn't disable any codecs in config files, eg: 
#define CONFIG_WMV1_ENCODER 1 
#define CONFIG_WMV2_ENCODER 1 
but it still doesn't encode wmv1 while old version did. Someone else could help? --- DOS gives me freedom to unlimited HW access.  | 
     
                
             ron 
        
    
  Australia,  13.08.2013, 14:09                        
  @ RayeR
         | 
     FFMPEG 2.0 and x264 0.135 DOS port | 
    
    
     > It's packed by winrar 3.80  
 
   That explains it. 
 
> you probably need to update your (un)rar. 
 
   Probably. 
 
> I guess that commandline winrar should run under HX. 
 
   I don't use HX, and I won't run Windows.  
I could have used Linux to unpack it, but as it doesn't seem to be working there would be no point. --- AUSREG Consultancy http://www.ausreg.com 
Tadpole Tunes http://www.tadpoletunes.com 
Sna Keo Il http://www.tadpoletunes.com/sna_keo_il/  | 
     
                
             RayeR 
        
  
  CZ,  13.08.2013, 15:27         (edited by RayeR, 14.08.2013, 12:28)                
  @ RayeR
         | 
     FFMPEG 2.0.1 and x264 0.135 bugfix - beware CVS DJDEV 2.04! | 
    
    
     After some messing around with it I got an idea to just recompile old FFMPEG 0.10.7 and try if still works. And gues what - it didn't! Bingo! I exactly know what I had changed. I upgraded to latest DJDEV 2.04 CVS. So I quickly reverted back the libc.a, relink the binaries and it worked again. Also FFMPEG 2.0.1. Fortunatelly I had a backup of older CVS DJDEV from 26.10.2011 that I have been successfully using so I reverted it completly back and also replaced the package on SourceForge. 
I uploaded new version of FFMPEG 2.0.1, also bin-only package. It should have same features and codecs like 0.10.7. I keep buggy FFMPEG 2.0 package there for bug tracking if someone from DJDEV developers will be interested. 
http://sourceforge.net/projects/ffmpeg-x264-dos/files/ --- DOS gives me freedom to unlimited HW access.  | 
     
                
             Laaca 
        
  
  Czech republic,  13.08.2013, 15:29                        
  @ ron
         | 
     FFMPEG 2.0 and x264 0.135 DOS port | 
    
    
     You can just use RAR32, it is a command line RAR version which natively runs under DOS and OS/2 using EMX extender. --- DOS-u-akbar!  | 
     
                
             Zyzzle 
         14.08.2013, 03:54                        
  @ RayeR
         | 
     FFMPEG 2.0 and x264 0.135 DOS port | 
    
    
     It is strange. I can't encode or decode Monkey's Audio or Wavpack, but can encode other audio formats (mp3, mp2, aac, ogg, flac) only and not video codecs with 2.0. Straight Demuxing and remuxing (= stream copying) avi / mpeg2 / mpeg4 seems to work, but not encoding between video codecs. 
 
Is the wavpack (.wv) wrapper built into your 2.0 or 1.2.0 DJGPP binaries? 
 
See for the info on a wavpack wrapper encoder for FFMPEG: 
 
http://patches.libav.org/patch/39107/ 
 
Are external codecs available on your FFMPEG binaries?  | 
     
                
             Rugxulo 
        
  
  Usono,  14.08.2013, 06:43                        
  @ Laaca
         | 
     FFMPEG 2.0 and x264 0.135 DOS port | 
    
    
     >>> (ron): And from the .rar, all I got was a bunch of empty directories 
>>> - no actual files at all. 
>> 
>> (RayeR): It's packed by winrar 3.80 you probably need to update 
>> your (un)rar. I guess that commandline winrar should run under HX. 
> 
> (Laaca): You can just use RAR32, it is a command line RAR version 
> which natively runs under DOS and OS/2 using EMX extender. 
 
The latest BTTR port of UnRAR (DJGPP) is "V3.8(0).5" while the latest UnRAR (IIRC, also compiled by rr with DJGPP) hosted at RarLab.com (under Extras) is unrar38b.zip. 
 
Since RayeR is using WinRAR 3.80, it should be compatible. However, keep in mind that RAR 3.93 is "last" for DOS (obsolete). EMX is slightly buggy with 1+ GB machines (but RSX is slightly better), and its C++ (at least for DOS + OS/2 hybrid) is (probably still?) much much older than current/beta DJGPPs. 
 
I have no idea if UnRAR still compiles with DJGPP (IIRC it used to need /backwards/ from G++ 4.2.3 or older). I guess I should try, I like compiling (but I hate when stuff doesn't work!). UnRAR 4.x added a lot of Unicode stuff (presumably unfriendly to DJGPP), and latest sources for UnRAR are unrarsrc-5.0.10.tar.gz. Latest RAR is either 4.20 or 5.00 beta 8. IIRC 5.0 format changed compression incompatibly again, so caveat emptor. 
 
(dumb answer) Maybe RayeR should just use .7z!     | 
     
                
             RayeR 
        
  
  CZ,  14.08.2013, 21:54         (edited by RayeR, 14.08.2013, 23:58)                
  @ Zyzzle
         | 
     FFMPEG 2.0.1 and x264 0.135 DOS port + wavpack | 
    
    
     > Is the wavpack (.wv) wrapper built into your 2.0 or 1.2.0 DJGPP binaries? 
 
No, there's only decoder, encoder needs libwavpack. 
 
UPDATE: Well it was not so hard to compile complette wavpack so encoder is now available, not tested. Go ahead :) 
http://sourceforge.net/projects/ffmpeg-x264-dos/files/ --- DOS gives me freedom to unlimited HW access.  | 
     
                
             ron 
        
    
  Australia,  15.08.2013, 00:31                        
  @ RayeR
         | 
     FFMPEG 2.0.1 and x264 0.135 DOS port + wavpack | 
    
    
     > UPDATE: Well it was not so hard to compile complette wavpack so encoder is 
> now available, not tested. Go ahead :) 
> http://sourceforge.net/projects/ffmpeg-x264-dos/files/ 
 
  FFMPEG 2 seems to run OK in plain MSDOS 6.20. 
 
  Converts .flv to .mpg at least as fast as previous FFMPEG. 
 
  Noted some parameters are different e.g. "-sameq" has been dropped, must now use "-qscale 0" to keep picture quality, but I can live with that. 
Will have to look for a matching man for FFMPEG 2. 
 
  This will get a good workout over the next week or so.  :) --- AUSREG Consultancy http://www.ausreg.com 
Tadpole Tunes http://www.tadpoletunes.com 
Sna Keo Il http://www.tadpoletunes.com/sna_keo_il/  | 
     
                
             glennmcc 
        
    
  North Jackson, Ohio (USA),  15.08.2013, 01:39                        
  @ RayeR
         | 
     FFMPEG 2.0.1 and x264 0.135 bugfix - beware CVS DJDEV 2.04! | 
    
    
     > After some messing around with it I got an idea to just recompile old 
> FFMPEG 0.10.7 and try if still works. And gues what - it didn't! Bingo! I 
> exactly know what I had changed. I upgraded to latest DJDEV 2.04 CVS. So I 
> quickly reverted back the libc.a, relink the binaries and it worked 
> again. Also FFMPEG 2.0.1. Fortunatelly I had a backup of older CVS DJDEV 
> from 26.10.2011 that I have been successfully using so I reverted it 
> completly back and also replaced the package on SourceForge. 
> I uploaded new version of FFMPEG 2.0.1, also bin-only package. It should 
> have same features and codecs like 0.10.7. I keep buggy FFMPEG 2.0 package 
> there for bug tracking if someone from DJDEV developers will be 
> interested. 
> http://sourceforge.net/projects/ffmpeg-x264-dos/files/ 
 
THANK YOU... it works perfectly :) 
 
ffmpeg version 2.0.1 Copyright (c) 2000-2013 the FFmpeg developers 
  built on Aug 14 2013 23:39:56 with GCC 4.8.1 (GCC), DOS/DJGPP port by RayeR 
  configuration: --enable-nonfree --disable-pthreads --disable-w32threads --disable-os2threads --disable-network --disable-vda --disable-dxva2 --disable-avx --disable-ffserver --enable-libmp3lame --enable-libfaac --enable-libvpx --enable-libvorbis --enable-libtheora --enable-libwavpack --enable-libx264 
  libavutil      52. 38.100 / 52. 38.100 
  libavcodec     55. 18.102 / 55. 18.102 
  libavformat    55. 12.100 / 55. 12.100 
  libavdevice    55.  3.100 / 55.  3.100 
  libavfilter     3. 79.101 /  3. 79.101 
  libswscale      2.  3.100 /  2.  3.100 
  libswresample   0. 17.102 /  0. 17.102 
[mpeg1video @ 14e50f0] Warning: not compiled with thread support, using thread emulation 
[mp2 @ 14eca30] Warning: not compiled with thread support, using thread emulation 
Input #0, mpeg, from 'g:\graphics\mpg\gamers.mpg': 
  Duration: 00:00:24.63, start: 0.487000, bitrate: 290 kb/s 
    Stream #0:0[0x1e0]: Video: mpeg1video, yuv420p, 256x192 [SAR 1:1 DAR 4:3], 104857 kb/s, 25 fps, 25 tbr, 90k tbn, 25 tbc 
    Stream #0:1[0x1c0]: Audio: mp2, 44100 Hz, mono, s16p, 96 kb/s 
[mpeg4 @ 156d560] Warning: not compiled with thread support, using thread emulation 
[libmp3lame @ 156dd20] Warning: not compiled with thread support, using thread emulation 
[mpeg1video @ 14e50f0] Warning: not compiled with thread support, using thread emulation 
[mp2 @ 14eca30] Warning: not compiled with thread support, using thread emulation 
Output #0, avi, to 'gamers.avi': 
  Metadata: 
    ISFT            : Lavf55.12.100 
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 256x192 [SAR 1:1 DAR 4:3], q=2-31, 200 kb/s, 25 tbn, 25 tbc 
    Stream #0:1: Audio: mp3 (libmp3lame) (U[0][0][0] / 0x0055), 44100 Hz, mono, s16p 
Stream mapping: 
  Stream #0:0 -> #0:0 (mpeg1video -> mpeg4) 
  Stream #0:1 -> #0:1 (mp2 -> libmp3lame) 
Press [q] to stop, [?] for help 
frame=  123 fps=0.0 q=4.0 size=     147kB time=00:00:04.92 bitrate= 245.0kbits/s    frame=  207 fps=188 q=4.5 size=     319kB time=00:00:08.28 bitrate= 315.5kbits/s    frame=  291 fps=176 q=4.3 size=     470kB time=00:00:11.64 bitrate= 330.9kbits/s    frame=  389 fps=177 q=4.7 size=     619kB time=00:00:15.56 bitrate= 325.9kbits/s    frame=  470 fps=172 q=8.2 size=     753kB time=00:00:18.80 bitrate= 328.3kbits/s    frame=  591 fps=182 q=4.6 size=     931kB time=00:00:23.64 bitrate= 322.5kbits/s    frame=  617 fps=178 q=8.2 Lsize=    1069kB time=00:00:24.68 bitrate= 354.8kbits/s     
video:828kB audio:193kB subtitle:0 global headers:0kB muxing overhead 4.664211% 
 
________________________________ 
 
ffprobe version 2.0.1 Copyright (c) 2007-2013 the FFmpeg developers 
  built on Aug 14 2013 23:39:56 with GCC 4.8.1 (GCC), DOS/DJGPP port by RayeR 
  configuration: --enable-nonfree --disable-pthreads --disable-w32threads --disable-os2threads --disable-network --disable-vda --disable-dxva2 --disable-avx --disable-ffserver --enable-libmp3lame --enable-libfaac --enable-libvpx --enable-libvorbis --enable-libtheora --enable-libwavpack --enable-libx264 
  libavutil      52. 38.100 / 52. 38.100 
  libavcodec     55. 18.102 / 55. 18.102 
  libavformat    55. 12.100 / 55. 12.100 
  libavdevice    55.  3.100 / 55.  3.100 
  libavfilter     3. 79.101 /  3. 79.101 
  libswscale      2.  3.100 /  2.  3.100 
  libswresample   0. 17.102 /  0. 17.102 
[mpeg4 @ 14c9e90] Warning: not compiled with thread support, using thread emulation 
[mp3 @ 14ca940] Warning: not compiled with thread support, using thread emulation 
Input #0, avi, from 'gamers.avi': 
  Metadata: 
    encoder         : Lavf55.12.100 
  Duration: 00:00:24.72, start: 0.000000, bitrate: 354 kb/s 
    Stream #0:0: Video: mpeg4 (Simple Profile) (FMP4 / 0x34504D46), yuv420p, 256x192 [SAR 1:1 DAR 4:3], 25 tbr, 25 tbn, 25 tbc 
    Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 44100 Hz, mono, s16p, 64 kb/s 
[mpeg4 @ 14c9e90] Warning: not compiled with thread support, using thread emulation 
[mp3 @ 14ca940] Warning: not compiled with thread support, using thread emulation 
_______________________________ --- --  
 http://glennmcc.org/  | 
     
                
             DOS386 
         22.08.2013, 16:16                        
  @ RayeR
         | 
     FFMPEG 2.0.1 and x264 0.135 DOS port + OPUS + SH** | 
    
    
     > UPDATE: Well it was not so hard to compile complette wavpack so 
 
COOL, seems to work now   
 
Any progress with fixing bugged DGJDEV (DGJPP mailing list) ? 
 
Low priority wish for next FFMPEG version: add/enable OPUS audio and SH** / Schredder / Schroedinger video codecs. --- This is a LOGITECH mouse driver, but some software expect here 
the following string:*** This is Copyright 1983 Microsoft ***  | 
     
                
             RayeR 
        
  
  CZ,  22.08.2013, 22:21                        
  @ DOS386
         | 
     FFMPEG 2.0.1 and x264 0.135 DOS port + OPUS + SH** | 
    
    
     > Any progress with fixing bugged DGJDEV (DGJPP mailing list) ? 
 
Unfortunatelly no, Manuel tried to recompile my configured ffmpeg package but got some strange error that I also don't know what to do with it so he has no working test case to debug it. --- DOS gives me freedom to unlimited HW access.  | 
     
                
             Zyzzle 
         23.08.2013, 03:18                        
  @ RayeR
         | 
     FFMPEG 2.0.1 and x264 0.135 DOS port + wavpack | 
    
    
     > UPDATE: Well it was not so hard to compile complette wavpack so encoder is 
> now available, not tested. Go ahead :) 
> http://sourceforge.net/projects/ffmpeg-x264-dos/files/you 
 
I just saw the update to your post! I downloaded the new binaries and they work perfectly! THANK YOU    
 
Now we have latest Wavpack encoder and decoder binaries for DOS! 4.6.1.  
 
All encoding that I tried works very well now without the behavior reported previously in the old 2.0.0 binaries. 
 
FFMPEG is Pandora's Box for all of us who like to play with audio and video conversion!  |