m4xw / rosettadrone_mini2

The Rosetta Drone 2 Project. Enable Mavlink and H.264 on DJI drones. Supports Mini 2 with Virt Stick Litchi CSV and DJI Waypoint class interpreters
BSD 3-Clause "New" or "Revised" License
28 stars 7 forks source link

Getting raw YUV #21

Open kripper opened 1 year ago

kripper commented 1 year ago

Hi @m4xw,

Can you please check this with your mini 2: https://github.com/RosettaDrone/rosettadrone/discussions/133#discussioncomment-5562276?

It's probably something very simple to fix.

It works perfect on my mini SE with this setup: https://docs.google.com/document/d/1wR56Mvd2OsT82kxMOD7f_3-c6yJGBtLaT8LuVrmC5wI/edit#heading=h.q9mp6yjsfxe5

m4xw commented 1 year ago

Sorry but test what exactly? I fail to deduct which particular from context

kripper commented 1 year ago

Test if the YUV callback receives additional 2048 bytes on the Mini 2: https://github.com/RosettaDrone/rosettadrone/issues/151

m4xw commented 1 year ago

Makes me wonder if this wasnt the reason why all the deciders shit themselves, but pretty sure i use that video mode in my fork (tho i mightve hijacked it at some point). One noteworthy thing i remember was the codec manager needs to be created even if u process the video manually for it to even give u data in the cb's

m4xw commented 1 year ago

I will check at home if i remember