Opened 3 months ago

Closed 3 months 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

Description

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 3 months ago.

Download all attachments as: .zip

Change History (2)

Changed 3 months ago by qs

comment:1 Changed 3 months ago by cehoyos

  • Resolution set to invalid
  • Status changed from new to closed
	        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.