Hi does anyone know how to fix this error I get on the log (PES packet size mismatch) please help thanks
According to google
PES packet size mismatch in FFmpeg -
because the phrase PES packet size mismatch comes up regularly in posts relating to ffmpeg, I haven't seen a satisfactory solution to it.
It usually figures in a problem involving .TS transport stream files: either in relation to concatenating such files, or relating to re-muxing them (from .ts to .mp4). Somewhere in the output from ffmpeg, the deadly phrase packet size mismatch will suddenly start repeating.
A solution is to concatenate them as .ts files (i.e. in their original format), then take the output .ts file, split it into a video file (.ts) and an audio file (.ts), then remux them (to either .ts or .mp4) using the "itsoffset" option. Even if stream copy is used, outputting to .mp4 will often give worse picture quality than retaining the .ts format.