I have total 96 videos. I have converted most of videos using ffmpeg, but for some videos its giving me some error. As a first step I deinterlaced the video using the following command:
ffmpeg -video_size 1920x1080 -r 25 -pixel_format yuv422p -i stockholm.yuv -vf yadif stockholm_deInt.yuv
And I am getting the following error:
[rawvideo @ 0x7fa144008c00] Invalid buffer size, packet size 2073600 < expected frame_size 4147200
Error while decoding stream #0:0: Invalid argument frame= 187 fps=3.7 q=-0.0 Lsize= 757350kB time=00:00:07.48 bitrate=829440.0kbits/s
video:757350kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%
When I try to get the info about the video (ffprobe stockholm.yuv
) I get the following:
[IMGUTILS @ 0x7fff5bac8140] Picture size 0x0 is invalid
[IMGUTILS @ 0x7fff5bac8150] Picture size 0x0 is invalid
[rawvideo @ 0x7fbcb200da00] Could not find codec parameters for stream 0 (Video: rawvideo (I420 / 0x30323449), yuv420p, -4 kb/s): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options stockholm.yuv: Operation not permitted`
Does anyone have any idea?