Improved logging and fixed mp4 pixel issue