Page 1 of 1

frame 0: Bad file descriptor

PostPosted: Thu Apr 15, 2021 1:19 pm
by Claude Lec
Hi
By render a fusion clip with an image and text, I got a warning that the render couldn't be completed because of "frame 0: Bad file descriptor". I use a normal jpeg image. Render H.264 .mov
What does that mean? What did I did wrong.
Thanks

Re: frame 0: Bad file descriptor

PostPosted: Thu Apr 15, 2021 4:02 pm
by Bryan Ray
Could be it's a non-standard image resolution. Fusion doesn't seem to like H.264 that isn't in a typical video size. I don't have time to run down the allowed sizes, but if you Resize or Crop to a typical video format, it should work. Ran into this one when I was handed a video at 1921x1081. Had to run it through AE to trim off the extra row and column before Fusion would display it.

Re: frame 0: Bad file descriptor

PostPosted: Thu Apr 15, 2021 4:21 pm
by Claude Lec
Yes that was the problem.
It is a map.
I scan it to 1200 pixels/inche
The image size was

Image size (Pixels) 5783 x 3299 Pixels
Image size (cm) 12,24 x 6,98 cm

I try with other image and it did work so I resize the image to

Image size (Pixels) 1920 x 1080 Pixels
Image size (cm) 4,06 x 2,29 cm

and I have no problem.
I though it wouldn't make any difference. Well I have a lot of things I still don't understand. I though because you can make 4k or even 8k the number of pixels per inch didn't matter. But it does.

It goes unfortunetly above my knowledge.
Thank you for your reply
Claude

Re: frame 0: Bad file descriptor

PostPosted: Thu Apr 15, 2021 9:08 pm
by Bryan Ray
Pixels per inch don't matter except when moving to or from paper (scanning or printing). Actual pixel dimensions do matter.

Some software doesn't care about adhering to the specification and won't cause problems. Even Fusion didn't in earlier versions, but when Quicktime got deprecated they had to rebuild the decoder. It's a lot more strict than the old Apple-published module was.

Re: frame 0: Bad file descriptor

PostPosted: Sun Apr 18, 2021 10:07 pm
by Chad Capeland
A lot of codecs also require the raster to be made of whole macroblocks. So if your codec uses 4x4 macroblocks, for example, you might need to make sure that the X and Y resolution is a multiple of 4.