mbbiii / crusher264

Automatically exported from code.google.com/p/crusher264
GNU General Public License v2.0
0 stars 0 forks source link

EncoderHD // [DEBUG] app: init failed #10

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I'm trying to get an Elgato turbo.264 HD to work, using r71 on Ubuntu 11.04 
(amd64)

# sample/crusher264 -dddd -i ../test.raw -o ../test.h264 
[DEBUG] app: Picture size: 640x480
[DEBUG] app: IN: ../test.raw, OUT: ../test.h264 dev=0 fmt=es
[DEBUG]: MG1264/MG3500 firmware: 
firmware/qmmapp.mg3500-2ddr2_264MHz_from48_128MB-codec.bin.
[INFO] app: You have HD-encoder device
[XTREME] app: usbdevice=21433344
[DEBUG] app: init failed

i found the line that makes it fail...

src/crusher.c:387: 
   if(!mg1264_reset_b1(crusher, 0x0001)) return 0;

uncommenting it, or removing the "!", makes it return:

[DEBUG] app: Picture size: 640x480
[DEBUG] app: IN: ../test.raw, OUT: ../test.h264 dev=0 fmt=es
[DEBUG]: MG1264/MG3500 firmware: 
firmware/qmmapp.mg3500-2ddr2_264MHz_from48_128MB-codec.bin.
[INFO] app: You have HD-encoder device
[XTREME] app: usbdevice=9174016
[DEBUG]: firmware version: 192.2.3.67
[ERROR]: codec Memory Block write prepare FAILED! (-110 bytes sended from 9).
[DEBUG] app: init failed

I know that support for MG3500 isn't finished yet, so let me know if you need 
anything else!

Original issue reported on code.google.com by jan.gr...@gmail.com on 12 Aug 2011 at 1:35

GoogleCodeExporter commented 8 years ago
Using the fix from Issue #6 was the better idea, but the result is still the 
same.

Original comment by jan.gr...@gmail.com on 12 Aug 2011 at 3:07

GoogleCodeExporter commented 8 years ago

Original comment by piratfm@gmail.com on 16 Sep 2011 at 3:32