sample encode is not working

sample encode is not working

Hi...

encoding sample is not working (sample_encode h264 -i decode_output.yuv -o output.h264 –w 1280 –h 720 –b 4000 –f 30 –u quality -hw). I am not able to playback the output h264 file in vlc.

Details:

I have installed intel media sdk from this link (https://software.intel.com/en-us/media-sdk).

I am using the binaries in bin folder.

decoding sample is working, im able to playback in yuvplayer (sample_decode h264 -i input.264 -o decode_output.yuv –hw)

encoding sample is not working (sample_encode h264 -i decode_output.yuv -o output.h264 –w 1280 –h 720 –b 4000 –f 30 –u quality -hw). I am not able to playback the output.h264 in vlc player.

Console output:

-----------------------------------------------------------

Encoding Sample Version 6.0.0.68

Input file format       YUV420
Output video            AVC
Source picture:
        Resolution      1280x720
        Crop X,Y,W,H    0,0,1280,720
Destination picture:
        Resolution      1280x720
        Crop X,Y,W,H    0,0,1280,720
Frame rate      30.00
Bit rate(Kbps)  4000
Target usage    balanced
Memory type     system
Media SDK impl          hw
Media SDK version       1.8

Processing started
Frame number: 512
Processing finished

---------------------------------------------------------------------------------------

Edit: encoding sample with mpeg2 output is working

sample_encode mpeg2 -i decode_output.yuv -o output.mpeg2 –w 1280 –h 720 –u quality -hw  -- this is working. I am able to playback the output.mpeg2 in vlc player. Why is h264 encoding not working.. am I missing some parameters?

Hardware: i7 4770, HD 4600, motherboard: DH87RL

Can you provide inputs on where I am wrong.

--

Thanks

Sai

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.
Best Reply

the problem was with the player.. vlc was not able to play the output..

ffplay was able to play it properly..

Leave a Comment

Please sign in to add a comment. Not a member? Join today