Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.

Wrong h264 encoding

gennadii_mog
Beginner
318 Views
Good day.

I have downloaded and compiled umc_video_enc_con and umc_h264_dec_con applications from ipp-samples. Problem of wrong h264 decoding I solved as it is discussed in http://software.intel.com/en-us/forums/showthread.php?t=55409 . In result i received *.yuv file of YUV420 format (that I have specified in input parameters of application). After this I tried to encode received *.yuv file. For this I changed in h264.par only name of source file (*.yuv), horizontal_size and vertical_size (as in input file for umc_h264_dec_con.exe). After this I executed ">umc_video_enc_con h264 h264.par some_file.h264". In result I received some_file.264 that cannot be opened (error is occured while opening with WMP, for example) and cannot be viewed in GSpot.
All the applications execute without any errors (number of frames decoded by umc_h264_dec_con.exe and encoded by umc_video_enc_con.exe is equal).

Can anybody explain me what have I done wrong? Why encoded file can't be opened?

Thanks
0 Kudos
3 Replies
Chao_Y_Intel
Moderator
318 Views
Hello,

umc_h264_dec_con.exe application encodes the YUV into a "raw" H.264 bitstream. It does not put stream into any container ( e.g AVI, MP4 file).

From the GSpot site (http://www.headbands.com/gspot/), I find the it support the following file format:
Full support for OGG media files as well as AVI stream formats
Identification (only) of non-AVI files (.mpg, .mov, .qt, .rm, .swf, .wmv, .asf, etc.)
Supports VFW, ACM, DirectShow and DMO codec types (audio and video)

It does not look to identify the "raw" H.264 encoded bit stream. please check if that is the problem.

Thanks,
Chao

0 Kudos
Emmanuel_W_
New Contributor I
318 Views
If you want to play the .264 file in a player you can try VLC (http://www.videolan.org/vlc/). It uses to be able to play raw .264 files generated by the 264 IPP encoder sample.
0 Kudos
gennadii_mog
Beginner
318 Views
I have solved this problem.
Thanks
0 Kudos
Reply