#asahi-dev · 2022-04-03 02:08
chadmedim copying over some more stressful files to poke around with#asahi-dev · 2022-04-03 02:07
chadmedits the same speed#asahi-dev · 2022-04-03 02:07
chadmedi did test it#asahi-dev · 2022-04-03 02:07
chadmedbut apple heavily markets these things to "creators" who might want fast h264 encode for stuff like youtube #asahi-dev · 2022-04-03 02:06
chadmedit makes sense to throttle these sorts of things in a mobile soc because youre only ever going to be watching a single stream of something on those devices#asahi-dev · 2022-04-03 02:06
chadmedespecially given the use cases for these machines#asahi-dev · 2022-04-03 02:05
chadmedit almost certainly is more power efficient, i just find it odd that its many times slower in absolute terms too #asahi-dev · 2022-04-03 02:01
chadmedcopying over something a bit more demanding now#asahi-dev · 2022-04-03 02:00
chadmedthough that is 160fps for a pretty low bitrate 1080p video stream #asahi-dev · 2022-04-03 01:59
chadmedit was just curious that the cpu was faster#asahi-dev · 2022-04-03 01:59
chadmedyeah of course it doesnt need to be any faster#asahi-dev · 2022-04-03 01:58
chadmedso maybe the h264 and hevc blocks are just slow? #asahi-dev · 2022-04-03 01:58
chadmedthe prores decoder operates much much faster though#asahi-dev · 2022-04-03 01:57
chadmedyeah same speed#asahi-dev · 2022-04-03 01:54
chadmedusing the h264 hardware decoder its about 160fps#asahi-dev · 2022-04-03 01:54
chadmedwith the cpu doing the h264 decoding it was about 500fps #asahi-dev · 2022-04-03 01:54
chadmedim decoding an h264 stream and encoding that into prores yeah #asahi-dev · 2022-04-03 01:53
chadmedits about a quarter of the speed of the cpu lmoa #asahi-dev · 2022-04-03 01:53
chadmedyeah its behaving weirdly#asahi-dev · 2022-04-03 01:52
chadmedhttps://sourceforge.net/p/mediainfo/discussion/297610/thread/4bc21b18/ee82/2d5e/attachment/SMPTE%20ProRes%20rdd36-2015.pdf#asahi-dev · 2022-04-03 01:52
chadmedlink gore incoming #asahi-dev · 2022-04-03 01:47
chadmedrqou_: what options did you pass to ffmpeg to make it not work? #asahi-dev · 2022-04-03 01:46
chadmedi think this is probably something funky with ffmpeg or my machine, but at least we know the pixel formats actually do work #asahi-dev · 2022-04-03 01:43
chadmed-hwaccel auto results in slower performance than using the cpu#asahi-dev · 2022-04-03 01:43
chadmedlmao apparently the hardware h264 decoder is slower than the cpu#asahi-dev · 2022-04-03 01:38
chadmedoh hang on #asahi-dev · 2022-04-03 01:38
chadmedso i guess libavcodec is meant to select it automatically or something? #asahi-dev · 2022-04-03 01:38
chadmedthe ffmpeg site says that its only implemented "internally" for decode#asahi-dev · 2022-04-03 01:38
chadmedyeah i just grepped the list of decoders and none of them say videotoolbox#asahi-dev · 2022-04-03 01:37
chadmedsays it was built with --enable-videotoolbox and the encoders show up #asahi-dev · 2022-04-03 01:36
chadmedhuh, ffmpeg doesnt report any videotoolbox decoders#asahi-dev · 2022-04-03 01:33
chadmedthat does seem slow considering apple's performance claims though #asahi-dev · 2022-04-03 01:30
chadmedtaking a 1080p H.264 video and encoding it into prores using the hardare goes at about 500fps#asahi-dev · 2022-04-03 01:30
chadmedhm both rgba and brga work fine for me #asahi-dev · 2022-04-03 01:08
chadmedbut it worked with yuv? #asahi-dev · 2022-04-03 01:08
chadmedoh ffmpeg doesnt support encoding yet it seems#asahi-dev · 2022-04-03 00:57
chadmedeven ProRes 4444 is YUV with alpha #asahi-dev · 2022-04-03 00:56
chadmedi would be surprised if the hardware block could process raw BRGA pixel data since no version of prores uses this#asahi-dev · 2022-04-03 00:54
chadmedrqou_: could you also try 4:2:2 YUV if ffmpeg supports it? it's the prores native pixel format#asahi-dev · 2022-04-02 10:46
chadmedso you might have borked something important #asahi-dev · 2022-04-02 10:46
chadmedkeep in mind that it could be crashing for a billion reasons, it crashes on grub saying loading initramfs because it crashes before linux even has the framebuffer#asahi-dev · 2022-03-28 08:46
chadmedno problem, glad to be of assistance#asahi-dev · 2022-03-28 08:44
chadmedlooks great! #asahi-dev · 2022-03-28 05:07
chadmedthat actually is an odd way to tag them though, hmm#asahi-dev · 2022-03-28 05:07
chadmedwell it seems that it actually is for ASTC, because they only started tagging them with ASTC for devices after the A13#asahi-dev · 2022-03-28 05:03
chadmedjust like how internally they never used to call Apple Intermediate Codec AIC, for obvious reasons #asahi-dev · 2022-03-28 05:03
chadmedor it could just be apple reusing the acronym for something else#asahi-dev · 2022-03-28 05:03
chadmedso im guessting the IPSWs tagged with ASTC were built with some sort of flag to tell it the target device has full ASTC or something #asahi-dev · 2022-03-28 05:02
chadmedhence the VideoRange and FullRange pixel formats#asahi-dev · 2022-03-28 05:02
chadmedbefore the A13, it only had support for low dynamic range ASTC