When I run sample program to encode RGB24 Un-compress avi video toencoded h264 OR MPEG2 file does not played inMedia Player. In VLC file play with show only Color Lines which move Horizontal and Vertical and Framerate also increase from 30 to 60
I convert the RBG24 to YUV420 Formt but result still same.
Encoded File screenshort is below
Thank in Advance
Thanks for Reply
I Convert RGB to I420 format and then encode to MPEG2. Now Encoded Video Show good result but images are move horizontally as shown in below Image.
sample_encode mpeg2 -i 1.yuv -o result.mp4 -w 720 -h 576
and Source and Result File can be Download at following Link
and one more question is that can i used Intel SDK H264 or Mpeg2 decoderin VB.net or Window Media Player as Decoder?
I don't kwn what is Y's setting. I convert RGB24 Source Avi file to Raw I420 format using following Command
mencoder.exe -of avi Source.avi -o 1.yuv -vf format=I420 -nosound -ovc raw
I tried this line
mencoder Source.avi -ovc raw -vf format=i420 -o out.yuv
but result still same. I upload Source and Result Files at following Link
Work B. wrote:
Have you tried iDealshare VideoGo which can easily convert AVI to MPEG-2, H.264 or MPEG-4.