[Libav-user] RAW VIDEO complains packet wrong size
sender at ImageMining.net
Wed Jan 23 19:23:40 CET 2013
Trying to write video stream as uncompressed.
Have tried both AVI and MOV as the output file type; same error in both.
Have set the output codec
>> >> > m_pOutputFormat = av_guess_format(NULL, filename, NULL);
>> >> > m_pFormatContext = avformat_alloc_context();
>> >> > m_pFormatContext->oformat = m_pOutputFormat;
>> >>> m_pFormatContext->oformat->video_codec = CODEC_ID_RAWVIDEO.
Data is YUV422 1280 X 720.
Error message comes from writing output:
[rawvideo @ 01179900] Provided packet is too small, needs to be 1382400
[printed in RED]
* what else do I need to set to get rawvideo to work ?
* who is setting the expected packet size?
* Which structure, which field ?
Image Mining LLC
More information about the Libav-user