POV-Ray : Newsgroups : povray.binaries.animations : Playing with matrix transforms : Re: Playing with matrix transforms Server Time
13 Mar 2025 01:19:27 EDT (-0400)
  Re: Playing with matrix transforms  
From: Josh English
Date: 1 Mar 2025 13:17:02
Message: <67c34f1e$1@news.povray.org>
On 1/25/2025 6:47 AM, Kenneth wrote:
> 
> So I downloaded your video-- and it plays fine in*most* of my Windows 10 media
> players: VLC Media Player, SM Player, and even my old VirtualDub2. But it does
> not play in Windows' own Media Player (a black screen)-- and actually breaks
> Irfanview (the app hangs and has to be terminated via Windows Task Manager.)
> Irfanview will usually play just about any video that I throw at it, so its
> behavior in this case is very weird.
> 
> In VLC Media Player, I took a look at your first posted video's encoding
> statistics:
> 
> Codec: H264-MPEG-4 AVC (part 10) (avc1)
> Video Resolution: 450 X 450
> Buffer Dimensions: 464 X 482
> Decoded Format: Planar 4:4:4 YUV
> Color Primaries: ITU-R BT.709
> 
> I did some research (yet again!) about video encoding and codecs, because it is
> all so complicated to remember. Your video's stats are fairly standard stuff
> AFAIU-- except for the 4:4:4 chroma subsampling.  4:2:0 is the typical scheme
> for h.264; I use that myself. Take a look at Wikipedia's "h.264" page,
> particularly the subsection "Feature support in particular profiles". It appears
> that 4:4:4 is only supported in a particular high-end 'flavor' of h.264; perhaps
> that presents a problem for Firefox, and/or for Windows 10's built-in video
> codecs.

I'm late to reviewing this thread. I use ffmpeg on Windows 10 to make my 
animations.

ffmpeg -i <file_pattern> -c:v libx264 -strict -2 -preset slow -pix_fmt 
yuv420p -vf "scale=trunc(iw/2)*2:trunc(ih/2)*2" -f mp4 candle2.mp4

I think it's the -pix_fmt yuv420p that makes Windows Media Player like 
the file. It might by the -c:v libx264 that's doing it though. It's been 
a while and I don't remember.

Josh


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.