h264 encoder and decoder : invalid buffer size error

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

h264 encoder and decoder : invalid buffer size error

This post was updated on .
 Hi All,
         I am a newbie to ffmpeg.I am trying to execute the h264 encoder and decoder commands.
What i understood is,

the process will be shown below,

1.i have 1920x1080 yuv422p i/p image to encode this i am using the below commands
(this code is in my script.sh file)

./ffmpegEnc -f rawvideo -r 60 -s 1920x1080 -vcodec rawvideo -i ./encIn/piglab_1frames.yuv -c:v libx264 -x264-params cabac=0:8x8dct=0 -pix_fmt yuv422p -profile:v high422 -psnr -intra -qp 9 ./encOut/piglab_EncOut_1frames.h264

2.Now i need to run the above command for another resolution to 1024x768
  I changed the resolution from 1920x1080 to 1024x768 and new i/p file name
  if run this scripta.sh i am getting the following error

please help to fix dis problem.why i am getting error if i change the resolution parameter in the command line.but its working for 1920x1080 resolution.

Thanks in advance..!!

Ramesh D