![]() ![]() Here is the command that takes the stream of PNGs and strips off the letterboxing, then packs it up as raw video, 24fps: ffmpeg -i 1080/sintel_trailer_2k_%04d.png -vf crop=1920:816:0:132 -vcodec rawvideo -r 24 -pix_fmt yuv444p sintel_trailer.y4mįrom there its easy to convert into theora. It just complicates things further down the road, and will indeed make your video not compress as well.Īdditionally, since I was preping this video for my demo (where I used lots of different types of compression on it), I wanted to get it into a continuous lossless format, usually I would probably use ffv1 or H.264 lossless for a lossless codec, but in this case they were part of the demo, so I'm just using raw video packaged into a y4m format All video players I've ever seen will apply it automatically if necessary. Sidenote: I'm not sure why VLC gave you problems above, but it is generally bad to apply letterboxing to the video you are encoding. png's came letterboxed (!) which I didn't want. My example's a bit different, so bare with me. For a demonstration in a class I'm teaching, I recently assembled a video from a PNG stream with Sintel (except just the trailer, it was a more manageable size for the demo). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
May 2023
Categories |