[FFmpeg-devel] [PATCH] ffplay: fix odd YUV width by cropping the video

Nicolas George nicolas.george at normalesup.org
Tue Sep 4 09:22:54 CEST 2012


L'octidi 18 fructidor, an CCXX, Carl Eugen Hoyos a écrit :
> This introduces a dependency on the crop filter.
> Is it possible to continue if the filter was not 
> initialized successfully?
> If not, crop has to be added to ffplay_select in 
> configure.

As is, the filter is necessary. It seems quite easy to only add it if
"(is->video_st->codec->width & 1) || (is->video_st->codec->height & 1)":
ffplay would then be able to play even-sized videos like before without
crop.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120904/d66f1b0c/attachment.asc>


More information about the ffmpeg-devel mailing list