Opened 6 years ago

Closed 6 years ago

#7245 closed defect (invalid)

ffmpeg sws_scale nv12 to nv12 failed

Reported by: qs Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no


sws_scale nv12 to nv12 failed, only got the y plane( u and v planes are missed)
How to reproduce:

compile video_scale.cpp(I use ffmpeg 4.0 + vs2015)
input.yuv is not equaled to output.yuv

Attachments (1)

video_scale.cpp (5.2 KB ) - added by qs 6 years ago.

Download all attachments as: .zip

Change History (2)

by qs, 6 years ago

Attachment: video_scale.cpp added

comment:1 by Carl Eugen Hoyos, 6 years ago

Resolution: invalid
Status: newclosed
	        fwrite(src_data[0], 1, dst_bufsize, src_file);
	        fwrite(dst_data[0], 1, dst_bufsize, dst_file);

This looks wrong / nonsensical.

Note: See TracTickets for help on using tickets.