For me the first one where the gold player is alone when he picke up the ball and passes close to the rear ends of two of his team mates is a pentalty for offside. (Well perhaps moderated to scrum for accidental offside depending on the level of the game) These two teammates were well ahead of where the breakdown was and seemed to just be swanning around and not trying to get onside. The picker seemed to take advantage of that ans squeeze through, so no try and penalty for offside.
The other one is more difficult to decide. I don't like this habit of players reaching behind themselves in a ruck to pick up the ball and then running forward with it. For me that is handling in the ruck and I may well penalise, but I know there are those who think he is acting as the 9 and just getting ball back into play is a good thing. The player who was flagged on the video as offside I wonder if he was materially involved, he did not seem to do anything other than take up some space. I would want to have been closer and at a different angle to make a call on that, but I am less inclined to thing the try should not be allowed that the other one.