#11381: ffmpeg has started outputting yuvj420p not yuv420p -------------------------------------+------------------------------------- Reporter: ghjk987 | Type: defect Status: new | Priority: normal Component: | Version: undetermined | unspecified Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Tried using current ffmpeg in Artix Linux, also happens in ffmpeg-git AUR package built today
$ ffmpeg -i PC277219.AVI -c:v libx264 -crf 25 -pix_fmt yuv420p test.mp4 Input: Stream #0:0: Video: mjpeg (Baseline) (MJPG / 0x47504A4D), yuvj422p(pc, bt470bg/unknown/unknown), 640x480, 13891 kb/s, 30 fps, 30 tbr, 30 tbn What it says it is making while encoding: Stream #0:0: Video: h264 (avc1 / 0x31637661), yuv420p(pc, bt470bg/unknown/unknown, progressive), 640x480, q=2-31, 30 fps, 1000k tbn Output of ffmpeg -i test.mp4 on resulting video file: Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuvj420p(pc, bt470bg/unknown/unknown, progressive), 640x480, 1411 kb/s, 30 fps, 30 tbr, 1000k tbn (default) ffmpeg -i on video that was made in the same way late summer or autumn 2024 Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 640x480, 3346 kb/s, 30 fps, 30 tbr, 1000k tbn (default) The intention of making a video yuv420p is that it's multiplatform compatible whereas if it's left as the original yuvj422p it may not play on some Windows machines. As for the compatibility of yuvj420p, I have no idea, but I was surprised to see that after I had specifically told it to make something as yuv420p it then decided to make yuvj420p instead, and it didn't seem to do this before. -- Ticket URL: <https://trac.ffmpeg.org/ticket/11381> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
_______________________________________________ FFmpeg-trac mailing list FFmpeg-trac@avcodec.org https://ffmpeg.org/mailman/listinfo/ffmpeg-trac To unsubscribe, visit link above, or email ffmpeg-trac-requ...@ffmpeg.org with subject "unsubscribe".