Community
cancel
Showing results for 
Search instead for 
Did you mean: 
dzhou_tac
Beginner
96 Views

Encoder Crashes with AVS option

Hi,

The umc_video_encoder.exe crashes with avs option:

umc_video_encoder avs -f 29.97 -w 700 -h 600 -i input.yuv -o output.avs

but the same input.yuv worked for vc1, h264, and m4.

umc_video_encoder vc1 -f 29.97 -w 700 -h 600 -i input.yuv -o output.vc1

The error message from VS2008:

An unhandled win32 exception occurred in umc_video_encoder.exe [3812]

Thanks,

david

0 Kudos
7 Replies
Gennady_F_Intel
Moderator
96 Views

david,what ipp-sample version are you running? and

can you get us the stream for checking the problem?

--Gennady

Gennady_F_Intel
Moderator
96 Views

David,

I checked the problem with the two yuv files which are available for me right now ( 352x288 and 320x240 ) and both all these files were encoded successfully on my side. The output *.vc1 files was played well. I used the w_ipp-samples_p_6.1.3.052 ( win32). Can you get the yuv files you work for checking the problem?

--Gennady


dzhou_tac
Beginner
96 Views

HI Gennady,

I was running 6.1.3.032 (win32), but my samples is 6.1.3.052. Let me download the latest version, and run again. I'll let you know the results. If there is some problem, do you need the yuv stream file or the original h264 file for checking?

thank you,

david

Gennady_F_Intel
Moderator
96 Views

Hi David,

i think, yuv file will be enough. let me know if any updates. btw, you can use the private tread if this is your "private" stream.

--Gennady

dzhou_tac
Beginner
96 Views

Hi Gennady,

I have updated version to 6.1.2.041 (core) and 6.1.1.052 (samples).

I recompiled the samples against new core.

The command for decoder:

umc_h264_dec_con -fyuv420 -i nature_h264.ts -o nature_h264.yuv

which only generate 600 frames. and incorrect. There are about 1775 frame. the frame rate is 15 fps. the resolution is 704x576

umc_video_enc_con: h264 -b 5000000 -w 704 -h 576-f 15 -i nature_h264.yuv -o nature_h264_en.ts

are also not working.

The stream can be rendered with ipp. I savea portion of frames (from 300-600) in yuv420 format, and re-encoded into h264 with -b 5000000. But file size is much larger than the original.

I have attached the original nature_264.ts stream for you to run checking.

I would like it to be decoded into yuv420 and re-encoded with h264 with similiar file size.

then I would like to test other codecs, such as m2, m4, avs, etc.

Let me know if you work out.

Thank you very much.

david

Gennady_F_Intel
Moderator
96 Views

David, for clarifying:but originally you wrote about some exception ( quote -An unhandled win32 exception occurred in umc_video_encoder.exe [3812] ..) After upgrading samples and IPP, the exception dissapeared?

dzhou_tac
Beginner
96 Views

Hi Gennady,

I just tried. It still appears with new version. the Command:

umc_video_enc_con avs -b 5000000 -f 15 -w 704 -h 576 -i input.yuv -o output.avs

It pops up VS2008 Just-In-Time Debugger with msg:

An unhandlled win32 exception occurred in ~.exe [2560]

The same input file works on m2, m4 , vc1, and h264 options with the same rest command options.

But what I am more concerned with is the performance of H264 encoder, which generates much larger file size. And m4 too. It seems to me H264 encoder can not encode it to the original size with the same quality.

Thank you,

david zhou

Reply