View Single Post
Old 6th October 2020, 16:06   #8  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,277
@LigH: since you got an environment setup where you can compile xvid, could you try to compile xvid_encraw with the source from squid_80 http://forum.mediacoderhq.com/viewto...714de0c57709d7 ?
That source seems to define stdin for Windows, but the binary in that thread doesn't seem to work with current xvidcore.dll and the link to the xvidcore.dll which it should work with doesn't work anymore. :/

squid_80 (http://members.optusnet.com.au/squid_80/) also has a 64bit xvid_encraw and a xvid64bit but sadly that doesn't seem to work either.

----

experimenting with the xvid64 and xvid_encraw64 from squid_80:
Code:
.. | "C:\Users\Selur\Desktop\xvid_test\xvid_encraw.exe" -o "E:\Temp\test.m4v"
gives:
Code:
xvid_encraw - raw mpeg4 bitstream encoder written by Christoph Lampert 2002-2003

Trying to retrieve width and height from input header
xvid [error]: Bad Framerate 0.000000 (25/1)
Code:
.. | "C:\Users\Selur\Desktop\xvid_test\xvid_encraw.exe" -w 640 -h 352 -o "E:\Temp\test.m4v"
gives:
Code:
xvid_encraw - raw mpeg4 bitstream encoder written by Christoph Lampert 2002-2003

xvid [error]: Bad Framerate 0.000000 (25/1)
Code:
.. | "C:\Users\Selur\Desktop\xvid_test\xvid_encraw.exe" -w 640 -h 352 -framerate 25 -o "E:\Temp\test.m4v"
gives:
Code:
xvid_encraw - raw mpeg4 bitstream encoder written by Christoph Lampert 2002-2003

xvid [warn]: Single pass defaulting to quant 4.00
xvid [info]: Input is 640 x 352, 25.000fps (25/1), starting from frame 0
xvid [info]: xvidcore build version: xvid-1.2.0-dev
xvid [info]: Bitstream version: 1.2.-127
xvid [info]: Detected CPU flags: ASM MMX MMXEXT SSE SSE2 TSC
xvid [info]: Detected 16 cpus, using 16 threads.
    3: key=0, time=      4, len=    3399 | type=I, quant=  4, len=   16093
this creates only one output frame.
same with:
Code:
.. | "C:\Users\Selur\Desktop\xvid_test\xvid_encraw.exe" -w 640 -h 352 -framerate 25 -frames 429 -type 0 -o "E:\Temp\test.m4v"
adding '-debug' doesn't work,...

Code:
... | "C:\Users\Selur\Desktop\xvid_test\xvid_encraw.exe" -w 640 -h 352 -framerate 25 -frames 2 -o "E:\Temp\test.m4v"
xvid_encraw - raw mpeg4 bitstream encoder written by Christoph Lampert 2002-2003

xvid [warn]: Single pass defaulting to quant 4.00
xvid [info]: Input is 640 x 352, 25.000fps (25/1), starting from frame 0
xvid [info]: Number of frames to encode: 2
xvid [info]: xvidcore build version: xvid-1.2.0-dev
xvid [info]: Bitstream version: 1.2.-127
xvid [info]: Detected CPU flags: ASM MMX MMXEXT SSE SSE2 TSC
xvid [info]: Detected 16 cpus, using 16 threads.
    1: key=0, time=      2, len=       6 | type=I, quant=  4, len=   16093
   -1: key=0, time=      0, len=      -5 | type=P, quant=  4, len=       6

Tot: enctime(ms) =   4.00,               length(bytes) =   16099
Avg: enctime(ms) =   2.00, fps = 500.00, length(bytes) =    8049
I frames:      1 frames, size =   16093/  16093, quants =  4 / 4.00 /  4
N frames:      1 frames, size =       6/      6
outputs 2 frames, using '-frames X' with X > 2 any I only get 1 frame :/
__________________
Hybrid here in the forum, homepage

Last edited by Selur; 6th October 2020 at 16:43.
Selur is offline   Reply With Quote