[FFmpeg-user] h264 encode and decoder : invalid buffer size error

ramesh.d2015 vetharamesh at gmail.com
Thu Feb 5 07:27:56 CET 2015


 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,
input.yuv--->encoder------->output.h264------>decoder------->input.yuv

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)
export LD_LIBRARY_PATH=:./FFMPEGEncLibs

./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
<http://ffmpeg-users.933282.n4.nabble.com/file/n4669120/error_msg.png> 

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



--
View this message in context: http://ffmpeg-users.933282.n4.nabble.com/h264-encode-and-decoder-invalid-buffer-size-error-tp4669120.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.


More information about the ffmpeg-user mailing list