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 ? * thanks Jim Morgenstern Image Mining LLC 248-252-2626 _______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
