code: public function getNextVideoToConvert()
      {
          $query = $this->createQueryBuilder('v');
  
          $this->onlyUploaded($query);
  
          return $query->getQuery()->getOneOrNullResult();
      }
docs: Find next video to convert
  
  @return \VideoGamesRecords\VideoBundle\Entity\Video|null